/* ===================================================================
   Oak Crest Golf Course - styles.css
   Brief: Northwoods / oak heritage. Deep forest bark, oak-leaf green,
   acorn gold, warm parchment, burnt-sienna rust accent.
   Fonts: Fraunces (display) + Mulish (body). Reveal: fade-up.
   =================================================================== */

/* ---------- Design tokens ---------- */
:root {
  /* Palette (names are conventions; values fit this course) */
  --navy: #1d2a22;          /* deep forest bark - all dark bg/nav/footer/overlay */
  --navy-light: #2c3d31;
  --navy-dark: #131c16;
  --green: #356b43;         /* oak-leaf green - primary action */
  --green-light: #437f53;
  --green-dark: #284f33;
  --gold: #c79347;          /* acorn gold - accent */
  --gold-light: #d8ac68;
  --gold-dark: #a9762f;
  --cream: #f5efe2;         /* warm parchment bg */
  --cream-dark: #ece3d1;
  --rust: #a4501f;          /* brand accent - 5th color */
  --rust-light: #c2632e;

  /* Grays */
  --gray-900: #20251f;
  --gray-700: #45504a;
  --gray-500: #6f7b73;
  --gray-300: #c8cdc6;
  --gray-100: #eef0ec;
  --white: #ffffff;

  /* Typography */
  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-body: 'Mulish', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(19, 28, 22, 0.08);
  --shadow-md: 0 6px 18px rgba(19, 28, 22, 0.12);
  --shadow-lg: 0 16px 40px rgba(19, 28, 22, 0.18);

  /* Radii */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;

  /* Transitions */
  --transition: 0.25s ease;
  --transition-slow: 0.4s ease;

  /* Layout */
  --container: 1200px;
  --nav-height: 76px;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  color: var(--gray-900);
  background: var(--cream);
  line-height: 1.65;
  font-size: 1.0625rem;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.15;
  font-weight: 600;
  color: var(--navy);
}

/* ---------- Utilities ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}

.section { padding: 96px 0; }
.section--cream { background: var(--cream); }
.section--white { background: var(--white); }
.section--alt { background: var(--cream-dark); }

.section-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.section-head--left { margin-left: 0; text-align: left; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 0.8125rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--rust);
  margin-bottom: 16px;
}
.eyebrow--gold { color: var(--gold); }
.eyebrow--cream { color: var(--gold-light); }

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.01em;
}
.section-title--light { color: var(--cream); }

.section-text {
  font-size: 1.125rem;
  color: var(--gray-700);
  margin-top: 20px;
}
.section-text--light { color: rgba(245, 239, 226, 0.82); }

.text-center { text-align: center; }

/* ---------- Buttons ---------- */
.btn-primary, .btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 0.9375rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 16px 32px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
  min-height: 44px;
}

.btn-primary {
  background: var(--green);
  color: var(--white);
  border-color: var(--green);
}
.btn-primary:hover {
  background: var(--green-dark);
  border-color: var(--green-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background: transparent;
  color: var(--cream);
  border-color: rgba(245, 239, 226, 0.6);
}
.btn-outline:hover {
  background: var(--cream);
  color: var(--navy);
  border-color: var(--cream);
  transform: translateY(-2px);
}
.btn-outline--dark {
  color: var(--navy);
  border-color: var(--navy);
}
.btn-outline--dark:hover {
  background: var(--navy);
  color: var(--cream);
}

.btn-row { display: flex; flex-wrap: wrap; gap: 16px; }
.btn-row--center { justify-content: center; }

/* ---------- Navbar ---------- */
.nav-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  transition: background var(--transition), box-shadow var(--transition);
  background: transparent;
}
.nav-header.scrolled,
.nav-header--solid {
  background: var(--navy);
  box-shadow: var(--shadow-md);
}

.nav-inner {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--cream);
}
.nav-logo-icon { width: 34px; height: 42px; color: var(--gold); flex-shrink: 0; }
.nav-logo-text {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.3rem;
  line-height: 1.05;
  color: var(--cream);
}
.nav-logo-text span {
  display: block;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.6rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-light);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-menu a {
  color: var(--cream);
  font-weight: 700;
  font-size: 0.9375rem;
  letter-spacing: 0.02em;
  position: relative;
  padding: 6px 0;
  transition: color var(--transition);
}
.nav-menu a::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--gold);
  transition: width var(--transition);
}
.nav-menu a:hover, .nav-menu a.active { color: var(--gold-light); }
.nav-menu a.active::after, .nav-menu a:hover::after { width: 100%; }

