:root {
  --cream: #f6f1e7;
  --cream-soft: #efe7d8;
  --ink: #2a2620;
  --ink-soft: #4f4a40;
  --wood: #6f4e2e;
  --wood-deep: #4a3520;
  --teal: #119488;
  --teal-deep: #0c6e66;
  --teal-bright: #2bb6a8;
  --forest: #2f4f3a;
  --line: rgba(42, 38, 32, 0.12);
  --shadow: 0 18px 50px rgba(42, 38, 32, 0.16);
  --radius: 16px;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, sans-serif;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 76px; }

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

.container { width: min(1140px, 92%); margin-inline: auto; }

h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.1; letter-spacing: 0.01em; }

.eyebrow {
  font-size: 0.78rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--teal-deep); font-weight: 600; margin-bottom: 0.8rem;
}
.eyebrow.light { color: var(--teal-bright); }

.section { padding: clamp(4rem, 9vw, 7rem) 0; }

/* ---------- HEADER / NAV ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 60;
  background: rgba(246, 241, 231, 0.0);
  transition: background 0.35s ease, box-shadow 0.35s ease, padding 0.35s ease;
  padding: 0.5rem 0;
}
.site-header.scrolled {
  background: rgba(246, 241, 231, 0.94);
  backdrop-filter: blur(10px);
  box-shadow: 0 6px 24px rgba(42, 38, 32, 0.08);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; }

.brand { display: flex; align-items: center; gap: 0.65rem; text-decoration: none; color: var(--cream); }
.site-header.scrolled .brand { color: var(--ink); }
.brand-mark {
  width: 40px; height: 40px; border-radius: 10px;
  display: grid; place-items: center;
  font-family: var(--serif); font-size: 1.4rem; font-weight: 700; color: var(--cream);
  background: linear-gradient(135deg, var(--teal) 0%, var(--forest) 100%);
}
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--serif); font-weight: 700; font-size: 1.25rem; letter-spacing: 0.18em; }
.brand-sub { font-size: 0.66rem; letter-spacing: 0.26em; text-transform: uppercase; opacity: 0.8; }

.nav-links { display: flex; align-items: center; gap: 1.8rem; }
.nav-links a { text-decoration: none; color: var(--cream); font-size: 0.92rem; font-weight: 500; letter-spacing: 0.02em; transition: color 0.2s; }
.site-header.scrolled .nav-links a { color: var(--ink-soft); }
.nav-links a:hover { color: var(--teal-bright); }
.site-header.scrolled .nav-links a:hover { color: var(--teal-deep); }
.nav-cta {
  background: var(--teal); color: var(--cream) !important;
  padding: 0.5rem 1.1rem; border-radius: 999px; font-weight: 600;
}
.nav-cta:hover { background: var(--teal-deep); }

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

/* ---------- HERO ---------- */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: center;
  color: var(--cream); overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background: url("/images/g01.jpg") center 30% / cover no-repeat;
  transform: scale(1.05);
}
.hero-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(20, 36, 34, 0.55) 0%, rgba(18, 30, 28, 0.45) 45%, rgba(12, 24, 22, 0.85) 100%),
    radial-gradient(120% 80% at 30% 30%, rgba(17, 148, 136, 0.18), transparent 60%);
}
.hero-content { position: relative; z-index: 2; max-width: 720px; padding: 6rem 0 4rem; }
.hero-kicker { font-size: 0.82rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--teal-bright); margin-bottom: 1.1rem; }
.hero-title { font-size: clamp(3rem, 9vw, 5.6rem); font-weight: 700; letter-spacing: 0.02em; }
.hero-title em { font-style: normal; color: var(--teal-bright); }
.hero-tagline { font-size: clamp(1.05rem, 2.4vw, 1.3rem); max-width: 36rem; margin: 1.4rem 0 2rem; color: rgba(246, 241, 231, 0.92); }

.hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-bottom: 2.4rem; }

.hero-facts { list-style: none; display: flex; flex-wrap: wrap; gap: 0.6rem 1.6rem; }
.hero-facts li { position: relative; padding-left: 1.2rem; font-size: 0.92rem; color: rgba(246, 241, 231, 0.9); }
.hero-facts li::before { content: ""; position: absolute; left: 0; top: 0.6em; width: 7px; height: 7px; border-radius: 50%; background: var(--teal-bright); }

