/* ─── Reset & Base ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Jost', system-ui, sans-serif; background: #fff; color: #111110; overflow-x: hidden; }

/* ─── Custom Properties ─── */
:root {
  --dark: #111110;
  --charcoal: #1c1c1a;
  --mid: #2e2e2b;
  --stone: #8a8679;
  --sand: #c9c3b5;
  --cream: #f5f2ec;
  --gold: #b8a47a;
  --gold-light: #d4c49a;
  --gold-rich: #d4af37;
  --ease-luxury: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ─── Typography helpers ─── */
.font-display { font-family: 'Cormorant Garamond', Georgia, serif; }
.font-body    { font-family: 'Jost', system-ui, sans-serif; }

/* ─── Reveal animations ─── */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.9s var(--ease-luxury), transform 0.9s var(--ease-luxury);
}
.reveal.visible { opacity: 1 !important; transform: translateY(0) !important; }
.reveal.delay-1 { transition-delay: 0.15s; }
.reveal.delay-2 { transition-delay: 0.3s; }
.reveal.delay-3 { transition-delay: 0.45s; }

.fade-up {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.9s var(--ease-luxury), transform 0.9s var(--ease-luxury);
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
  .reveal, .fade-up { opacity: 1 !important; transform: none !important; }
}

/* ═══════════════════════════════════════
   NAVBAR
═══════════════════════════════════════ */
#navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  transition: background 0.5s ease, box-shadow 0.5s ease, height 0.5s ease;
  height: 80px;
  background-color: #2414033b;
}
#navbar.scrolled {
  background: #8d7861;
  box-shadow: 0 1px 0 rgba(255,255,255,0.06);
  height: 64px;
}
.nav-inner {
  max-width: 1280px; margin: 0 auto; padding: 0 2rem;
  height: 100%; display: flex; align-items: center; justify-content: space-between;
}
.nav-logo {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.5rem; font-weight: 300; letter-spacing: 0.28em;
  color: #fff; text-decoration: none;
}
.nav-links {
  display: flex; align-items: center; gap: 4rem; list-style: none;
}
.nav-links a {
  font-family: 'Jost', sans-serif; font-size: 0.8125rem; font-weight: 300;
  letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255,255,255,0.8);
  text-decoration: none; position: relative;
  transition: color 0.3s ease;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -3px; left: 0;
  height: 1px; background: var(--gold); width: 0;
  transition: width 0.3s ease;
}
.nav-links a:hover { color: #fff; }
.nav-links a:hover::after { width: 100%; }
.nav-cta {
  font-family: 'Jost', sans-serif; font-size: 0.75rem; font-weight: 400;
  letter-spacing: 0.18em; text-transform: uppercase; color: #fff;
  border: 1px solid rgba(255,255,255,0.5); padding: 0.625rem 1.25rem;
  text-decoration: none; transition: background 0.3s ease, color 0.3s ease;
}
.nav-cta:hover {
  background: white !important;
  color: var(--dark) !important;
}

/* Mobile burger */
.nav-burger {
  display: none; flex-direction: column; gap: 5px; padding: 0.5rem;
  background: none; border: none; cursor: pointer;
}
.nav-burger span {
  display: block; width: 24px; height: 1px; background: #fff;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.nav-burger.open span:nth-child(1) { transform: rotate(45deg) translate(3px, 6px); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: rotate(-45deg) translate(3px, -6px); }

.nav-mobile {
  display: none; flex-direction: column;
  background: rgba(10,10,10,0.98); padding: 1.5rem 2rem;
  gap: 1rem; border-top: 1px solid rgba(255,255,255,0.08);
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  font-family: 'Jost', sans-serif; font-size: 0.75rem; font-weight: 300;
  letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255,255,255,0.8);
  padding: 0.75rem 0; border-bottom: 1px solid rgba(255,255,255,0.06);
  text-decoration: none; transition: color 0.3s ease;
}
.nav-mobile a:hover, .nav-mobile a.gold { color: var(--gold); }
.nav-mobile a:last-child { border-bottom: none; }

@media (min-width: 768px) {
  .nav-burger { display: none; }
}
@media (max-width: 767px) {
  .nav-links { display: none; }
  .nav-burger { display: flex; }
}

/* ═══════════════════════════════════════
   HERO
═══════════════════════════════════════ */
#hero {
  position: relative; height: 100vh; min-height: 600px;
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0,0,0,0.3), rgba(0,0,0,0.3));
}
.hero-content {
  position: relative; z-index: 10; text-align: center; padding: 0 2rem; max-width: 56rem;
}
.hero-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(3.5rem, 9vw, 7.5rem); font-weight: 300;
  color: #fff; line-height: 1; margin-bottom: 1.5rem;
}
.hero-title em { font-style: italic; color: var(--gold-light); }
.hero-divider {
  display: block; margin: 0.5rem auto 0;
  width: min(40rem, 80vw); height: 1px;
  background: var(--gold); opacity: 0.8;
}
.hero-sub {
  font-family: 'Jost', sans-serif;
  font-size: clamp(0.85rem, 1.5vw, 1rem); font-weight: 400;
  line-height: 1.9; letter-spacing: 0.04em;
  color: rgba(255,255,255,0.75); margin-bottom: 2.5rem;
}
.hero-btn {
  display: inline-block; font-family: 'Jost', sans-serif;
  font-size: 0.75rem; font-weight: 400; letter-spacing: 0.2em;
  text-transform: uppercase; color: #fff;
  border: 1px solid #fff; padding: 1rem 2rem;
  text-decoration: none; margin-top: 1rem;
  transition: background 0.3s ease, color 0.3s ease;
}
.hero-btn:hover { background: #fff; color: var(--dark); }

.scroll-indicator {
  position: absolute; bottom: 2.5rem; left: 50%; transform: translateX(-50%);
  z-index: 10; display: flex; flex-direction: column; align-items: center; gap: 0.75rem;
}
.scroll-indicator span {
  font-family: 'Jost', sans-serif; font-size: 0.6rem;
  letter-spacing: 0.25em; text-transform: uppercase; color: rgba(255,255,255,0.5);
}
.scroll-line {
  width: 1px; height: 48px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.5), transparent);
  animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine {
  0%, 100% { transform: scaleY(1); opacity: 1; }
  50%       { transform: scaleY(0.5); opacity: 0.3; }
}