.nav-menu .nav-cta {
  background: var(--gold);
  color: var(--navy);
  padding: 11px 22px;
  border-radius: var(--radius-sm);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.8125rem;
  letter-spacing: 0.05em;
}
.nav-menu .nav-cta::after { display: none; }
.nav-menu .nav-cta:hover { background: var(--gold-light); color: var(--navy); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1100;
}
.nav-toggle span {
  width: 26px; height: 2px;
  background: var(--cream);
  transition: var(--transition);
}
.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero (home) ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(19,28,22,0.55) 0%, rgba(19,28,22,0.4) 40%, rgba(19,28,22,0.78) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
  padding-top: var(--nav-height);
  color: var(--cream);
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 0.8125rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 20px;
}
.hero-eyebrow::before {
  content: '';
  width: 38px; height: 2px;
  background: var(--gold);
}
.hero-title {
  font-size: clamp(2.75rem, 7vw, 5rem);
  color: var(--cream);
  line-height: 1.05;
  letter-spacing: -0.015em;
}
.hero-tagline {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.25rem, 2.6vw, 1.85rem);
  color: var(--gold-light);
  margin: 16px 0 10px;
}
.hero-sub {
  font-size: 1.1875rem;
  color: rgba(245, 239, 226, 0.9);
  max-width: 560px;
  margin-bottom: 36px;
}
.hero-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-size: 0.875rem;
  color: rgba(245, 239, 226, 0.85);
}
.hero-meta svg { width: 18px; height: 18px; color: var(--gold); }

/* ---------- Page hero (inner) ---------- */
.page-hero {
  position: relative;
  min-height: 360px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.page-hero-bg { position: absolute; inset: 0; z-index: 0; }
.page-hero-img { width: 100%; height: 100%; object-fit: cover; }
.page-hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(19,28,22,0.5) 0%, rgba(19,28,22,0.75) 100%);
}
.page-hero-content {
  position: relative;
  z-index: 2;
  padding-top: var(--nav-height);
  color: var(--cream);
  max-width: 760px;
}
.page-hero-title {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  color: var(--cream);
  letter-spacing: -0.01em;
}
.page-hero-sub {
  font-size: 1.1875rem;
  color: rgba(245, 239, 226, 0.9);
  margin-top: 14px;
  max-width: 620px;
}
.breadcrumb {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 18px;
}
.breadcrumb a:hover { color: var(--cream); }
.breadcrumb span { opacity: 0.6; }

/* ---------- Two-column feature ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.split > * { min-width: 0; }
.split--reverse .split-media { order: 2; }
.split--stretch { align-items: stretch; }
.split--stretch .split-media img { height: 100%; min-height: 360px; object-fit: cover; }
.split-body .section-title { font-size: clamp(1.875rem, 3.4vw, 2.6rem); }

.split-media { position: relative; }
.split-media img {
  width: 100%;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  object-fit: cover;
}
.split-media--stack {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.split-media--cap img {
  aspect-ratio: 4 / 3;
  max-height: 460px;
  object-fit: cover;
}
.split-media--stack img:first-child {
  grid-column: 1 / -1;
  aspect-ratio: 16 / 9;
}

/* Stat badges */
.stat-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 32px;
}
.stat {
  background: var(--white);
  border: 1px solid var(--cream-dark);
  border-top: 3px solid var(--gold);
  border-radius: var(--radius-sm);
  padding: 20px 16px;
  text-align: center;
  flex: 1;
  min-width: 96px;
  box-shadow: var(--shadow-sm);
}
.stat-num {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.4vw, 1.75rem);
  font-weight: 600;
  color: var(--green);
  line-height: 1;
  white-space: nowrap;
}
.stat-label {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-500);
  margin-top: 8px;
}

/* ---------- Amenities / facilities grid ---------- */
.amenity-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.amenity {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  background: var(--white);
  border: 1px solid var(--cream-dark);
  border-radius: var(--radius-md);
  padding: 28px 26px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.amenity:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.amenity-icon {
  flex-shrink: 0;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--cream-dark);
  color: var(--rust);
  display: flex;
  align-items: center;
  justify-content: center;
}
.amenity-icon svg { width: 22px; height: 22px; }
.amenity h3 { font-family: var(--font-body); font-weight: 800; font-size: 1.0625rem; color: var(--navy); margin-bottom: 4px; }
.amenity p { font-size: 0.9375rem; color: var(--gray-700); }

