/* ═══════════════════════════════════════════════════════════════
   VILLA VIVELSU — Bespoke Luxury Villa Website
   Design: Minimalist, Mediterranean luxury
   Palette: Warm whites, stone, gold, deep charcoal
════════════════════════════════════════════════════════════════ */

/* ── Custom Properties ────────────────────────────────────────── */
:root {
  /* Vivelsu Brand Colours */
  --white:      #FAF7F2;   /* brand cream/ivory */
  --cream:      #FAF7F2;
  --sand:       #E7D8C8;   /* brand sandy beige */
  --stone:      #D4C4B0;
  --mist:       #9E8E82;
  --text-light: #7A6A62;
  --text:       #3D2B22;
  --charcoal:   #5A463D;   /* brand dark warm brown */
  --black:      #3A2018;
  --gold:       #E7C24A;   /* brand golden yellow */
  --gold-light: #EDD070;
  --gold-dark:  #C9A530;
  --teal:       #62B3C6;   /* brand Mediterranean blue */
  --rose:       #D93781;   /* brand accent pink — use sparingly */

  /* Typography */
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans:  'Lato', system-ui, -apple-system, sans-serif;

  /* Spacing scale */
  --space-xs:  0.5rem;
  --space-sm:  1rem;
  --space-md:  2rem;
  --space-lg:  4rem;
  --space-xl:  6rem;
  --space-2xl: 10rem;

  /* Layout */
  --max-width: 1320px;
  --gutter:    clamp(1.5rem, 5vw, 4rem);

  /* Transitions */
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --duration: 600ms;
  --duration-fast: 300ms;
}


/* ── Reset & Base ─────────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text);
  background-color: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

button {
  cursor: pointer;
  font-family: inherit;
  border: none;
  background: none;
}

input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}


/* ── Typography ───────────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 400;
  line-height: 1.15;
  color: var(--charcoal);
  letter-spacing: -0.01em;
}

h1 {
  font-size: clamp(3.5rem, 10vw, 8rem);
  font-weight: 300;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h2 {
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  font-weight: 400;
}

h3 {
  font-size: clamp(1.4rem, 2.5vw, 1.875rem);
  font-weight: 400;
}

p {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-light);
}

.eyebrow {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: var(--space-sm);
}

.eyebrow--light {
  color: var(--gold-light);
}


/* ── Layout Helpers ───────────────────────────────────────────── */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto var(--space-lg);
}

.section-header h2 {
  margin-bottom: var(--space-md);
}

.section-intro {
  font-size: 1.0625rem;
  color: var(--text-light);
}


/* ── Buttons ──────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  padding: 0.875em 2.25em;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-decoration: none;
  transition: all var(--duration-fast) var(--ease);
  cursor: pointer;
  white-space: nowrap;
}

.btn-primary {
  background: var(--gold);
  color: var(--charcoal);
  border: 1px solid var(--gold);
  font-weight: 700;
}

.btn-primary:hover {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
  color: var(--white);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.5);
}

.btn-ghost:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.1);
}

.btn-outline {
  background: transparent;
  color: var(--charcoal);
  border: 1px solid var(--charcoal);
}

.btn-outline:hover {
  background: var(--charcoal);
  color: var(--white);
}

.btn-full {
  width: 100%;
  justify-content: center;
}


/* ── Reveal Animations ────────────────────────────────────────── */
[data-reveal] {
  opacity: 0;
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

[data-reveal="up"] {
  transform: translateY(40px);
}

[data-reveal="left"] {
  transform: translateX(-40px);
}

[data-reveal="right"] {
  transform: translateX(40px);
}

[data-reveal="fade"] {
  opacity: 0;
}

[data-reveal].revealed {
  opacity: 1;
  transform: none;
}

[data-delay="100"].revealed { transition-delay: 100ms; }
[data-delay="200"].revealed { transition-delay: 200ms; }
[data-delay="300"].revealed { transition-delay: 300ms; }


/* ═══════════════════════════════════════════════════════════════
   NAVIGATION
════════════════════════════════════════════════════════════════ */
#site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: color var(--duration-fast) var(--ease),
              background var(--duration-fast) var(--ease),
              box-shadow var(--duration-fast) var(--ease);
  /* Transparent at hero, gains subtle backdrop on scroll */
}

