/* =============================================================
   TEETH OF THE DOG VILLA — Main Stylesheet v1
   Dominican Republic golf villa targeting Casa de Campo / Teeth of the Dog searches
   ============================================================= */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,300;1,400&family=Montserrat:wght@300;400;500;600&family=Playfair+Display:ital,wght@0,400;0,700;1,400&display=swap');

/* ─── CSS VARIABLES ─────────────────────────────────────────── */
:root {
  --navy:     #0A1628;
  --navy-mid: #112240;
  --teal:     #0E4D64;
  --gold:     #C9A84C;
  --gold-lt:  #E8C96A;
  --cream:    #F5F0E8;
  --ivory:    #FDFAF5;
  --white:    #FFFFFF;
  --gray:     #8A8A8A;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-serif:   'Cormorant Garamond', Georgia, serif;
  --font-sans:    'Montserrat', sans-serif;
  --transition:   0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --shadow-lg:    0 24px 60px rgba(0,0,0,0.35);
  --shadow-gold:  0 8px 32px rgba(201,168,76,0.3);
}

/* ─── RESET & BASE ───────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-sans);
  background: var(--ivory);
  color: var(--navy);
  overflow-x: hidden;
  line-height: 1.7;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ─── TYPOGRAPHY ─────────────────────────────────────────────── */
h1,h2,h3,h4 { font-family: var(--font-display); font-weight: 400; line-height: 1.2; }
h1 { font-size: clamp(2.8rem, 6vw, 5.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.5rem); }
h3 { font-size: clamp(1.4rem, 2.5vw, 2rem); }
h4 { font-size: 1.2rem; font-family: var(--font-sans); font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; }
p { font-family: var(--font-serif); font-size: 1.15rem; font-weight: 300; color: #3a3a3a; }
.overline {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ─── GOLD DIVIDER ───────────────────────────────────────────── */
.gold-divider {
  width: 60px; height: 2px;
  background: var(--gold);
  margin: 20px 0 28px;
}
.gold-divider.center { margin: 20px auto 28px; }

/* ─── NAVIGATION ─────────────────────────────────────────────── */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0 4vw;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: var(--transition);
}
.site-nav.scrolled {
  background: var(--navy);
  box-shadow: 0 2px 40px rgba(0,0,0,0.5);
  height: 64px;
}
.nav-logo {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.nav-logo .logo-top {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--white);
  letter-spacing: 0.05em;
}
.nav-logo .logo-sub {
  font-family: var(--font-sans);
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links a {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  transition: color 0.3s;
}
.nav-links a:hover { color: var(--gold); }
.nav-book-btn {
  background: var(--gold) !important;
  color: var(--navy) !important;
  padding: 10px 22px !important;
  font-weight: 600 !important;
  letter-spacing: 0.12em !important;
}
.nav-book-btn:hover { background: var(--gold-lt) !important; }

/* ─── HAMBURGER ──────────────────────────────────────────────── */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: white;
  transition: var(--transition);
}

/* ─── MOBILE MENU ────────────────────────────────────────────── */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--navy);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s;
}
.mobile-menu.open { opacity: 1; pointer-events: all; }
.mobile-menu a {
  font-family: var(--font-display);
  font-size: 2rem;
  color: white;
  transition: color 0.3s;
}
.mobile-menu a:hover { color: var(--gold); }
.mobile-close {
  position: absolute;
  top: 24px; right: 24px;
  font-size: 2rem;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
}

/* ─── HERO ───────────────────────────────────────────────────── */
.hero {
  position: relative;
  height: 100vh;
  min-height: 680px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-video-wrap {
  position: absolute;
  inset: -10%;
  z-index: 0;
}
.hero-video-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10,22,40,0.82) 0%, rgba(10,22,40,0.5) 60%, rgba(10,22,40,0.3) 100%);
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 6vw;
  max-width: 820px;
}
.hero-content .overline { display: block; margin-bottom: 20px; }
.hero-content h1 { color: white; margin-bottom: 20px; }
.hero-content h1 em { color: var(--gold); font-style: italic; }
.hero-content > p { color: rgba(255,255,255,0.8); max-width: 540px; margin-bottom: 36px; }
.hero-stats {
  display: flex;
  gap: 40px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.hero-stat .num {
  display: block;
  font-family: var(--font-display);
  font-size: 2.2rem;
  color: var(--gold);
  line-height: 1;
}
.hero-stat .lbl {
  font-family: var(--font-sans);
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
}
.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  font-family: var(--font-sans);
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}
.hero-scroll::after {
  content: '';
  display: block;
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.3);
  margin: 8px auto 0;
  animation: scrollLine 2s infinite;
}
@keyframes scrollLine {
  0%,100% { opacity: 0.3; transform: scaleY(1); }
  50% { opacity: 0.8; transform: scaleY(0.6); }
}