/* ---------- Dark feature section (highlights) ---------- */
.feature-band {
  position: relative;
  overflow: hidden;
  background: var(--navy);
}
.feature-band-bg { position: absolute; inset: 0; z-index: 0; }
.feature-band-bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.22; }
.feature-band-bg::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(19,28,22,0.85), rgba(19,28,22,0.92));
}
/* Solid variant: the dark overlay color at full opacity, no image */
.feature-band--solid { background: var(--navy); }

/* Photo-forward variant: let the background image show through */
.feature-band--photo .feature-band-bg img { opacity: 1; }
.feature-band--photo .feature-band-bg::after {
  background: linear-gradient(180deg, rgba(19,28,22,0.72) 0%, rgba(19,28,22,0.55) 100%);
}
.feature-band .container { position: relative; z-index: 2; }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.feature-card {
  background: rgba(245, 239, 226, 0.07);
  border: 1px solid rgba(245, 239, 226, 0.22);
  border-radius: var(--radius-md);
  padding: 36px 28px;
  transition: var(--transition);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.feature-card:hover {
  transform: translateY(-6px);
  background: rgba(245, 239, 226, 0.13);
  border-color: var(--gold);
}
.feature-icon {
  width: 40px; height: 40px;
  color: var(--gold);
  margin-bottom: 20px;
}
.feature-card h3 {
  color: var(--cream);
  font-size: 1.3rem;
  margin-bottom: 10px;
}
.feature-card p {
  color: rgba(245, 239, 226, 0.78);
  font-size: 0.9875rem;
}

/* ---------- Quick links grid ---------- */
.quick-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.quick-card {
  position: relative;
  display: block;
  border-radius: var(--radius-md);
  overflow: hidden;
  min-height: 280px;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}
.quick-card img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}
.quick-card::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(19,28,22,0.1) 30%, rgba(19,28,22,0.85) 100%);
}
.quick-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.quick-card:hover img { transform: scale(1.06); }
.quick-card-body {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
  color: var(--cream);
}
.quick-card-body h3 { color: var(--cream); font-size: 1.4rem; margin-bottom: 6px; }
.quick-card-body p { font-size: 0.9375rem; color: rgba(245,239,226,0.85); }
.quick-card-link {
  margin-top: 14px;
  font-weight: 800;
  font-size: 0.8125rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-light);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* ---------- Testimonial banner ---------- */
.testimonial {
  background: var(--green-dark);
  position: relative;
  overflow: hidden;
}
.testimonial .container { position: relative; z-index: 2; }
.testimonial-quote {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.2vw, 2.25rem);
  line-height: 1.4;
  color: var(--cream);
  font-style: italic;
  text-align: center;
  max-width: 880px;
  margin: 0 auto;
}
.testimonial-cite {
  display: block;
  margin-top: 24px;
  text-align: center;
  font-family: var(--font-body);
  font-style: normal;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.8125rem;
  color: var(--gold-light);
}
.testimonial-stars {
  display: flex;
  justify-content: center;
  gap: 4px;
  margin-bottom: 24px;
  color: var(--gold);
}
.testimonial-stars svg { width: 22px; height: 22px; }

/* Testimonial cards (multi) */
.quote-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.quote-card {
  background: var(--white);
  border: 1px solid var(--cream-dark);
  border-radius: var(--radius-md);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}
.quote-card .testimonial-stars { justify-content: flex-start; margin-bottom: 16px; }
.quote-card blockquote {
  font-size: 1.0625rem;
  color: var(--gray-700);
  font-style: italic;
  line-height: 1.6;
}
.quote-card cite {
  display: block;
  margin-top: 16px;
  font-style: normal;
  font-weight: 800;
  font-size: 0.8125rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--green);
}

/* ---------- Review carousel ---------- */
.review-carousel { position: relative; }
.review-viewport { overflow: hidden; }
.review-track { display: flex; transition: transform 0.5s ease; }
.review-slide { flex: 0 0 100%; min-width: 100%; }
.review-slide .quote-card { height: 100%; }

.review-arrows {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 32px;
}
.review-arrow {
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 2px solid var(--navy);
  background: transparent;
  color: var(--navy);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.review-arrow:hover { background: var(--navy); color: var(--cream); }
.review-arrow svg { width: 20px; height: 20px; }

.review-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}
.review-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  border: none;
  background: var(--gray-300);
  cursor: pointer;
  padding: 0;
  transition: var(--transition);
}
.review-dot.active { background: var(--green); transform: scale(1.2); }

