/* ================================================
   ELKHORN COUNTRY ELEGANT THEME  ·  styles.css
   ================================================
   Sections:
     1. Design Tokens (CSS custom properties)
     2. Reset & Base
     3. Typography
     4. Layout Utility
     5. Header & Navigation
     6. Hero
     7. Destinations Section
        7a. Section Intro
        7b. Cards Grid
     8. Contact / Inquiry Section
        8a. Form
     9. Footer
    10. Policy Pages (privacy.html / terms.html)
    11. Responsive (≤768 px)
   ================================================ */


/* ─────────────────────────────────────────────────
   1. DESIGN TOKENS
───────────────────────────────────────────────── */

:root {
  /* Palette */
  --clr-green: #1f3a2e;
  /* deep forest green – primary brand */
  --clr-green-dark: #162a21;
  /* deeper shade for hover / footer bg */
  --clr-cream: #f5f2ea;
  /* warm page background */
  --clr-cream-dark: #ede9df;
  /* slightly darker cream – alternate bg */
  --clr-white: #ffffff;
  --clr-gold: #c6a75e;
  /* gold accent – CTAs, dividers, borders */
  --clr-gold-dark: #a8893d;
  /* gold hover state */
  --clr-gray-soft: #e6e2d8;
  /* card / input background */
  --clr-text-muted: #4d6259;
  /* body copy, labels, placeholder-like text */
  --clr-text-light: #c8c0ae;
  /* footer secondary text */
  --clr-border: rgba(198, 167, 94, 0.22);
  /* subtle gold border */

  /* Typography */
  --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;

  /* Spacing scale */
  --space-xs: 8px;
  --space-sm: 16px;
  --space-md: 28px;
  --space-lg: 56px;
  --space-xl: 88px;

  /* Transitions */
  --ease: 0.25s ease;
  --ease-move: 0.3s ease;
}


/* ─────────────────────────────────────────────────
   2. RESET & BASE
───────────────────────────────────────────────── */

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--clr-cream);
  color: var(--clr-green);
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

address {
  font-style: normal;
}


/* ─────────────────────────────────────────────────
   3. TYPOGRAPHY
───────────────────────────────────────────────── */

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  line-height: 1.2;
  color: var(--clr-green);
}

h1 {
  font-size: clamp(2rem, 6vw, 3.6rem);
}

h2 {
  font-size: clamp(1.7rem, 4vw, 2.6rem);
}

h3 {
  font-size: 1.4rem;
}

p {
  color: var(--clr-text-muted);
}


/* ─────────────────────────────────────────────────
   4. LAYOUT UTILITY
───────────────────────────────────────────────── */

.container {
  max-width: 1180px;
  margin-inline: auto;
  padding-inline: 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}


/* ─────────────────────────────────────────────────
   5. HEADER & NAVIGATION
───────────────────────────────────────────────── */

.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background-color: var(--clr-green);
  border-bottom: 1px solid var(--clr-border);
  padding-block: 16px;
}

/* Logo word-mark */
.logo {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--clr-gold);
  letter-spacing: 0.05em;
  white-space: nowrap;
}

/* Nav links */
.site-header nav {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.site-header nav a {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(245, 242, 234, 0.82);
  padding: 4px 6px;
  border-radius: 2px;
  transition: color var(--ease);
}

.site-header nav a:hover {
  color: var(--clr-gold);
}


/* ─────────────────────────────────────────────────
   6. HERO (crossfade slideshow)
───────────────────────────────────────────────── */

.hero {
  position: relative;
  height: 90vh;
  overflow: hidden;
}

/* Slide stack ─ all slides fill the hero absolutely */
.hero-slides {
  position: absolute;
  inset: 0;
}

.slide {
  position: absolute;
  inset: 0;
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1.4s ease-in-out;
  animation: kenBurns 8s ease-in-out infinite alternate;
}

.slide.active {
  opacity: 1;
}

@keyframes kenBurns {
  from {
    transform: scale(1);
  }

  to {
    transform: scale(1.08);
  }
}

/* Cinematic gradient overlay – sits above the slides */
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(to bottom,
      rgba(22, 42, 33, 0.52) 0%,
      rgba(22, 42, 33, 0.32) 50%,
      rgba(22, 42, 33, 0.65) 100%);
}

/* Text content above the overlay */
.hero-content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-inline: 5%;
}


.hero-content h1 {
  color: var(--clr-white);
  font-size: clamp(2rem, 6vw, 3.6rem);
  letter-spacing: 0.03em;
  margin-bottom: var(--space-sm);
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
}

.hero-content p {
  color: rgba(245, 242, 234, 0.92);
  font-size: clamp(1rem, 2.4vw, 1.3rem);
  font-style: italic;
  letter-spacing: 0.04em;
  margin-bottom: var(--space-md);
}