/* ─── BUTTONS ────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 16px 36px;
  transition: var(--transition);
  cursor: pointer;
  border: none;
}
.btn-gold {
  background: var(--gold);
  color: var(--navy);
}
.btn-gold:hover { background: var(--gold-lt); transform: translateY(-2px); box-shadow: var(--shadow-gold); }
.btn-navy {
  background: var(--navy);
  color: white;
}
.btn-navy:hover { background: var(--navy-mid); transform: translateY(-2px); }
.btn-outline {
  background: transparent;
  color: white;
  border: 1px solid rgba(255,255,255,0.5);
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }

/* ─── CONTAINER ──────────────────────────────────────────────── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 5vw;
}

/* ─── STATS STRIP ────────────────────────────────────────────── */
.stats-strip {
  background: var(--navy);
  padding: 32px 0;
}
.stats-strip .container {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 24px;
}
.stat-item { text-align: center; }
.stat-item .num {
  display: block;
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--gold);
  line-height: 1;
}
.stat-item .lbl {
  font-family: var(--font-sans);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-top: 4px;
}

/* ─── INTRO SECTION ──────────────────────────────────────────── */
.intro-section {
  padding: 120px 0;
  background: var(--ivory);
}
.intro-section .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.intro-text h2 em { color: var(--gold); font-style: italic; }
.intro-text p { margin-bottom: 16px; }
.intro-badges { display: flex; flex-direction: column; gap: 20px; }
.intro-badge {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 24px;
  border: 1px solid rgba(0,0,0,0.08);
  background: white;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.intro-badge:hover { border-color: var(--gold); box-shadow: var(--shadow-gold); }
.badge-icon { font-size: 1.8rem; flex-shrink: 0; }
.badge-text strong {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}
.badge-text span {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  color: var(--gray);
}

/* ─── SPLIT SECTION ──────────────────────────────────────────── */
.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 560px;
}
.split-img { overflow: hidden; }
.split-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s; }
.split-img:hover img { transform: scale(1.04); }
.split-text {
  background: var(--navy);
  padding: 80px 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.split-text h2 { color: white; }
.split-text h2 em { color: var(--gold); font-style: italic; }
.split-text p { color: rgba(255,255,255,0.72); margin-bottom: 16px; }

/* ─── FEATURES SECTION ───────────────────────────────────────── */
.features-section {
  padding: 120px 0;
  background: var(--cream);
}
.section-header { margin-bottom: 60px; }
.section-header.center { text-align: center; }
.section-header h2 em { color: var(--gold); font-style: italic; }
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.feature-card {
  background: white;
  padding: 40px 32px;
  border-bottom: 3px solid transparent;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}
.feature-card:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.feature-icon { font-size: 2rem; margin-bottom: 20px; }
.feature-card h3 { font-size: 1.3rem; margin-bottom: 12px; }

/* ─── GOLF SECTION ───────────────────────────────────────────── */
.golf-section {
  position: relative;
  padding: 120px 0;
  overflow: hidden;
}
.golf-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.golf-bg img { width: 100%; height: 100%; object-fit: cover; }
.golf-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(10,22,40,0.82);
}
.golf-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  padding: 0 5vw;
}
.golf-content h2 { color: white; }
.golf-content h2 em { color: var(--gold); font-style: italic; }
.golf-content > p { color: rgba(255,255,255,0.75); margin-bottom: 16px; }
.golf-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin: 32px 0;
}
.golf-badge {
  font-family: var(--font-sans);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 8px 18px;
  border: 1px solid var(--gold);
  color: var(--gold);
}

/* ─── REVIEWS ────────────────────────────────────────────────── */
.reviews-section {
  padding: 120px 0;
  background: var(--navy);
}
.reviews-section .section-header h2 { color: white; }
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.review-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 40px 32px;
  transition: border-color 0.3s;
}
.review-card:hover { border-color: var(--gold); }
.review-stars { color: var(--gold); font-size: 1rem; margin-bottom: 20px; letter-spacing: 4px; }
.review-text { color: rgba(255,255,255,0.72) !important; font-size: 1rem !important; font-style: italic; margin-bottom: 24px; }
.review-author strong { display: block; color: white; font-family: var(--font-sans); font-size: 0.8rem; }
.review-author span { color: rgba(255,255,255,0.4); font-family: var(--font-sans); font-size: 0.7rem; }