/* Light variant for dark backgrounds (home testimonial band) */
.review-carousel--light .review-arrow { border-color: rgba(245, 239, 226, 0.5); color: var(--cream); }
.review-carousel--light .review-arrow:hover { background: var(--cream); color: var(--navy); border-color: var(--cream); }
.review-carousel--light .review-dot { background: rgba(245, 239, 226, 0.35); }
.review-carousel--light .review-dot.active { background: var(--gold); }

/* ---------- Find Us / map ---------- */
.findus-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: stretch;
}
.map-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  min-height: 440px;
}
.map-card iframe {
  width: 100%;
  height: 100%;
  min-height: 440px;
  border: 0;
  display: block;
}
.map-open-btn {
  position: absolute;
  top: 16px; left: 16px;
  z-index: 5;
  background: var(--navy);
  color: var(--cream);
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  font-weight: 800;
  font-size: 0.8125rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  box-shadow: var(--shadow-md);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}
.map-open-btn:hover { background: var(--green); }
.map-open-btn svg { width: 16px; height: 16px; color: var(--gold); }

.info-list { display: flex; flex-direction: column; gap: 24px; }
.info-row { display: flex; gap: 18px; align-items: flex-start; }
.info-icon {
  flex-shrink: 0;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--cream-dark);
  color: var(--rust);
  display: flex;
  align-items: center;
  justify-content: center;
}
.info-icon svg { width: 22px; height: 22px; }
.info-row h3 { font-size: 1.0625rem; font-family: var(--font-body); font-weight: 800; color: var(--navy); margin-bottom: 4px; }
.info-row p, .info-row a { color: var(--gray-700); font-size: 1rem; }
.info-row a:hover { color: var(--green); }

.directions-callout {
  margin-top: 28px;
  background: var(--cream-dark);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius-sm);
  padding: 20px 24px;
}
.directions-callout h4 { font-family: var(--font-body); font-weight: 800; font-size: 0.95rem; color: var(--navy); margin-bottom: 6px; }
.directions-callout p { font-size: 0.95rem; color: var(--gray-700); }

/* ---------- Calendar embed ---------- */
.calendar-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--cream-dark);
  background: var(--white);
}
.calendar-card iframe {
  width: 100%;
  min-height: 640px;
  border: 0;
  display: block;
}
@media (max-width: 767px) {
  .calendar-card iframe { min-height: 520px; }
}

/* ---------- CTA banner ---------- */
.cta-banner {
  position: relative;
  overflow: hidden;
  text-align: center;
}
.cta-banner-bg { position: absolute; inset: 0; z-index: 0; }
.cta-banner-img { width: 100%; height: 100%; object-fit: cover; }
.cta-banner-bg::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(19,28,22,0.78), rgba(19,28,22,0.88));
}
.cta-banner .container { position: relative; z-index: 2; }
.cta-banner h2 {
  color: var(--cream);
  font-size: clamp(2rem, 4vw, 3rem);
  max-width: 720px;
  margin: 0 auto 16px;
}
.cta-banner p {
  color: rgba(245, 239, 226, 0.88);
  font-size: 1.1875rem;
  max-width: 600px;
  margin: 0 auto 32px;
}

/* ---------- Generic cards (rates, membership, leagues) ---------- */
.card-grid {
  display: grid;
  gap: 28px;
}
.card-grid--2 { grid-template-columns: repeat(2, 1fr); }
.card-grid--3 { grid-template-columns: repeat(3, 1fr); }
.card-grid--4 { grid-template-columns: repeat(4, 1fr); }