/* Primary CTA button */
.primary-btn {
  display: inline-block;
  padding: 14px 38px;
  background-color: var(--clr-gold);
  color: var(--clr-white);
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 2px;
  border: 2px solid transparent;
  transition:
    background-color var(--ease),
    border-color var(--ease),
    transform var(--ease-move);
}

.primary-btn:hover {
  background-color: transparent;
  border-color: var(--clr-gold);
  color: var(--clr-gold);
  transform: translateY(-3px);
}


/* ─────────────────────────────────────────────────
   7. DESTINATIONS SECTION
───────────────────────────────────────────────── */

.destinations {
  padding-block: var(--space-xl);
  padding-inline: 5%;
  background-color: var(--clr-white);
  text-align: center;
}


/* ── 7a. Section Intro ─────────────────────────── */

.section-intro {
  margin-bottom: var(--space-lg);
}

.section-title {
  font-size: clamp(1.7rem, 4vw, 2.6rem);
  color: var(--clr-green);
  margin-bottom: 0;
}

/* Gold rule below heading */
.section-title::after {
  content: '';
  display: block;
  width: 52px;
  height: 2px;
  background-color: var(--clr-gold);
  margin: 18px auto 0;
}

.section-subtitle {
  margin-top: 22px;
  font-size: 1.1rem;
  font-style: italic;
  color: var(--clr-text-muted);
  letter-spacing: 0.02em;
}


/* ── 7b. Cards Grid ────────────────────────────── */

.cards {
  display: flex;
  gap: 28px;
  justify-content: center;
  flex-wrap: wrap;
}

.card {
  flex: 1 1 280px;
  max-width: 356px;
  background-color: var(--clr-cream);
  border: 1px solid var(--clr-border);
  border-bottom: 3px solid var(--clr-gold);
  border-radius: 3px;
  padding: 44px 36px 38px;
  text-align: center;
  transition:
    transform var(--ease-move),
    box-shadow var(--ease-move);
}

.card:hover {
  transform: translateY(-7px);
  box-shadow: 0 18px 48px rgba(31, 58, 46, 0.13);
}

.card-icon {
  display: block;
  font-size: 2.2rem;
  margin-bottom: 18px;
  line-height: 1;
}

.card h3 {
  font-size: 1.45rem;
  color: var(--clr-green);
  letter-spacing: 0.02em;
  margin-bottom: 14px;
}

.card p {
  font-size: 1rem;
  color: var(--clr-text-muted);
  line-height: 1.8;
  margin-bottom: 28px;
}

/* Outlined card button → fills on hover */
.card-btn {
  display: inline-block;
  padding: 10px 26px;
  border: 1.5px solid var(--clr-gold);
  border-radius: 2px;
  color: var(--clr-green);
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition:
    background-color var(--ease),
    color var(--ease),
    border-color var(--ease);
}

.card-btn:hover {
  background-color: var(--clr-gold);
  border-color: var(--clr-gold);
  color: var(--clr-white);
}


/* ─────────────────────────────────────────────────
   8. CONTACT / INQUIRY SECTION
───────────────────────────────────────────────── */

.contact {
  padding-block: var(--space-xl);
  padding-inline: 5%;
  background-color: var(--clr-cream-dark);
}

.contact-inner {
  max-width: 720px;
  margin-inline: auto;
  text-align: center;
}

.contact-inner h2 {
  color: var(--clr-green);
}

/* Gold rule matching section-title */
.contact-inner h2::after {
  content: '';
  display: block;
  width: 52px;
  height: 2px;
  background-color: var(--clr-gold);
  margin: 18px auto 0;
}

.contact-intro {
  margin-top: 22px;
  margin-bottom: 44px;
  font-size: 1.1rem;
  font-style: italic;
  color: var(--clr-text-muted);
}


/* ── 8a. Form ──────────────────────────────────── */

.inquiry-form {
  text-align: left;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 22px;
}

/* Labels */
.form-group>label {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--clr-green);
  margin-bottom: 8px;
}

/* Required asterisk */
.req {
  color: var(--clr-gold);
  margin-left: 2px;
}

/* Text inputs & textarea */
.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group textarea {
  width: 100%;
  padding: 13px 16px;
  background-color: var(--clr-white);
  border: 1px solid #d4cfc4;
  border-radius: 3px;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--clr-green);
  line-height: 1.5;
  transition:
    border-color var(--ease),
    box-shadow var(--ease);
  appearance: none;
  -webkit-appearance: none;
}

.form-group input[type="text"]::placeholder,
.form-group input[type="email"]::placeholder,
.form-group input[type="tel"]::placeholder,
.form-group textarea::placeholder {
  color: #a8a097;
  font-style: italic;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--clr-gold);
  box-shadow: 0 0 0 3px rgba(198, 167, 94, 0.18);
}