/* ─── RATES SECTION ──────────────────────────────────────────── */
.rates-section {
  padding: 120px 0;
  background: var(--ivory);
}
.rates-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.rate-card {
  border: 1px solid rgba(0,0,0,0.1);
  padding: 40px 32px;
  background: white;
  transition: border-color 0.3s, transform 0.3s;
}
.rate-card:hover { border-color: var(--gold); transform: translateY(-4px); }
.rate-card.featured {
  background: var(--navy);
  border-color: var(--gold);
  transform: translateY(-8px);
}
.rate-season {
  font-family: var(--font-sans);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}
.rate-card h3 { margin-bottom: 12px; }
.rate-card.featured h3 { color: white; }
.rate-price {
  font-family: var(--font-display);
  font-size: 3rem;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 16px;
}
.rate-price sup { font-size: 1.4rem; vertical-align: super; }
.rate-price sub { font-size: 1rem; color: var(--gray); }
.rate-card.featured .rate-price sub { color: rgba(255,255,255,0.5); }
.rate-card > p { margin-bottom: 24px; }
.rate-card.featured > p { color: rgba(255,255,255,0.65); }
.rate-includes { display: flex; flex-direction: column; gap: 8px; }
.rate-includes li {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  color: #444;
  padding-left: 16px;
  position: relative;
}
.rate-includes li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 700;
}
.rate-card.featured .rate-includes li { color: rgba(255,255,255,0.7); }

/* ─── CTA BAND ───────────────────────────────────────────────── */
.cta-band {
  background: var(--gold);
  padding: 80px 0;
  text-align: center;
}
.cta-band h2 { color: var(--navy); margin-bottom: 16px; }
.cta-band p { color: rgba(10,22,40,0.75); max-width: 540px; margin: 0 auto 36px; }

/* ─── FOOTER ─────────────────────────────────────────────────── */
.site-footer {
  background: var(--navy);
  padding: 80px 0 0;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 5vw 60px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
}
.footer-brand .logo-top {
  display: block;
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: white;
  margin-bottom: 4px;
}
.footer-brand .logo-sub {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.6rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}
.footer-brand p { color: rgba(255,255,255,0.5); font-size: 0.95rem; }
.footer-col h4 {
  color: white;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  margin-bottom: 20px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a {
  font-family: var(--font-sans);
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
  transition: color 0.3s;
}
.footer-col ul li a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 24px 5vw;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.footer-bottom p {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  color: rgba(255,255,255,0.3);
}
.footer-bottom a { color: var(--gold); }

/* ─── STEPS GRID ─────────────────────────────────────────────── */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-top: 40px;
}
.step-card { text-align: center; }
.step-num {
  font-family: var(--font-display);
  font-size: 3rem;
  color: var(--gold);
  opacity: 0.4;
  line-height: 1;
  margin-bottom: 16px;
}
.step-card h3 { font-size: 1.2rem; margin-bottom: 12px; }

/* ─── FADE-UP ANIMATION ──────────────────────────────────────── */
.fade-up {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ─── COURSE PAGE SPECIFIC ───────────────────────────────────── */
.page-hero {
  background: var(--navy);
  padding: 160px 5vw 100px;
  position: relative;
  overflow: hidden;
}
.page-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.page-hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.25; }
.page-hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}
.page-hero h1 { color: white; margin-bottom: 20px; }
.page-hero h1 em { color: var(--gold); font-style: italic; }
.page-hero p { color: rgba(255,255,255,0.75); max-width: 580px; }

/* ─── HOLES GRID ─────────────────────────────────────────────── */
.holes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--navy);
}
.hole-card {
  background: white;
  padding: 32px 28px;
  border-top: 3px solid transparent;
  transition: border-color 0.3s;
}
.hole-card:hover { border-color: var(--gold); }
.hole-num {
  font-family: var(--font-display);
  font-size: 2.4rem;
  color: var(--gold);
  opacity: 0.5;
  line-height: 1;
  margin-bottom: 4px;
}
.hole-card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.hole-card p { font-size: 0.95rem; }
.hole-tag {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 4px 10px;
  background: var(--gold);
  color: var(--navy);
  margin-top: 10px;
}

/* ─── RESPONSIVE ─────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .rates-grid { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
  .rate-card.featured { transform: none; }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .holes-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .intro-section .container { grid-template-columns: 1fr; gap: 40px; }
  .split-section { grid-template-columns: 1fr; }
  .split-img { height: 360px; }
  .split-text { padding: 60px 5vw; }
  .reviews-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 40px; }
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .features-grid { grid-template-columns: 1fr; }
  .holes-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
}