/* ═══════════════════════════════════════
   ABOUT
═══════════════════════════════════════ */
#about {
  position: relative; padding: 8rem 0 10rem;
  overflow: hidden; background: #faf8f3;
}
.about-inner { max-width: 1320px; margin: 0 auto; padding: 0 2rem; }
.about-grid { display: grid; gap: 5rem; align-items: center; }
@media (min-width: 768px) {
  .about-grid { grid-template-columns: 1fr 1fr; }
}

.about-img-wrap { position: relative; }
.about-img-border {
  position: absolute; top: -24px; left: -24px; right: 0; bottom: 0;
  border: 1px solid rgba(212,175,55,0.3); border-radius: 24px; pointer-events: none;
}
.about-img-inner { position: relative; overflow: hidden; border-radius: 24px; }
.about-img-inner img {
  width: 100%; aspect-ratio: 4/5; object-fit: cover;
  transition: transform 1s ease;
}
.about-img-wrap:hover .about-img-inner img { transform: scale(1.05); }
.about-img-gradient {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.4), transparent, transparent);
}

.about-content { position: relative; }
.about-accent-line {
  position: absolute; left: -2rem; top: 0;
  width: 2px; height: 8rem; background: var(--gold);
}
.about-eyebrow {
  display: inline-block; font-size: 0.6875rem; letter-spacing: 0.35em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 1.25rem;
}
.about-heading {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(2.8rem, 5vw, 5rem); line-height: 1.05;
  font-weight: 300; color: #111; margin-bottom: 2rem;
}
.about-heading em { font-style: italic; color: var(--gold); }
.about-body {
  font-size: 17px; line-height: 2; color: #777;
  max-width: 600px; margin-bottom: 2.5rem;
}
.about-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-bottom: 2.5rem; }
.about-stat h3 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.875rem; color: #111;
}
.about-stat p { font-size: 0.875rem; color: #888; }
.about-cta {
  display: inline-flex; align-items: center; gap: 1rem;
  padding: 1rem 2rem; background: #111; color: #fff;
  text-transform: uppercase; letter-spacing: 0.18em; font-size: 0.75rem;
  text-decoration: none; transition: background 0.5s ease;
}
.about-cta:hover { background: var(--gold); }
.about-cta-arrow { display: inline-block; transition: transform 0.3s ease; }
.about-cta:hover .about-cta-arrow { transform: translateX(0.5rem); }

/* ═══════════════════════════════════════
   FACILITIES
═══════════════════════════════════════ */
#facilities { background: #efefef; padding: 6rem 0; }
.facilities-header { max-width: 1280px; margin: 0 auto; padding: 0 2rem; }
.section-eyebrow {
  font-family: 'Jost', sans-serif; font-size: 0.6875rem;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); margin-bottom: 1rem;
}
.section-heading {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(2.4rem, 5vw, 4.2rem); font-weight: 300;
  line-height: 1.1; color: var(--dark);
}
.section-heading em { font-style: italic; color: var(--gold); }

