/* Elheart Venue Tour — mobile-first, 1 section = 1 full screen */
:root {
  --wine: #612a3a;
  --wine-deep: #44222f;
  --ink: #30252a;
  --muted: #6b585e;
  --cream: #f5eee5;
  --cream-soft: #f1e3d7;
  --ivory: #fffdf9;
  --ivory-warm: #fffaf4;
  --line: #dfd2c6;
  --gold: #896347;
  --serif: 'Newsreader', serif;
  --sans: 'Plus Jakarta Sans', system-ui, sans-serif;
  --bar-h: 60px;
  --rad: 16px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }
html, body { height: 100%; }
body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--ivory-warm);
  -webkit-font-smoothing: antialiased;
  overscroll-behavior: none;
  line-height: 1.6;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }

.eyebrow {
  font-size: 13px; font-weight: 600; letter-spacing: .14em;
  text-transform: uppercase; color: var(--gold);
}

/* ============================ LANDING ============================ */
.landing {
  position: relative; min-height: 100dvh; overflow: hidden;
  display: flex; align-items: center;
  background: var(--ivory-warm);
}
.landing-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(120% 70% at 85% -10%, rgba(97,42,58,.14), transparent 60%),
    radial-gradient(100% 60% at -10% 110%, rgba(223,210,198,.7), transparent 55%),
    var(--ivory-warm);
  z-index: 0;
}
.landing-inner {
  position: relative; z-index: 1; width: 100%;
  padding: 28px 24px calc(32px + env(safe-area-inset-bottom));
  max-width: 560px; margin: 0 auto;
}
.landing-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 40px; }
.brand-mark {
  width: 44px; height: 44px; border-radius: 12px; flex: 0 0 44px;
  background: var(--wine-deep); color: var(--ivory-warm);
  display: grid; place-items: center;
  font-family: var(--serif); font-size: 24px; line-height: 1;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text b { font-size: 18px; color: var(--wine-deep); letter-spacing: -.01em; }
.brand-text small { font-size: 12px; color: var(--muted); letter-spacing: .08em; }

.landing-hero h1 {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(34px, 9vw, 52px); line-height: 1.08;
  color: var(--wine-deep); letter-spacing: -.02em;
  margin: 12px 0 16px;
}
.landing-hero .lead { color: var(--muted); font-size: 16px; max-width: 40ch; }

.venue-list { display: grid; gap: 14px; margin-top: 32px; }
.venue-card {
  position: relative; display: block; text-align: left;
  border: 1px solid var(--line); border-radius: var(--rad);
  overflow: hidden; background: var(--ivory);
  box-shadow: 0 1px 2px rgba(68,34,47,.05);
  transition: transform .15s ease, box-shadow .15s ease;
}
.venue-card:active { transform: scale(.985); }
.venue-card .vc-img {
  aspect-ratio: 16/9; width: 100%; object-fit: cover;
  background: var(--cream);
}
.venue-card .vc-ph {
  aspect-ratio: 16/9; width: 100%;
  display: grid; place-items: center;
  color: var(--muted); font-size: 14px;
  background: linear-gradient(135deg, var(--cream), var(--cream-soft));
}
.venue-card .vc-body { padding: 16px 18px 18px; }
.venue-card .vc-name { font-family: var(--serif); font-size: 24px; color: var(--wine-deep); letter-spacing: -.01em; }
.venue-card .vc-loc { font-size: 14px; color: var(--muted); margin-top: 2px; }
.venue-card .vc-cta {
  position: absolute; top: 12px; right: 12px;
  background: rgba(255,253,249,.92); color: var(--wine);
  border-radius: 999px; padding: 7px 14px; font-size: 13px; font-weight: 600;
  box-shadow: 0 1px 4px rgba(68,34,47,.14);
}
.venue-card.coming-soon { opacity: .68; }
.venue-card.coming-soon .vc-cta { background: var(--cream); color: var(--muted); }

.landing-foot { margin-top: 32px; font-size: 14px; color: var(--muted); }
.landing-foot a { color: var(--wine); font-weight: 600; text-decoration: none; }

/* ============================ TOUR ============================ */
.tour[hidden] { display: none; }
.tour {
  position: fixed; inset: 0; background: var(--ivory-warm);
  display: flex; flex-direction: column;
}
.tour-topbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 40;
  height: calc(var(--bar-h) + env(safe-area-inset-top));
  padding: env(safe-area-inset-top) 16px 0;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  background: rgba(255,253,249,.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.back-btn {
  display: flex; align-items: center; gap: 6px;
  font-size: 14px; font-weight: 600; color: var(--wine);
  padding: 8px 10px 8px 4px;
}
.back-btn span:first-child { font-size: 18px; }
.tour-brand { font-size: 15px; font-weight: 600; color: var(--ink); letter-spacing: -.01em; }
.progress-pill {
  font-size: 13px; font-weight: 600; color: var(--muted);
  background: var(--cream); border-radius: 999px; padding: 6px 12px;
}
.progress-pill b { color: var(--wine-deep); }

.tour-scroller {
  flex: 1; height: 100%;
  overflow-y: auto;
  scroll-snap-type: y mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}
.tour-scroller.no-smooth { scroll-behavior: auto; }

.t-section {
  scroll-snap-align: start; scroll-snap-stop: always;
  min-height: 100dvh;
  display: flex; flex-direction: column; justify-content: center;
  padding: calc(var(--bar-h) + env(safe-area-inset-top) + 20px) 24px
           calc(28px + env(safe-area-inset-bottom));
  position: relative;
}
.t-section.full { padding-left: 0; padding-right: 0; justify-content: center; }

.ts-eyebrow { margin-bottom: 12px; }
.ts-title {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(30px, 8.5vw, 46px); line-height: 1.1;
  color: var(--wine-deep); letter-spacing: -.02em; margin-bottom: 12px;
}
.ts-lead { color: var(--muted); font-size: 16px; max-width: 46ch; }

/* Hero section */
.hero-section { padding: 0; justify-content: flex-end; overflow: hidden; }
.hero-section .hero-img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.hero-section .hero-shade {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(68,34,47,.15) 0%, rgba(68,34,47,.05) 40%, rgba(68,34,47,.82) 100%);
}
.hero-section .hero-copy {
  position: relative; z-index: 2; padding: 0 24px 40px;
  color: #fff;
}
.hero-section .hero-loc {
  display: flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 600; letter-spacing: .06em; margin-bottom: 10px;
}
.hero-section .hero-loc svg { width: 15px; height: 15px; fill: none; stroke: #fff; stroke-width: 1.8; }
.hero-section h1 {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(38px, 11vw, 64px); line-height: 1.02; letter-spacing: -.02em;
}
.hero-section .hero-desc { font-size: 15px; opacity: .92; margin-top: 10px; max-width: 42ch; }
.hero-section .hero-scroll-hint {
  position: absolute; z-index: 2; bottom: 18px; left: 50%; transform: translateX(-50%);
  color: #fff; opacity: .85; font-size: 20px; animation: bob 1.8s ease-in-out infinite;
}
@keyframes bob { 0%,100%{transform:translate(-50%,0)} 50%{transform:translate(-50%,7px)} }

/* Intro */
.intro-p { color: var(--muted); font-size: 16px; margin-top: 14px; max-width: 48ch; }

/* Hall cards */
.hall-card {
  border: 1px solid var(--line); border-radius: var(--rad);
  background: var(--ivory); overflow: hidden;
}
.hall-card img { width: 100%; aspect-ratio: 16/9; object-fit: cover; background: var(--cream); }
.hall-card .hc-body { padding: 16px; }
.hall-card .hc-name { font-family: var(--serif); font-size: 26px; color: var(--wine-deep); }
.hall-card .hc-area { font-size: 15px; font-weight: 600; color: var(--wine); margin-top: 4px; }
.hall-card .hc-feats { list-style: none; margin-top: 10px; }
.hall-card .hc-feats li {
  font-size: 13.5px; color: var(--muted); padding: 6px 0; border-top: 1px solid var(--line);
  display: flex; gap: 8px; line-height: 1.4;
}
.hall-card .hc-feats li::before { content: "•"; color: var(--gold); }

/* horizontal carousels */
.hcarousel, .gcarousel {
  display: flex; gap: 0; overflow-x: auto; scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch; margin-top: 20px;
  scrollbar-width: none; -ms-overflow-style: none;
}
.hcarousel::-webkit-scrollbar, .gcarousel::-webkit-scrollbar { display: none; }
.hslide { flex: 0 0 100%; scroll-snap-align: start; padding-right: 6px; }
.dots { display: flex; justify-content: center; gap: 7px; margin-top: 16px; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--line); transition: all .2s; }
.dot.on { background: var(--wine); width: 22px; border-radius: 999px; }

/* Denah */
.denah-figure {
  margin-top: 18px; position: relative; border-radius: var(--rad); overflow: hidden;
  border: 1px solid var(--line); background: var(--cream);
}
.denah-figure img { width: 100%; object-fit: contain; max-height: 46vh; cursor: zoom-in; }
.denah-figure .zoom-hint {
  position: absolute; bottom: 12px; left: 12px;
  background: rgba(68,34,47,.85); color: #fff; border-radius: 999px;
  padding: 6px 12px; font-size: 12px; font-weight: 600;
}
.denah-legend { list-style: none; margin-top: 14px; display: grid; gap: 8px; }
.denah-legend li { display: flex; gap: 12px; font-size: 13.5px; color: var(--muted); }
.denah-legend .dl-num {
  flex: 0 0 24px; height: 24px; border-radius: 7px; background: var(--wine-deep); color: var(--ivory-warm);
  display: grid; place-items: center; font-size: 12px; font-weight: 700;
}
.denah-legend b { color: var(--ink); display: block; font-weight: 600; }

/* Fasilitas */
.facil-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 22px; }
.facil-item {
  background: var(--ivory); border: 1px solid var(--line); border-radius: 14px;
  padding: 14px 12px; display: flex; flex-direction: column; gap: 10px; align-items: flex-start;
}
.facil-icon {
  width: 34px; height: 34px; border-radius: 10px; background: var(--cream);
  display: grid; place-items: center; color: var(--wine);
}
.facil-icon svg { width: 18px; height: 18px; }
.facil-item b { font-size: 12.5px; color: var(--ink); line-height: 1.3; font-weight: 600; }

