/* =============================================================
   PUNTA ESPADA VILLA — Main Stylesheet v1
   Luxury villa rental on Punta Espada Golf Course, Cap Cana, DR
   ============================================================= */

@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;
  gap: 2.5rem;
  align-items: center;
}
.nav-links a {
  color: rgba(255,255,255,0.85);
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  transition: color 0.3s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width 0.3s;
}
.nav-links a:hover { color: var(--gold); }
.nav-links a:hover::after { width: 100%; }
.nav-book-btn {
  background: var(--gold) !important;
  color: var(--navy) !important;
  padding: 10px 22px !important;
  font-weight: 600 !important;
  transition: all 0.3s !important;
}
.nav-book-btn:hover { background: var(--gold-lt) !important; transform: translateY(-1px); }
.nav-book-btn::after { display: none !important; }

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.nav-hamburger span {
  display: block;
  width: 26px; height: 2px;
  background: white;
  transition: var(--transition);
}
.mobile-menu {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--navy);
  z-index: 999;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 2.5rem;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-family: var(--font-display);
  font-size: 2.2rem;
  color: var(--white);
  transition: color 0.3s;
}
.mobile-menu a:hover { color: var(--gold); }
.mobile-close {
  position: absolute;
  top: 24px; right: 24px;
  background: none; border: none;
  color: white; font-size: 2rem;
  cursor: pointer;
}

/* ─── HERO ───────────────────────────────────────────────────── */
.hero {
  position: relative;
  height: 100vh;
  min-height: 700px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding-bottom: 10vh;
}
.hero-video-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-video-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(10,22,40,0.45) 0%,
    rgba(10,22,40,0.45) 50%,
    rgba(10,22,40,0.75) 80%,
    rgba(10,22,40,0.92) 100%
  );
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 8vw;
  color: white;
  max-width: 900px;
}
.hero-content .overline { margin-bottom: 1.2rem; }
.hero-content h1 {
  color: white;
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 24px rgba(0,0,0,0.8), 0 1px 6px rgba(0,0,0,0.6);
}
.hero-content h1 em {
  font-style: italic;
  color: var(--gold);
}
.hero-content p {
  color: rgba(255,255,255,0.85);
  font-size: 1.05rem;
  line-height: 1.65;
  max-width: 520px;
  margin-bottom: 1.6rem;
}
.hero-stats {
  display: flex;
  gap: 2.5rem;
  margin-bottom: 1.8rem;
  flex-wrap: wrap;
}
.hero-stat .num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: var(--gold);
  line-height: 1;
  display: block;
}
.hero-stat .lbl {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
}
.hero-scroll {
  position: absolute;
  bottom: 32px; right: 8vw;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.6);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.hero-scroll::before {
  content: '';
  width: 1px; height: 60px;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.4));
}

/* ─── BUTTONS ────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 16px 36px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
}
.btn-gold { background: var(--gold); color: var(--navy); }
.btn-gold:hover { background: var(--gold-lt); transform: translateY(-2px); box-shadow: var(--shadow-gold); }
.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); transform: translateY(-2px); }
.btn-navy { background: var(--navy); color: white; }
.btn-navy:hover { background: var(--navy-mid); transform: translateY(-2px); }

/* ─── SECTION BASE ───────────────────────────────────────────── */
section { padding: 100px 0; }
.container { max-width: 1280px; margin: 0 auto; padding: 0 6vw; }
.section-header { margin-bottom: 60px; }
.section-header .overline { margin-bottom: 12px; display: block; }
.section-header h2 { margin-bottom: 16px; }
.section-header p { max-width: 580px; }
.section-header.center { text-align: center; }
.section-header.center p { margin: 0 auto; }