.facilities-grid {
  max-width: 1400px; margin: 4rem auto 0; padding: 0 2rem;
  display: grid; gap: 2.5rem;
}
@media (min-width: 768px) {
  .facilities-grid { grid-template-columns: repeat(3, 1fr); }
}
.facility-card { position: relative; }
.facility-img-wrap { overflow: hidden; }
.facility-img-wrap img {
  width: 100%; height: 560px; object-fit: cover;
  transition: transform 0.7s ease;
}
.facility-card:hover .facility-img-wrap img { transform: scale(1.05); }
.facility-box {
  background: #fff; box-shadow: 0 20px 60px rgba(0,0,0,0.12);
  position: absolute; bottom: -40px; left: 3rem; right: 0;
  padding: 2rem; transition: transform 0.5s ease;
}
.facility-card:hover .facility-box { transform: translateY(-0.5rem); }
.facility-box h3 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 2rem; font-weight: 300; color: #333; margin-bottom: 1rem;
}
.facility-box a {
  text-transform: uppercase; letter-spacing: 0.2em;
  color: #c69c3f; font-size: 0.875rem; text-decoration: none;
}
.facilities-spacer { height: 3.5rem; }

/* ═══════════════════════════════════════
   GALLERY
═══════════════════════════════════════ */
#gallery { padding: 7rem 0 9rem; }
.gallery-header {
  max-width: 1280px; margin: 0 auto; padding: 0 2rem;
  text-align: center; margin-bottom: 4rem;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 18px; padding: 0 18px; margin-top: 4rem;
}
.gallery-item { overflow: hidden; border-radius: 15px; cursor: zoom-in; }
.gallery-item.tall { grid-row: span 2; }
.gallery-item:not(.tall) { aspect-ratio: 4/3; }
.gallery-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.7s var(--ease-luxury);
}
.gallery-item:hover img { transform: scale(1.05); }

/* Lightbox */
#lightbox {
  display: none; position: fixed; inset: 0; z-index: 9999;
  background: rgba(0,0,0,0.94);
  align-items: center; justify-content: center; cursor: zoom-out;
}
#lightbox.open { display: flex; }
.lightbox-close {
  position: absolute; top: 1.5rem; right: 2rem;
  font-size: 3rem; font-weight: 200; color: rgba(255,255,255,0.6);
  background: none; border: none; cursor: pointer; line-height: 1;
  transition: color 0.3s ease;
}
.lightbox-close:hover { color: #fff; }
#lightbox-img {
  max-width: 90vw; max-height: 88vh; object-fit: contain;
  box-shadow: 0 20px 80px rgba(0,0,0,0.8);
}

