/* Royal Siddhartha Garden — design concept by Sovian Creatives */
:root {
  --maroon: #5c1620;
  --maroon-deep: #3d0e15;
  --gold: #c9a24a;
  --gold-soft: #e9d9ae;
  --cream: #f8f1e6;
  --ink: #211915;
  --ink-60: rgba(33, 25, 21, 0.62);
  --ink-40: rgba(33, 25, 21, 0.42);
  --serif: "Fraunces", Georgia, serif;
  --sans: "Inter", -apple-system, "Segoe UI", sans-serif;
  --pad: clamp(20px, 5vw, 72px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; }
a { color: inherit; }
button { font-family: inherit; }

::selection { background: var(--gold); color: var(--maroon-deep); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 13px 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.btn-maroon { background: var(--maroon); color: #fdf8ef; }
.btn-maroon:hover { background: var(--maroon-deep); box-shadow: 0 10px 24px rgba(61, 14, 21, 0.28); }
.btn-gold { background: var(--gold); color: #2a1503; }
.btn-gold:hover { background: #d7b566; box-shadow: 0 10px 24px rgba(201, 162, 74, 0.35); }
.btn-ghost { background: rgba(253, 248, 239, 0.12); color: #fdf8ef; border-color: rgba(253, 248, 239, 0.5); backdrop-filter: blur(4px); }
.btn-ghost:hover { background: rgba(253, 248, 239, 0.22); }
.btn-outline { background: transparent; color: var(--maroon); border-color: var(--maroon); }
.btn-outline:hover { background: rgba(92, 22, 32, 0.07); }
.btn-block { width: 100%; margin-top: 22px; padding: 15px 24px; font-size: 15px; }

/* ---------- Sovian dialog ---------- */
.sv-dialog {
  border: 1px solid rgba(201, 162, 74, 0.55);
  border-radius: 26px;
  padding: 0;
  max-width: min(92vw, 430px);
  background: var(--cream);
  color: var(--ink);
  box-shadow: 0 30px 90px rgba(20, 8, 10, 0.5);
}
.sv-dialog::backdrop { background: rgba(26, 10, 12, 0.6); backdrop-filter: blur(8px); }
.sv-dialog-body { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 18px; padding: 52px 32px 36px; }
.sv-mark { width: 72px; height: 72px; border-radius: 18px; }
.sv-kinetic { margin: 0; font-size: 22px; font-weight: 700; line-height: 1.3; color: var(--maroon-deep); display: flex; flex-wrap: wrap; justify-content: center; gap: 0 0.3em; }
.sv-kinetic .sv-word { display: inline-block; }
.sv-sub { margin: 0; font-size: 14px; line-height: 1.6; color: var(--ink-60); }
.sv-dialog-x {
  position: absolute; top: 14px; right: 14px;
  width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid rgba(33, 25, 21, 0.18); background: #fff; color: var(--ink);
  display: grid; place-items: center; cursor: pointer;
}
.sv-dialog-x:hover { background: var(--cream); }

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px var(--pad);
  transition: background 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
}
.nav.is-solid {
  background: rgba(248, 241, 230, 0.92);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 rgba(92, 22, 32, 0.12);
  padding-top: 12px; padding-bottom: 12px;
}
.nav-wordmark {
  font-family: var(--serif);
  font-size: 19px;
  color: #fdf8ef;
  text-decoration: none;
  transition: color 0.3s ease;
}
.nav-wordmark em { font-style: italic; color: var(--gold-soft); transition: color 0.3s ease; }
.nav.is-solid .nav-wordmark { color: var(--maroon-deep); }
.nav.is-solid .nav-wordmark em { color: var(--gold); }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  font-size: 13px; font-weight: 500;
  color: rgba(253, 248, 239, 0.85);
  text-decoration: none;
  padding: 8px 13px; border-radius: 999px;
  transition: color 0.3s ease, background 0.2s ease;
}
.nav-links a:hover { background: rgba(253, 248, 239, 0.14); }
.nav.is-solid .nav-links a { color: var(--ink-60); }
.nav.is-solid .nav-links a:hover { background: rgba(92, 22, 32, 0.08); color: var(--maroon-deep); }
.nav-links .nav-cta { background: var(--maroon); color: #fdf8ef !important; margin-left: 6px; padding: 9px 17px; }
.nav-links .nav-cta:hover { background: var(--maroon-deep); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--maroon-deep);
}
.hero-media { position: absolute; inset: 0; }
.hero-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transform-origin: center;
  will-change: transform;
}
.hero-dust { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero-shade {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(16, 5, 8, 0.92) 0%, rgba(16, 5, 8, 0.42) 48%, rgba(16, 5, 8, 0.3) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 var(--pad) clamp(56px, 10vh, 110px);
  max-width: 900px;
}
.hero-eyebrow {
  margin: 0 0 14px;
  font-size: 12.5px; font-weight: 600;
  letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--gold);
}
.hero-title {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(44px, 8.5vw, 96px);
  line-height: 1.02;
  letter-spacing: -0.01em;
  color: #fdf8ef;
  text-wrap: balance;
}
.hero-title .hword { display: inline-block; overflow: hidden; vertical-align: bottom; }
.hero-title .hchar { display: inline-block; will-change: transform; }
.hero-tag {
  margin: 20px 0 0;
  max-width: 32em;
  font-size: clamp(15px, 1.6vw, 17px);
  line-height: 1.6;
  color: rgba(253, 248, 239, 0.88);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-rating {
  position: absolute;
  top: 92px; right: var(--pad);
  z-index: 2;
  display: flex; align-items: center; gap: 12px;
  background: rgba(16, 5, 8, 0.5);
  border: 1px solid rgba(233, 217, 174, 0.35);
  backdrop-filter: blur(8px);
  border-radius: 18px;
  padding: 12px 18px;
}
.hero-rating-num { font-family: var(--serif); font-size: 34px; color: var(--gold-soft); line-height: 1; }
.hero-rating-text { font-size: 11px; line-height: 1.4; letter-spacing: 0.05em; color: rgba(253, 248, 239, 0.85); }
.hero-scroll {
  position: absolute; bottom: 26px; right: var(--pad); z-index: 2;
  width: 24px; height: 40px;
  border: 1.5px solid rgba(253, 248, 239, 0.4);
  border-radius: 14px;
  display: flex; justify-content: center;
}
.hero-scroll span {
  width: 3px; height: 8px; border-radius: 3px;
  background: var(--gold);
  margin-top: 7px;
  animation: scrollDot 1.8s ease-in-out infinite;
}
@keyframes scrollDot {
  0%, 100% { transform: translateY(0); opacity: 1; }
  55% { transform: translateY(12px); opacity: 0.2; }
}

/* ---------- Marquee ---------- */
.marquee {
  background: var(--maroon-deep);
  border-top: 1px solid rgba(201, 162, 74, 0.25);
  border-bottom: 1px solid rgba(201, 162, 74, 0.25);
  overflow: hidden;
  padding: 18px 0;
}
.marquee-track {
  display: flex;
  align-items: center;
  gap: 34px;
  width: max-content;
  animation: marquee 26s linear infinite;
}
.marquee-track span {
  font-family: var(--serif);
  font-style: italic;
  font-size: 21px;
  color: rgba(233, 217, 174, 0.9);
  white-space: nowrap;
}
.marquee-track i { color: var(--gold); font-style: normal; font-size: 13px; }
@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* ---------- Sections ---------- */
.section { padding: clamp(72px, 11vw, 130px) var(--pad) 0; max-width: 1240px; margin: 0 auto; }
.section-wide { max-width: 1400px; }
.eyebrow {
  margin: 0 0 12px;
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.26em; text-transform: uppercase;
  color: var(--gold);
}
.section-title {
  margin: 0 0 clamp(30px, 4vw, 48px);
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(30px, 4.6vw, 52px);
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--maroon-deep);
  max-width: 16em;
  text-wrap: balance;
}

/* ---------- Occasions ---------- */
.occasions { border-top: 1px solid rgba(92, 22, 32, 0.18); }
.occasion {
  display: flex;
  gap: clamp(18px, 3vw, 40px);
  align-items: baseline;
  padding: clamp(20px, 2.8vw, 32px) 8px;
  border-bottom: 1px solid rgba(92, 22, 32, 0.18);
  transition: background 0.25s ease, padding-left 0.25s ease;
}
.occasion:hover { background: rgba(201, 162, 74, 0.07); padding-left: 20px; }
.occasion-index { font-family: var(--serif); font-style: italic; font-size: 16px; color: var(--gold); min-width: 34px; }
.occasion h3 {
  margin: 0 0 6px;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(24px, 3.2vw, 34px);
  color: var(--ink);
}
.occasion p { margin: 0; font-size: 14.5px; line-height: 1.55; color: var(--ink-60); }

/* ---------- Gallery ---------- */
.feature-photo {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: none;
  border-radius: 26px;
  overflow: hidden;
  cursor: zoom-in;
  background: var(--maroon-deep);
}
.feature-photo img { width: 100%; height: clamp(300px, 52vw, 620px); object-fit: cover; transition: transform 0.5s ease; }
.feature-photo:hover img { transform: scale(1.03); }
.feature-caption {
  position: absolute; left: 22px; bottom: 20px;
  font-family: var(--serif); font-style: italic;
  font-size: 19px; color: #fdf8ef;
  background: rgba(16, 5, 8, 0.55);
  backdrop-filter: blur(6px);
  padding: 8px 16px; border-radius: 999px;
}
.strip {
  display: flex;
  gap: 16px;
  margin-top: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 12px;
  scrollbar-width: thin;
  scrollbar-color: var(--gold) transparent;
}
.strip-item {
  position: relative;
  flex: 0 0 clamp(240px, 32vw, 380px);
  padding: 0;
  border: none;
  border-radius: 20px;
  overflow: hidden;
  cursor: zoom-in;
  scroll-snap-align: start;
  background: var(--maroon-deep);
}
.strip-item img { width: 100%; height: clamp(220px, 26vw, 320px); object-fit: cover; transition: transform 0.5s ease; }
.strip-item:hover img { transform: scale(1.05); }
.strip-item span {
  position: absolute; left: 14px; bottom: 12px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  color: #fdf8ef;
  background: rgba(16, 5, 8, 0.55);
  backdrop-filter: blur(6px);
  padding: 6px 12px; border-radius: 999px;
}
.photo-credit { margin: 16px 0 0; font-size: 12px; color: var(--ink-40); }

/* ---------- Enquiry ---------- */
.enquiry-panel {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: clamp(28px, 4vw, 56px);
  background: #fff;
  border: 1px solid rgba(201, 162, 74, 0.45);
  border-radius: 30px;
  padding: clamp(26px, 4vw, 52px);
  box-shadow: 0 24px 60px rgba(61, 14, 21, 0.08);
}
.enquiry-copy { margin: 0; font-size: 15px; line-height: 1.65; color: var(--ink-60); }
.field-label {
  display: block;
  margin: 0 0 8px;
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--ink-60);
}
.field { margin-top: 20px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.chips { display: flex; flex-wrap: wrap; gap: 9px; }
.chip {
  font-size: 13.5px; font-weight: 600;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid rgba(92, 22, 32, 0.35);
  background: var(--cream);
  color: var(--maroon-deep);
  cursor: pointer;
  transition: background 0.16s ease, color 0.16s ease, border-color 0.16s ease;
}
.chip:hover { border-color: var(--maroon); }
.chip.is-active { background: var(--maroon); border-color: var(--maroon); color: #fdf8ef; }
.chip:focus-visible { outline: 2px solid var(--maroon); outline-offset: 2px; }
.input {
  width: 100%;
  font-family: var(--sans);
  font-size: 15px;
  color: var(--ink);
  background: var(--cream);
  border: 1px solid rgba(33, 25, 21, 0.2);
  border-radius: 14px;
  padding: 13px 15px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.input:focus-visible { outline: none; border-color: var(--maroon); box-shadow: 0 0 0 3px rgba(92, 22, 32, 0.15); }
.input-num { max-width: 200px; }
.field-hint { margin: 9px 0 0; font-size: 12px; color: var(--ink-40); }
.demo-note { margin: 14px 0 0; font-size: 12px; color: var(--ink-40); text-align: center; }

.enquiry-success { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.success-kicker { margin: 0; font-size: 12px; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); }
.success-title { margin: 0; font-family: var(--serif); font-size: clamp(30px, 4vw, 42px); color: var(--maroon-deep); }
.success-line { margin: 0; font-size: 15px; color: var(--ink-60); }
.success-note {
  margin: 10px 0 14px;
  font-size: 14px; line-height: 1.6;
  color: var(--ink-60);
  background: rgba(201, 162, 74, 0.14);
  border-left: 3px solid var(--gold);
  border-radius: 0 14px 14px 0;
  padding: 14px 18px;
}

/* ---------- Visit ---------- */
.visit-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(24px, 4vw, 48px); align-items: start; }
.facts { margin: 0; }
.fact { display: grid; grid-template-columns: 120px 1fr; gap: 16px; padding: 15px 0; border-bottom: 1px solid rgba(92, 22, 32, 0.14); }
.fact:first-child { border-top: 1px solid rgba(92, 22, 32, 0.14); }
.fact dt { font-size: 11.5px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-40); padding-top: 3px; }
.fact dd { margin: 0; font-size: 15px; line-height: 1.55; overflow-wrap: anywhere; }
.visit-links { display: flex; flex-direction: column; gap: 12px; }

/* ---------- Footer ---------- */
.footer {
  margin-top: clamp(72px, 10vw, 120px);
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--maroon-deep);
  padding: clamp(30px, 4vw, 44px) var(--pad);
}
.footer p { margin: 0; font-size: 12.5px; line-height: 1.65; color: rgba(253, 248, 239, 0.75); max-width: 72em; }
.footer-mark { border-radius: 8px; flex-shrink: 0; margin-top: 2px; }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(16, 5, 8, 0.94);
  display: flex; align-items: center; justify-content: center;
  padding: 5vh 5vw;
}
.lightbox[hidden] { display: none; }
.lightbox-stage { margin: 0; max-width: 100%; max-height: 100%; text-align: center; }
.lightbox-stage img {
  max-width: min(1100px, 88vw);
  max-height: 78vh;
  width: auto; height: auto;
  margin: 0 auto;
  border-radius: 18px;
  object-fit: contain;
}
.lightbox-stage figcaption { margin-top: 16px; font-family: var(--serif); font-style: italic; font-size: 17px; color: rgba(253, 248, 239, 0.85); }
.lightbox-close, .lightbox-prev, .lightbox-next {
  position: absolute;
  width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid rgba(253, 248, 239, 0.3);
  background: rgba(253, 248, 239, 0.1);
  color: #fdf8ef;
  display: grid; place-items: center;
  cursor: pointer;
  transition: background 0.2s ease;
}
.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover { background: rgba(253, 248, 239, 0.22); }
.lightbox-close { top: 22px; right: 22px; }
.lightbox-prev { left: 18px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 18px; top: 50%; transform: translateY(-50%); }
.lightbox-count { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); font-size: 12px; letter-spacing: 0.15em; color: rgba(253, 248, 239, 0.6); }

/* ---------- Responsive ---------- */
@media (max-width: 760px) {
  .nav-links a:not(.nav-cta) { display: none; }
  .hero-rating { top: 84px; right: 16px; padding: 9px 14px; }
  .hero-rating-num { font-size: 26px; }
  .hero-scroll { display: none; }
  .enquiry-panel { grid-template-columns: 1fr; gap: 10px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .visit-grid { grid-template-columns: 1fr; }
  .fact { grid-template-columns: 96px 1fr; }
  .marquee-track span { font-size: 17px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee-track { animation: none; flex-wrap: wrap; justify-content: center; width: 100%; }
  .hero-scroll span { animation: none; }
  .feature-photo img, .strip-item img, .btn { transition: none; }
  .feature-photo:hover img, .strip-item:hover img { transform: none; }
}