.form-group textarea {
  resize: vertical;
  min-height: 136px;
}

/* SMS disclaimer – visible italic note beneath phone */
.sms-disclaimer {
  margin-top: 9px;
  padding: 10px 14px;
  background-color: rgba(198, 167, 94, 0.08);
  border-left: 3px solid var(--clr-gold);
  border-radius: 1px;
  font-size: 0.82rem;
  font-style: italic;
  color: var(--clr-text-muted);
  line-height: 1.65;
}

/* Checkbox row */
.form-check {
  flex-direction: row;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 28px;
}

.form-check input[type="checkbox"] {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 3px;
  accent-color: var(--clr-gold);
  cursor: pointer;
  border: 1px solid #d4cfc4;
  border-radius: 2px;
  /* reset inherited flex-column sizing */
  padding: 0;
}

.form-check input[type="checkbox"]:focus {
  outline: 2px solid var(--clr-gold);
  outline-offset: 2px;
}

/* Checkbox label overrides */
.form-check>label {
  font-size: 0.92rem;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  color: var(--clr-text-muted);
  cursor: pointer;
  line-height: 1.5;
}

/* Submit button – deep green, gold on hover */
.submit-btn {
  display: block;
  width: 100%;
  padding: 15px 40px;
  background-color: var(--clr-green);
  color: var(--clr-white);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 2px solid var(--clr-green);
  border-radius: 2px;
  cursor: pointer;
  transition:
    background-color var(--ease),
    border-color var(--ease),
    color var(--ease),
    transform var(--ease-move);
}

.submit-btn:hover {
  background-color: var(--clr-gold);
  border-color: var(--clr-gold);
  color: var(--clr-white);
  transform: translateY(-2px);
}

.submit-btn:active {
  transform: translateY(0);
}


/* ─────────────────────────────────────────────────
   8b. INQUIRY SECTION (embedded GHL form)
───────────────────────────────────────────────── */

.inquiry-section {
  padding: 100px 20px;
  background: #0f2f24;
  /* deep green */
  color: #ffffff;
  text-align: center;
}

.inquiry-container {
  max-width: 900px;
  margin: 0 auto;
}

.inquiry-container h2 {
  font-size: 2.2rem;
  margin-bottom: 10px;
}

.inquiry-container p {
  opacity: 0.8;
  margin-bottom: 40px;
}

.inquiry-section h2 {
  color: #ffffff;
  font-weight: 500;
  letter-spacing: 1px;
}

.inquiry-section p {
  color: rgba(255, 255, 255, 0.85);
}

.form-wrapper {
  background: #ffffff;
  padding: 50px;
  border-radius: 12px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
}

.form-wrapper iframe {
  width: 100%;
  min-height: 900px;
  border: none;
}



/* ─────────────────────────────────────────────────
   9. FOOTER
───────────────────────────────────────────────── */


.site-footer {
  background-color: var(--clr-green-dark);
  color: var(--clr-text-light);
  padding: 40px 20px;
  text-align: center;
  font-size: 0.92rem;
}

.footer-inner {
  max-width: 600px;
  margin-inline: auto;
}

.footer-inner p {
  margin-bottom: 6px;
  color: var(--clr-text-light);
  font-size: 0.92rem;
}

.footer-inner a {
  color: var(--clr-gold);
  text-decoration: none;
  transition: color var(--ease);
}

.footer-inner a:hover {
  color: var(--clr-white);
}

/* ── Footer Brand ──────────────────────────────── */

.footer-brand {
  margin-bottom: var(--space-md);
}

.footer-name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--clr-gold);
  letter-spacing: 0.06em;
  margin-bottom: 14px;
}

.footer-address {
  line-height: 2;
  color: var(--clr-text-light);
}

.footer-address a {
  color: var(--clr-text-light);
  transition: color var(--ease);
}

.footer-address a:hover {
  color: var(--clr-gold);
}

/* ── Footer Navigation Links ───────────────────── */

.footer-links {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--space-xs);
  margin-block: var(--space-md);
}

.footer-links a {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(245, 242, 234, 0.75);
  padding: 4px 8px;
  border-radius: 2px;
  transition: color var(--ease);
}

.footer-links a:hover {
  color: var(--clr-gold);
}

.footer-divider {
  color: var(--clr-border);
  line-height: 1;
  user-select: none;
}

/* ── Legal Note ────────────────────────────────── */

.footer-legal-note {
  font-size: 0.82rem;
  color: rgba(200, 192, 174, 0.72);
  margin-bottom: var(--space-md);
  line-height: 1.6;
}

.footer-legal-note a {
  color: var(--clr-gold);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--ease);
}

.footer-legal-note a:hover {
  color: var(--clr-cream);
}