.scroll-cue {
  position: absolute; bottom: 1.6rem; left: 50%; transform: translateX(-50%);
  z-index: 2; color: var(--cream); font-size: 1.4rem; text-decoration: none;
  opacity: 0.8; animation: bob 2.2s ease-in-out infinite;
}
@keyframes bob { 0%,100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 8px); } }

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.85rem 1.6rem; border-radius: 999px; text-decoration: none;
  font-weight: 600; font-size: 0.95rem; letter-spacing: 0.01em;
  transition: transform 0.18s ease, background 0.25s ease, box-shadow 0.25s ease; cursor: pointer; border: 0;
}
.btn-primary { background: var(--teal); color: var(--cream); box-shadow: 0 10px 26px rgba(12, 110, 102, 0.35); }
.btn-primary:hover { background: var(--teal-deep); transform: translateY(-2px); }
.btn-ghost { background: rgba(246, 241, 231, 0.1); color: var(--cream); border: 1px solid rgba(246, 241, 231, 0.45); backdrop-filter: blur(4px); }
.btn-ghost:hover { background: rgba(246, 241, 231, 0.2); transform: translateY(-2px); }
.btn-lg { padding: 1.05rem 2.2rem; font-size: 1.02rem; }

/* ---------- ABOUT ---------- */
.about { background: var(--cream); }
.about-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.about-text h2 { font-size: clamp(1.9rem, 4vw, 2.7rem); margin-bottom: 1.2rem; color: var(--wood-deep); }
.about-text p { color: var(--ink-soft); margin-bottom: 1rem; max-width: 42ch; }
.about-signature { font-family: var(--serif); font-style: italic; font-size: 1.25rem; color: var(--teal-deep); margin-top: 0.4rem; }

.about-stats { display: grid; gap: 1rem; }
.stat {
  background: linear-gradient(135deg, #ffffff 0%, var(--cream-soft) 100%);
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.4rem 1.6rem; display: flex; align-items: baseline; gap: 1rem; box-shadow: var(--shadow);
}
.stat-num { font-family: var(--serif); font-size: 2.6rem; font-weight: 700; color: var(--teal); line-height: 1; }
.stat-label { font-size: 0.95rem; color: var(--ink-soft); }

/* ---------- SECTION HEAD ---------- */
.section-head { max-width: 46rem; margin-bottom: 2.8rem; }
.section-head h2 { font-size: clamp(1.9rem, 4vw, 2.7rem); color: var(--wood-deep); }
.section-lead { color: var(--ink-soft); margin-top: 0.8rem; }

/* ---------- GALLERY ---------- */
.gallery { background: linear-gradient(180deg, var(--cream) 0%, var(--cream-soft) 100%); }
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.g-item {
  border: 0; padding: 0; cursor: pointer; background: var(--wood-deep);
  border-radius: 14px; overflow: hidden; aspect-ratio: 3 / 4; position: relative;
  box-shadow: 0 10px 28px rgba(42, 38, 32, 0.14);
}
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease, filter 0.4s ease; filter: saturate(1.02); }
.g-item::after {
  content: "⤢"; position: absolute; top: 0.7rem; right: 0.7rem;
  width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center;
  color: var(--cream); background: rgba(17, 148, 136, 0.85); font-size: 0.95rem;
  opacity: 0; transform: scale(0.7); transition: opacity 0.25s, transform 0.25s;
}
.g-item:hover img { transform: scale(1.07); }
.g-item:hover::after { opacity: 1; transform: scale(1); }
.g-item:nth-child(1), .g-item:nth-child(6) { grid-column: span 2; aspect-ratio: 16 / 11; }

/* ---------- AMENITIES ---------- */
.amenities { background: var(--wood-deep); color: var(--cream); }
.amenities .eyebrow { color: var(--teal-bright); }
.amenities .section-head h2 { color: var(--cream); }
.amenity-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.amenity {
  background: rgba(246, 241, 231, 0.05); border: 1px solid rgba(246, 241, 231, 0.12);
  border-radius: var(--radius); padding: 2rem 1.7rem; transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}
.amenity:hover { transform: translateY(-4px); border-color: rgba(43, 182, 168, 0.5); background: rgba(246, 241, 231, 0.08); }
.amenity-icon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  font-size: 1.5rem; margin-bottom: 1.1rem; color: var(--cream);
  background: linear-gradient(135deg, var(--teal) 0%, var(--forest) 100%);
}
.amenity h3 { font-size: 1.3rem; margin-bottom: 0.55rem; color: var(--cream); }
.amenity p { color: rgba(246, 241, 231, 0.78); font-size: 0.95rem; }