/* Scrolled state — semi-transparent backdrop so text doesn't overlap */
#site-header.scrolled {
  background: rgba(58, 32, 24, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 12px rgba(0, 0, 0, 0.15);
}

/* Light sections: use cream/white backdrop instead */
#site-header.nav-light.scrolled {
  background: rgba(250, 247, 242, 0.88);
  box-shadow: 0 1px 12px rgba(0, 0, 0, 0.06);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--gutter);
  height: 80px;
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-mark {
  height: 40px;
  width: auto;
  flex-shrink: 0;
  object-fit: contain;
  transition: filter var(--duration-fast) var(--ease);
}

/* On light sections: darken the gold V to charcoal-brown */
#site-header.nav-light .logo-mark {
  filter: brightness(0) sepia(1) saturate(3) hue-rotate(330deg) brightness(0.38);
}

.logo-text {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--sand);
  letter-spacing: 0.05em;
  transition: color var(--duration-fast) var(--ease);
}

/* Light-section nav state */
#site-header.nav-light .logo-text {
  color: var(--charcoal);
}

/* Nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav-links li a {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(231, 216, 200, 0.85);
  text-decoration: none;
  transition: color var(--duration-fast) var(--ease);
  position: relative;
}

.nav-links li a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--duration-fast) var(--ease);
}

.nav-links li a:hover::after,
.nav-links li a.active::after {
  transform: scaleX(1);
}

.nav-links li a:hover {
  color: var(--sand);
}

#site-header.nav-light .nav-links li a {
  color: var(--charcoal);
}

#site-header.nav-light .nav-links li a:hover {
  color: var(--text);
}

/* Nav CTA button */
.nav-cta {
  padding: 0.6em 1.5em !important;
  border: 1px solid rgba(231, 216, 200, 0.5) !important;
  color: var(--sand) !important;
  transition: all var(--duration-fast) var(--ease) !important;
}

.nav-cta::after {
  display: none !important;
}

.nav-cta:hover {
  background: var(--gold) !important;
  border-color: var(--gold) !important;
  color: var(--charcoal) !important;
}

#site-header.nav-light .nav-cta {
  border-color: rgba(90, 70, 61, 0.5) !important;
  color: var(--charcoal) !important;
}

#site-header.nav-light .nav-cta:hover {
  background: var(--gold) !important;
  border-color: var(--gold) !important;
  color: var(--charcoal) !important;
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 1px;
  background: var(--sand);
  transition: all var(--duration-fast) var(--ease);
}

#site-header.nav-light .nav-toggle span {
  background: var(--charcoal);
}

/* Mobile nav overlay */
.nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--charcoal);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--duration) var(--ease);
}

.nav-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.nav-close {
  position: absolute;
  top: 2rem;
  right: var(--gutter);
  font-size: 1.5rem;
  color: var(--white);
  background: none;
  border: none;
  cursor: pointer;
  opacity: 0.6;
  transition: opacity var(--duration-fast) var(--ease);
}

.nav-close:hover {
  opacity: 1;
}

.nav-overlay-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  text-align: center;
}

.nav-overlay-links li a {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 6vw, 3rem);
  font-weight: 300;
  color: var(--white);
  letter-spacing: 0.04em;
  transition: color var(--duration-fast) var(--ease);
}

.nav-overlay-links li a:hover {
  color: var(--gold);
}

.nav-overlay-footer {
  position: absolute;
  bottom: 2rem;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--mist);
}


/* ═══════════════════════════════════════════════════════════════
   HERO
════════════════════════════════════════════════════════════════ */
#hero {
  position: relative;
  height: 100svh;
  min-height: 600px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 30%;
  background-repeat: no-repeat;
  transform: scale(1.05);
  transition: transform 8s var(--ease);
}

#hero.loaded .hero-bg {
  transform: scale(1);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(17, 17, 16, 0.38) 0%,
    rgba(17, 17, 16, 0.25) 40%,
    rgba(17, 17, 16, 0.55) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  padding: 0 var(--gutter);
  animation: heroFadeIn 1.4s var(--ease-out) both;
}

@keyframes heroFadeIn {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: none; }
}

.hero-eyebrow {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  margin-bottom: 1.25rem;
}

