﻿/* ============================================================
   KEDEM — Villa landing page
   Palette, tokens, and global resets
   ============================================================ */
:root {
  --cream:       #FAF6EE;
  --ivory:       #F2EBD9;
  --sand:        #E8D9BE;
  --gold:        #C9A455;
  --gold-light:  #E4C882;
  --gold-dark:   #9A7535;
  --wood:        #6B4423;
  --wood-light:  #A0714F;
  --wood-mid:    #8B5E3C;
  --charcoal:    #2A2218;
  --warm:        #7A6A55;
  --white:       #FFFFFF;
  --sage:        #8A9A7A;

  /* Back-compat aliases so we don't have to rewrite every usage */
  --ink:         var(--charcoal);
  --ink-soft:    var(--wood);
  --muted:       var(--warm);
  --wood-deep:   #1F1812;
  --line:        rgba(201, 164, 85, 0.3);
  --shadow:      0 20px 60px rgba(42, 34, 24, 0.18);
  --shadow-soft: 0 8px 32px rgba(42, 34, 24, 0.1);

  --f-head: 'Cormorant Garamond', 'Heebo', Georgia, serif;
  --f-body: 'Heebo', system-ui, -apple-system, sans-serif;

  --maxw: 1280px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--f-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
button { font: inherit; cursor: pointer; border: 0; background: transparent; color: inherit; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

h1, h2, h3 {
  font-family: var(--f-head);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--ink);
}

/* ============================================================
   REVEAL (IntersectionObserver)
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s ease, transform 0.9s cubic-bezier(0.22, 0.61, 0.36, 1);
  will-change: opacity, transform;
}
.reveal.is-visible { opacity: 1; transform: none; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.02em;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
  white-space: nowrap;
}
.btn-lg { padding: 16px 34px; font-size: 15px; }

.btn-gold {
  background: transparent;
  color: var(--gold-dark);
  border: 1.5px solid var(--gold);
}
.btn-gold:hover {
  background: var(--gold);
  color: var(--cream);
  border-color: var(--gold);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(201, 164, 85, 0.28);
}
/* Gold CTA on dark backgrounds (hero, booking) — stroked in gold */
.hero-cta .btn-gold,
.booking-content .btn-gold {
  background: transparent;
  color: var(--gold-light);
  border-color: var(--gold-light);
}
.hero-cta .btn-gold:hover,
.booking-content .btn-gold:hover {
  background: var(--gold-light);
  color: var(--charcoal);
  border-color: var(--gold-light);
}

.btn-ghost {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.12); border-color: #fff; }

.btn-ghost-dark {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--line);
  backdrop-filter: none;
}
.btn-ghost-dark:hover {
  background: rgba(232, 217, 190, 0.12);
  border-color: var(--gold);
  color: var(--gold-dark);
}

.btn-whatsapp {
  background: transparent;
  color: #1fbc5a;
  padding: 12px 22px;
  border-radius: 999px;
  margin-top: 24px;
  font-weight: 500;
  border: 1.5px solid #25D366;
}
.btn-whatsapp:hover {
  background: #25D366;
  color: #fff;
  border-color: #25D366;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(37, 211, 102, 0.28);
}

/* ============================================================
   NAV
   ============================================================ */
#nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 20px 32px;
  transition: padding 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}
#nav.scrolled {
  padding: 12px 32px;
  background: rgba(246, 239, 228, 0.92);
  backdrop-filter: blur(16px);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

.nav-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-logo {
  display: flex; align-items: center; gap: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: #fff;
  transition: color 0.3s;
}
#nav.scrolled .nav-logo { color: var(--ink); }

/* Brand logo image in nav */
.nav-logo-img {
  height: 46px;
  width: auto;
  display: block;
  border-radius: 6px;
  object-fit: contain;
  transition: filter 0.3s, transform 0.3s;
}
.nav-logo:hover .nav-logo-img { transform: scale(1.04); }
#nav.scrolled .nav-logo-img {
  filter: none;
}

/* "קדם · KEDEM" wordmark next to the logo — plain (no pill) */
.nav-wordmark {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0;
  background: transparent;
  color: #fff;
  border-radius: 0;
  font-family: 'Heebo', sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.22em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
  direction: ltr;
  transition: color 0.3s, opacity 0.3s;
}
.nav-wordmark .dot {
  color: var(--gold-light);
  font-weight: 700;
  letter-spacing: 0;
  transform: translateY(-1px);
}
#nav.scrolled .nav-wordmark {
  color: var(--ink);
}
#nav.scrolled .nav-wordmark .dot {
  color: var(--gold-dark);
}
.nav-logo:hover .nav-wordmark {
  opacity: 0.82;
}