.rate-card {
  background: var(--white);
  border: 1px solid var(--cream-dark);
  border-radius: var(--radius-md);
  padding: 36px 32px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.rate-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.rate-card--featured {
  border: 2px solid var(--gold);
  box-shadow: var(--shadow-md);
  position: relative;
}
.rate-card__tag {
  position: absolute;
  top: -13px; left: 32px;
  background: var(--gold);
  color: var(--navy);
  font-weight: 800;
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 20px;
}
.rate-card h3 {
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 1.0625rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--navy);
}
.rate-card__price {
  font-family: var(--font-display);
  font-size: 2.75rem;
  font-weight: 600;
  color: var(--green);
  margin: 14px 0 4px;
  line-height: 1;
}
.rate-card__price span { font-size: 1rem; color: var(--gray-500); font-family: var(--font-body); font-weight: 700; }
.rate-card__note { font-size: 0.875rem; color: var(--gray-500); margin-bottom: 20px; }
.rate-list { display: flex; flex-direction: column; gap: 12px; margin-top: 8px; margin-bottom: 24px; }
.rate-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.975rem;
  color: var(--gray-700);
}
.rate-list svg { width: 18px; height: 18px; color: var(--green); flex-shrink: 0; margin-top: 3px; }
.rate-card .btn-primary, .rate-card .btn-outline { margin-top: auto; }
.rate-card__spacer { margin-top: auto; }

/* Frosted-glass rate card (on a photo band) */
.rate-card--glass {
  background: rgba(245, 239, 226, 0.07);
  border: 1px solid rgba(245, 239, 226, 0.22);
  box-shadow: none;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.rate-card--glass:hover {
  background: rgba(245, 239, 226, 0.13);
  border-color: var(--gold);
}
.rate-card--glass.rate-card--featured { border-width: 2px; border-color: var(--gold); }
.rate-card--glass h3 { color: var(--cream); }
.rate-card--glass .rate-card__price { color: var(--gold-light); }
.rate-card--glass .rate-card__price span { color: rgba(245, 239, 226, 0.7); }
.rate-card--glass .rate-card__note { color: rgba(245, 239, 226, 0.7); }
.rate-card--glass .rate-list li { color: rgba(245, 239, 226, 0.88); }
.rate-card--glass .rate-list svg { color: var(--gold-light); }

/* Simple price rows (e.g. range/cart) */
.price-rows { display: flex; flex-direction: column; }
.price-rows li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--cream-dark);
  font-size: 1rem;
  color: var(--gray-700);
}
.price-rows li:last-child { border-bottom: none; }
.price-rows .price-val { font-weight: 800; color: var(--green); white-space: nowrap; }

/* Highlight card (loyalty / featured info) */
.highlight-card {
  background: var(--navy);
  border-radius: var(--radius-lg);
  padding: 40px 44px;
  color: var(--cream);
  position: relative;
  overflow: hidden;
}
.highlight-card h2 { color: var(--cream); font-size: clamp(1.75rem, 3vw, 2.4rem); }
.highlight-card p { color: rgba(245, 239, 226, 0.85); font-size: 1.0625rem; margin-top: 12px; }
.highlight-card .stat-row { margin-top: 28px; }
.highlight-card .stat {
  background: rgba(245, 239, 226, 0.07);
  border: 1px solid rgba(245, 239, 226, 0.16);
  border-top: 3px solid var(--gold);
}
.highlight-card .stat-num { color: var(--gold-light); }
.highlight-card .stat-label { color: rgba(245, 239, 226, 0.7); }

.disclaimer {
  font-size: 0.875rem;
  color: var(--gray-500);
  text-align: center;
  max-width: 760px;
  margin: 48px auto 0;
  font-style: italic;
}

/* ---------- League / event detail cards ---------- */
.event-card {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 24px;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--cream-dark);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius-md);
  padding: 24px 28px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.event-card:hover { transform: translateX(4px); box-shadow: var(--shadow-md); }
.event-date {
  text-align: center;
  background: var(--cream-dark);
  border-radius: var(--radius-sm);
  padding: 12px 6px;
}
.event-date .month {
  display: block;
  font-weight: 800;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--rust);
}
.event-date .day {
  display: block;
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.1;
}
.event-body h3 { font-size: 1.25rem; font-family: var(--font-body); font-weight: 800; color: var(--navy); }
.event-body p { font-size: 0.95rem; color: var(--gray-700); margin-top: 4px; }
.event-tag {
  display: inline-block;
  margin-top: 8px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--green);
}

/* ---------- FAQ ---------- */
.faq-list { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 16px; }
.faq-item {
  background: var(--white);
  border: 1px solid var(--cream-dark);
  border-radius: var(--radius-md);
  padding: 28px 32px;
  box-shadow: var(--shadow-sm);
}
.faq-item h3 { font-family: var(--font-body); font-weight: 800; font-size: 1.125rem; color: var(--navy); margin-bottom: 8px; }
.faq-item p { color: var(--gray-700); font-size: 1rem; }