/* Galeri */
.gcarousel { gap: 12px; padding: 0 24px; margin-left: -24px; margin-right: -24px; }
.gslide {
  flex: 0 0 88%; scroll-snap-align: center; position: relative;
  border-radius: var(--rad); overflow: hidden; margin: 0;
}
.gslide img { width: 100%; aspect-ratio: 4/3; object-fit: cover; background: var(--cream); }
.gslide figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 14px 10px;
  font-size: 13px; color: #fff; font-weight: 600;
  background: linear-gradient(180deg, transparent, rgba(48,37,42,.75));
}
.gcounter { text-align: center; font-size: 13px; color: var(--muted); margin-top: 14px; font-weight: 600; }
.gal-note { margin-top: 16px; font-size: 12.5px; color: var(--muted); }

/* Lokasi */
.loc-panel {
  margin-top: 22px; border: 1px solid var(--line); border-radius: var(--rad);
  background: var(--ivory); padding: 18px;
}
.loc-panel h3 { font-size: 15px; color: var(--wine-deep); margin-bottom: 4px; }
.loc-panel p { font-size: 14px; color: var(--muted); }
.btn {
  display: inline-block; text-decoration: none; text-align: center;
  border-radius: 999px; padding: 15px 24px; font-weight: 600; font-size: 15px;
  transition: opacity .15s ease;
}
.btn:active { opacity: .85; }
.btn-wine { background: var(--wine); color: #fff; }
.btn-outline { border: 1.5px solid var(--wine); color: var(--wine); }
.btn-block { display: block; width: 100%; margin-top: 20px; }

/* FAQ */
.faq-list { margin-top: 20px; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 16px 0;
  font-size: 16px; font-weight: 600; color: var(--ink);
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 22px; color: var(--wine); font-weight: 400; }
.faq-item[open] summary::after { content: "−"; }
.faq-item .faq-body { padding: 0 0 16px; font-size: 14px; color: var(--muted); }
.faq-item .faq-body > div { display: grid; gap: 2px; padding: 6px 0; }
.faq-item .faq-body b { color: var(--ink); font-weight: 600; font-size: 13.5px; }

/* CTA */
.cta-steps { list-style: none; margin-top: 20px; display: grid; gap: 12px; }
.cta-steps li { display: flex; gap: 14px; align-items: center; font-size: 15px; color: var(--ink); }
.cta-steps .cs-num { color: var(--gold); font-weight: 700; font-size: 14px; width: 24px; }

/* ============================ NAV & PROGRESS ============================ */
.tour-progress {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  height: calc(4px + env(safe-area-inset-bottom));
}
.progress-track { height: 3px; background: var(--line); }
.progress-fill { height: 100%; background: var(--wine); width: 0; transition: width .2s ease; }

.tour-nav { position: fixed; right: 16px; bottom: calc(24px + env(safe-area-inset-bottom)); z-index: 40; display: flex; flex-direction: column; gap: 10px; }
.nav-btn {
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--wine-deep); color: var(--ivory-warm);
  display: grid; place-items: center; font-size: 20px;
  box-shadow: 0 4px 14px rgba(68,34,47,.3);
  transition: opacity .15s ease;
}
.nav-btn:disabled { opacity: .25; box-shadow: none; }
.nav-btn:active { transform: scale(.92); }

/* Lightbox */
.lightbox[hidden] { display: none; }
.lightbox {
  position: fixed; inset: 0; z-index: 60; background: rgba(30,22,25,.95);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 20px;
}
.lightbox img { max-width: 100%; max-height: 80vh; border-radius: 8px; object-fit: contain; }
.lightbox-close {
  position: absolute; top: calc(16px + env(safe-area-inset-top)); right: 16px;
  width: 42px; height: 42px; border-radius: 50%; background: rgba(255,255,255,.14);
  color: #fff; font-size: 26px; line-height: 1;
}
.lightbox-caption { color: #fff; opacity: .85; font-size: 14px; margin-top: 14px; text-align: center; }

/* ============================ DESKTOP ============================ */
@media (min-width: 820px) {
  .landing-inner { max-width: 720px; }
  .venue-list { grid-template-columns: 1fr 1fr; }
  .t-section { padding-left: 12vw; padding-right: 12vw; }
  .facil-grid { grid-template-columns: repeat(3, 1fr); }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .hero-section .hero-copy { padding: 0 12vw 48px; }
  .tour-nav { right: 28px; }
  .t-section { max-width: 860px; margin: 0 auto; width: 100%; }
  .t-section.full, .t-section.hero-section { max-width: none; }
}