.logo-mark {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: transparent;
  color: inherit;
  border: 1.5px solid currentColor;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--f-head);
  font-size: 18px;
  font-weight: 500;
}
.logo-word { font-size: 15px; }

.nav-links {
  display: flex;
  gap: 28px;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.92);
  position: relative;
  padding: 6px 0;
  transition: color 0.25s;
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1.5px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.3s ease;
}
.nav-links a:hover::after { transform: scaleX(1); }
#nav.scrolled .nav-links a { color: var(--ink-soft); }

.nav-right { display: flex; align-items: center; gap: 16px; }

/* Burger button (hidden on desktop) */
.nav-burger {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(8px);
  position: relative;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}
.nav-burger span {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 18px;
  height: 1.5px;
  background: #fff;
  transform: translate(-50%, -50%);
  transition: transform 0.3s ease, opacity 0.2s;
}
.nav-burger span:nth-child(1) { transform: translate(-50%, -6px); }
.nav-burger span:nth-child(3) { transform: translate(-50%, 6px); }
#nav.scrolled .nav-burger {
  background: transparent;
  border-color: var(--line);
}
#nav.scrolled .nav-burger span { background: var(--ink); }
#nav.drawer-open .nav-burger span:nth-child(1) { transform: translate(-50%, -50%) rotate(45deg); }
#nav.drawer-open .nav-burger span:nth-child(2) { opacity: 0; }
#nav.drawer-open .nav-burger span:nth-child(3) { transform: translate(-50%, -50%) rotate(-45deg); }

/* Mobile drawer */
.nav-drawer {
  position: fixed;
  inset: 0;
  background: rgba(15, 17, 22, 0.96);
  backdrop-filter: blur(14px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s;
  z-index: 90;
}
#nav.drawer-open .nav-drawer {
  opacity: 1;
  visibility: visible;
}
.nav-drawer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: center;
  width: min(360px, 80vw);
}
.nav-drawer-links a {
  display: block;
  padding: 14px 20px;
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 0.5px;
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: color 0.2s;
}
.nav-drawer-links a:hover { color: var(--gold); }
.nav-drawer-links .drawer-cta {
  margin-top: 12px;
  border: 1px solid var(--gold);
  border-radius: 2px;
  color: var(--gold);
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-size: 14px;
}
.nav-drawer-links .drawer-cta:hover {
  background: var(--gold);
  color: var(--ink);
}

.lang-switch {
  display: flex;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  padding: 3px;
  backdrop-filter: blur(8px);
}
#nav.scrolled .lang-switch {
  background: rgba(232, 217, 190, 0.18);
  border-color: var(--line);
}
.lang-btn {
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  transition: all 0.2s;
}
#nav.scrolled .lang-btn { color: var(--ink-soft); }
.lang-btn.active {
  background: transparent;
  color: var(--gold-light);
  box-shadow: inset 0 0 0 1.5px var(--gold-light);
}
#nav.scrolled .lang-btn.active {
  background: transparent;
  color: var(--gold-dark);
  box-shadow: inset 0 0 0 1.5px var(--gold-dark);
}

/* ============================================================
   HERO
   ============================================================ */
#hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
}

.hero-bg {
  position: absolute;
  inset: -15% 0 0;
  height: 130%;
  z-index: 1;
  overflow: hidden;
  will-change: transform;
}
.hero-bg .hero-poster,
.hero-bg .hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-bg .hero-poster {
  z-index: 1;
  animation: heroZoom 20s ease-in-out infinite alternate;
}
.hero-bg .hero-video {
  z-index: 2;
  opacity: 0;
  transition: opacity 1.2s ease;
}
.hero-bg .hero-video.ready { opacity: 1; }

@keyframes heroZoom {
  from { transform: scale(1.02); }
  to   { transform: scale(1.12); }
}

.hero-overlay {
  position: absolute; inset: 0; z-index: 2;
  background:
    radial-gradient(ellipse at center, rgba(26, 20, 16, 0.2) 0%, rgba(26, 20, 16, 0.6) 70%, rgba(26, 20, 16, 0.85) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.25) 0%, transparent 40%, rgba(0, 0, 0, 0.55) 100%);
}