/* ---------- Menu (clubhouse) ---------- */
.menu-section { margin-bottom: 48px; }
.menu-section__head {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 24px;
}
.menu-section__head h3 {
  font-size: 1.75rem;
  color: var(--navy);
  white-space: nowrap;
}
.menu-section__head .rule {
  flex: 1;
  height: 1px;
  background: var(--cream-dark);
}
.menu-section__note { font-size: 0.875rem; color: var(--gray-500); font-style: italic; }
.menu-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px 48px;
}
.menu-item {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px dashed var(--cream-dark);
}
.menu-item__name { font-weight: 700; color: var(--navy); }
.menu-item__desc { font-size: 0.9rem; color: var(--gray-500); font-weight: 400; display: block; margin-top: 2px; }
.menu-item__price { font-family: var(--font-display); font-weight: 600; color: var(--green); white-space: nowrap; }

/* ---------- Photo band (signature moment) ---------- */
.photo-band {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.photo-band-bg { position: absolute; inset: 0; }
.photo-band-bg img { width: 100%; height: 100%; object-fit: cover; }
.photo-band-bg::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(19,28,22,0.85) 0%, rgba(19,28,22,0.45) 70%, rgba(19,28,22,0.25) 100%);
}
.photo-band .container { position: relative; z-index: 2; }
.photo-band-content { max-width: 560px; color: var(--cream); }
.photo-band-content h2 { color: var(--cream); font-size: clamp(1.875rem, 3.4vw, 2.6rem); }
.photo-band-content p { color: rgba(245, 239, 226, 0.88); font-size: 1.0625rem; margin-top: 16px; }

/* ---------- Scorecard ---------- */
.tee-ratings {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px 56px;
  margin-bottom: 32px;
}
.tee-rating { text-align: center; }
.tee-rating strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.3rem;
  color: var(--navy);
  margin-bottom: 2px;
}
.tee-rating:nth-child(2) strong { color: var(--green); }
.tee-rating:nth-child(3) strong { color: var(--rust); }
.tee-rating span {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.9375rem;
  color: var(--gray-500);
}

.scorecard-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--cream-dark);
  margin-bottom: 48px;
}
#scorecardTable {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  background: var(--white);
  font-size: 0.9375rem;
}
#scorecardTable th, #scorecardTable td {
  padding: 12px 10px;
  text-align: center;
  border-bottom: 1px solid var(--cream-dark);
  white-space: nowrap;
}
#scorecardTable thead th {
  background: var(--navy);
  color: var(--cream);
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 0.8125rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
#scorecardTable tbody th {
  text-align: left;
  font-family: var(--font-body);
  font-weight: 800;
  color: var(--navy);
  background: var(--cream);
  position: sticky;
  left: 0;
  z-index: 1;
}
#scorecardTable .row-par td, #scorecardTable .row-par th {
  background: var(--cream-dark);
  font-weight: 800;
  color: var(--green-dark);
}
#scorecardTable .col-tot { background: var(--cream-dark); font-weight: 800; }
#scorecardTable thead .col-tot { background: var(--green-dark); }
.hole-col { cursor: pointer; transition: background var(--transition); }
.hole-col:hover { background: var(--gold-light); color: var(--navy); }
#scorecardTable thead .hole-col:hover { background: var(--gold); color: var(--navy); }
.hole-col--active { background: var(--gold) !important; color: var(--navy) !important; }
.scorecard-hint {
  text-align: center;
  font-size: 0.875rem;
  color: var(--gray-500);
  margin-bottom: 24px;
}
.scorecard-hint strong { color: var(--rust); }

/* Hole detail panel */
.hole-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  background: var(--white);
  border: 1px solid var(--cream-dark);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.hole-detail__media { position: relative; min-height: 340px; }
.hole-detail__media img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.hole-detail__info { padding: 40px; display: flex; flex-direction: column; }
.hole-badge {
  display: inline-block;
  align-self: flex-start;
  background: var(--green);
  color: var(--cream);
  font-weight: 800;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 16px;
}
.hole-detail__info h3 { font-size: 2rem; color: var(--navy); margin-bottom: 12px; }
.hole-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  font-weight: 800;
  font-size: 0.875rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--rust);
  margin-bottom: 16px;
}
.hole-meta span:nth-child(even) { color: var(--gray-300); }
.hole-detail__info p { color: var(--gray-700); font-size: 1.0625rem; }
.hole-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: auto;
  padding-top: 28px;
}
.hole-nav button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--cream-dark);
  border: none;
  color: var(--navy);
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 0.8125rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  min-height: 44px;
  transition: var(--transition);
}
.hole-nav button:hover { background: var(--green); color: var(--cream); }
.hole-count { font-weight: 800; color: var(--gray-500); font-size: 0.875rem; letter-spacing: 0.08em; }