.hero-title {
  color: var(--sand);
  margin-bottom: 1.25rem;
  text-shadow: 0 2px 40px rgba(0,0,0,0.25);
}

.hero-subtitle {
  font-family: var(--font-sans);
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  font-weight: 300;
  color: rgba(255,255,255,0.8);
  line-height: 1.6;
  margin-bottom: 2.5rem;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Scroll hint */
.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  z-index: 2;
  animation: heroFadeIn 2s 0.8s var(--ease-out) both;
}

.scroll-label {
  font-family: var(--font-sans);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  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: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.2); }
}


/* ═══════════════════════════════════════════════════════════════
   INTRO STRIP
════════════════════════════════════════════════════════════════ */
.intro-strip {
  background: var(--cream);
  padding: var(--space-xl) var(--gutter);
  text-align: center;
  border-top: 1px solid var(--sand);
  border-bottom: 1px solid var(--sand);
}

.intro-quote {
  font-family: var(--font-sans);
  font-size: clamp(0.95rem, 1.9vw, 1.25rem);
  font-weight: 300;
  color: var(--charcoal);
  line-height: 1.7;
  max-width: 860px;
  margin: 0 auto var(--space-xl);
  letter-spacing: 0.01em;
}

.intro-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
  max-width: 700px;
  margin: 0 auto;
}

.stat {
  flex: 1;
  min-width: 120px;
  padding: 0 var(--space-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
}

.stat-number {
  font-family: var(--font-serif);
  font-size: 2.75rem;
  font-weight: 400;
  color: var(--rose);
  line-height: 1;
  height: 2.75rem;
  display: flex;
  align-items: flex-end;
}

.stat-icon {
  font-size: 2.25rem;
  color: var(--gold);
}

.stat-icon--sea {
  color: var(--teal);
}

.stat-label {
  font-family: var(--font-sans);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mist);
}

.stat-divider {
  width: 1px;
  height: 48px;
  background: var(--stone);
  flex-shrink: 0;
}


/* ═══════════════════════════════════════════════════════════════
   ABOUT — full-bleed image with text overlay
════════════════════════════════════════════════════════════════ */
.section-about {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: stretch;
  overflow: hidden;
}

.about-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.about-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}

.about-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(58, 32, 24, 0.05) 0%,
    rgba(58, 32, 24, 0.25) 30%,
    rgba(58, 32, 24, 0.78) 58%,
    rgba(58, 32, 24, 0.93) 100%
  );
}

.about-content {
  position: relative;
  z-index: 2;
  margin-left: auto;
  width: 52%;
  min-width: 460px;
  padding: var(--space-2xl) var(--gutter) var(--space-2xl) var(--space-xl);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about-content h2 {
  color: var(--sand);
  margin-bottom: var(--space-md);
}

.about-lead {
  font-size: 1.125rem;
  color: rgba(250, 247, 242, 0.92);
  line-height: 1.75;
  margin-bottom: 1.25rem;
}

.about-content p {
  color: rgba(250, 247, 242, 0.72);
  margin-bottom: 1.25rem;
}

.about-features {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin: var(--space-md) 0 var(--space-lg);
  padding: var(--space-md) 0;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.feature {
  display: flex;
  align-items: baseline;
  gap: 0.875rem;
  font-size: 0.9rem;
  color: rgba(250, 247, 242, 0.8);
}

.feature-icon {
  color: var(--gold);
  font-size: 0.5rem;
  flex-shrink: 0;
}


/* ═══════════════════════════════════════════════════════════════
   FULL-BLEED IMAGE
════════════════════════════════════════════════════════════════ */
.full-bleed-image {
  position: relative;
  height: 100vh;
  overflow: hidden;
  margin-top: var(--space-lg);
}

.full-bleed-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 60%;
}

.full-bleed-caption {
  position: absolute;
  top: var(--space-lg);
  right: var(--gutter);
  left: auto;
  font-family: var(--font-serif);
  font-style: normal;
  font-weight: 400;
  font-size: 1.05rem;
  color: var(--charcoal);
  letter-spacing: 0.02em;
  text-align: right;
}

.full-bleed-caption strong {
  font-weight: 600;
}


/* ═══════════════════════════════════════════════════════════════
   SPACES
════════════════════════════════════════════════════════════════ */
.section-spaces {
  padding: var(--space-2xl) var(--gutter);
  max-width: var(--max-width);
  margin: 0 auto;
}

.spaces-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

/* Wide cards span 2 of 3 columns */
.space-card--wide {
  grid-column: span 2;
}

.space-card {
  position: relative;
  overflow: hidden;
  background: var(--cream);
  display: flex;
  flex-direction: column;
}

.space-card-img {
  overflow: hidden;
  flex-shrink: 0;
  aspect-ratio: 4/3;
}

.space-card--wide .space-card-img {
  aspect-ratio: 16/9;
}

.space-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

.space-card:hover .space-card-img img {
  transform: scale(1.04);
}

.space-card-body {
  padding: 1.75rem;
  background: var(--cream);
}

.space-card--wide .space-card-body {
  padding: 2rem 2.25rem;
}

.space-number {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--rose);
  margin-bottom: 0.5rem;
}