.hero-particles {
  position: absolute; inset: 0; z-index: 3; pointer-events: none;
}
.hero-particles span {
  position: absolute;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: rgba(201, 167, 122, 0.5);
  box-shadow: 0 0 8px rgba(201, 167, 122, 0.7);
  animation: floatUp 14s linear infinite;
}
.hero-particles span:nth-child(1)  { left: 8%;  animation-delay: 0s;   animation-duration: 16s; }
.hero-particles span:nth-child(2)  { left: 18%; animation-delay: 3s;   animation-duration: 12s; }
.hero-particles span:nth-child(3)  { left: 28%; animation-delay: 6s;   animation-duration: 18s; }
.hero-particles span:nth-child(4)  { left: 38%; animation-delay: 1.5s; animation-duration: 14s; }
.hero-particles span:nth-child(5)  { left: 48%; animation-delay: 4.5s; animation-duration: 15s; }
.hero-particles span:nth-child(6)  { left: 58%; animation-delay: 7.5s; animation-duration: 13s; }
.hero-particles span:nth-child(7)  { left: 68%; animation-delay: 2s;   animation-duration: 17s; }
.hero-particles span:nth-child(8)  { left: 78%; animation-delay: 5s;   animation-duration: 11s; }
.hero-particles span:nth-child(9)  { left: 88%; animation-delay: 8s;   animation-duration: 16s; }
.hero-particles span:nth-child(10) { left: 95%; animation-delay: 10s;  animation-duration: 13s; }
@keyframes floatUp {
  0%   { transform: translateY(110vh) scale(0.6); opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: 1; }
  100% { transform: translateY(-10vh) scale(1.2); opacity: 0; }
}

.hero-content {
  position: relative; z-index: 4;
  padding: 0 24px;
  max-width: 900px;
}

.hero-title {
  display: flex;
  justify-content: center;
  align-items: center;
  /* Negative bottom margin pulls the subtitle up — the PNG logo
     has transparent padding baked around the artwork that we
     want to compensate for. */
  margin: 0 auto -16px;
  line-height: 0;
}
.hero-logo {
  display: block;
  width: clamp(280px, 38vw, 560px);
  height: auto;
  max-width: 100%;
  filter: drop-shadow(0 8px 28px rgba(0, 0, 0, 0.45));
  user-select: none;
  -webkit-user-drag: none;
}

/* Laptop-ish screens (typical 13"–15") — shrink a bit more so the
   hero CTAs stay above the fold and the logo doesn't feel oversized. */
@media (max-width: 1280px) {
  .hero-logo { width: clamp(260px, 34vw, 440px); }
  .hero-title { margin-bottom: -12px; }
}
@media (max-width: 1024px) {
  .hero-logo { width: clamp(240px, 44vw, 380px); }
}

.hero-sub {
  font-size: clamp(15px, 1.6vw, 20px);
  max-width: 640px;
  margin: 0 auto 22px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 300;
}

.hero-cta {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-social {
  display: flex;
  gap: 28px;
  justify-content: center;
  align-items: center;
  margin-top: 24px;
  flex-wrap: wrap;
}
.hero-social a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 6px 2px;
  transition: color 0.25s;
  border-bottom: 1px solid transparent;
}
.hero-social a:hover {
  color: #fff;
  border-bottom-color: rgba(255, 255, 255, 0.6);
}

.scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: #fff;
  animation: scrollBob 2.5s ease-in-out infinite;
}
.si-line {
  width: 1.5px;
  height: 40px;
  background: linear-gradient(to bottom, transparent, var(--gold));
}
.si-text {
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
}
@keyframes scrollBob {
  0%, 100% { transform: translate(-50%, 0); }
  50%      { transform: translate(-50%, 8px); }
}

/* ============================================================
   WOOD DIVIDER
   ============================================================ */
.wood-strip {
  height: 14px;
  background:
    linear-gradient(90deg,
      var(--wood-deep) 0%, var(--wood) 10%, var(--gold-dark) 25%,
      var(--wood) 50%, var(--gold-dark) 75%, var(--wood) 90%, var(--wood-deep) 100%);
  box-shadow:
    inset 0 2px 4px rgba(0, 0, 0, 0.3),
    inset 0 -2px 4px rgba(0, 0, 0, 0.3),
    0 4px 20px rgba(0, 0, 0, 0.15);
}