/* ─── INTRO / TWO-COLUMN ─────────────────────────────────────── */
.intro-section {
  background: var(--navy);
  color: white;
  padding: 80px 0;
}
.intro-section .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.intro-text h2 { color: white; margin-bottom: 24px; }
.intro-text p { color: rgba(255,255,255,0.75); margin-bottom: 20px; }
.intro-text .btn { margin-top: 12px; }
.intro-badges { display: flex; flex-direction: column; gap: 24px; }
.intro-badge {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 24px;
  background: rgba(255,255,255,0.06);
  border-left: 3px solid var(--gold);
}
.badge-icon { font-size: 2rem; min-width: 40px; text-align: center; }
.badge-text strong {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 600;
  color: white;
  letter-spacing: 0.05em;
}
.badge-text span {
  font-family: var(--font-serif);
  font-size: 1rem;
  color: rgba(255,255,255,0.65);
}

/* ─── FEATURE CARDS ──────────────────────────────────────────── */
.features-section { background: var(--cream); }
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2px;
}
.feature-card {
  background: white;
  padding: 40px 32px;
  transition: var(--transition);
  border-bottom: 2px solid transparent;
  position: relative;
}
.feature-card:hover {
  border-bottom-color: var(--gold);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  z-index: 2;
}
.feature-icon { font-size: 2.4rem; margin-bottom: 16px; }
.feature-card h3 { font-size: 1.25rem; margin-bottom: 10px; }
.feature-card p { font-size: 0.9rem; color: var(--gray); }

/* ─── GOLF SECTION (dark bg + image) ────────────────────────── */
.golf-section {
  position: relative;
  overflow: hidden;
  background: var(--navy);
  color: white;
  min-height: 600px;
  display: flex;
  align-items: center;
}
.golf-bg {
  position: absolute;
  inset: 0; z-index: 0;
  overflow: hidden;
}
.golf-bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.35; }
.golf-content {
  position: relative;
  z-index: 2;
  padding: 80px 8vw;
  max-width: 720px;
  color: white;
}
.golf-content h2 { color: white; margin-bottom: 16px; }
.golf-content p { color: rgba(255,255,255,0.8); margin-bottom: 20px; }
.golf-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 28px 0;
}
.golf-badge {
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid rgba(201,168,76,0.4);
  padding: 6px 14px;
}