.space-card h3 {
  font-size: 1.375rem;
  margin-bottom: 0.75rem;
  color: var(--charcoal);
}

.space-card p {
  font-size: 0.875rem;
  line-height: 1.75;
  color: var(--text-light);
}

/* Dual-image pool card (30 + 31) */
.space-card-img--dual {
  display: grid;
  grid-template-rows: 1fr 1fr;
  flex: 1;
  min-height: 280px;
}

.space-card-img--dual .img-primary,
.space-card-img--dual .img-secondary {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.7s var(--ease);
}

.space-card-img--dual .img-secondary {
  border-top: 3px solid var(--white);
}

.space-card:hover .space-card-img--dual .img-primary,
.space-card:hover .space-card-img--dual .img-secondary {
  transform: scale(1.04);
}


/* ═══════════════════════════════════════════════════════════════
   GALLERY
════════════════════════════════════════════════════════════════ */
.section-gallery {
  padding: var(--space-2xl) var(--gutter);
  background: var(--cream);
}

.section-gallery .section-header {
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: var(--space-md);
}

.gallery-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
}

.gallery-grid--hidden {
  display: none;
  margin-top: 0.5rem;
}

.gallery-grid--hidden.shown {
  display: grid;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  background: var(--sand);
  aspect-ratio: 1;
}

/* Make some items taller for visual interest */
.gallery-item:nth-child(3),
.gallery-item:nth-child(7),
.gallery-item:nth-child(11),
.gallery-item:nth-child(15) {
  grid-row: span 2;
  aspect-ratio: auto;
}

/* Wide gallery item spans 2 columns */
.gallery-item--wide {
  grid-column: span 2;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.gallery-item:hover img {
  transform: scale(1.06);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(30, 28, 26, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--duration-fast) var(--ease);
}

.gallery-overlay span {
  color: var(--white);
  font-size: 1.75rem;
  transform: scale(0.8);
  transition: transform var(--duration-fast) var(--ease);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-item:hover .gallery-overlay span {
  transform: scale(1);
}

.gallery-load-more {
  text-align: center;
  margin-top: var(--space-xl);
}


/* ═══════════════════════════════════════════════════════════════
   LIGHTBOX
════════════════════════════════════════════════════════════════ */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(17, 17, 16, 0.96);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--duration-fast) var(--ease);
}

.lightbox.open {
  opacity: 1;
  pointer-events: all;
}

.lightbox-image-wrap {
  max-width: 90vw;
  max-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

#lightbox-img {
  max-width: 100%;
  max-height: 85vh;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: opacity 0.2s ease;
}

#lightbox-img.loading {
  opacity: 0;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  background: none;
  border: none;
  color: rgba(255,255,255,0.7);
  font-size: 1.5rem;
  cursor: pointer;
  transition: color var(--duration-fast) var(--ease);
  padding: 1rem;
  line-height: 1;
  z-index: 1;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
  color: var(--white);
}

.lightbox-close {
  top: 1.5rem;
  right: 1.5rem;
  font-size: 2rem;
}

.lightbox-prev {
  left: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 2rem;
}

.lightbox-next {
  right: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 2rem;
}

.lightbox-counter {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  color: rgba(255,255,255,0.5);
}


/* ═══════════════════════════════════════════════════════════════
   LOCATION
════════════════════════════════════════════════════════════════ */
.section-location {
  padding-bottom: var(--space-2xl);
}