/* ============================================================
   SECTIONS
   ============================================================ */
.section {
  padding: clamp(64px, 10vw, 140px) clamp(20px, 5vw, 48px);
  max-width: var(--maxw);
  margin: 0 auto;
}

.section-dark {
  max-width: none;
  background: linear-gradient(180deg, var(--sand) 0%, var(--cream) 100%);
}
.section-dark > * {
  max-width: var(--maxw);
  margin-left: auto;
  margin-right: auto;
}

.section-head {
  text-align: center;
  margin-bottom: 64px;
}

.eyebrow {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 16px;
}
.eyebrow-light { color: var(--gold-light); }
.eyebrow::before, .eyebrow::after {
  content: '';
  display: inline-block;
  width: 24px;
  height: 1px;
  background: var(--gold);
  vertical-align: middle;
  margin: 0 12px;
}

h2 {
  font-size: clamp(30px, 5vw, 54px);
  font-weight: 400;
}

.lead {
  font-size: clamp(15px, 1.5vw, 18px);
  color: var(--muted);
  max-width: 680px;
  margin: 20px auto 0;
  line-height: 1.75;
}

/* ============================================================
   GALLERY CAROUSEL
   ============================================================ */
.carousel {
  position: relative;
  max-width: 1400px;
  margin: 0 auto;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background:
    linear-gradient(135deg, rgba(201, 164, 85, 0.15), rgba(232, 217, 190, 0.2)),
    var(--sand);
}

.car-viewport {
  overflow: hidden;
  border-radius: 20px;
}

.car-track {
  display: flex;
  direction: ltr; /* CRITICAL: keep slides flowing left-to-right even when
                     the page is RTL (Hebrew), so translateX(-100%)
                     always advances to the next slide. */
  transition: transform 0.8s cubic-bezier(0.22, 0.61, 0.36, 1);
  will-change: transform;
}

.car-slide {
  flex: 0 0 100%;
  position: relative;
  cursor: zoom-in;
}
.car-slide img {
  width: 100%;
  height: clamp(320px, 65vh, 720px);
  object-fit: cover;
  display: block;
}
.car-slide::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(0, 0, 0, 0.65) 100%);
  pointer-events: none;
}

.car-caption {
  position: absolute;
  bottom: 32px;
  left: 32px;
  right: 32px;
  z-index: 2;
  color: #fff;
  font-family: var(--f-head);
  font-size: clamp(20px, 3vw, 32px);
  letter-spacing: 0.02em;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
}

.car-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  z-index: 3;
}
.car-btn:hover {
  background: var(--gold);
  border-color: var(--gold);
  transform: translateY(-50%) scale(1.08);
}
.car-prev { left: 20px; }
.car-next { right: 20px; }
/* RTL flip: keep arrows pointing the correct way relative to direction */
html[dir="rtl"] .car-prev svg { transform: scaleX(-1); }
html[dir="rtl"] .car-next svg { transform: scaleX(-1); }

.car-dots {
  position: absolute;
  bottom: 20px;
  left: 0; right: 0;
  z-index: 3;
  display: flex;
  justify-content: center;
  gap: 8px;
}
.car-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  transition: all 0.3s;
}
.car-dot.active {
  width: 28px;
  background: var(--gold);
}

.car-progress {
  position: absolute;
  bottom: 0;
  left: 0; right: 0;
  height: 3px;
  background: rgba(255, 255, 255, 0.15);
  z-index: 3;
}
.car-progress > span {
  display: block;
  height: 100%;
  width: 0;
  background: var(--gold);
  transition: width 0.1s linear;
}

/* ============================================================
   LIGHTBOX
   ============================================================ */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.92);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  backdrop-filter: blur(8px);
}
.lightbox.open { display: flex; animation: fadeIn 0.3s ease; }
.lightbox img {
  max-width: 95%;
  max-height: 90vh;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}
.lb-close {
  position: absolute;
  top: 24px; right: 32px;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 26px;
  line-height: 1;
}
.lb-close:hover { background: rgba(255, 255, 255, 0.3); }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* ============================================================
   ABOUT
   ============================================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: start;
}

.about-media {
  position: sticky;
  top: clamp(90px, 14vh, 140px);
  aspect-ratio: 4 / 5;
}

/* Warm "plate" behind the video — gives the media side its own
   visual weight without a hard full-width split. Soft rounded
   rectangle, inset inside the section. */
