:root {
  --color-bg: #fbf9f5;
  --color-surface: #ffffff;
  --color-ink: #1f2a24;
  --color-muted: #6b6f6c;
  --color-accent: #6b7f5b;       /* sage / ranch green */
  --color-accent-dark: #4e6142;
  --color-gold: #a98a4b;
  --color-line: #e7e2d8;
  --font-serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --maxw: 1200px;
  --narrow: 820px;
  --radius: 4px;
  --shadow-sm: 0 2px 10px rgba(0,0,0,0.05);
  --shadow-md: 0 12px 40px rgba(0,0,0,0.08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-ink);
  font-family: var(--font-sans);
  font-weight: 300;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3 {
  font-family: var(--font-serif);
  font-weight: 500;
  letter-spacing: 0.005em;
  line-height: 1.15;
  margin: 0 0 0.5em;
}
h1 { font-size: clamp(2.2rem, 4.8vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.2vw, 2.75rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 1.5rem; }
.narrow { max-width: var(--narrow); }
.center { text-align: center; }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.3em;
  font-size: 0.75rem;
  color: var(--color-gold);
  margin-bottom: 1rem;
  font-weight: 500;
}

/* ---------- HEADER / NAV ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  background: rgba(251, 249, 245, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-line);
}
.nav-wrap { display: flex; align-items: center; justify-content: space-between; padding: 1rem 1.5rem; }
.brand { display: flex; flex-direction: column; line-height: 1; }
.brand-mark { font-family: var(--font-serif); font-size: 1.35rem; font-weight: 600; }
.brand-sub { font-size: 0.7rem; letter-spacing: 0.25em; text-transform: uppercase; color: var(--color-muted); margin-top: 4px; }

.main-nav { display: flex; gap: 2rem; align-items: center; }
.main-nav a {
  font-size: 0.85rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--color-ink); transition: color 0.2s;
}
.main-nav a:hover { color: var(--color-accent); }
.main-nav .nav-cta {
  background: var(--color-accent); color: #fff;
  padding: 0.7rem 1.4rem; border-radius: var(--radius);
  transition: background 0.2s;
}
.main-nav .nav-cta:hover { background: var(--color-accent-dark); color: #fff; }

.nav-toggle {
  display: none; background: none; border: none; cursor: pointer;
  width: 32px; height: 32px; position: relative;
}
.nav-toggle span { display: block; position: absolute; left: 4px; right: 4px; height: 2px; background: var(--color-ink); transition: transform 0.3s, opacity 0.2s; }
.nav-toggle span:nth-child(1) { top: 9px; }
.nav-toggle span:nth-child(2) { top: 15px; }
.nav-toggle span:nth-child(3) { top: 21px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- HERO ---------- */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  color: #fff; overflow: hidden; text-align: center;
}
.hero-video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: 0;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(20,30,25,0.45), rgba(20,30,25,0.55));
  z-index: 1;
}
.hero-content { position: relative; z-index: 2; padding: 8rem 1.5rem 4rem; }
.hero-content .eyebrow { color: #e6d9b8; }
.hero-content h1 { max-width: 900px; margin: 0 auto 1rem; }
.hero-sub {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  margin-bottom: 2.5rem;
  opacity: 0.95;
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-block;
  padding: 0.95rem 2.2rem;
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border-radius: var(--radius);
  transition: all 0.25s ease;
  cursor: pointer;
  border: 1px solid transparent;
}
.btn-primary { background: var(--color-accent); color: #fff; }
.btn-primary:hover { background: var(--color-accent-dark); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-ghost { background: transparent; color: var(--color-ink); border-color: var(--color-ink); }
.btn-ghost:hover { background: var(--color-ink); color: #fff; }

/* ---------- SECTIONS ---------- */
.section { padding: 6rem 0; }
.section-head { text-align: center; margin-bottom: 3.5rem; }
.section-head .section-lede { max-width: 640px; margin: 1rem auto 0; color: var(--color-muted); }

.intro { text-align: center; }
.intro p { font-size: 1.1rem; color: var(--color-muted); margin-bottom: 2rem; }

/* ---------- FEATURES ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}
.feature {
  background: var(--color-surface);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s, box-shadow 0.3s;
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 110px;
  color: var(--color-accent);
  background: linear-gradient(135deg, #f3efe6 0%, #e9e3d4 100%);
  border-bottom: 1px solid var(--color-line);
  transition: color 0.3s, background 0.3s;
}
.feature-icon svg { width: 56px; height: 56px; }
.feature:hover .feature-icon {
  color: var(--color-accent-dark);
  background: linear-gradient(135deg, #ede7d8 0%, #ddd4be 100%);
}
.feature h3, .feature p { padding: 0 1.75rem; }
.feature h3 { margin-top: 1.5rem; }
.feature p { color: var(--color-muted); padding-bottom: 1.75rem; }

/* ---------- GALLERY ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
}
.gallery-grid figure { margin: 0; overflow: hidden; border-radius: var(--radius); background: #ece6d8; aspect-ratio: 1/1; }
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.gallery-grid figure:hover img { transform: scale(1.05); }

/* ---------- AMENITIES ---------- */
.amenities { background: #f3efe6; }
.amenity-list {
  list-style: none; padding: 0; margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}
.amenity-list li {
  padding: 2rem;
  background: var(--color-surface);
  border-radius: var(--radius);
  border-left: 3px solid var(--color-accent);
}
.amenity-list h3 { margin-bottom: 0.5rem; }
.amenity-list p { color: var(--color-muted); margin: 0; }

/* ---------- FAQ ---------- */
.faq-list details {
  border-bottom: 1px solid var(--color-line);
  padding: 1.5rem 0;
}
.faq-list summary {
  cursor: pointer;
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 500;
  list-style: none;
  display: flex; justify-content: space-between; align-items: center;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+";
  font-size: 1.5rem; color: var(--color-accent);
  transition: transform 0.3s;
}
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p { color: var(--color-muted); margin-top: 1rem; }

/* ---------- BOOK ---------- */
.book { background: var(--color-ink); color: #fff; }
.book h2 { color: #fff; }
.book p { color: #cfd2cc; margin-bottom: 2rem; }
.book .eyebrow { color: #e6d9b8; }

/* ---------- FOOTER ---------- */
.site-footer {
  background: #141c17; color: #cfd2cc;
  padding: 2.5rem 0;
  font-size: 0.85rem;
}
.footer-wrap { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; }
.site-footer .brand-mark { font-size: 1.1rem; color: #fff; margin: 0; }
.site-footer .brand-sub { color: #9aa096; margin: 2px 0 0; }
.site-footer .copyright { margin: 0; }

/* ---------- SUB-HERO (interior pages) ---------- */
.sub-hero {
  position: relative;
  min-height: 55vh;
  display: flex; align-items: center; justify-content: center;
  color: #fff; overflow: hidden; text-align: center;
}
.sub-hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  z-index: 0;
}
.sub-hero .hero-overlay { z-index: 1; }
.sub-hero-content {
  position: relative; z-index: 2;
  padding: 9rem 1.5rem 5rem;
}
.sub-hero-content h1 {
  font-size: clamp(2rem, 4vw, 3.25rem);
  margin-bottom: 1rem;
}
.sub-hero-content .eyebrow { color: #e6d9b8; }
.sub-hero-content .hero-sub {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1rem, 1.6vw, 1.25rem);
  opacity: 0.95;
  max-width: 700px;
  margin: 0 auto;
}

/* ---------- AMENITY PAGE CARDS ---------- */
.amenity-section.alt { background: #f3efe6; }
.amenity-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.75rem;
}
.amenity-card {
  background: var(--color-surface);
  border-radius: var(--radius);
  padding: 1.75rem 1.75rem 1.5rem;
  box-shadow: var(--shadow-sm);
  border-top: 3px solid var(--color-accent);
  transition: transform 0.25s, box-shadow 0.25s;
}
.amenity-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.amenity-meta {
  display: flex; justify-content: space-between; align-items: baseline;
  gap: 1rem; margin-bottom: 0.75rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--color-line);
}
.amenity-meta h3 { margin: 0; }
.amenity-meta .drive {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-gold);
  white-space: nowrap;
  font-weight: 500;
}
.amenity-card p { color: var(--color-muted); margin: 0; }

.main-nav a.active { color: var(--color-accent); }
.main-nav .nav-cta.active { color: #fff; background: var(--color-accent-dark); }

/* ---------- GALLERY PAGE (masonry) ---------- */
.gallery-page { padding-top: 4rem; }
.masonry {
  column-count: 3;
  column-gap: 1rem;
}
.masonry figure {
  break-inside: avoid;
  margin: 0 0 1rem;
  border-radius: var(--radius);
  overflow: hidden;
  background: #ece6d8;
  box-shadow: var(--shadow-sm);
}
.masonry figure a { display: block; }
.masonry img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease, opacity 0.3s;
  cursor: zoom-in;
}
.masonry figure:hover img { transform: scale(1.03); }
@media (max-width: 900px) { .masonry { column-count: 2; } }
@media (max-width: 560px) { .masonry { column-count: 1; } }

/* ---------- BOOKING PAGE ---------- */
.book-hero { min-height: 42vh; }
.booking-section { padding-top: 3rem; }
.booking-frame-wrap {
  background: var(--color-surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
.booking-iframe {
  display: block;
  width: 100%;
  height: 1600px;
  border: 0;
  background: #fff;
}
@media (max-width: 900px) { .booking-iframe { height: 1800px; } }
.booking-fallback {
  text-align: center;
  margin-top: 1.5rem;
  color: var(--color-muted);
  font-size: 0.9rem;
}
.booking-fallback a { color: var(--color-accent); border-bottom: 1px solid var(--color-accent); }
.booking-fallback a:hover { color: var(--color-accent-dark); border-color: var(--color-accent-dark); }

/* ---------- LIGHTBOX ---------- */
.lightbox {
  position: fixed; inset: 0;
  background: rgba(10, 14, 12, 0.94);
  display: none;
  align-items: center; justify-content: center;
  z-index: 100;
  padding: 2rem;
}
.lightbox.open { display: flex; }
.lightbox-img {
  max-width: 92vw;
  max-height: 88vh;
  object-fit: contain;
  border-radius: var(--radius);
  box-shadow: 0 30px 80px rgba(0,0,0,0.5);
}
.lightbox button {
  position: absolute;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  width: 52px; height: 52px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.4rem;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s, transform 0.2s;
}
.lightbox button:hover { background: rgba(255,255,255,0.18); transform: scale(1.05); }
.lightbox-close { top: 1.5rem; right: 1.5rem; }
.lightbox-prev { left: 1.5rem; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 1.5rem; top: 50%; transform: translateY(-50%); }
.lightbox-prev:hover, .lightbox-next:hover { transform: translateY(-50%) scale(1.05); }
@media (max-width: 640px) {
  .lightbox-prev, .lightbox-next { width: 42px; height: 42px; }
  .lightbox-prev { left: 0.5rem; }
  .lightbox-next { right: 0.5rem; }
  .lightbox-close { top: 0.75rem; right: 0.75rem; }
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 768px) {
  .nav-toggle { display: block; }
  .main-nav {
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--color-surface);
    flex-direction: column;
    gap: 0; padding: 1rem 0;
    border-bottom: 1px solid var(--color-line);
    transform: translateY(-10px);
    opacity: 0;
    pointer-events: none;
    transition: all 0.25s ease;
  }
  .main-nav.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .main-nav a { padding: 0.85rem 1.5rem; width: 100%; }
  .main-nav .nav-cta { margin: 0.5rem 1.5rem; text-align: center; }
  .section { padding: 4rem 0; }
  .hero-content { padding: 7rem 1.5rem 3rem; }
}
