:root {
  --sand: #f5efe6; --dune: #e8ddd0; --sea: #2d6a7f; --deep: #1a3f4e;
  --foam: #a8cdd8; --warm: #c4956a; --text: #2a2118; --muted: #7a6e65;

  /* ── Gallery tuning ────────────────────────────────────────────────────
     --gallery-height   : fixed height of the carousel block in px
     --gallery-ratio-tall  : flex weight of the tall cell   (default 2 → 2/3)
     --gallery-ratio-short : flex weight of the short cell  (default 1 → 1/3)
     e.g. set 3 + 1 for a 75%/25% split, or 1 + 1 for equal halves
  ─────────────────────────────────────────────────────────────────────── */
  --gallery-height:       640px;
  --gallery-ratio-tall:   100;
  --gallery-ratio-short:  70;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Jost', sans-serif; font-weight: 300; background: white; color: var(--text); overflow-x: hidden; }
.text-center { text-align: center; }

/* SKIP LINK */
.skip-link { position: absolute; top: -999px; left: 0; background: var(--sea); color: #fff; padding: .5rem 1rem; font-size: .8rem; z-index: 999; }
.skip-link:focus { top: 0; }

/* NAV */
nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; display: flex; align-items: center; justify-content: space-between; padding: 1.2rem 3rem; background: rgba(245,239,230,.92); backdrop-filter: blur(8px); border-bottom: 1px solid rgba(196,149,106,.2); }
.nav-brand { font-family: 'Cormorant Garamond', serif; font-size: 1.25rem; font-weight: 400; letter-spacing: .08em; color: var(--deep); text-decoration: none; }
.nav-links { display: flex; gap: 2.5rem; list-style: none; }
.nav-links a { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); text-decoration: none; transition: color .2s; }
.nav-links a:hover { color: var(--sea); }
.nav-cta { font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; padding: .6rem 1.5rem; border: 1px solid var(--warm); color: var(--warm); text-decoration: none; transition: all .2s; }
.nav-cta:hover { background: var(--warm); color: #fff; }
.nav-hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: .4rem; }
.nav-hamburger span { display: block; width: 22px; height: 2px; background: var(--deep); transition: all .25s; }
.lang-switcher { display: flex; gap: .3rem; align-items: center; }
.lang-btn { font-size: .68rem; letter-spacing: .12em; padding: .25rem .5rem; color: var(--muted); text-decoration: none; border: 1px solid transparent; transition: all .2s; }
.lang-btn:hover { color: var(--sea); }
.lang-btn.lang-active { color: var(--deep); border-color: rgba(196,149,106,.4); }

/* HERO */
.hero { background: #fff; padding: 8rem 5rem 4rem; text-align: center; }
.hero-inner { display: flex; flex-direction: column; gap: 2rem; max-width: 640px; margin: 0 auto; }
.hero-eyebrow { font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--warm); }
.hero-name { display: block; font-size: .55em; color: var(--muted); font-weight: 300; letter-spacing: .06em; margin-bottom: .1em; }
.hero-title { font-family: 'Cormorant Garamond', serif; font-size: clamp(2.5rem,4vw,4rem); font-weight: 300; line-height: 1.1; color: var(--deep); }
.hero-title em { font-style: italic; color: var(--sea); }
.hero-tagline { font-size: 1rem; color: var(--muted); line-height: 1.7; }
.hero-actions { display: flex; gap: 1.2rem; align-items: center; justify-content: center; }
.hero-stats { display: flex; gap: 2rem; justify-content: center; flex-wrap: wrap; }
.hero-stat { padding: .8rem 1.2rem; border-left: 3px solid var(--warm); }
.hero-stat-num { font-family: 'Cormorant Garamond', serif; font-size: 1.8rem; color: var(--deep); line-height: 1; }
.hero-stat-label { font-size: .68rem; letter-spacing: .1em; color: var(--muted); text-transform: uppercase; margin-top: .2rem; }