.about-media--video::before {
  content: "";
  position: absolute;
  inset: -28px -34px;
  background: linear-gradient(
    135deg,
    rgba(201, 164, 85, 0.14),
    rgba(232, 217, 190, 0.55)
  );
  border-radius: 22px;
  z-index: 0;
  pointer-events: none;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.6) inset,
    0 20px 60px rgba(122, 106, 85, 0.08);
}
.about-media--video .about-main {
  z-index: 1;
}
/* Hide the plate on mobile (single-column layout) */
@media (max-width: 980px) {
  .about-media--video::before { display: none; }
}
.about-main {
  position: absolute;
  top: 0; left: 0;
  width: 78%;
  height: 78%;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
html[dir="rtl"] .about-main { left: auto; right: 0; }
.about-main .parallax-img {
  position: absolute;
  inset: -20% 0;
  width: 100%;
  height: 140%;
  object-fit: cover;
  will-change: transform;
}

/* Video variant of the About media — the video fills the whole
   aspect-ratio box so we don't need the accent inset image. */
.about-media--video .about-main {
  width: 100%;
  height: 100%;
}
.about-media--video .about-poster,
.about-media--video .about-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.about-media--video .about-poster {
  z-index: 1;
  animation: heroZoom 24s ease-in-out infinite alternate;
}
.about-media--video .about-video {
  z-index: 2;
  opacity: 0;
  transition: opacity 1.2s ease;
  background: var(--charcoal);
}
.about-media--video .about-video.ready { opacity: 1; }

.about-accent {
  position: absolute;
  bottom: 0; right: 0;
  width: 55%;
  height: 55%;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 6px solid var(--cream);
}
html[dir="rtl"] .about-accent { right: auto; left: 0; }
.about-accent img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.stat-box {
  position: absolute;
  top: 10%; right: -8%;
  background: #fff;
  border-radius: 14px;
  padding: 20px 28px;
  box-shadow: var(--shadow);
  text-align: center;
  border: 1px solid var(--line);
}
html[dir="rtl"] .stat-box { right: auto; left: -8%; }
.stat-num {
  font-family: var(--f-head);
  font-size: 44px;
  font-weight: 500;
  color: var(--ink);
  line-height: 1;
}
.stat-num span {
  font-size: 18px;
  color: var(--gold-dark);
  margin-left: 4px;
}
.stat-label {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 8px;
}

.about-body h2 { margin-bottom: 28px; }
.about-body p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.9;
  margin-bottom: 22px;
}
.about-body p.about-lead {
  color: var(--ink-soft);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.7;
  margin-bottom: 28px;
  padding-inline-start: 20px;
  border-inline-start: 2px solid var(--gold);
}
.about-body p.about-welcome {
  font-family: var(--f-head);
  font-style: italic;
  font-size: 22px;
  color: var(--ink);
  margin-top: 32px;
  margin-bottom: 8px;
  line-height: 1.4;
}
.about-signers {
  margin-bottom: 36px;
  padding-block: 14px 0;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.about-signers span {
  font-weight: 600;
  color: var(--ink);
  font-size: 15px;
  letter-spacing: 0.02em;
}
.about-signers em {
  font-style: normal;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

.feature-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 32px;
}
.feature-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.f-icon {
  color: var(--gold);
  font-size: 16px;
  line-height: 1.4;
}
.feature-list strong {
  display: block;
  color: var(--ink);
  font-weight: 600;
  font-size: 15px;
}
.feature-list em {
  font-style: normal;
  font-size: 13px;
  color: var(--muted);
}

/* ============================================================
   AMENITIES
   ============================================================ */
.amen-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.amen-card {
  background: #fff;
  border-radius: 16px;
  padding: 32px 24px;
  border: 1px solid var(--line);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s;
  text-align: center;
}
.amen-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: var(--gold);
}
.amen-icon {
  font-size: 34px;
  width: 64px; height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(201, 164, 85, 0.12), rgba(232, 217, 190, 0.12));
  border: 1px solid rgba(201, 164, 85, 0.22);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
  transition: transform 0.3s, background 0.3s;
}
.amen-card:hover .amen-icon {
  transform: scale(1.08) rotate(-4deg);
  background: linear-gradient(135deg, rgba(201, 164, 85, 0.3), rgba(232, 217, 190, 0.18));
}
.amen-card h3 {
  font-size: 20px;
  font-weight: 600;
  font-family: var(--f-body);
  margin-bottom: 10px;
  color: var(--ink);
}
.amen-card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
}