/* ---------- CONTACT ---------- */
.contact { position: relative; color: var(--cream); text-align: center; overflow: hidden; }
.contact-bg { position: absolute; inset: 0; background: url("/images/g02.jpg") center 40% / cover no-repeat; }
.contact-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(12, 36, 34, 0.86) 0%, rgba(10, 26, 24, 0.92) 100%);
}
.contact-inner { position: relative; z-index: 2; max-width: 38rem; margin-inline: auto; }
.contact-inner h2 { font-size: clamp(2rem, 5vw, 3rem); margin-bottom: 1rem; }
.contact-lead { color: rgba(246, 241, 231, 0.88); margin-bottom: 2rem; }
.contact-handle { margin-top: 1.4rem; letter-spacing: 0.08em; color: var(--teal-bright); font-weight: 500; }

/* ---------- FOOTER ---------- */
.site-footer { background: #1c1611; color: rgba(246, 241, 231, 0.75); padding: 2.6rem 0; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.2rem; }
.footer-brand { display: flex; flex-direction: column; gap: 0.2rem; }
.footer-brand .brand-name { color: var(--cream); font-size: 1.3rem; }
.footer-loc { font-size: 0.82rem; opacity: 0.7; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 1.2rem; }
.footer-nav a { color: rgba(246, 241, 231, 0.75); text-decoration: none; font-size: 0.9rem; transition: color 0.2s; }
.footer-nav a:hover { color: var(--teal-bright); }
.footer-copy { width: 100%; font-size: 0.8rem; opacity: 0.55; border-top: 1px solid rgba(246, 241, 231, 0.1); padding-top: 1.2rem; }

/* ---------- STICKY MOBILE DM BAR ---------- */
.sticky-dm {
  display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 65;
  background: var(--teal); color: var(--cream); text-align: center;
  padding: 1rem; font-weight: 600; text-decoration: none; letter-spacing: 0.02em;
  box-shadow: 0 -6px 22px rgba(12, 110, 102, 0.35);
}

/* ---------- LIGHTBOX ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 90; background: rgba(14, 22, 20, 0.94);
  display: none; align-items: center; justify-content: center;
}
.lightbox.open { display: flex; }
.lb-img { max-width: 88vw; max-height: 84vh; border-radius: 10px; box-shadow: 0 20px 60px rgba(0,0,0,0.5); }
.lb-close, .lb-prev, .lb-next {
  position: absolute; background: rgba(246, 241, 231, 0.12); color: var(--cream);
  border: 0; cursor: pointer; border-radius: 50%; display: grid; place-items: center;
  transition: background 0.2s;
}
.lb-close:hover, .lb-prev:hover, .lb-next:hover { background: var(--teal); }
.lb-close { top: 1.4rem; right: 1.4rem; width: 46px; height: 46px; font-size: 1.8rem; }
.lb-prev, .lb-next { top: 50%; transform: translateY(-50%); width: 54px; height: 54px; font-size: 2rem; }
.lb-prev { left: 1.4rem; }
.lb-next { right: 1.4rem; }

/* ---------- REVEAL ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; }
  .amenity-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .g-item:nth-child(1), .g-item:nth-child(6) { grid-column: span 2; aspect-ratio: 16 / 10; }
}

@media (max-width: 720px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed; inset: 0 0 0 auto; width: min(78vw, 320px);
    flex-direction: column; align-items: flex-start; justify-content: center; gap: 1.6rem;
    background: var(--cream); padding: 2rem 2.2rem; transform: translateX(105%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1); box-shadow: -12px 0 40px rgba(42, 38, 32, 0.2);
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links a { color: var(--ink) !important; font-size: 1.15rem; }
  .nav-cta { width: 100%; text-align: center; }
  .hero-content { padding-top: 7rem; }
  .sticky-dm { display: block; }
  .site-footer { padding-bottom: 5rem; }
  body { padding-bottom: 0; }
}

@media (max-width: 480px) {
  .amenity-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .g-item, .g-item:nth-child(1), .g-item:nth-child(6) { grid-column: span 1; aspect-ratio: 4 / 3; }
  .hero-facts { gap: 0.4rem; }
  .lb-prev, .lb-next { width: 44px; height: 44px; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .scroll-cue { animation: none; }
}