/* BUTTONS */
.btn-primary { background: var(--sea); color: #fff; padding: .9rem 2.2rem; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; text-decoration: none; transition: background .2s; display: inline-block; }
.btn-primary:hover { background: var(--deep); }
.btn-center { display: block; width: fit-content; margin: 0 auto 3rem; }

/* WIDE BANNER */
.wide-banner { overflow: hidden; margin-top: 1.5rem; }
.wide-banner img { width: 100%; height: auto; display: block; }

/* SECTIONS */
section { padding: 6rem 5rem; }
.section-label { font-size: .68rem; letter-spacing: .25em; text-transform: uppercase; color: var(--warm); margin-bottom: 1rem; }
.section-title { font-family: 'Cormorant Garamond', serif; font-size: clamp(2rem,3vw,3rem); font-weight: 300; color: var(--deep); line-height: 1.2; margin-bottom: 1.5rem; }
.section-desc { color: var(--muted); line-height: 1.8; max-width: 600px; }
.section-desc.text-center { margin: 0 auto; }

/* PROPERTY / VIDEO */
.property { background: #fff; text-align: center; padding: 6rem 5rem; }
.property-desc { color: var(--muted); line-height: 1.8; max-width: 680px; margin: 0 auto 2.5rem; font-size: 1rem; }
.video-wrapper { position: relative; max-width: 800px; margin: 0 auto; aspect-ratio: 16/9; }
.video-wrapper iframe { position: absolute; inset: 0; width: 100%; height: 100%; }

/* GALLERY — full-width, column-first, alternating-height slider */
.gallery-section { background: #fff; padding: 0; }
.gallery-section:nth-child(even) { background: var(--sand); }
.gallery-header { padding: 5rem 5rem 2.5rem; }

/* Slider is the positioning context for overlay arrows */
.gallery-slider { position: relative; }

/* Viewport: full width, fixed height, clips the scrolling track */
.gallery-viewport { width: 100%; height: var(--gallery-height); overflow: hidden; }

/* Track: all columns side by side, slides via transform */
.gallery-track { display: flex; gap: 2px; height: 100%; transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1); will-change: transform; }

/* Column: width set by JS; top-to-bottom flex with 2px gap */
.gallery-col { flex-shrink: 0; display: flex; flex-direction: column; gap: 2px; height: 100%; }

/* Cell heights: tall = --gallery-ratio-tall parts, short = --gallery-ratio-short parts */
.gallery-cell { overflow: hidden; }
.gallery-cell.cell-tall  { flex: var(--gallery-ratio-tall); }
.gallery-cell.cell-short { flex: var(--gallery-ratio-short); }
.gallery-cell img, .gallery-cell video { width: 100%; height: 100%; object-fit: cover; display: block; }
.gallery-cell img { cursor: zoom-in; transition: opacity .35s, transform .45s; }
.gallery-cell img:hover { opacity: .85; transform: scale(1.04); }

/* Arrows: absolute overlay on the left/right edges, full gallery height */
.gallery-arrow { position: absolute; top: 0; bottom: 0; z-index: 10; width: 52px; background: rgba(0,0,0,.12); border: none; font-size: 3.2rem; line-height: 1; color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; padding: 0; transition: background .25s; }
.gallery-arrow-left  { left: 0; }
.gallery-arrow-right { right: 0; }
.gallery-arrow:hover { background: rgba(0,0,0,.35); }

/* AMENITIES */
.amenities { background: var(--sand); text-align: center; padding: 6rem 5rem; }
.amenities-intro { color: var(--muted); line-height: 1.9; max-width: 700px; margin: 0 auto 3.5rem; font-size: .92rem; }
.amenities-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 3rem; max-width: 900px; margin: 0 auto; }
.amenity-card { text-align: center; }
.amenity-img { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; margin-bottom: 1.2rem; }
.amenity-title { font-family: 'Cormorant Garamond', serif; font-size: 1.2rem; color: var(--deep); margin-bottom: .5rem; font-weight: 400; }
.amenity-desc { font-size: .82rem; color: var(--muted); line-height: 1.6; }

/* NATURE */
.nature-section { background: #fff; padding: 6rem 5rem; text-align: center; }
.nature-img-wrap { max-width: 880px; margin: 0 auto 2.5rem; overflow: hidden; }
.nature-img-wrap img { width: 100%; display: block; }
.nature-text { max-width: 600px; margin: 0 auto; }

/* GOOGLE MAPS */
.maps-section { padding: 0 0 4rem; background: #fff; }
.map-embed { width: 100%; height: 440px; }
.map-embed iframe { width: 100%; height: 100%; border: none; display: block; }
.map-caption { text-align: center; padding: 1.8rem 2rem 0; font-size: .88rem; color: var(--muted); }

/* BOOKING */
.booking { background: var(--dune); }
.booking-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: stretch; margin-top: 3rem; }
.booking-card { background: #fff; padding: 2.5rem; border-top: 3px solid var(--sea); }
.booking-card h3 { font-family: 'Cormorant Garamond', serif; font-size: 1.4rem; color: var(--deep); margin-bottom: 1.5rem; }
.booking-detail { display: flex; flex-direction: column; gap: .8rem; }
.booking-row { font-size: .85rem; color: var(--muted); }
.booking-row strong { color: var(--text); }
.booking-row a { color: var(--sea); text-decoration: none; }
.booking-row a:hover { text-decoration: underline; }

/* ACTIVITIES */
.activities { background: #fff; }
.activities-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 0; margin-top: 3rem; }
.activity-card { background: #fff; overflow: hidden; transition: transform .2s; width: 345px; }
.activity-card:hover { transform: scale(1.01); z-index: 1; }
.activity-img { width: 100%; height: 232px; object-fit: cover; display: block; }
.activity-body { padding: 1.5rem; }
.activity-title { font-family: 'Cormorant Garamond', serif; font-size: 1.25rem; color: var(--deep); margin-bottom: .4rem; }
.activity-desc { font-size: .82rem; color: var(--muted); line-height: 1.6; margin-bottom: 1rem; }
.activity-link { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--sea); text-decoration: none; border-bottom: 1px solid var(--foam); padding-bottom: 1px; }

/* FOOTER */
footer { background: var(--deep); color: rgba(255,255,255,.5); text-align: center; padding: 2.5rem; font-size: .78rem; letter-spacing: .08em; }

/* LIGHTBOX */
.lightbox { display: none; position: fixed; inset: 0; z-index: 200; background: rgba(0,0,0,.94); align-items: center; justify-content: center; }
.lightbox.active { display: flex; }
.lightbox img { max-width: 90vw; max-height: 90vh; object-fit: contain; }
.lightbox-close { position: absolute; top: 1.5rem; right: 2rem; color: #fff; font-size: 2rem; cursor: pointer; opacity: .7; user-select: none; }
.lightbox-close:hover { opacity: 1; }
.lightbox-arrow { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,.1); border: none; color: #fff; font-size: 3rem; width: 52px; height: 80px; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background .2s; }
.lightbox-arrow:hover { background: rgba(255,255,255,.25); }
.lb-prev { left: 1.5rem; }
.lb-next { right: 1.5rem; }

/* RESPONSIVE */
@media (max-width: 900px) {
  nav { padding: 1rem 1.5rem; }
  .nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0; background: rgba(245,239,230,.97); border-bottom: 1px solid rgba(196,149,106,.2); padding: .5rem 0; }
  .nav-links.open { display: flex; }
  .nav-links li { padding: .6rem 1.5rem; }
  .nav-hamburger { display: flex; }
  section { padding: 4rem 1.5rem; }
  .hero { padding: 6rem 1.5rem 3rem; }
  .hero-inner { max-width: 100%; }
  .property { padding: 3rem 1.5rem; }
  .amenities-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .booking-grid { grid-template-columns: 1fr; gap: 2rem; }
  .activities-grid { grid-template-columns: 1fr 1fr; }
  .nature-section { padding: 4rem 1.5rem; }
}
@media (max-width: 768px) {
  .gallery-header { padding: 3rem 1.5rem 2rem; }
  .gallery-arrow { width: 36px; font-size: 2.2rem; }
  .lb-prev { left: .5rem; }
  .lb-next { right: .5rem; }
}
@media (max-width: 600px) {
  .amenities-grid { grid-template-columns: 1fr; }
  .activities-grid { grid-template-columns: 1fr; }
  .hero-stats { flex-direction: column; gap: .8rem; }
}