/* ---------- Contact specifics ---------- */
.distance-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 28px 0;
}
.distance-card {
  background: var(--white);
  border: 1px solid var(--cream-dark);
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.distance-num { font-family: var(--font-display); font-size: 2rem; font-weight: 600; color: var(--rust); line-height: 1; }
.distance-label { font-size: 0.875rem; color: var(--gray-700); margin-top: 8px; font-weight: 700; }
.directions-steps { counter-reset: step; max-width: 720px; }
.directions-steps li {
  position: relative;
  padding: 12px 0 12px 52px;
  border-bottom: 1px solid var(--cream-dark);
  color: var(--gray-700);
}
.directions-steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0; top: 10px;
  width: 34px; height: 34px;
  background: var(--green);
  color: var(--cream);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.9rem;
}
.social-row { display: flex; gap: 14px; margin-top: 20px; }
.social-row a {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--cream-dark);
  color: var(--rust);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.social-row a:hover { background: var(--green); color: var(--cream); transform: translateY(-3px); }
.social-row svg { width: 22px; height: 22px; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy);
  color: rgba(245, 239, 226, 0.78);
  padding: 72px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-logo { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.footer-logo-icon { width: 36px; height: 44px; color: var(--gold); }
.footer-logo-text { font-family: var(--font-display); font-weight: 600; font-size: 1.3rem; color: var(--cream); line-height: 1.1; }
.footer-logo-text span { display: block; font-family: var(--font-body); font-weight: 700; font-size: 0.6rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold-light); }
.footer-about p { font-size: 0.95rem; max-width: 320px; }
.footer-col h4 {
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 0.8125rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 20px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 12px; }
.footer-col a, .footer-col p { font-size: 0.95rem; color: rgba(245, 239, 226, 0.78); transition: color var(--transition); }
.footer-col a:hover { color: var(--gold-light); }
.footer-contact-row { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 14px; }
.footer-contact-row svg { width: 18px; height: 18px; color: var(--gold); flex-shrink: 0; margin-top: 3px; }
.footer-bottom {
  border-top: 1px solid rgba(245, 239, 226, 0.14);
  padding-top: 28px;
  text-align: center;
  font-size: 0.875rem;
  color: rgba(245, 239, 226, 0.6);
}
.footer-legal { margin-top: 6px; }
.footer-legal a { color: rgba(245, 239, 226, 0.6); }
.footer-legal a:hover { color: var(--gold-light); }

/* ---------- 404 ---------- */
.error-page {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 140px 20px 80px;
}
.error-page h1 { font-size: clamp(4rem, 12vw, 8rem); color: var(--green); line-height: 1; }
.error-page h2 { font-size: 1.75rem; margin: 12px 0 16px; }
.error-page p { color: var(--gray-700); max-width: 480px; margin: 0 auto 32px; }

/* ---------- Legal pages ---------- */
.legal-body { max-width: 820px; margin: 0 auto; }
.legal-body h2 { font-size: 1.5rem; margin: 36px 0 12px; }
.legal-body h3 { font-size: 1.15rem; margin: 24px 0 8px; font-family: var(--font-body); font-weight: 800; }
.legal-body p, .legal-body li { color: var(--gray-700); margin-bottom: 12px; }
.legal-body ul { list-style: disc; padding-left: 24px; }
.legal-body ul li { margin-bottom: 8px; }
.legal-body .updated { font-style: italic; color: var(--gray-500); }

/* ---------- Reveal animation (fade-up) ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ===================================================================
   Responsive
   =================================================================== */
@media (max-width: 1024px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .amenity-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .split { gap: 40px; }
  .highlight-card { padding: 36px 32px; }
}