.location-hero {
  position: relative;
  width: 100%;
  height: 100svh;
  min-height: 500px;
  overflow: hidden;
  margin-bottom: var(--space-xl);
}

.location-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 55%;
}

.location-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 30%, rgba(17,17,16,0.65) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--space-xl) var(--gutter);
}

.location-hero-overlay h2 {
  color: var(--sand);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  text-shadow: 0 2px 30px rgba(0,0,0,0.3);
}

.location-intro {
  max-width: 1100px;
  margin: 0 auto var(--space-md);
  text-align: center;
  padding: 0 var(--gutter);
}

.location-intro p {
  font-size: 1.0625rem;
  line-height: 1.85;
}

.nearby-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.nearby-card {
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.nearby-img {
  aspect-ratio: 2/3;
  overflow: hidden;
}

.nearby-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
  filter: saturate(0.85);
}

.nearby-card:hover .nearby-img img {
  transform: scale(1.06);
  filter: saturate(1);
}

.nearby-body {
  padding: 1.5rem 1.25rem;
  background: var(--white);
  border: 1px solid var(--sand);
  border-top: none;
  flex: 1;
}

.nearby-body h3 {
  font-size: 1.1875rem;
  margin-bottom: 0.6rem;
  color: var(--charcoal);
}

.nearby-body p {
  font-size: 0.8125rem;
  line-height: 1.7;
}


/* ═══════════════════════════════════════════════════════════════
   SUSTAINABILITY / STORY
════════════════════════════════════════════════════════════════ */
.section-story {
  padding: var(--space-2xl) 0;
  background: var(--cream);
  border-top: 1px solid var(--sand);
  border-bottom: 1px solid var(--sand);
}

.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.story-image {
  overflow: hidden;
  aspect-ratio: 3/4;
  max-height: 600px;
}

.story-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.story-text h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  margin-bottom: var(--space-md);
}

.story-text p {
  margin-bottom: 1.25rem;
  font-size: 1rem;
}

.story-partners {
  margin-top: var(--space-md);
  padding-top: var(--space-sm);
  border-top: 1px solid var(--stone);
}

.partners-label {
  font-family: var(--font-sans);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mist);
  margin-bottom: 1.25rem;
}