/* ─── REVIEWS ────────────────────────────────────────────────── */
.reviews-section { background: var(--ivory); }
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
}
.review-card {
  background: white;
  padding: 40px;
  border-top: 3px solid var(--gold);
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
}
.review-stars { color: var(--gold); font-size: 1.1rem; margin-bottom: 16px; letter-spacing: 3px; }
.review-text { font-family: var(--font-serif); font-size: 1.05rem; color: #444; line-height: 1.7; margin-bottom: 24px; }
.review-author strong { display: block; font-family: var(--font-sans); font-size: 0.8rem; font-weight: 600; letter-spacing: 0.08em; }
.review-author span { font-size: 0.75rem; color: var(--gray); }

/* ─── CTA BAND ───────────────────────────────────────────────── */
.cta-band {
  background: var(--gold);
  padding: 64px 0;
  text-align: center;
}
.cta-band h2 {
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  color: var(--navy);
  margin-bottom: 16px;
}
.cta-band p {
  font-family: var(--font-serif);
  color: rgba(10,22,40,0.75);
  max-width: 520px;
  margin: 0 auto 32px;
  font-size: 1.1rem;
}

/* ─── FULL-BLEED IMAGE SECTION ───────────────────────────────── */
.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 520px;
}
.split-img { overflow: hidden; }
.split-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s ease; }
.split-img:hover img { transform: scale(1.04); }
.split-text {
  padding: 80px 60px;
  background: var(--navy);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.split-text h2 { color: white; margin-bottom: 20px; }
.split-text p { color: rgba(255,255,255,0.75); margin-bottom: 20px; }

/* ─── RATES TABLE ────────────────────────────────────────────── */
.rates-section { background: var(--cream); }
.rates-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.rate-card {
  background: white;
  padding: 40px 32px;
  border: 1px solid rgba(0,0,0,0.07);
  transition: var(--transition);
}
.rate-card.featured {
  background: var(--navy);
  color: white;
  border-color: var(--gold);
}
.rate-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.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 { font-size: 1.3rem; margin-bottom: 16px; }
.rate-card.featured h3 { color: white; }
.rate-price {
  font-family: var(--font-display);
  font-size: 3rem;
  color: var(--navy);
  margin-bottom: 16px;
  line-height: 1;
}
.rate-card.featured .rate-price { color: var(--gold); }
.rate-price sup { font-size: 1.2rem; 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 { font-size: 0.9rem; margin-bottom: 20px; }
.rate-card.featured p { color: rgba(255,255,255,0.7); }
.rate-includes { display: flex; flex-direction: column; gap: 8px; }
.rate-includes li {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  color: #555;
  padding-left: 16px;
  position: relative;
}
.rate-includes li::before { content: '✓'; position: absolute; left: 0; color: var(--gold); font-weight: 600; }
.rate-card.featured .rate-includes li { color: rgba(255,255,255,0.7); }

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

/* ─── PROCESS / STEPS ────────────────────────────────────────── */
.steps-section { background: var(--ivory); }
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
  counter-reset: steps;
}
.step-card {
  position: relative;
  padding-top: 20px;
}
.step-num {
  font-family: var(--font-display);
  font-size: 4rem;
  color: rgba(201,168,76,0.2);
  line-height: 1;
  margin-bottom: 12px;
}
.step-card h3 { font-size: 1.1rem; margin-bottom: 10px; }
.step-card p { font-size: 0.9rem; color: var(--gray); }

/* ─── FOOTER ─────────────────────────────────────────────────── */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,0.6);
  padding: 60px 0 40px;
}
.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 6vw;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 48px;
}
.footer-brand .logo-top {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: white;
  display: block;
  margin-bottom: 4px;
}
.footer-brand .logo-sub {
  font-family: var(--font-sans);
  font-size: 0.6rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 20px;
}
.footer-brand p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.7;
  max-width: 320px;
}
.footer-col h4 {
  font-family: var(--font-sans);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  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.8rem;
  color: rgba(255,255,255,0.55);
  transition: color 0.2s;
}
.footer-col ul li a:hover { color: var(--gold); }
.footer-bottom {
  max-width: 1280px;
  margin: 0 auto;
  padding: 24px 6vw 0;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p { font-size: 0.75rem; color: rgba(255,255,255,0.35); }
.footer-bottom a { color: var(--gold); }

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

/* ─── PAGE HERO (subpages) ───────────────────────────────────── */
.page-hero {
  position: relative;
  height: 55vh;
  min-height: 440px;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding-top: 80px;
}
.page-hero .hero-video-wrap { z-index: 0; }
.page-hero .hero-overlay { z-index: 1; }
.page-hero-content {
  position: relative;
  z-index: 2;
  padding: 0 8vw;
  color: white;
  max-width: 780px;
}
.page-hero-content .overline { margin-bottom: 16px; }
.page-hero-content h1 {
  color: white;
  text-shadow: 0 2px 24px rgba(0,0,0,0.7);
  font-size: clamp(2.4rem, 5vw, 4.5rem);
  margin-bottom: 16px;
}
.page-hero-content p {
  color: rgba(255,255,255,0.8);
  font-size: 1.05rem;
  max-width: 520px;
}

/* ─── RESPONSIVE ─────────────────────────────────────────────── */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .intro-section .container { grid-template-columns: 1fr; gap: 40px; }
  .split-section { grid-template-columns: 1fr; }
  .split-text { padding: 60px 6vw; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 600px) {
  h1 { font-size: 2.4rem; }
  h2 { font-size: 1.9rem; }
  .hero-stats { gap: 1.5rem; }
  .stat-item .num { font-size: 2.2rem; }
  .rates-grid { grid-template-columns: 1fr; }
}