/* ============================================================
   LOCATION
   ============================================================ */
.loc-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

.loc-body h2 { margin-bottom: 20px; }
.loc-body p {
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 32px;
}

.poi-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}
.poi-list li {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 16px;
  background: #fff;
  border-radius: 10px;
  border: 1px solid var(--line);
  font-size: 15px;
  transition: transform 0.2s, border-color 0.2s;
}
.poi-list li:hover { transform: translateX(4px); border-color: var(--gold); }
html[dir="rtl"] .poi-list li:hover { transform: translateX(-4px); }
.poi-time {
  min-width: 56px;
  font-weight: 700;
  color: var(--gold-dark);
  font-size: 13px;
  letter-spacing: 0.05em;
}

.loc-map {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.loc-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: sepia(0.2) saturate(0.9);
}
.map-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  padding: 14px 22px;
  border-radius: 12px;
  box-shadow: var(--shadow-soft);
}
.mb-title {
  font-family: var(--f-head);
  font-size: 22px;
  color: var(--ink);
  letter-spacing: 0.12em;
}
.mb-sub {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ============================================================
   REVIEWS
   ============================================================ */
.rating-summary {
  margin-top: 20px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--muted);
}
.rating-summary .stars { color: #f4b740; letter-spacing: 2px; font-size: 16px; }
.rating-num { color: var(--ink); font-weight: 700; font-size: 18px; }

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.review-card {
  background: #fff;
  border-radius: 16px;
  padding: 32px 28px;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--line);
  position: relative;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.review-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}
.review-card::before {
  content: '"';
  position: absolute;
  top: 8px; right: 24px;
  font-size: 80px;
  line-height: 1;
  color: rgba(232, 217, 190, 0.2);
  font-family: Georgia, serif;
  pointer-events: none;
}
html[dir="rtl"] .review-card::before { right: auto; left: 24px; }

.review-card .stars {
  color: #f4b740;
  letter-spacing: 3px;
  font-size: 15px;
  margin-bottom: 16px;
}

.review-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}
.review-head .stars { margin-bottom: 0; }

.review-source {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink-soft);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  flex-shrink: 0;
  direction: ltr;
}
.review-source:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}
.review-source .rs-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 11px;
  line-height: 1;
}

.review-source--booking {
  background: #003b95;
  color: #fff;
  border-color: #003b95;
}
.review-source--booking:hover {
  background: #002a6b;
  border-color: #002a6b;
}
.review-source--booking .rs-mark {
  background: #fff;
  color: #003b95;
  width: 18px;
  height: 18px;
  border-radius: 4px;
  font-family: Georgia, serif;
}

.review-source--google {
  background: #fff;
  color: #3c4043;
  border-color: #dadce0;
}
.review-source--google:hover {
  border-color: #bdc1c6;
}
.review-source--google .rs-mark svg,
.review-source--google svg.rs-mark { display: block; }

.review-card .quote {
  font-style: italic;
  line-height: 1.75;
  color: var(--ink-soft);
  margin-bottom: 24px;
  font-size: 15px;
  min-height: 100px;
}

.reviewer {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid var(--line);
  padding-top: 20px;
}
.avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.05em;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  flex-shrink: 0;
}
.reviewer .name {
  font-weight: 600;
  color: var(--ink);
  font-size: 15px;
}
.reviewer .meta {
  font-size: 13px;
  color: var(--muted);
}

/* ============================================================
   BOOKING
   ============================================================ */
.booking-section {
  position: relative;
  max-width: none;
  margin: 0;
  padding: clamp(120px, 18vw, 240px) clamp(20px, 5vw, 48px);
  overflow: hidden;
  text-align: center;
  color: #fff;
}
.booking-bg {
  position: absolute;
  inset: -20% 0;
  height: 140%;
  z-index: 0;
  overflow: hidden;
  will-change: transform;
}
.booking-bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.booking-overlay {
  position: absolute; inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(26, 20, 16, 0.55) 0%, rgba(26, 20, 16, 0.75) 100%);
}
.booking-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  margin: 0 auto;
}
.booking-content h2 {
  color: #fff;
  margin-bottom: 20px;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.3);
}
.booking-content p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 17px;
  margin-bottom: 36px;
  line-height: 1.7;
}

/* ============================================================
   CONTACT
   ============================================================ */