.partners-logos {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.partners-logos img {
  height: 96px;
  width: auto;
  object-fit: contain;
  filter: grayscale(0.2);
  opacity: 0.9;
  transition: all var(--duration-fast) var(--ease);
}

.partners-logos img:hover {
  filter: grayscale(0);
  opacity: 1;
}


/* ═══════════════════════════════════════════════════════════════
   BOOK / NICE2STAY
════════════════════════════════════════════════════════════════ */
.section-book {
  background: var(--charcoal);
  padding: var(--space-2xl) var(--gutter);
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* .section-book::before removed — V watermark removed per design update */

.book-inner {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
}

.book-inner h2 {
  color: var(--sand);
  margin-bottom: var(--space-md);
}

.book-inner p {
  color: rgba(255,255,255,0.6);
  font-size: 1rem;
  margin-bottom: var(--space-lg);
  line-height: 1.8;
}


/* ═══════════════════════════════════════════════════════════════
   CONTACT
════════════════════════════════════════════════════════════════ */
.section-contact {
  padding: var(--space-2xl) var(--gutter);
  max-width: var(--max-width);
  margin: 0 auto;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: start;
}

.contact-info h2 {
  margin-bottom: var(--space-md);
}

.contact-info > p {
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: var(--space-lg);
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-detail {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.detail-label {
  font-family: var(--font-sans);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}

.detail-value {
  font-size: 0.9375rem;
  color: var(--text);
}

.detail-value a {
  color: var(--text);
  text-decoration: underline;
  text-decoration-color: var(--sand);
  text-underline-offset: 3px;
  transition: text-decoration-color var(--duration-fast) var(--ease);
}

.detail-value a:hover {
  text-decoration-color: var(--gold);
}

.social-icon {
  display: inline;
  width: 18px;
  height: 18px;
  vertical-align: middle;
  margin-right: 0.375rem;
}

/* Form */
.contact-form-wrap {
  position: relative;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
}

/* Date input digits in rose/pink */
.form-group input[type="date"]::-webkit-datetime-edit-day-field,
.form-group input[type="date"]::-webkit-datetime-edit-month-field,
.form-group input[type="date"]::-webkit-datetime-edit-year-field {
  color: var(--rose);
}

.form-group input[type="date"]::-webkit-datetime-edit-text {
  color: var(--stone);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.875rem 1rem;
  background: var(--white);
  border: 1px solid var(--stone);
  border-radius: 0;
  font-size: 0.9375rem;
  color: var(--text);
  transition: border-color var(--duration-fast) var(--ease);
  appearance: none;
  -webkit-appearance: none;
  outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--mist);
  font-size: 0.9rem;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-note {
  font-size: 0.78rem;
  color: var(--mist);
  text-align: center;
  margin-top: 0.5rem;
}

/* Form success */
.form-success {
  position: absolute;
  inset: 0;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
}

.form-success[hidden] {
  display: none;
}

.form-success-inner {
  text-align: center;
  padding: var(--space-lg);
}

.success-icon {
  display: block;
  font-size: 2.5rem;
  color: var(--gold);
  margin-bottom: 1rem;
}

.form-success-inner h3 {
  font-family: var(--font-serif);
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.form-success-inner p {
  color: var(--text-light);
}


/* ═══════════════════════════════════════════════════════════════
   FOOTER
════════════════════════════════════════════════════════════════ */
.site-footer {
  background: var(--charcoal);
  padding: var(--space-xl) var(--gutter) var(--space-md);
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: start;
  gap: var(--space-lg);
  max-width: var(--max-width);
  margin: 0 auto;
  padding-bottom: var(--space-xl);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
}

.footer-brand-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-logo-mark {
  height: 36px;
  width: auto;
  object-fit: contain;
}

.footer-brand-name {
  font-family: var(--font-sans);
  font-size: 1.15rem;
  font-weight: 300;
  color: var(--sand);
  letter-spacing: 0.02em;
}

.footer-tagline {
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 300;
  color: rgba(231, 216, 200, 0.7);
  line-height: 1.6;
}

.footer-nav ul {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  text-align: center;
}

.footer-nav a {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--sand);
  transition: color var(--duration-fast) var(--ease);
}

.footer-nav a:hover {
  color: var(--gold);
}

.footer-social {
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(231, 216, 200, 0.3);
  transition: all var(--duration-fast) var(--ease);
}

.footer-social a:hover {
  border-color: var(--gold);
  background: rgba(196, 169, 111, 0.1);
}

.footer-social img {
  width: 20px;
  height: 20px;
  object-fit: contain;
  filter: brightness(0) saturate(100%) sepia(20%) hue-rotate(10deg) brightness(1.8);
  opacity: 0.8;
  transition: opacity var(--duration-fast) var(--ease);
}

.footer-social a:hover img {
  opacity: 1;
}

.footer-social svg {
  color: var(--sand);
  opacity: 0.8;
  transition: opacity var(--duration-fast) var(--ease);
}

.footer-social a:hover svg {
  opacity: 1;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max-width);
  margin: 0 auto;
  padding-top: var(--space-md);
  flex-wrap: wrap;
  gap: 0.5rem;
}

.footer-bottom p {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.25);
  letter-spacing: 0.05em;
}

.footer-bottom a {
  color: rgba(255,255,255,0.4);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--duration-fast) var(--ease);
}

.footer-bottom a:hover {
  color: var(--gold);
}


/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE — Tablet
════════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {

  .about-grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .about-text {
    padding-left: 0;
  }

  .about-images {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
    gap: 1rem;
  }

  .about-img-main {
    aspect-ratio: 16/9;
    grid-column: span 2;
  }

  .about-img-secondary {
    margin-left: 0;
    aspect-ratio: 4/3;
    grid-column: 2;
  }

  .spaces-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .space-card--wide {
    grid-column: span 2;
  }

  .nearby-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .nearby-grid > .nearby-card:nth-child(4),
  .nearby-grid > .nearby-card:nth-child(5) {
    grid-column: auto;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .story-grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .story-image {
    aspect-ratio: 16/9;
    max-height: 400px;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
  }

  .footer-nav {
    grid-column: span 2;
    order: 3;
  }

  .footer-nav ul {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
  }
}


/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE — Mobile
════════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {

  :root {
    --space-lg: 3rem;
    --space-xl: 4rem;
    --space-2xl: 6rem;
  }

  /* Nav */
  .nav-links {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  /* Hero */
  .hero-actions {
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
  }

  .hero-actions .btn {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }

  /* Stats */
  .intro-stats {
    gap: var(--space-sm);
  }

  .stat-divider {
    display: none;
  }

  .stat {
    flex: 0 0 calc(50% - var(--space-sm));
    padding: var(--space-sm);
  }

  /* Spaces */
  .spaces-grid {
    grid-template-columns: 1fr;
  }

  .space-card--wide {
    grid-column: span 1;
  }

  /* Gallery */
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-item:nth-child(3),
  .gallery-item:nth-child(7),
  .gallery-item:nth-child(11),
  .gallery-item:nth-child(15) {
    grid-row: auto;
    aspect-ratio: 1;
  }

  /* Nearby */
  .nearby-grid {
    grid-template-columns: 1fr 1fr;
    padding: 0 var(--gutter);
  }

  .nearby-img {
    aspect-ratio: 3/4;
  }

  /* Form */
  .form-row {
    grid-template-columns: 1fr;
  }

  /* Footer */
  .footer-top {
    grid-template-columns: 1fr;
  }

  .footer-social {
    justify-content: flex-start;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  /* Lightbox buttons on mobile */
  .lightbox-prev { left: 0.5rem; }
  .lightbox-next { right: 0.5rem; }
}

@media (max-width: 480px) {
  .nearby-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.25rem;
  }
}


/* ═══════════════════════════════════════════════════════════════
   UTILITY — smooth page transitions
════════════════════════════════════════════════════════════════ */
::selection {
  background: var(--gold);
  color: var(--white);
}

/* Focus styles */
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

/* ═══════════════════════════════════════════════════════════════
   VIDEO SECTION
════════════════════════════════════════════════════════════════ */
.section-video {
  padding: var(--space-2xl) var(--gutter);
  background: var(--charcoal);
  text-align: center;
}

.section-video .section-header {
  margin-bottom: var(--space-xl);
}

.section-video .section-header h2 {
  color: var(--sand);
}

.section-video .section-intro {
  color: rgba(250, 247, 242, 0.6);
}

.section-video .eyebrow {
  color: var(--gold);
}

.video-wrapper {
  position: relative;
  max-width: 960px;
  margin: 0 auto;
  overflow: hidden;
  background: var(--black);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}

.video-responsive {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
  overflow: hidden;
}

.video-responsive iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* ═══════════════════════════════════════════════════════════════
   ABOUT — Responsive
════════════════════════════════════════════════════════════════ */
@media (max-width: 1100px) {
  .about-content {
    width: 60%;
    min-width: 400px;
    padding-left: var(--space-md);
  }
}

/* ═══════════════════════════════════════════════════════════════
   FOOTER SOCIAL — multiple icons
════════════════════════════════════════════════════════════════ */
.footer-social {
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
  gap: 0.75rem;
}

/* Contact social icons row */
.contact-social-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

.contact-social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text);
  text-decoration: underline;
  text-decoration-color: var(--sand);
  text-underline-offset: 3px;
  transition: text-decoration-color var(--duration-fast) var(--ease);
}

.contact-social-link:hover {
  text-decoration-color: var(--gold);
}

.contact-social-link .social-icon {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.social-icon-svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  fill: var(--text);
}

/* Scroll-linked section separator */
.section-about,
.section-spaces,
.section-gallery,
.section-story,
.section-contact {
  position: relative;
}

/* About responsive */
@media (max-width: 768px) {
  .section-about {
    min-height: unset;
    flex-direction: column;
  }

  .about-bg {
    position: relative;
    height: 55vw;
    min-height: 280px;
  }

  .about-bg-overlay {
    background: linear-gradient(
      to bottom,
      transparent 40%,
      rgba(58, 32, 24, 0.9) 100%
    );
  }

  .about-content {
    width: 100%;
    min-width: unset;
    background: var(--charcoal);
    padding: var(--space-lg) var(--gutter);
  }
}

@media (max-width: 768px) {
  .video-play-btn {
    width: 64px;
    height: 64px;
  }
  .footer-social {
    justify-content: flex-start;
  }
}