/* ── Copyright ─────────────────────────────────── */

.footer-copy {
  font-size: 0.78rem;
  color: rgba(200, 192, 174, 0.48);
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  letter-spacing: 0.04em;
}


/* ─────────────────────────────────────────────────
   10. POLICY PAGES (privacy.html / terms.html)
───────────────────────────────────────────────── */

.policy-page {
  padding-block: var(--space-lg) var(--space-xl);
  padding-inline: 5%;
  background-color: var(--clr-cream);
}

.policy-inner {
  max-width: 740px;
  margin-inline: auto;
}

.policy-inner h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: 6px;
}

.policy-date {
  font-size: 0.85rem;
  font-style: italic;
  color: var(--clr-text-muted);
  margin-bottom: 36px;
}

.policy-inner h2 {
  font-size: 1.35rem;
  margin: 40px 0 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--clr-border);
}

.policy-inner h3 {
  font-size: 1.1rem;
  margin-top: 28px;
  margin-bottom: 10px;
}

.policy-inner ul {
  list-style: none;
  margin: 0 0 18px 0;
  padding: 0;
}

.policy-inner ul li {
  position: relative;
  padding-left: 22px;
  font-size: 1.02rem;
  color: var(--clr-text-muted);
  line-height: 1.85;
  margin-bottom: 6px;
}

/* Gold dash bullet */
.policy-inner ul li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--clr-gold);
  font-size: 0.85rem;
  top: 3px;
  line-height: 1.85;
}

.policy-inner p,
.policy-inner address {
  font-size: 1.02rem;
  color: var(--clr-text-muted);
  line-height: 1.85;
  margin-bottom: 16px;
}

.policy-inner address {
  border-left: 3px solid var(--clr-border);
  padding-left: 18px;
  margin-block: 20px;
}

.policy-inner a {
  color: var(--clr-gold-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--ease);
}

.policy-inner a:hover {
  color: var(--clr-green);
}

/* Highlighted non-sharing clause */
.policy-highlight {
  background-color: var(--clr-gray-soft);
  border-left: 4px solid var(--clr-gold);
  border-radius: 2px;
  padding: 26px 30px;
  margin-block: 36px;
}

.policy-highlight p {
  margin-bottom: 0;
}

.policy-back {
  display: inline-block;
  margin-top: 52px;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--clr-text-muted);
  text-transform: uppercase;
  transition: color var(--ease);
}

.policy-back:hover {
  color: var(--clr-green);
}


/* ─────────────────────────────────────────────────
   11. RESPONSIVE  (≤ 768 px)
───────────────────────────────────────────────── */

@media (max-width: 768px) {

  /* Header – stack logo above nav */
  .container {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }

  .site-header nav {
    gap: var(--space-xs);
    flex-wrap: wrap;
    justify-content: center;
  }

  /* Hero */
  .hero {
    height: 80vh;
  }

  /* Destinations – single column */
  .cards {
    flex-direction: column;
    align-items: center;
  }

  .card {
    max-width: 100%;
    width: 100%;
  }

  /* Contact form – single column */
  .form-row {
    grid-template-columns: 1fr;
  }

  /* Policy page */
  .policy-highlight {
    padding: 20px;
  }
}

@media (max-width: 480px) {
  .site-header nav a {
    font-size: 0.75rem;
  }

  .primary-btn {
    width: 100%;
    text-align: center;
  }

  .card {
    padding: 36px 24px 30px;
  }

  .contact .contact-inner {
    text-align: left;
  }

  .contact-inner h2::after {
    margin-left: 0;
  }
}


/* ===============================
   HERO ROTATION
================================ */

.hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero-slides {
  position: absolute;
  inset: 0;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
      rgba(8, 38, 28, 0.28),
      rgba(8, 38, 28, 0.22));
  z-index: 1;
}

.slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  animation: fadeSlide 12s infinite;
  transform: scale(1.08);
}

.slide:nth-child(1) {
  animation-delay: 0s;
}

.slide:nth-child(2) {
  animation-delay: 4s;
}

.slide:nth-child(3) {
  animation-delay: 8s;
}

@keyframes fadeSlide {
  0% {
    opacity: 0;
    transform: scale(1.08);
  }

  15% {
    opacity: 1;
  }

  35% {
    opacity: 1;
  }

  50% {
    opacity: 0;
  }

  100% {
    opacity: 0;
  }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
}

.hero-btn {
  background: #c8a96a;
  color: #0f2f24;
  padding: 14px 32px;
  font-weight: 600;
  letter-spacing: 1px;
  border: none;
  transition: all 0.3s ease;
  display: inline-block;
  text-decoration: none;
}

.hero-btn:hover {
  background: #d9bb7f;
  transform: translateY(-2px);
}