.section-contact {
  background: linear-gradient(180deg, var(--cream) 0%, var(--sand) 100%);
  max-width: none;
  padding-bottom: clamp(80px, 12vw, 160px);
}
.section-contact > .section-head,
.section-contact > .contact-grid {
  max-width: var(--maxw);
  margin-left: auto;
  margin-right: auto;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
  padding: 0 clamp(20px, 5vw, 48px);
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.ci-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: #fff;
  padding: 20px 24px;
  border-radius: 14px;
  border: 1px solid var(--line);
  transition: transform 0.25s, box-shadow 0.25s;
}
.ci-item:hover { transform: translateY(-3px); box-shadow: var(--shadow-soft); }
.ci-icon {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(201, 164, 85, 0.14), rgba(232, 217, 190, 0.12));
  border: 1px solid rgba(201, 164, 85, 0.3);
  color: var(--gold);
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.25s, background 0.25s;
}
.ci-item:hover .ci-icon {
  background: var(--gold);
  color: #fff;
  transform: scale(1.05);
}
.ci-label {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}
.ci-value {
  font-weight: 600;
  color: var(--ink);
  font-size: 16px;
  transition: color 0.2s;
}
a.ci-value:hover { color: var(--gold); }

.contact-form {
  background: #fff;
  padding: 36px;
  border-radius: 16px;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.field { display: flex; flex-direction: column; gap: 6px; }
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.field label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
}
.field input,
.field textarea {
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-family: var(--f-body);
  font-size: 15px;
  color: var(--ink);
  background: var(--cream);
  transition: border-color 0.2s, background 0.2s;
}
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: #fff;
}
.contact-form .btn { margin-top: 8px; }
.form-thanks {
  color: var(--gold-dark);
  font-weight: 600;
  text-align: center;
  background: rgba(201, 167, 122, 0.1);
  padding: 12px;
  border-radius: 10px;
}

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  background:
    radial-gradient(ellipse at 20% 0%, rgba(201, 164, 85, 0.22), transparent 55%),
    linear-gradient(180deg, #2a1e18 0%, #1f1712 100%);
  color: rgba(255, 255, 255, 0.82);
  padding: 56px 24px 28px;
  border-top: 1px solid rgba(232, 217, 190, 0.2);
}
.foot-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr auto 1fr;
  gap: 24px;
  align-items: center;
}
.foot-brand { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.foot-logo-img {
  height: 60px;
  width: auto;
  border-radius: 8px;
  object-fit: contain;
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.35);
}
.foot-brand p {
  width: 100%;
  font-size: 13px;
  color: rgba(246, 239, 228, 0.65);
  letter-spacing: 0.1em;
  margin-top: 6px;
}
.foot-links a:hover { color: var(--gold-light); }
.foot-links {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
}
.foot-links a {
  font-size: 14px;
  transition: color 0.2s;
}
.foot-links a:hover { color: var(--gold); }
.foot-copy {
  text-align: end;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.45);
  letter-spacing: 0.1em;
}

/* ============================================================
   LOCATION — action bar
   ============================================================ */
.loc-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* ============================================================
   REVIEWS — Google link
   ============================================================ */
.rating-link {
  display: inline-block;
  margin-inline-start: 4px;
  color: var(--gold-dark);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.03em;
  transition: color 0.2s;
}
.rating-link:hover { color: var(--gold); }

/* ============================================================
   CONTACT SOCIALS
   ============================================================ */
.contact-socials {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 8px;
}
.social-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 16px 10px;
  border-radius: 10px;
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
  background: #fff;
  border: 1px solid var(--line);
  transition: border-color 0.25s, color 0.25s, background 0.25s;
}
.social-link:hover {
  border-color: var(--ink);
  color: var(--ink);
  background: var(--cream);
}
.social-link svg { flex-shrink: 0; opacity: 0.75; }
.social-link:hover svg { opacity: 1; }

/* ============================================================
   FOOTER SOCIALS
   ============================================================ */