/* ═══════════════════════════════════════
   CTA
═══════════════════════════════════════ */
#cta {
  position: relative; min-height: 75vh;
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.cta-bg { position: absolute; inset: 0; }
.cta-bg img { width: 100%; height: 100%; object-fit: cover; }
.cta-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.65); }
.cta-content {
  position: relative; z-index: 10; text-align: center;
  padding: 6rem 2rem; max-width: 48rem;
}
.cta-eyebrow {
  font-family: 'Jost', sans-serif; font-size: 1rem;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold-light);
  margin-bottom: 1.5rem; display: block;
}
.cta-heading {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(3rem, 7vw, 5.5rem); font-weight: 300;
  line-height: 1.1; color: #fff; margin-bottom: 1.5rem;
}
.cta-heading em { font-style: italic; color: var(--gold-light); }
.cta-sub {
  font-family: 'Jost', sans-serif; font-size: 1.125rem;
  letter-spacing: 0.1em; color: rgba(255,255,255,0.65); margin-bottom: 2rem;
}
.cta-actions {
  display: flex; align-items: center; justify-content: center;
  gap: 4rem; flex-wrap: wrap; margin-top: 2rem;
}
.cta-btn {
  display: inline-block; font-family: 'Jost', sans-serif;
  font-size: 0.75rem; font-weight: 400; letter-spacing: 0.2em;
  text-transform: uppercase; color: #fff;
  border: 1px solid #fff; padding: 1rem 2rem;
  text-decoration: none; transition: background 0.3s ease, color 0.3s ease;
}
.cta-btn:hover { background: #fff; color: var(--dark); }
.cta-tel {
  font-family: 'Jost', sans-serif; font-size: 1rem;
  letter-spacing: 0.15em; color: rgba(255,255,255,0.6);
  text-decoration: none; transition: color 0.3s ease;
}
.cta-tel:hover { color: var(--gold); }

/* ═══════════════════════════════════════
   FOOTER
═══════════════════════════════════════ */
footer {
  background: #0a0a0a;
  border-top: 1px solid rgba(212,175,55,0.15);
}
.footer-inner {
  max-width: 1280px; margin: 0 auto; padding: 6rem 2rem 4rem;
  display: grid; grid-template-columns: 1fr; gap: 4rem;
}
@media (min-width: 640px) {
  .footer-inner { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1280px) {
  .footer-inner { grid-template-columns: repeat(4, 1fr); }
}
.footer-brand-logo {
  display: block; margin-bottom: 1.5rem; text-decoration: none;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 2rem; font-weight: 300; letter-spacing: 0.25em; color: #fff;
}
.footer-brand p {
  font-family: 'Jost', sans-serif; font-size: 0.875rem;
  line-height: 1.8; color: rgba(255,255,255,0.55); max-width: 320px;
}
.footer-col h4 {
  font-family: 'Jost', sans-serif; font-size: 0.6875rem;
  letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 1.25rem;
}
.footer-col nav { display: flex; flex-direction: column; gap: 1rem; }
.footer-col nav a, .footer-col a {
  font-family: 'Jost', sans-serif; font-size: 0.875rem;
  color: rgba(255,255,255,0.65); text-decoration: none;
  position: relative; width: fit-content;
  transition: color 0.3s ease;
}
.footer-col nav a::after {
  content: ''; position: absolute; left: 0; bottom: -4px;
  height: 1px; background: var(--gold); width: 0;
  transition: width 0.4s ease;
}
.footer-col nav a:hover { color: #fff; }
.footer-col nav a:hover::after { width: 100%; }
.footer-col p {
  font-family: 'Jost', sans-serif; font-size: 0.875rem;
  letter-spacing: 0.04em; color: rgba(255,255,255,0.65); line-height: 1.8;
}
.footer-col a { color: rgba(255,255,255,0.65); text-decoration: none; transition: color 0.3s ease; }
.footer-col a:hover { color: var(--gold); }
.footer-contact { display: flex; flex-direction: column; gap: 1rem; }