@media (max-width: 900px) {
  .nav-menu {
    position: fixed;
    top: 0; right: 0;
    height: 100vh;
    width: min(82%, 340px);
    background: var(--navy);
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 28px;
    padding: 80px 40px;
    transform: translateX(100%);
    transition: transform var(--transition);
    box-shadow: var(--shadow-lg);
  }
  .nav-menu.active { transform: translateX(0); }
  .nav-menu a { font-size: 1.25rem; }
  .nav-toggle { display: flex; }
  .split { grid-template-columns: 1fr; }
  .split--reverse .split-media { order: 0; }
  .split--text-first .split-media { order: 1; }
  .findus-grid { grid-template-columns: 1fr; gap: 32px; }
  .hole-detail { grid-template-columns: 1fr; }
  .hole-detail__media { min-height: 240px; }
  .quote-grid { grid-template-columns: 1fr; }
}

/* ---------- Primary mobile breakpoint ---------- */
@media (max-width: 768px) {
  .section { padding: 48px 0; }
  .container { padding: 0 20px; }
  .nav-inner { padding: 0 20px; }

  .hero { min-height: 85vh; }
  .hero-content { padding-top: 80px; }
  .hero-title { font-size: 2.25rem; }
  .hero-tagline { font-size: 1.25rem; }
  .hero-sub { font-size: 1rem; }

  .page-hero { min-height: 260px; }
  .page-hero-title { font-size: 1.875rem; }
  .page-hero-sub { font-size: 1rem; }

  .section-title, .cta-banner h2, .photo-band-content h2 { font-size: 1.75rem; }
  body { font-size: 0.9375rem; }
  .section-text { font-size: 1rem; }

  /* All 2+ column grids collapse to 1 column, except quick links (3 -> 2) */
  .feature-grid { grid-template-columns: 1fr; gap: 20px; }
  .amenity-grid { grid-template-columns: 1fr; gap: 20px; }
  .quick-grid { grid-template-columns: 1fr; gap: 20px; }
  .card-grid--2, .card-grid--3, .card-grid--4 { grid-template-columns: 1fr; gap: 20px; }
  .distance-grid { grid-template-columns: 1fr; }
  .menu-grid { grid-template-columns: 1fr; gap: 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }

  /* Cards reduce padding */
  .feature-card { padding: 20px 16px; }
  .quick-card { min-height: 220px; }
  .quick-card-body { padding: 24px; }
  .rate-card { padding: 20px 16px; }
  /* featured cards need room for the overlapping tag */
  .rate-card.rate-card--featured { padding-top: 38px; }
  .amenity { padding: 22px 18px; }
  .event-card { padding: 20px; grid-template-columns: 64px 1fr; gap: 14px; }
  .highlight-card { padding: 28px 24px; }
  .hole-detail__info { padding: 20px 16px; }
  .hole-detail__info h3 { font-size: 1.5rem; }

  /* Image heights cap */
  .split-media img, .split-media--cap img { max-height: 280px; }
  .split--stretch .split-media img { min-height: 220px; max-height: 280px; }

  #scorecardTable { font-size: 0.8rem; }
  #scorecardTable th, #scorecardTable td { padding: 9px 7px; }

  .split-media--stack { grid-template-columns: 1fr; }
  .split-media--stack img:first-child { aspect-ratio: 16 / 10; }

  .stat { padding: 14px 16px; }
  /* Buttons: WCAG touch target, full width */
  .btn-primary, .btn-outline { width: 100%; min-height: 48px; padding: 14px 24px; }
  .btn-row { flex-direction: column; }
  .map-card, .map-card iframe { min-height: 340px; }
  .photo-band-bg::after { background: linear-gradient(180deg, rgba(19,28,22,0.7), rgba(19,28,22,0.85)); }
}

/* ---------- Small phones: final font/spacing reductions ---------- */
@media (max-width: 480px) {
  .section { padding: 40px 0; }

  .hero-title { font-size: 2rem; }
  .hero-tagline { font-size: 1.125rem; }
  .page-hero-title { font-size: 1.625rem; }
  .section-title, .cta-banner h2, .photo-band-content h2 { font-size: 1.5rem; }

  /* Labels / small text */
  .eyebrow, .hero-eyebrow, .stat-label, .breadcrumb, .quick-card-link, .footer-col h4 { font-size: 0.6875rem; }

  /* Buttons */
  .btn-primary, .btn-outline { padding: 11px 20px; font-size: 0.8125rem; }

  .feature-card, .rate-card, .amenity { padding: 18px 16px; }
  .highlight-card { padding: 24px 20px; }

  /* Stats/badges wrap two-up and center */
  .stat-row { justify-content: center; }
  .stat { min-width: calc(50% - 8px); flex: 0 1 calc(50% - 8px); }
  .tee-ratings { gap: 16px 32px; }
}