.foot-socials {
  display: flex;
  gap: 10px;
  justify-content: center;
}
.foot-socials a {
  width: 40px; height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.8);
  transition: all 0.25s;
}
.foot-socials a:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 980px) {
  .nav-links { display: none; }
  .nav-burger { display: inline-flex; align-items: center; justify-content: center; }
  .nav-book { display: none; }
  .about-grid,
  .loc-grid,
  .contact-grid { grid-template-columns: 1fr; }
  .amen-grid { grid-template-columns: repeat(2, 1fr); }
  .reviews-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-list { grid-template-columns: 1fr; }
  .about-media { position: static; aspect-ratio: 1 / 1; max-width: 520px; margin: 0 auto; }
  .stat-box { right: 0; top: 4%; }
  html[dir="rtl"] .stat-box { right: auto; left: 0; }
  .foot-inner { grid-template-columns: 1fr; text-align: center; gap: 20px; }
  .foot-brand, .foot-links, .foot-socials { justify-content: center; }
  .foot-copy { text-align: center; }
}

@media (max-width: 640px) {
  /* Section spacing + type scaling */
  section { padding: 72px 20px; }
  .section-head h2 { font-size: clamp(28px, 7vw, 40px); }
  .about-lead { font-size: 17px; }

  /* NAV */
  #nav { padding: 12px 16px; }
  #nav.scrolled { padding: 10px 16px; }
  .nav-inner { gap: 8px; }
  .nav-logo { gap: 8px; }
  .nav-logo-img { height: 38px; }
  .nav-wordmark { font-size: 11px; padding: 5px 10px; letter-spacing: 0.18em; gap: 6px; }
  .logo-word { font-size: 13px; letter-spacing: 2px; }
  .logo-mark { width: 30px; height: 30px; font-size: 14px; }
  .lang-switch { padding: 2px; }
  .lang-btn { padding: 4px 9px; font-size: 11px; }
  .nav-right { gap: 8px; }

  /* HERO */
  #hero { min-height: 92vh; }
  .hero-title { margin-bottom: -12px; }
  .hero-logo { width: clamp(260px, 72vw, 380px); }
  .hero-sub { font-size: 15px; padding: 0 8px; }
  .hero-cta { flex-direction: column; width: 100%; max-width: 300px; margin-inline: auto; }
  .hero-cta .btn { width: 100%; }
  .hero-social {
    gap: 14px;
    flex-wrap: wrap;
    justify-content: center;
    padding: 0 8px;
  }
  .hero-social a {
    font-size: 11px;
    letter-spacing: 1.5px;
  }
  .hero-scroll { bottom: 20px; }

  /* CAROUSEL */
  .car-slide img { height: clamp(280px, 60vh, 520px); }
  .car-btn {
    width: 38px;
    height: 38px;
    background: rgba(0, 0, 0, 0.4);
  }
  .car-prev { left: 10px; }
  .car-next { right: 10px; }
  .car-caption {
    bottom: 16px;
    left: 16px;
    right: 16px;
    font-size: 16px;
    line-height: 1.4;
  }
  .car-dots { bottom: 14px; gap: 6px; }
  .car-dot { width: 7px; height: 7px; }

  /* ABOUT */
  .about-welcome { font-size: 18px; }
  .about-signers { padding: 16px 0 0; }

  /* AMENITIES / REVIEWS / FORM */
  .amen-grid { grid-template-columns: 1fr; gap: 16px; }
  .amen-card { padding: 28px 22px; }
  .reviews-grid { grid-template-columns: 1fr; gap: 18px; }
  .review-card { padding: 26px 22px; }
  .field-row { grid-template-columns: 1fr; }
  .contact-form { padding: 24px 20px; }
  .contact-info { padding: 28px 22px; }

  /* BOOKING */
  .booking-content h2 { font-size: clamp(32px, 9vw, 48px); }
  .booking-content p { font-size: 16px; }

  /* SOCIAL CARDS */
  .contact-socials { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .contact-socials a { padding: 16px 10px; font-size: 13px; }

  /* FOOTER */
  footer { padding: 40px 20px 24px; }

  /* Disable parallax on mobile for perf */
  .hero-bg,
  .booking-bg,
  .parallax-img,
  .about-main { transform: none !important; }
  .hero-bg { inset: 0; height: 100%; }
  .booking-bg { inset: 0; height: 100%; }
  .about-main { inset: 0; width: 100%; height: 100%; }
}

/* Extra-small phones */
@media (max-width: 380px) {
  .hero-social { gap: 10px; }
  .hero-social a { font-size: 10px; letter-spacing: 1px; }
  .contact-socials { grid-template-columns: 1fr 1fr; }
  .lang-btn { padding: 4px 7px; font-size: 10px; }
  .nav-wordmark { display: none; }
}

/* Respect user motion preferences */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .hero-bg img { animation: none; }
}
