/* ========== STYLE UTAMA (Mobile-first) ========== */
/* Catatan: komentar dalam Bahasa Indonesia agar mudah dipahami. */
html{
  scroll-behavior: smooth;
}

:root{
  --bg: #0d1117;
  --surface: #121826;
  --text: #e5e7eb;
  --muted: #aab0bb;
  --primary: #eab308; /* gold */
  --accent: #22c55e;  /* hijau sebagai aksen kecil */
  --container: 1100px;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(0,0,0,.35);
}

/* Skip link (aksesibilitas) */
.skip-link {
  position: absolute;
  top: -1000px;
  left: 0;
  background: #0b0f14;
  color: #fff;
  padding: .75rem 1rem;
  border-radius: .5rem;
  z-index: 1000;
}
.skip-link:focus {
  top: .5rem;
  left: .5rem;
  outline: 2px solid #ffd76b;
}

/* Visually hidden (untuk microdata tanpa mengubah tampilan) */
.visually-hidden{
  position: absolute !important;
  clip: rect(1px, 1px, 1px, 1px);
  padding: 0;
  border: 0;
  height: 1px;
  width: 1px;
  overflow: hidden;
  white-space: nowrap;
}


*{box-sizing:border-box}
html,body{margin:0;padding:0;background:var(--bg);color:var(--text);font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;line-height:1.6}
img{max-width:100%;display:block;border-radius:12px}
a{color:inherit;text-decoration:none}
.container{width:min(92%, var(--container));margin-inline:auto}
.center{text-align:center}
.mt-24{margin-top:24px}
.muted{color:var(--muted)}

/* ========== NAVBAR ========== */
.navbar{position:sticky;top:0;z-index:50;background:rgba(13,17,23,.7);backdrop-filter:blur(6px);border-bottom:1px solid rgba(255,255,255,.06)}
.nav-inner{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 0}
.brand{font-family:'Playfair Display', serif;font-weight:700;font-size:20px;letter-spacing:.3px}
.nav{display:none;gap:18px}
.nav a {
  position: relative;
  font-family: 'Dancing Script', cursive;
  font-weight: 600;
  font-size: 18px;
  letter-spacing: 0.4px;
  color: #e5e7eb;
  transition: all 0.3s ease;
  padding: 6px 0;
}
.right-actions{display:flex;align-items:center;gap:10px}
.btn{border:1px solid rgba(255,255,255,.2);padding:10px 14px;border-radius:999px;cursor:pointer;background:transparent;color:var(--text);box-shadow:var(--shadow)}
.btn.small{padding:6px 10px;font-size:12px}
.btn.primary{background:var(--primary);border-color:var(--primary);color:#222;font-weight:700}
.btn.ghost{background:transparent}
.hamburger{display:inline-flex;background:transparent;border:0;color:var(--text);font-size:24px}

/* ====== UPGRADE NAVBAR PREMIUM ====== */
.navbar{
  position: sticky; top: 0; z-index: 1000;
  background: rgba(13,17,23,.70);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255,255,255,.06);
  transition: background .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.navbar.scrolled{
  background: rgba(11,15,22,.92);
  box-shadow: 0 12px 32px rgba(0,0,0,.35), inset 0 -1px 0 rgba(255,255,255,.05);
  border-color: rgba(255,255,255,.08);
}

/* Brand: logo + teks agar jelas */
.brand{
  position: relative;
  display: flex; align-items: center; gap: 10px;
  font-family: 'Playfair Display', serif; font-weight: 700;
}
.logo{
  height: 44px; width: auto; display: block;
  /* Tambah kontras & ketajaman logo */
  filter: contrast(1.12) saturate(1.1)
          drop-shadow(0 1px 0 rgba(0,0,0,.60))
          drop-shadow(0 8px 16px rgba(0,0,0,.30));
}
/* Piringan gelap halus di belakang logo agar teks/logo lebih kebaca */
.brand::before{
  content:""; position:absolute; z-index:-1;
  left: -8px; top: -8px; width: calc(100% + 16px); height: calc(100% + 16px);
  border-radius: 14px;
  background: radial-gradient(60% 60% at 40% 50%, rgba(0,0,0,.55), transparent 70%);
}

/* Teks brand dengan stroke/outline tipis biar jelas di background apapun */
.brand-text {
  font-family: 'Dancing Script', cursive;
  font-size: 22px;
  color: #fff;
  -webkit-text-stroke: 0.6px rgba(0,0,0,.85);
  text-shadow: 0 1px 0 rgba(0,0,0,.6), 0 2px 6px rgba(0,0,0,.45);
}

/* Brand text premium */
.brand-text {
  font-family: 'Dancing Script', cursive;
  font-size: 26px;
  font-weight: 600;
  background: linear-gradient(90deg, #f6e27a, #eab308, #f6e27a);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 2px 4px rgba(0,0,0,.5);
  letter-spacing: 1px;
  position: relative;
  display: inline-block;
  animation: shimmer 4s infinite linear;
}

/* Animasi shimmer/glow */
@keyframes shimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}

.brand-text {
  background-size: 200% auto;
}

/* ===== PREMIUM NAVBAR v2 (lebih terlihat) ===== */
.navbar{
  position: sticky; top:0; z-index:50;
  /* Layered gradient + vignette */
  background:
    radial-gradient(120% 100% at 0% 0%, rgba(250,204,21,.06), transparent 40%),
    radial-gradient(120% 100% at 100% 0%, rgba(59,130,246,.08), transparent 40%),
    linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,0) 30%),
    linear-gradient(90deg, #101319, #171c26 55%, #121722);
  border-bottom: 1px solid rgba(255,255,255,.10);
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 24px rgba(0,0,0,.55);
}

/* Gold rim halus di atas & bawah */
.navbar { 
  border-top: 1px solid rgba(255,255,255,.06);
}
.navbar::after{
  content:""; position:absolute; left:0; bottom:-2px; width:100%; height:4px;
  background: linear-gradient(90deg, transparent, rgba(234,179,8,.70), transparent);
  filter: blur(6px); opacity:.55;
}

/* Gold sweep berjalan di garis bawah */
.navbar::before{
  content:""; position:absolute; left:-20%; right:-20%; bottom:-1px; height:2px;
  background: linear-gradient(90deg, transparent, #f6d34b, #eab308, #ffd36a, transparent);
  animation: gold-sweep 5.5s linear infinite;
  filter: blur(1.2px);
}
@keyframes gold-sweep{
  from{ transform: translateX(-40%); }
  to  { transform: translateX(40%); }
}

/* Saat discroll: lebih solid, tetap elegan */
.navbar.scrolled{
  background:
    radial-gradient(120% 120% at 50% -20%, rgba(250,204,21,.04), transparent 60%),
    linear-gradient(90deg, #0f1218, #151a24 60%, #0f131c);
  box-shadow: 0 12px 34px rgba(0,0,0,.65);
}

/* ===== Nav links: hover pill + spotlight aktif ===== */
.nav a{
  position:relative; z-index:1;
  font-weight:600; letter-spacing:.4px;
  color:#f3f4f6; text-shadow:0 1px 1px rgba(0,0,0,.55);
  padding:8px 10px; border-radius:12px;
  transition: color .2s ease, transform .15s ease;
}
.nav a:hover{ color:#ffd966; transform: translateY(-1px); }

/* Pill highlight saat hover */
.nav a::before{
  content:""; position:absolute; inset:-4px -8px; border-radius:14px;
  background: radial-gradient(80% 120% at 50% 120%, rgba(234,179,8,.14), transparent 72%);
  opacity:0; transition: opacity .2s ease;
}
.nav a:hover::before{ opacity:1; }

/* Spotlight untuk link aktif */
.nav a.active{
  color:#facc15;
}
.nav a.active::before{
  opacity:1;
  background: radial-gradient(80% 120% at 50% 120%, rgba(234,179,8,.22), transparent 72%);
}
/* Underline gradien emas untuk aktif/hover */
.nav a::after{
  content:""; position:absolute; left:10px; right:10px; bottom:-7px; height:2px;
  background: linear-gradient(90deg, #f6d34b, #eab308, #ffd36a);
  transform: scaleX(0); transform-origin:left; transition: transform .25s ease;
  border-radius:2px;
}
.nav a:hover::after, .nav a.active::after{ transform: scaleX(1); }

/* Tombol bahasa & CTA tetap kontras */
.right-actions .btn.small{
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.18);
  color:#e5e7eb;
}
.btn.primary{
  background: linear-gradient(180deg,#f8df72,#eab308 70%,#cfa007);
  color:#222; font-weight:800;
  box-shadow: 0 12px 28px rgba(234,179,8,.45), inset 0 1px 0 rgba(255,255,255,.55);
}

/* Matikan animasi untuk pengguna reduce motion */
@media (prefers-reduced-motion: reduce){
  .navbar::before{ animation: none; }
}




/* Nav link: underline gradien saat hover + indikator aktif */
.nav a{ position: relative; opacity:.92; transition: opacity .2s ease }
.nav a:hover{ opacity:1 }
.nav a::after{
  content:""; position:absolute; left:0; bottom:-8px; height:2px; width:100%;
  background: linear-gradient(90deg, #f6d34b, #eab308, #ffd36a);
  transform: scaleX(0); transform-origin: left; transition: transform .25s ease;
  border-radius: 2px;
}
.nav a:hover::after{ transform: scaleX(1) }
.nav a.active{ color:#fff; font-weight:600 }
.nav a.active::after{ transform: scaleX(1) }

/* Tombol lebih premium (emas metalik) */
.btn.primary {
  font-family: 'Dancing Script', cursive; /* sama dengan navbar */
  font-size: 20px;
  font-weight: 700;
  background: linear-gradient(180deg, #f8df72, #eab308 70%, #cfa007);
  border: none;
  border-radius: 999px;
  color: #222;
  padding: 12px 28px;
  box-shadow: 0 8px 20px rgba(234, 179, 8, .35), inset 0 1px 0 rgba(255,255,255,.45);
  cursor: pointer;
  transition: all .3s ease;
}

.btn.primary:hover {
  transform: translateY(-2px) scale(1.03);
  filter: brightness(1.06);
  box-shadow: 0 12px 28px rgba(234, 179, 8, .45), inset 0 1px 0 rgba(255,255,255,.55);
}


/* Tombol bahasa gaya glass */
.right-actions .btn.small{
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.18);
  backdrop-filter: blur(8px);
  box-shadow: 0 8px 18px rgba(0,0,0,.25), inset 0 1px 0 rgba(255,255,255,.08);
}

/* ===== PREMIUM NAVBAR TEXT ===== */
.nav a {
  position: relative;
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 0.4px;
  color: #e5e7eb;
  transition: all 0.3s ease;
  padding: 6px 0;
}

/* Hover effect: gradien emas */
.nav a:hover {
  color: #facc15;
  text-shadow: 0 0 8px rgba(250, 204, 21, 0.6);
}

/* Active link lebih premium */
.nav a.active {
  color: #facc15;
  font-weight: 600;
  text-shadow: 0 0 12px rgba(250, 204, 21, 0.8);
}

/* Underline gradien saat hover */
.nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -6px;
  width: 100%; height: 2px;
  background: linear-gradient(90deg, #f6d34b, #eab308, #ffd36a);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
  border-radius: 2px;
}

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

.nav a.active{
  position: relative;
  color: #facc15;
}
.nav a.active::before{
  content:"";
  position:absolute; inset:0;
  background: radial-gradient(circle at center, rgba(250,204,21,.25), transparent 70%);
  animation: navGlow 2s infinite alternate;
}
@keyframes navGlow{
  from{ opacity:.3; transform: scale(.95); }
  to{ opacity:.7; transform: scale(1.05); }
}


/* ========== HERO ========== */
.hero{position:relative;min-height:64vh;background:url('hero.jpg') center/cover no-repeat}
.hero .overlay{position:absolute;inset:0;background:radial-gradient(60% 60% at 50% 50%, rgba(0,0,0,.2), rgba(0,0,0,.8))}
.hero-inner{position:relative;padding:80px 0;max-width:800px}
.hero-title{font-family:'Playfair Display', serif;font-size:40px;line-height:1.15;margin:0 0 10px}
.hero-sub{color:var(--muted);margin-bottom:18px}
.hero-cta{display:flex;gap:12px}
.hero{ background-position:center 30%; } 

/* --- Hero Title: premium & tetap terbaca --- */
.hero-title{
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: .4px;
  font-size: clamp(34px, 5vw, 72px);
  color: #fff;
  /* stroke tipis + shadow supaya kebaca di foto terang */
  -webkit-text-stroke: .6px rgba(0,0,0,.35);
  text-shadow: 0 1px 0 rgba(0,0,0,.35), 0 8px 24px rgba(0,0,0,.35);
  position: relative;
  display: inline-block;
}

/* Kilau lembut berjalan di permukaan teks */
.hero-title::after{
  content:"";
  position:absolute; inset:0;
  background: linear-gradient(115deg,
    transparent 0%,
    rgba(255,255,255,.14) 45%,
    rgba(255,255,255,.35) 50%,
    rgba(255,255,255,.14) 55%,
    transparent 100%);
  mix-blend-mode: screen;
  filter: blur(1px);
  opacity:.45;
  pointer-events:none;
  animation: heroShine 6s linear infinite;
}
@keyframes heroShine{
  from { transform: translateX(-30%) }
  to   { transform: translateX(30%) }
}

/* Bagian brand berwarna emas metalik */
.hero-gold{
  background: linear-gradient(90deg,#f6e27a,#eab308,#f6e27a);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 2px 6px rgba(0,0,0,.45);
  background-size: 200% 100%;
  animation: goldFlow 8s linear infinite;
}
@keyframes goldFlow{
  0%{ background-position: 0% 50% }
  100%{ background-position: 200% 50% }
}

/* Perkuat kontras area judul tanpa menggelapkan seluruh hero */
.hero-inner{ position: relative; isolation: isolate; }
.hero-inner::before{
  content:"";
  position:absolute; inset:-20px -28px -10px -20px;
  border-radius: 18px;
  background: radial-gradient(120% 100% at 10% 20%,
              rgba(0,0,0,.45), rgba(0,0,0,.10) 60%, transparent 70%);
  z-index:-1;
}

/* Pastikan judul membuat stacking context sendiri */
.hero-title{
  position: relative;
  display: inline-block;
  isolation: isolate;          /* penting: bikin layer sendiri */
}

/* Semua span teks berada DI BAWAH shimmer */
.hero-title > span{
  position: relative;
  z-index: 1;
}

/* Shimmer berada DI ATAS span + sedikit lebih kuat supaya terlihat */
.hero-title::after{
  z-index: 2;                   /* kunci: di atas teks */
  opacity: .6;                  /* naikkan sedikit agar tampak */
  mix-blend-mode: screen;       /* jika kurang tampak, coba 'lighten' */
  will-change: transform;       /* animasi lebih halus */
}

/* Fallback untuk browser yang kurang “nampak” dengan blend-mode */
@supports (-webkit-mask-image: linear-gradient(#000,#000)) {
  .hero-title::after{
    mix-blend-mode: normal;     /* gunakan mask sebagai gantinya */
    background: linear-gradient(115deg,
      transparent 0%,
      rgba(255,255,255,1) 49%,
      rgba(255,255,255,1) 50%,
      rgba(255,255,255,1) 51%,
      transparent 100%);
    -webkit-mask-image: linear-gradient(#000,#000);
    opacity: .28;               /* mask lebih kuat, turunkan sedikit */
  }
}

.hero-sub{
  position: relative;
  display: inline-block;
  padding: 10px 14px;
  border-radius: 14px;
  font-family: 'Dancing Script', cursive;   /* <<< pakai tulisan tangan */
  font-size: clamp(18px, 2vw, 26px);
  font-weight: 600;
  letter-spacing: 0.5px;
  color: #f7f7f7;
  text-shadow:
    0 1px 2px rgba(0,0,0,.65),
    0 4px 14px rgba(0,0,0,.35);
  isolation: isolate;
}

.hero-sub::before{
  content:""; position:absolute; inset:-6px -10px; border-radius:16px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,0)),
    linear-gradient(90deg, rgba(0,0,0,.55), rgba(0,0,0,.35));
  border:1px solid rgba(255,255,255,.12);
  box-shadow:0 10px 28px rgba(0,0,0,.45), inset 0 1px 0 rgba(255,255,255,.08);
  backdrop-filter: blur(6px);
  z-index:-1;
}
.hero-sub::after{
  content:""; position:absolute; inset:-6px -10px; border-radius:16px;
  background: linear-gradient(115deg, transparent 0%, rgba(255,255,255,.14) 45%, rgba(255,255,255,.35) 50%, rgba(255,255,255,.14) 55%, transparent 100%);
  mix-blend-mode: screen; opacity:.35; pointer-events:none;
  animation: subShine 7s linear infinite; z-index:0;
}
@keyframes subShine{ from{transform:translateX(-30%)} to{transform:translateX(30%)} }

/* Highlight kata penting (emas metalik + underline glow) */
.hero-sub .highlight{
  background: linear-gradient(90deg,#f6e27a,#eab308,#f6e27a);
  -webkit-background-clip:text; background-clip:text;
  -webkit-text-fill-color:transparent;
  text-shadow:0 2px 6px rgba(0,0,0,.45);
  background-size:200% 100%;
  animation: goldFlow 10s linear infinite;
  position:relative;
}
.hero-sub .highlight::after{
  content:""; position:absolute; left:0; right:0; bottom:-3px; height:2px;
  background: linear-gradient(90deg,#f6d34b,#eab308,#ffd36a);
  filter: drop-shadow(0 4px 8px rgba(234,179,8,.35));
  border-radius:2px;
}
@keyframes goldFlow{ 0%{background-position:0% 50%} 100%{background-position:200% 50%} }

@media (prefers-reduced-motion: reduce){
  .hero-sub::after, .hero-sub .highlight{ animation:none; }
}

/* ===== Hero-sub: Hapus panel/bingkai, sisakan shimmer saja ===== */
.hero-sub{
  padding: 0;                    /* buang ruang panel */
  border-radius: 0;
  background: transparent;
  border: none;
  box-shadow: none;
  /* tetap jelas di foto */
  color: #f7f7f7;
  text-shadow: 0 1px 2px rgba(0,0,0,.7), 0 6px 16px rgba(0,0,0,.35);
}

/* Matikan panel kaca */
.hero-sub::before{ content: none !important; }

/* Shimmer tipis yang berjalan di atas teks */
.hero-sub::after{
  inset: 0;                      /* pas ukuran teks */
  border-radius: 0;
  opacity: .35;                  /* atur sesuai selera (0.25–0.55) */
  mix-blend-mode: lighten; opacity: .45;      /* jika kurang terlihat, coba 'lighten' */
  animation: subShine 7s linear infinite;
}

/* Highlight emas tetap jalan */
.hero-sub .highlight{
  /* biarkan seperti sebelumnya */
}

/* ===== Ghost Button Premium (Lihat Menu) ===== */
.btn.ghost{
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.35);
  color: #f3f4f6;
  font-weight: 600;
  border-radius: 999px;
  padding: 12px 22px;
  backdrop-filter: blur(6px);
  background: rgba(255,255,255,.06);               /* glass tipis */
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.25),
    0 8px 18px rgba(0,0,0,.35);
  transition: color .2s ease, border-color .2s ease, transform .18s ease;
}

/* Sweep highlight bergerak */
.btn.ghost::before{
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(115deg,
      rgba(255,255,255,0) 0%,
      rgba(255,255,255,.18) 45%,
      rgba(255,255,255,.35) 50%,
      rgba(255,255,255,.18) 55%,
      rgba(255,255,255,0) 100%);
  transform: translateX(-40%);
  mix-blend-mode: screen;
  pointer-events: none;
  transition: opacity .2s ease;
  opacity: .0;
}
.btn.ghost:hover::before{
  animation: btnShine 1.6s linear;
  opacity: .9;
}
@keyframes btnShine{
  from { transform: translateX(-40%) }
  to   { transform: translateX(40%) }
}

/* Glow emas di tepi + isi gradien saat hover */
.btn.ghost:hover{
  border-color: #eab308;
  color: #1a1a1a;
  transform: translateY(-1px);
  background:
    radial-gradient(80% 120% at 50% 120%, rgba(234,179,8,.35), transparent 70%),
    linear-gradient(180deg, #f8df72, #eab308 70%, #cfa007);
  box-shadow:
    0 14px 28px rgba(234,179,8,.35),
    inset 0 1px 0 rgba(255,255,255,.55);
}

/* Focus ring (aksesibilitas) */
.btn.ghost:focus-visible{
  outline: 3px solid rgba(234,179,8,.65);
  outline-offset: 2px;
  transition: outline-offset .1s;
}

.btn.ghost:active{ transform: translateY(0); filter: brightness(.98); }
.btn.ghost{ font-family: 'Dancing Script', cursive; font-size: 20px; }



/* ========== SECTION GENERIC ========== */
.section{padding:56px 0;background:var(--bg)}
.section-dark{background:var(--surface)}
.grid-2{display:grid;gap:20px}
.media-card{border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow)}
/* ===== ABOUT: Premium look ===== */

/* Title dengan underline emas bergerak */
#about .about-title{
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  letter-spacing: .4px;
  margin-bottom: 12px;
  position: relative;
  display: inline-block;
  text-shadow: 0 1px 0 rgba(0,0,0,.4);
}
#about .about-title::after{
  content:"";
  position:absolute; left:0; right:0; bottom:-10px; height:4px;
  border-radius:999px;
  background: linear-gradient(90deg,#f6d34b,#eab308,#ffd36a);
  box-shadow: 0 6px 18px rgba(234,179,8,.35);
  transform: scaleX(.2);
  transform-origin: left;
  animation: aboutUnderline 1.1s ease forwards;
}
@keyframes aboutUnderline{ to{ transform: scaleX(1); } }

/* Lead paragraph elegan */
#about .lead{
  font-size: clamp(16px, 1.3vw, 18px);
  color:#e9edf3;
  line-height: 1.75;
  text-shadow: 0 1px 0 rgba(0,0,0,.35);
}

/* Checklist premium (ikon cek emas) + animasi muncul bertahap */
#about .tick{ list-style:none; padding-left:0; margin-top:14px }
#about .tick li{
  position:relative; padding-left:28px; margin:10px 0;
  opacity:0; transform: translateY(16px);
  transition: opacity .7s ease, transform .7s ease;
}
#about .tick li::before{
  content:"";
  position:absolute; left:0; top:.35em; width:18px; height:18px; border-radius:50%;
  background:
    radial-gradient(circle at 30% 30%, #fff 0 10%, transparent 11%),
    linear-gradient(180deg,#f8df72,#eab308 70%,#cfa007);
  box-shadow: 0 4px 10px rgba(234,179,8,.35), inset 0 1px 0 rgba(255,255,255,.6);
  -webkit-mask:
    radial-gradient(10px circle at 45% 55%, transparent 45%, #000 46%),
    linear-gradient(#000,#000);
  -webkit-mask-composite: source-over;
}

/* Kartu gambar: elevate + shine */
#about .media-card.elevate{
  position:relative; overflow:hidden; border-radius:18px;
  box-shadow: 0 18px 40px rgba(0,0,0,.45);
  transform: translateY(6px);
  transition: transform .45s cubic-bezier(.2,.7,.2,1), box-shadow .45s;
}
#about .media-card.elevate:hover{
  transform: translateY(0);
  box-shadow: 0 30px 60px rgba(0,0,0,.55);
}
#about .media-card.elevate::after{
  content:"";
  position:absolute; inset:0;
  background: linear-gradient(115deg, transparent 0%, rgba(255,255,255,.12) 45%, rgba(255,255,255,.35) 50%, rgba(255,255,255,.12) 55%, transparent 100%);
  mix-blend-mode: screen; opacity:.0; pointer-events:none;
}
#about .media-card.elevate:hover::after{
  animation: imgShine 1.6s linear;
  opacity:.9;
}
@keyframes imgShine{ from{transform: translateX(-40%)} to{transform: translateX(40%)} }

/* ===== Reveal on scroll (dipakai juga di section lain bila mahu) ===== */
.reveal{ opacity:0; transform: translateY(22px); }
.reveal.show{ opacity:1; transform: translateY(0); transition: opacity .8s ease, transform .8s ease; }

/* Stagger untuk list tick */
#about .tick.show li{ opacity:1; transform: translateY(0); }
#about .tick.show li:nth-child(1){ transition-delay:.05s }
#about .tick.show li:nth-child(2){ transition-delay:.15s }
#about .tick.show li:nth-child(3){ transition-delay:.25s }

@media (max-width: 767px){
  #about .media-card.elevate{ margin-top:18px }
}

/* Micro-interaction untuk bullet cek */
#about .tick li{
  cursor: default; /* tetap pointer biasa */
}

#about .tick li:hover::before{
  transform: rotate(12deg) scale(1.1);
  box-shadow: 
    0 6px 14px rgba(234,179,8,.45),
    inset 0 1px 0 rgba(255,255,255,.8);
  transition: transform .3s ease, box-shadow .3s ease;
}

/* Reveal kiri-kanan */
.reveal-left, .reveal-right{
  opacity: 0;
  transition: opacity .9s ease, transform .9s ease;
}

.reveal-left{ transform: translateX(-50px); }
.reveal-right{ transform: translateX(50px); }

.reveal-left.show, .reveal-right.show{
  opacity: 1;
  transform: translateX(0);
}

/* Parallax halus untuk card gambar */
.parallax{
  will-change: transform;
  transform: translateY(0);
  transition: transform .2s ease-out;
}

/* Nonaktifkan pada pengguna reduce-motion */
@media (prefers-reduced-motion: reduce){
  .parallax{ transform: none !important; }
}


/* ===== MENU BARU ===== */
#menu{ padding-top:64px }
.menu-head{ text-align:center; margin-bottom:18px }
.menu-title{ font-family:'Playfair Display',serif; font-weight:700; position:relative; display:inline-block; text-shadow:0 1px 0 rgba(0,0,0,.4) }
.menu-title::after{ content:""; position:absolute; left:50%; transform:translateX(-50%); bottom:-10px; width:160px; height:4px; border-radius:999px; background:linear-gradient(90deg,#f6d34b,#eab308,#ffd36a); box-shadow:0 6px 18px rgba(234,179,8,.35) }
.menu-sub{ color:#cfd6df; margin-top:18px }

/* Tabs */
.menu-tabs{ display:flex; flex-wrap:wrap; gap:10px; justify-content:center; margin:18px 0 26px }
.menu-tabs .tab{ background:rgba(255,255,255,.06); color:#e9edf3; border:1px solid rgba(255,255,255,.16); border-radius:999px; padding:10px 16px; cursor:pointer; transition:all .25s ease; backdrop-filter: blur(6px) }
.menu-tabs .tab:hover{ border-color:#eab308; color:#ffd86a }
.menu-tabs .tab.active{ background:linear-gradient(180deg,#f8df72,#eab308 70%,#cfa007); color:#1b1b1b; font-weight:700 }

/* Grid */
.menu-grid{ display:grid; grid-template-columns: repeat(12,1fr); gap:18px }
@media (max-width:1024px){ .menu-grid{ grid-template-columns: repeat(8,1fr) } }
@media (max-width:640px){ .menu-grid{ grid-template-columns: repeat(2,1fr) } }

/* Card */
.card{ grid-column: span 4; background:rgba(255,255,255,.05); border:1px solid rgba(255,255,255,.12); border-radius:18px; overflow:hidden; box-shadow:0 12px 28px rgba(0,0,0,.35); transition:transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s }
.card.accent{ grid-column: span 8 }
@media (max-width:640px){ .card,.card.accent{ grid-column: span 2 } }
.card:hover{ transform: translateY(-6px); box-shadow:0 22px 44px rgba(0,0,0,.45) }
.card::after{ pointer-events:none }

/* Media */
.thumb{ position:relative; height:230px; background:#0b0c10; display:flex; align-items:center; justify-content:center }
.thumb img, .menu-video{ width:100%; height:100%; object-fit:cover; display:block }
.thumb.is-video .menu-video{ object-fit:contain; background:#000 } /* video tidak terpotong */

/* Body */
.body{ padding:14px 14px 16px; position:relative }
.name{ color:#f3f4f6; font-weight:700; margin:0 0 10px }
.muted{ color:#c6ccd6 }
.btn-mini{ background:rgba(255,255,255,.08); color:#e9edf3; border:1px solid rgba(255,255,255,.18); padding:8px 12px; border-radius:999px; cursor:pointer; transition:all .25s ease }
.btn-mini:hover{ border-color:#eab308; color:#ffd86a }

/* Sauces */
.sauce-grid{ display:grid; grid-template-columns: repeat(5,1fr); gap:10px; margin-top:10px }
@media (max-width:640px){ .sauce-grid{ grid-template-columns: repeat(3,1fr) } }
.sauce{ background:rgba(255,255,255,.06); border:1px solid rgba(255,255,255,.14); border-radius:14px; overflow:hidden; text-align:center; color:#e9edf3; cursor:zoom-in; transition:transform .25s ease, box-shadow .25s ease, border-color .25s ease }
.sauce img{ width:100%; height:78px; object-fit:cover; display:block }
.sauce figcaption{ font-size:13px; padding:6px 6px 8px }
.sauce:hover{ transform: translateY(-3px); border-color:#eab308; box-shadow:0 12px 24px rgba(234,179,8,.25) }

/* Reveal */
.reveal{ opacity:0; transform: translateY(20px) }
.reveal.show{ opacity:1; transform: translateY(0); transition: opacity .8s ease, transform .8s ease }

.lightbox{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.85);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 22px;
}
.lightbox.open{ display:flex; }

.lb-media{
  max-width: min(95vw, 1100px);
  max-height: 80vh;
  display:flex;
  align-items:center;
  justify-content:center;
  background:#000;
  border-radius:12px;
   overflow: visible;
  box-shadow:0 20px 60px rgba(0,0,0,.6);
}
#lbImg, #lbVideo{
  max-width:100%;
  max-height:80vh;
  object-fit: contain;
  display:none;
  background:#000;
}
.lightbox.show-img  #lbImg{ display:block; }
.lightbox.show-video#lbVideo{ display:block; }

.lightbox .close{
  position:absolute; right:20px; top:20px;
  width:40px; height:40px; border-radius:50%;
  background:rgba(255,255,255,.2);
  color:#fff; border:none; font-size:22px; cursor:pointer;
}

#lbVideo {
  width: 100%;
  height: auto;
  flex-grow: 1;
}
.lightbox.show-video #lbVideo {
  display:block;
  margin:auto;
}


/* Lightbox video tampil full center */
.lightbox.show-video #lbVideo {
  display: block;
  width: 100%;
  height: auto;
  max-height: 80vh;
  margin: auto;
}
/* Sembunyikan title+deskripsi saat lightbox menampilkan VIDEO */
.lightbox.show-video .lb-info { display: none !important; }

/* Mobile */
@media (max-width:640px){ .thumb{ height:180px } .sauce img{ height:64px } }

/* ==== MENU: premium looks (tanpa ubah HTML) ==== */

/* Latar seksi menu: gradasi dalam + vignette + radian tipis */
#menu {
  position: relative;
  overflow: clip;
}
#menu::before,
#menu::after{
  content:"";
  position:absolute; inset:0; pointer-events:none;
}
#menu::before{
  background:
    radial-gradient(120% 100% at 0% 0%, rgba(234,179,8,.05), transparent 45%),
    radial-gradient(120% 100% at 100% 20%, rgba(59,130,246,.06), transparent 45%),
    linear-gradient(180deg, rgba(255,255,255,.04), transparent 35%);
  mix-blend-mode: screen;
}
#menu::after{
  background: radial-gradient(80% 60% at 50% 0%, rgba(0,0,0,.25), transparent 70%);
}

/* Kartu: glass + border gradien emas (lembut) */
.card{
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,.14);
  position: relative;
  overflow: hidden;
}
.card::before{
  /* border gradien “mengalir” di tepi */
  content:"";
  position:absolute; inset:0; border-radius:18px; pointer-events:none;
  padding:1px; /* ketebalan border */
  background: linear-gradient(90deg,#4b5563, #f6d34b, #eab308, #4b5563);
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  animation: cardBorder 8s linear infinite;
  opacity:.55;
}
@keyframes cardBorder {
  from { background-position: -200% 0; }
  to   { background-position: 200% 0; }
}

/* Hover: naik lembut + glow emas */
.card:hover{
  transform: translateY(-8px);
  box-shadow:
    0 26px 56px rgba(0,0,0,.55),
    0 0 0 1px rgba(234,179,8,.20) inset;
}
.card:hover::before{ opacity:.9 }

/* Thumb: kilau sapuan saat hover */
.thumb{ overflow:hidden }
.thumb::after{
  content:"";
  position:absolute; inset:0; pointer-events:none;
  background: linear-gradient(115deg,
    rgba(255,255,255,0) 0%,
    rgba(255,255,255,.18) 45%,
    rgba(255,255,255,.35) 50%,
    rgba(255,255,255,.18) 55%,
    rgba(255,255,255,0) 100%);
  transform: translateX(-40%);
  opacity:0;
}
.card:hover .thumb::after{
  animation: shineSweep 1.4s linear;
  opacity:1;
}
@keyframes shineSweep { from{transform:translateX(-40%)} to{transform:translateX(40%)} }

/* Judul menu: sedikit timbul */
.name{
  font-family:'Playfair Display', serif;
  letter-spacing:.2px;
  text-shadow: 0 1px 0 rgba(0,0,0,.45), 0 8px 22px rgba(0,0,0,.35);
}

/* Tombol kecil: gold glow saat hover */
.btn-mini{
  position: relative; overflow:hidden;
  border: 1px solid rgba(255,255,255,.18);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.25), 0 10px 20px rgba(0,0,0,.35);
}
.btn-mini:hover{
  border-color:#eab308; color:#1b1b1b;
  background: linear-gradient(180deg,#f8df72,#eab308 70%,#cfa007);
  box-shadow: 0 14px 28px rgba(234,179,8,.35), inset 0 1px 0 rgba(255,255,255,.55);
}
.btn-mini:hover::before{
  content:""; position:absolute; inset:0;
  background: linear-gradient(115deg, transparent 0%, rgba(255,255,255,.22) 48%, transparent 55%);
  animation: shineSweep 1.2s linear;
}

/* Sauce chip: kaca bulat + state aktif */
.sauce{
  border-radius:18px;
  background: linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.03));
  border:1px solid rgba(255,255,255,.14);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.15);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.sauce:hover{
  transform: translateY(-4px);
  border-color:#eab308;
  box-shadow:
    0 16px 30px rgba(234,179,8,.22),
    inset 0 1px 0 rgba(255,255,255,.3);
}
.sauce:active{ transform: translateY(-1px) }

/* Video cover tetap “contain” & rapi (sudah ada), tambah soft rim */
.thumb.is-video{
  background: radial-gradient(80% 80% at 50% 50%, #000 0 70%, #0b0c10);
  border-bottom: 1px solid rgba(255,255,255,.06);
}

/* ===== Badge harga (opsional) — aktif jika kamu tambahkan data-price di .menu-item ===== */
.menu-item[data-price] .body{
  padding-right: 78px; /* ruang untuk badge */
}
.menu-item[data-price]::after{
  content: attr(data-price);
  position:absolute; top:12px; right:12px;
  padding:8px 12px; border-radius:999px;
  font-weight:800; color:#1a1a1a;
  background: linear-gradient(180deg,#f8df72,#eab308 70%,#cfa007);
  box-shadow: 0 14px 28px rgba(234,179,8,.35), inset 0 1px 0 rgba(255,255,255,.55);
  filter: drop-shadow(0 6px 20px rgba(0,0,0,.45));
}

/* ==== 3D tilt halus (digerakkan via JS) ==== */
.card.will-tilt{
  transform-style: preserve-3d;
  perspective: 800px;
}
.card.will-tilt .thumb,
.card.will-tilt .body{
  transition: transform .12s ease-out;
  will-change: transform;
}

/* ===== Lightbox: video mode tanpa info ===== */
.lightbox.show-video .lb-info{ display:none; }   /* sembunyikan judul+list saat video */
.lightbox.show-video .lb-media{ box-shadow: 0 20px 60px rgba(0,0,0,.75); }

/* Responsive finetune */
@media (max-width: 640px){
  .menu-item[data-price] .body{ padding-right: 0; }
  .menu-item[data-price]::after{ top:10px; right:10px; transform: scale(.92); }
}

/* pastikan setiap card/sauce bisa jadi tempat badge */
.card, .menu-item, .sauce { position: relative; }

/* gaya badge */
.badge {
  position: absolute;
  top: 12px; left: 12px;
  z-index: 6;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .3px;
  color: #1a1a1a;
  background: linear-gradient(180deg,#f8df72,#eab308 70%,#cfa007);
  box-shadow: 0 8px 20px rgba(234,179,8,.35),
              inset 0 1px 0 rgba(255,255,255,.55);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  animation: badgePulse 2s ease-in-out infinite;
}

.badge::before {
  content: "★"; /* bintang kecil */
  font-size: 12px;
}

/* badge kecil untuk sauce */
.sauce .badge,
.badge.sm {
  top: 6px; left: 6px;
  padding: 4px 10px;
  font-size: 11px;
}

@keyframes badgePulse {
  0%,100% { transform: scale(1); box-shadow: 0 8px 20px rgba(234,179,8,.35); }
  50%     { transform: scale(1.08); box-shadow: 0 12px 28px rgba(234,179,8,.5); }
}

@media (max-width:640px){
  .badge { top:8px; left:8px; }
}

/* Badge di lightbox */
.lb-media { position: relative; }
.lb-media .badge.lg{
  top: 14px; left: 14px;
  font-size: 13px;
  padding: 7px 14px;
  z-index: 20;
}




/* ===== Reservation Premium ===== */
.reserve{
  position: relative;
  overflow: clip;
}

/* Aura gradien lembut di background section */
.reserve::before{
  content:"";
  position:absolute; inset:-10% -10% -15% -10%;
  background:
    radial-gradient(60% 50% at 15% 15%, rgba(250,204,21,.06), transparent 60%),
    radial-gradient(60% 50% at 85% 20%, rgba(59,130,246,.08), transparent 60%),
    radial-gradient(80% 60% at 50% 100%, rgba(0,0,0,.35), transparent 70%);
  pointer-events:none;
  z-index:0;
}

/* Grid container sedikit lega */
.reserve-wrap{ row-gap: 26px; }

/* Kartu teks kaca mewah */
.reserve-card{
  position: relative;
  z-index: 1;
  padding: 22px 20px 18px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
  border: 1px solid rgba(255,255,255,.12);
  box-shadow:
    0 20px 40px rgba(0,0,0,.45),
    inset 0 1px 0 rgba(255,255,255,.14);
  backdrop-filter: blur(10px);
  isolation: isolate;
}

/* Sinar tipis menyapu kartu */
.reserve-card::after{
  content:"";
  position:absolute; inset:0; border-radius:18px;
  background: linear-gradient(115deg,
     transparent 0%,
     rgba(255,255,255,.18) 46%,
     rgba(255,255,255,.38) 50%,
     rgba(255,255,255,.18) 54%,
     transparent 100%);
  mix-blend-mode: screen; opacity:.0; pointer-events:none;
}
.reserve-card:hover::after{ animation: rsvShine 1.8s linear; opacity:.9; }
@keyframes rsvShine{ from{transform:translateX(-35%)} to{transform:translateX(35%)} }

/* Judul dengan garis emas hidup */
.reserve-title{
  font-family:'Playfair Display',serif; font-weight:700;
  letter-spacing:.4px; margin: 4px 0 14px; position:relative; display:inline-block;
  text-shadow:0 1px 0 rgba(0,0,0,.4);
}
.reserve-title::after{
  content:""; position:absolute; left:0; right:0; bottom:-10px; height:4px;
  border-radius:999px;
  background: linear-gradient(90deg,#f6d34b,#eab308,#ffd36a);
  box-shadow: 0 6px 18px rgba(234,179,8,.35);
  transform: scaleX(.25); transform-origin:left; animation: rsvUnderline .9s ease forwards;
}
@keyframes rsvUnderline{ to{ transform: scaleX(1); } }

.reserve-desc{ color:#e9edf3; margin-top:6px; }

/* Tombol WA: bernafas + kilau + ripple saat tap */
.wa-wrap{ display:flex; align-items:center; gap:14px; margin-top:18px; }

.wa-btn{
  position:relative; overflow:hidden;
  padding: 12px 28px;
  border:none;
  background: linear-gradient(180deg,#f8df72,#eab308 70%,#cfa007);
  color:#222; font-weight:800; border-radius:999px;
  box-shadow: 0 14px 28px rgba(234,179,8,.35), inset 0 1px 0 rgba(255,255,255,.55);
  transition: transform .2s ease, filter .2s ease, box-shadow .25s ease;
  animation: waBreath 2.6s ease-in-out infinite;
}
@keyframes waBreath{
  0%,100%{ box-shadow: 0 12px 24px rgba(234,179,8,.32), inset 0 1px 0 rgba(255,255,255,.55) }
  50%   { box-shadow: 0 18px 40px rgba(234,179,8,.50), inset 0 1px 0 rgba(255,255,255,.6) }
}
.wa-btn:hover{ transform: translateY(-2px) scale(1.03); filter: brightness(1.04); }

/* Kilau sapu */
.wa-btn::before{
  content:""; position:absolute; inset:0;
  background: linear-gradient(115deg,
    rgba(255,255,255,0) 0%,
    rgba(255,255,255,.20) 45%,
    rgba(255,255,255,.45) 50%,
    rgba(255,255,255,.20) 55%,
    rgba(255,255,255,0) 100%);
  transform: translateX(-40%);
  mix-blend-mode: screen; opacity:0; pointer-events:none;
}
.wa-btn:hover::before{ animation: btnShine 1.2s linear; opacity:.95; }
@keyframes btnShine{ from{transform:translateX(-40%)} to{transform:translateX(40%)} }

/* Ripple saat tap (CSS only) */
.wa-btn:active::after{
  content:""; position:absolute; left:50%; top:50%;
  width:6px; height:6px; border-radius:999px; background:rgba(255,255,255,.65);
  transform: translate(-50%,-50%); animation: waRipple .5s ease-out;
}
@keyframes waRipple{
  to{ width:220%; height:220%; opacity:0; }
}

/* Hint kecil di sebelah tombol */
.wa-hint{ color:#cfd6df; font-size:12px; opacity:.9 }

/* Media: tilt + sorot halus */
.reserve-media{
  position:relative; overflow:hidden; border-radius:18px;
  box-shadow: 0 22px 44px rgba(0,0,0,.55);
  transform-style: preserve-3d;
  transition: transform .25s ease;
}
.reserve-media::after{
  content:""; position:absolute; inset:0;
  background: radial-gradient(60% 40% at 80% 10%, rgba(255,255,255,.14), transparent 60%);
  mix-blend-mode: overlay; pointer-events:none;
}
.reserve-img{ display:block; width:100%; height:100%; object-fit:cover; }

/* Sedikit tilt saat hover (desktop) */
@media (hover:hover){
  .reserve-media:hover{ transform: perspective(800px) rotateX(3deg) rotateY(-3deg) translateZ(10px); }
}

/* Responsif kecil */
@media (max-width: 640px){
  .reserve-card{ padding:18px 16px }
  .wa-wrap{ flex-wrap:wrap; gap:8px }
}


.map-embed iframe{width:100%;height:280px;border:0;border-radius:12px}

/* Quotes */
.quotes{display:grid;gap:12px}
blockquote{margin:0;padding:14px 16px;background:#0f1522;border-left:4px solid var(--primary);border-radius:12px}

/* FOOTER */
.footer{background:#0b0f16;border-top:1px solid rgba(255,255,255,.06);padding:18px 0}
.footer-inner{display:flex;align-items:center;justify-content:space-between;gap:14px}
.footer-nav a{color:var(--muted);margin-left:12px}

/* ========== BREAKPOINTS (Tablet & Desktop) ========== */
@media (min-width: 768px){
  .nav{display:flex}
  .hamburger{display:none}
  .grid-2{grid-template-columns:1.1fr .9fr;align-items:center}
  .hero-title{font-size:56px}
  .cards{grid-template-columns:repeat(4, 1fr)}
  .order-grid{grid-template-columns:repeat(5, 1fr)}
}

/* Awal: disembunyikan */
.section{
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}

/* Saat aktif di layar: muncul dengan elegan */
.section.show{
  opacity: 1;
  transform: translateY(0);
}


/* ===== Delivery Calculator ===== */
.del-grid{
  display: grid; gap: 16px;
  grid-template-columns: 1fr; align-items: start;
}
.del-form{ background: rgba(255,255,255,.05); border:1px solid rgba(255,255,255,.12);
  border-radius: 14px; padding: 14px; box-shadow: 0 10px 24px rgba(0,0,0,.35); }
.del-label{ display:block; position:relative; }
.del-input{
  width:100%; padding:12px 14px; border-radius:12px;
  border:1px solid rgba(255,255,255,.18); background:rgba(255,255,255,.06);
  color:#e9edf3; outline:none;
}
.del-input:focus{ border-color:#eab308; box-shadow:0 0 0 3px rgba(234,179,8,.2) }
.del-suggest{
  list-style:none; margin:6px 0 0; padding:6px; border-radius:12px;
  background:#0f1522; border:1px solid rgba(255,255,255,.16);
  max-height:210px; overflow:auto; display:none;
  position:absolute; left:0; right:0; z-index:10;
}
.del-suggest.show{ display:block; }
.del-suggest li{ padding:8px 10px; border-radius:8px; cursor:pointer; }
.del-suggest li:hover{ background:rgba(255,255,255,.08) }

.del-info{
  display:grid; grid-template-columns: repeat(3,1fr); gap:10px;
  margin-top:12px; text-align:center;
}
.del-mapwrap{ border-radius:14px; overflow:hidden; box-shadow: var(--shadow) }
.del-map{ width:100%; height: 320px; }

@media (min-width: 900px){
  .del-grid{ grid-template-columns: .9fr 1.1fr; }
  .del-map{ height: 380px; }
}

/* ===== Catering Cards minor polish ===== */
.cat-copy{ color:#e9edf3; margin:8px 0 12px; line-height:1.7 }
.cat-total .line{ height:1px; background:rgba(255,255,255,.12); margin:8px 0 }
.cat-total b{ font-variant-numeric: tabular-nums; }

/* ===== Catering Section ===== */
#catering {
  position: relative;
  overflow: clip;
}
#catering::before {
  content:"";
  position:absolute; inset:0;
  background:
    radial-gradient(120% 120% at 0% 0%, rgba(234,179,8,.05), transparent 50%),
    radial-gradient(120% 120% at 100% 0%, rgba(59,130,246,.05), transparent 50%);
  pointer-events:none;
}

.cat-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.cat-card {
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
  border:1px solid rgba(255,255,255,.12);
  border-radius: 18px;
  box-shadow: 0 14px 28px rgba(0,0,0,.45);
  overflow:hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: transform .3s ease, box-shadow .3s ease;
}
.cat-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 48px rgba(0,0,0,.55);
}

.cat-media img { border-radius: 0; height: 180px; object-fit: cover; width: 100%; }

.cat-body { padding: 16px; display: flex; flex-direction: column; flex: 1; }

.cat-title {
  font-family:'Playfair Display', serif;
  font-size: 20px;
  margin: 0 0 6px;
  color:#fff;
}

.cat-price {
  font-weight: 700;
  color: #facc15;
  margin-bottom: 10px;
}

.cat-copy {
  font-size: 15px;
  color:#e5e7eb;
  line-height: 1.6;
}

.cat-list {
  margin: 10px 0 14px;
  padding-left: 18px;
  color:#cfd6df;
  font-size: 14px;
}

/* Kontrol */
.cat-ctrl label {
  display:block;
  margin-bottom: 12px;
}
.cat-ctrl span { display:block; font-size:14px; margin-bottom:4px; color:#e9edf3; }

.cat-ctrl input, .cat-ctrl select {
  width:100%;
  padding:10px 12px;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.18);
  background:rgba(255,255,255,.06);
  color:#e9edf3;
  outline:none;
}
.cat-ctrl input:focus, .cat-ctrl select:focus {
  border-color:#eab308;
  box-shadow:0 0 0 3px rgba(234,179,8,.2);
}

.cat-total {
  background: rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.12);
  border-radius:12px;
  padding:12px;
  margin-top:10px;
  font-size:14px;
}
.cat-total div { display:flex; justify-content:space-between; margin:2px 0; }
.cat-total .grand { font-weight:700; color:#facc15; }

/* WhatsApp button dalam kartu */
.cat-ctrl .wbtn {
  margin-top:14px;
  text-align:center;
  font-weight:700;
}

/* ===== Delivery Section polish ===== */
#delivery {
  position: relative;
}
#delivery::before {
  content:"";
  position:absolute; inset:0;
  background: radial-gradient(120% 100% at 50% 0%, rgba(234,179,8,.05), transparent 60%);
  pointer-events:none;
}

.del-head h2 {
  font-family:'Playfair Display', serif;
  font-size: 28px;
  margin-bottom: 6px;
  color:#fff;
}
.del-sub { color:#cfd6df; margin-bottom:14px; }

.del-input {
  font-size: 15px;
}
.del-suggest li {
  font-size: 14px;
  color:#f1f5f9;
}

.del-info {
  background: rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.12);
  border-radius:12px;
  padding:10px;
}
.del-info strong { color:#facc15; }

/* Map */
.del-map {
  width:100%;
  height:320px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.12);
}

/* ===== Catering Section ===== */
#catering {
  position: relative;
  overflow: clip;
}
#catering::before {
  content:"";
  position:absolute; inset:0;
  background:
    radial-gradient(120% 120% at 0% 0%, rgba(234,179,8,.05), transparent 50%),
    radial-gradient(120% 120% at 100% 0%, rgba(59,130,246,.05), transparent 50%);
  pointer-events:none;
}

.cat-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.cat-card {
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
  border:1px solid rgba(255,255,255,.12);
  border-radius: 18px;
  box-shadow: 0 14px 28px rgba(0,0,0,.45);
  overflow:hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: transform .3s ease, box-shadow .3s ease;
}
.cat-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 48px rgba(0,0,0,.55);
}

.cat-media img { border-radius: 0; height: 180px; object-fit: cover; width: 100%; }

.cat-body { padding: 16px; display: flex; flex-direction: column; flex: 1; }

.cat-title {
  font-family:'Playfair Display', serif;
  font-size: 20px;
  margin: 0 0 6px;
  color:#fff;
}

.cat-price {
  font-weight: 700;
  color: #facc15;
  margin-bottom: 10px;
}

.cat-copy {
  font-size: 15px;
  color:#e5e7eb;
  line-height: 1.6;
}

.cat-list {
  margin: 10px 0 14px;
  padding-left: 18px;
  color:#cfd6df;
  font-size: 14px;
}

/* Kontrol */
.cat-ctrl label {
  display:block;
  margin-bottom: 12px;
}
.cat-ctrl span { display:block; font-size:14px; margin-bottom:4px; color:#e9edf3; }

.cat-ctrl input, .cat-ctrl select {
  width:100%;
  padding:10px 12px;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.18);
  background:rgba(255,255,255,.06);
  color:#e9edf3;
  outline:none;
}
.cat-ctrl input:focus, .cat-ctrl select:focus {
  border-color:#eab308;
  box-shadow:0 0 0 3px rgba(234,179,8,.2);
}

.cat-total {
  background: rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.12);
  border-radius:12px;
  padding:12px;
  margin-top:10px;
  font-size:14px;
}
.cat-total div { display:flex; justify-content:space-between; margin:2px 0; }
.cat-total .grand { font-weight:700; color:#facc15; }

/* WhatsApp button dalam kartu */
.cat-ctrl .wbtn {
  margin-top:14px;
  text-align:center;
  font-weight:700;
}

/* ===== Delivery Section polish ===== */
#delivery {
  position: relative;
}
#delivery::before {
  content:"";
  position:absolute; inset:0;
  background: radial-gradient(120% 100% at 50% 0%, rgba(234,179,8,.05), transparent 60%);
  pointer-events:none;
}

.del-head h2 {
  font-family:'Playfair Display', serif;
  font-size: 28px;
  margin-bottom: 6px;
  color:#fff;
}
.del-sub { color:#cfd6df; margin-bottom:14px; }

.del-input {
  font-size: 15px;
}
.del-suggest li {
  font-size: 14px;
  color:#f1f5f9;
}

.del-info {
  background: rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.12);
  border-radius:12px;
  padding:10px;
}
.del-info strong { color:#facc15; }

/* Map */
.del-map {
  width:100%;
  height:320px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.12);
}

/* ==== CATERING: grid & equal-height cards ==== */
.cat-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(260px,1fr));
  gap:24px;
  align-items:stretch;
}

.cat-card{
  display:flex;               /* biar bisa dorong ctrl ke bawah */
  flex-direction:column;
  background:rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.06);
  border-radius:18px;
  overflow:hidden;
  min-height:100%;
  transform:translateZ(0);    /* smoother */
  transition:transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}

.cat-card:hover{
  transform:translateY(-6px);
  box-shadow:0 16px 40px rgba(0,0,0,.35);
  border-color:rgba(255,255,255,.12);
}

.cat-media{
  aspect-ratio: 16/10;        /* gambar rapi & konsisten tinggi */
  overflow:hidden;
}
.cat-media img{
  width:100%; height:100%; object-fit:cover; display:block;
}

.cat-body{
  display:flex;
  flex-direction:column;
  height:100%;
  padding:16px 18px 18px;
}

.cat-title{ margin:2px 0 6px; }
.cat-price{ margin:0 0 10px; }

.cat-copy{ margin:4px 0 10px; line-height:1.55; }
.cat-list{ margin:0 0 14px 0; }

/* ==== Controller area nempel di bawah kartu ==== */
.cat-ctrl{
  margin-top:auto;            /* KUNCI: dorong ke bawah */
  display:flex;
  flex-direction:column;
  gap:12px;
}

/* WA button konsisten dan full width */
.cat-ctrl .wbtn{
  width:100%;
  display:inline-flex;
  justify-content:center;
  align-items:center;
  min-height:46px;
}

/* Mini micro-interaction untuk tombol */
.btn.primary{
  transition:transform .08s ease, box-shadow .2s ease, background .2s ease;
}
.btn.primary:hover{ transform:translateY(-1px); box-shadow:0 10px 22px rgba(0,0,0,.35); }
.btn.primary:active{ transform:translateY(0); box-shadow:none; }

/* ==== Reveal / animation polish ==== */
.section{ opacity:1; transform:none; }
.section:not(.show){ opacity:0; transform:translateY(22px); }
.section.show{ opacity:1; transform:none; transition:opacity .5s ease, transform .5s ease; }

/* Untuk elemen kiri/kanan */
.reveal-left:not(.show){ opacity:0; transform:translateX(-28px); }
.reveal-right:not(.show){ opacity:0; transform:translateX(28px); }
.reveal-left.show, .reveal-right.show{ opacity:1; transform:none; transition:opacity .55s ease, transform .55s ease; }

/* Respect prefers-reduced-motion */
@media (prefers-reduced-motion: reduce){
  .cat-card, .btn, .section, .reveal-left, .reveal-right{ transition:none !important; }
}

#delSuggest{position:absolute;z-index:20;max-height:260px;overflow:auto;display:none}
#delSuggest.show{display:block}
#delSuggest li{padding:.5rem .75rem;cursor:pointer;background:#fff}
#delSuggest li:hover{background:#f4f4f4}



/* ==== Autocomplete Suggestions (Delivery) ==== */
#delSuggest {
  position: absolute;
  z-index: 1000;
  background: #111;          /* full black */
  border: 1px solid #444;
  border-radius: 6px;
  margin-top: 4px;
  max-height: 240px;
  overflow-y: auto;
  list-style: none;
  padding: 0;
}

#delSuggest li {
  padding: 8px 12px;
  background: #111 !important;  /* paksa hitam */
  color: #fff !important;       /* paksa putih */
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

#delSuggest li:hover {
  background: #333 !important;  /* abu gelap saat hover */
  color: #fff !important;
}

/* Pastikan peta selalu di bawah navbar */
.leaflet-container {
  z-index: 1 !important;
}

/* Navbar tetap paling atas */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000; /* lebih besar dari leaflet */
}

/* === Catering Cards Premium Style === */
.cat-card {
  background: linear-gradient(145deg, #0f1115, #181c22);
  border-radius: 22px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.35);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.cat-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.45);
}

.cat-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-top-left-radius: 22px;
  border-top-right-radius: 22px;
}

.cat-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  margin: 12px 0 6px;
  color: #fff;
}

.cat-price {
  color: #FFD700;
  font-weight: 700;
  margin-bottom: 10px;
}

.cat-copy {
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  line-height: 1.6;
  color: #cfcfcf;
  margin-bottom: 12px;
}

.cat-list li {
  color: #aaa;
  margin-bottom: 4px;
  font-size: 0.9rem;
}

/* (GANTI blok di atas jadi ini) */
.wbtn:not(.btn) {
  display: block;
  width: 100%;
  padding: 12px;
  text-align: center;
  background: #25D366;
  color: #fff;
  font-weight: bold;
  border-radius: 14px;
  text-decoration: none;
  transition: background 0.25s ease, transform 0.2s ease;
}
.wbtn:not(.btn):hover {
  background: #1ebe5d;
  transform: translateY(-2px);
}

/* === Samakan tombol WhatsApp & Custom (emas + font sama) === */
.cat-card .btn.primary.wbtn {
  font-family: 'Dancing Script', cursive;   /* samakan dengan tombol WA kamu */
  font-size: 20px;
  font-weight: 700;
  color: #222;                               /* teks hitam elegan */
  background: linear-gradient(180deg,#f8df72,#eab308 70%,#cfa007);
  border: none;
  border-radius: 999px;
  padding: 12px 28px;
  text-align: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 46px;
  box-shadow: 0 8px 20px rgba(234,179,8,.35), inset 0 1px 0 rgba(255,255,255,.45);
  transition: transform .2s ease, filter .2s ease, box-shadow .25s ease;
}
.cat-card .btn.primary.wbtn:hover {
  transform: translateY(-2px) scale(1.03);
  filter: brightness(1.06);
  box-shadow: 0 12px 28px rgba(234,179,8,.45), inset 0 1px 0 rgba(255,255,255,.55);
}


/* Efek kilau cahaya bergerak */
.cat-card {
  position: relative;
  overflow: hidden; /* supaya shimmer tidak keluar dari kartu */
}

.cat-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent 0%,
    rgba(255, 255, 255, 0.12) 50%,
    transparent 100%
  );
  transform: skewX(-20deg);
  animation: shine 4s infinite;
}

@keyframes shine {
  0% {
    left: -75%;
  }
  100% {
    left: 125%;
  }
}

/* Paksa teks tombol WA (emas) jadi hitam */
.cat-card .btn.primary.wbtn {
  color: #111 !important;   /* hitam pekat biar jelas */
  font-weight: 700;
}

/* Paksa teks tombol emas (WA & Custom) jadi hitam solid */
.cat-card .cat-ctrl .btn.primary.wbtn,
.cat-card .btn.primary.wbtn {
  color: #111 !important;
  -webkit-text-fill-color: #111 !important; /* Safari/Chrome jika pakai efek clip/gradien */
  text-shadow: none !important;             /* pastikan tidak “mencerahkan” teks */
}

/* input invalid (di bawah minimum) */
.cat-ctrl input.invalid{
  border-color:#ef4444 !important;
  box-shadow:0 0 0 3px rgba(239,68,68,.25) !important;
}
.cat-ctrl .min.warn{ color:#f97316; }

/* toast ringan */
.toast-lite{
  position:fixed; left:50%; bottom:24px; transform:translateX(-50%) translateY(8px);
  background:rgba(17,24,39,.9); color:#fff; padding:10px 14px; border-radius:999px;
  border:1px solid rgba(255,255,255,.15); box-shadow:0 10px 24px rgba(0,0,0,.35);
  opacity:0; transition:opacity .2s ease, transform .2s ease; font-size:14px; z-index:2000;
}
.toast-lite.show{ opacity:1; transform:translateX(-50%) translateY(0); }


/* ===== DELIVERY — Premium, elegan ===== */

/* Judul + subcopy */
#delivery .del-head h2{
  font-family:'Playfair Display',serif;
  font-weight:800;
  letter-spacing:.4px;
  font-size: clamp(28px, 3.6vw, 44px);
  color:#fff;
  margin:0 0 8px;
  text-shadow:0 1px 0 rgba(0,0,0,.45), 0 8px 22px rgba(0,0,0,.35);
  position:relative;
  display:inline-block;
}
#delivery .del-head h2::after{
  content:"";
  position:absolute; left:0; right:0; bottom:-10px; height:4px; border-radius:999px;
  background:linear-gradient(90deg,#f6d34b,#eab308,#ffd36a);
  box-shadow:0 6px 18px rgba(234,179,8,.35);
}
#delivery .del-sub{ color:#cfd6df; opacity:.95 }

/* Kartu kiri (alamat + ringkasan) => glass gold */
.del-form{
  position:relative;
  border-radius:18px;
  padding:16px;
  background:linear-gradient(180deg,rgba(255,255,255,.06),rgba(255,255,255,.02));
  border:1px solid rgba(255,255,255,.12);
  backdrop-filter: blur(10px);
  box-shadow:0 18px 40px rgba(0,0,0,.45), inset 0 1px 0 rgba(255,255,255,.14);
  overflow:hidden;
}
.del-form::after{
  /* sapuan kilau lembut */
  content:""; position:absolute; inset:0; pointer-events:none;
  background:linear-gradient(115deg,transparent 0%,rgba(255,255,255,.18) 46%,
    rgba(255,255,255,.38) 50%,rgba(255,255,255,.18) 54%,transparent 100%);
  mix-blend-mode:screen; opacity:0;
}
.del-form:hover::after{ animation:delShine 1.8s linear; opacity:.9 }
@keyframes delShine{ from{transform:translateX(-35%)} to{transform:translateX(35%)} }

/* Input alamat: premium focus */
.del-label{ margin-bottom:10px }
.del-input{
  font-size:15px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.18);
  background:rgba(255,255,255,.06);
  color:#e9edf3;
  padding:12px 14px;
  transition:border-color .2s, box-shadow .2s, background .2s;
}
.del-input::placeholder{ color:#94a3b8 }
.del-input:focus{
  background:rgba(255,255,255,.08);
  border-color:#eab308;
  box-shadow:0 0 0 3px rgba(234,179,8,.22), 0 10px 24px rgba(0,0,0,.35);
}

/* Suggestion popup konsisten */
.del-suggest{
  background:#0f1522;
  border:1px solid rgba(255,255,255,.14);
  box-shadow:0 16px 36px rgba(0,0,0,.55);
  border-radius:12px;
}
.del-suggest li{
  color:#e5e7eb;
  border-radius:8px;
}
.del-suggest li:hover{
  background:rgba(234,179,8,.10);
  color:#fff;
}

/* Bar info (Dari/Jarak/Cas) sebagai chip elegan */
.del-info{
  margin-top:12px;
  display:grid; grid-template-columns:repeat(3,1fr); gap:10px;
  padding:10px;
  border-radius:12px;
  background:linear-gradient(180deg,rgba(255,255,255,.05),rgba(255,255,255,.02));
  border:1px solid rgba(255,255,255,.12);
}
.del-info > div{
  padding:10px 12px; border-radius:12px;
  background:rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.08);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.10);
}
.del-info strong{ color:#facc15 }

/* Map wrapper: rim emas + vignette */
.del-mapwrap{
  position:relative;
  border-radius:18px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.10);
  box-shadow:0 22px 44px rgba(0,0,0,.55);
  background:linear-gradient(180deg,#0b0c10,#0e1117);
}
.del-mapwrap::before{
  /* rim gradien berjalan */
  content:""; position:absolute; inset:0; pointer-events:none; border-radius:18px;
  padding:1px;
  background:linear-gradient(90deg,#4b5563,#f6d34b,#eab308,#4b5563);
  -webkit-mask:linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite:xor; mask-composite:exclude;
  animation:delRim 8s linear infinite; opacity:.55;
}
@keyframes delRim{ from{background-position:-200% 0} to{background-position:200% 0} }
.del-mapwrap::after{
  /* vignette lembut */
  content:""; position:absolute; inset:0; pointer-events:none;
  background: radial-gradient(70% 50% at 50% 0%, rgba(0,0,0,.28), transparent 70%);
}

/* Peta itu sendiri */
.del-map{
  width:100%; height:380px;
  border-radius:18px;
}

/* Leaflet controls: tombol +/− diseragamkan */
.leaflet-control-zoom a{
  border:none !important;
  width:36px; height:36px; line-height:36px;
  border-radius:10px !important;
  background:linear-gradient(180deg,#f8df72,#eab308 70%,#cfa007) !important;
  color:#1a1a1a !important; font-weight:800;
  box-shadow:0 10px 18px rgba(234,179,8,.35), inset 0 1px 0 rgba(255,255,255,.55);
}
.leaflet-control-zoom a:hover{
  filter:brightness(1.05);
  transform:translateY(-1px);
}

/* Catatan kecil di bawah form */
#delivery .del-note{
  color:#cfd6df; opacity:.9;
}

/* Responsif */
@media (max-width: 900px){
  .del-map{ height:320px }
}

/* ===== Testimonials Premium ===== */
.testimonials{ position:relative; overflow:clip; }
.testimonials::before{
  content:""; position:absolute; inset:-10% -5% -15% -5%; pointer-events:none;
  background:
    radial-gradient(60% 60% at 0% 0%, rgba(234,179,8,.06), transparent 50%),
    radial-gradient(60% 60% at 100% 0%, rgba(59,130,246,.07), transparent 50%),
    radial-gradient(80% 60% at 50% 100%, rgba(0,0,0,.35), transparent 70%);
}

.t-head h2{
  font-family:'Playfair Display',serif; font-weight:800;
  font-size: clamp(28px,3.6vw,44px); color:#fff; margin:0 0 6px;
  text-shadow:0 1px 0 rgba(0,0,0,.45),0 8px 22px rgba(0,0,0,.35);
  position:relative; display:inline-block;
}
.t-head h2::after{
  content:""; position:absolute; left:0; right:0; bottom:-10px; height:4px; border-radius:999px;
  background:linear-gradient(90deg,#f6d34b,#eab308,#ffd36a);
  box-shadow:0 6px 18px rgba(234,179,8,.35);
}

/* Track as carousel with snap */
.t-track{
  display:grid; grid-auto-flow:column; grid-auto-columns: minmax(280px, 420px);
  gap:16px; margin-top:18px; padding-bottom:6px;
  overflow-x:auto; scroll-snap-type:x mandatory; scroll-padding: 1px;
  -webkit-overflow-scrolling: touch;
}
.t-card{ scroll-snap-align:start; }

/* Card look */
.t-card{
  position:relative; display:flex; gap:14px; align-items:flex-start;
  padding:16px; border-radius:18px; min-height:120px;
  background:linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
  border:1px solid rgba(255,255,255,.12);
  backdrop-filter: blur(10px);
  box-shadow:0 16px 36px rgba(0,0,0,.45), inset 0 1px 0 rgba(255,255,255,.12);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.t-card:hover{ transform: translateY(-4px); box-shadow:0 22px 46px rgba(0,0,0,.55); border-color:rgba(255,255,255,.16) }
.t-card::before{
  /* aksen emas tipis di kiri */
  content:""; position:absolute; left:-1px; top:10px; bottom:10px; width:6px; border-radius:999px;
  background:linear-gradient(180deg,#f8df72,#eab308 70%,#cfa007);
  box-shadow:0 6px 16px rgba(234,179,8,.35);
}

/* Avatar */
.t-avatar{
  width:56px; height:56px; object-fit:cover; border-radius:50%;
  box-shadow:0 6px 18px rgba(0,0,0,.45);
  border:2px solid rgba(255,255,255,.25);
  background:#0b0c10;
}

/* Content */
.t-body{ min-width:0; }
.t-row{ display:flex; align-items:center; justify-content:space-between; gap:10px; }
.t-name{ margin:0; font-weight:700; color:#fff; font-size:16px }
.t-stars span{
  font-size:14px; letter-spacing:1px;
  background:linear-gradient(90deg,#f6d34b,#eab308,#ffd36a);
  -webkit-background-clip:text; -webkit-text-fill-color:transparent; background-clip:text;
  text-shadow:0 1px 0 rgba(0,0,0,.35);
}
.t-quote{ margin:6px 0 4px; color:#e9edf3; line-height:1.6 }
.t-meta{ font-size:12px; color:#aab0bb }

/* Nav buttons */
.t-nav{ display:flex; justify-content:flex-end; gap:8px; margin-top:12px; }
.t-btn{
  width:42px; height:42px; border-radius:12px; border:none; cursor:pointer;
  background:linear-gradient(180deg,#f8df72,#eab308 70%,#cfa007);
  color:#1a1a1a; font-weight:900; font-size:20px;
  box-shadow:0 10px 24px rgba(234,179,8,.35), inset 0 1px 0 rgba(255,255,255,.55);
  transition:transform .15s ease, filter .2s ease;
}
.t-btn:hover{ transform: translateY(-1px); filter:brightness(1.05) }

/* Reveal tie-in (sesuai sistem kamu) */
.testimonials .reveal{ opacity:0; transform: translateY(16px); }
.testimonials .reveal.show{ opacity:1; transform:none; transition:opacity .6s ease, transform .6s ease; }


/* ========== PROMO (KOSONG / TIADA PROMOSI) ========== */
.promo-empty {
  background: #0b0f14;
  color: #f5f5f5;
  text-align: center;
  padding: 5rem 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.promo-empty .promo-title {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  color: #f7d794; /* emas lembut */
  margin-bottom: 1rem;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

.promo-empty .promo-desc {
  font-family: 'Inter', sans-serif;
  font-size: clamp(1rem, 2.2vw, 1.2rem);
  color: #ccc;
  line-height: 1.7;
  max-width: 650px;
  margin: 0 auto 2rem;
}

.promo-empty-box {
  display: inline-block;
  border: 1px dashed rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  padding: 1.25rem 2rem;
  background: rgba(255, 255, 255, 0.02);
}

.promo-empty-box .small {
  color: #999;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
}

/* Responsif */
@media (max-width: 600px) {
  .promo-empty {
    padding: 4rem 1rem;
  }
  .promo-empty .promo-desc {
    font-size: 1rem;
  }
}

/* Garis emas di bawah judul promo */
.promo-empty .promo-title {
  position: relative;
  display: inline-block;
  padding-bottom: 0.75rem;
}

.promo-empty .promo-title::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, #ffcc70, #ffb347);
  box-shadow: 0 0 10px rgba(255, 210, 90, 0.5);
}




/* --- ORDER (premium) --- */
.order-section {
  background: #0e0e0f; /* dark premium */
  padding: 80px 20px;
  text-align: center;
  /* biar anchor dari navbar fixed tidak ketutup */
  scroll-margin-top: var(--nav-height, 90px);
}

.order-section .section-title {
  font-family: "Playfair Display", serif;
  font-size: clamp(28px, 4vw, 40px);
  color: #fff;
  margin: 0 0 10px;
  letter-spacing: .5px;
}

.order-section .section-subtitle {
  color: #cfcfd6;
  margin: 0 auto 40px;
  max-width: 700px;
  line-height: 1.6;
}

.order-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 22px;
  align-items: stretch;
}

.order-btn {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  border-radius: 18px;
  padding: 22px 18px;
  background: linear-gradient(145deg, #141417, #1b1b1f);
  box-shadow: 0 10px 26px rgba(0,0,0,.45), inset 0 0 0 1px rgba(255,255,255,.06);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  border: 1px solid rgba(255,255,255,.08);
  color: #f2f2f5;
  overflow: hidden; /* untuk efek glow */
}

.order-btn:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(0,0,0,.55), inset 0 0 0 1px rgba(255,255,255,.10);
}

.order-logo {
  width: 72px;
  height: 72px;
  object-fit: contain;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,.35));
  user-select: none;
  pointer-events: none;
}

.order-label {
  font-weight: 700;
  letter-spacing: .2px;
  opacity: .95;
}

/* aksen border per platform, tanpa ubah class lama */
.order-btn[data-platform="grab"] { border-color: #00b14f; }
.order-btn[data-platform="shopeefood"] { border-color: #ff5722; }
.order-btn[data-platform="foodpanda"] { border-color: #d70f64; }
.order-btn[data-platform="misi"] { border-color: #ff8c00; }
.order-btn[data-platform="apps"] { border-color: #3a7afe; }

/* efek kilau lembut */
.order-btn .card-glow {
  position: absolute;
  inset: -60% -20%;
  background: radial-gradient(60% 40% at 50% 50%, rgba(255,255,255,.12), rgba(255,255,255,0));
  transform: rotate(15deg) translateY(35%);
  transition: transform .6s ease, opacity .4s ease;
  opacity: .65;
}
.order-btn:hover .card-glow {
  transform: rotate(15deg) translateY(0%);
  opacity: .9;
}

/* catatan kecil */
.order-section .muted {
  display: inline-block;
  margin-top: 28px;
  color: #9a9aa3;
  font-size: .92rem;
}

/* smooth scroll (kalau belum ada) */
html { scroll-behavior: smooth; }

/* Reveal on scroll (Order) */
#order .order-btn{
  opacity: 0;
  transform: translateY(14px) scale(.98);
  transition: opacity .5s ease, transform .5s ease;
  will-change: opacity, transform;
}

/* Stagger: jeda bertahap per kartu */
#order .order-grid .order-btn:nth-child(1){ transition-delay: .00s; }
#order .order-grid .order-btn:nth-child(2){ transition-delay: .06s; }
#order .order-grid .order-btn:nth-child(3){ transition-delay: .12s; }
#order .order-grid .order-btn:nth-child(4){ transition-delay: .18s; }
#order .order-grid .order-btn:nth-child(5){ transition-delay: .24s; }
/* tambahkan lagi jika kartunya >5 */

#order .order-btn.is-in{
  opacity: 1;
  transform: none;
}

/* Aksesibilitas: matikan animasi kalau user prefer reduce motion */
@media (prefers-reduced-motion: reduce){
  #order .order-btn{ transition: none; opacity: 1; transform: none; }
}

/* ===== PREMIUM ORDER LOOK (tanpa ubah HTML) ===== */

/* 1) Variabel aksen per platform */
.order-btn { --accent: #6b7280; } /* default netral */
.order-btn[data-platform="grab"]        { --accent:#00b14f; }
.order-btn[data-platform="shopeefood"]  { --accent:#ff5722; }
.order-btn[data-platform="foodpanda"]   { --accent:#d70f64; }
.order-btn[data-platform="misi"]        { --accent:#ffb000; }
.order-btn[data-platform="apps"]        { --accent:#3a7afe; }

/* 2) Kartu kaca gelap + border aksen tipis */
.order-btn{
  border-radius: 22px;
  padding: 26px 22px;
  background:
    radial-gradient(120% 140% at 20% 10%, rgba(255,255,255,.06), rgba(255,255,255,0) 55%),
    linear-gradient(180deg, #17181b, #101114 60%);
  border: 1px solid color-mix(in oklab, var(--accent) 32%, #ffffff 0%);
  box-shadow:
    0 18px 40px rgba(0,0,0,.45),
    inset 0 0 0 1px rgba(255,255,255,.06);
  isolation: isolate; /* untuk pseudo di bawah */
}

/* 3) Aura glow lembut sesuai brand (belakang kartu) */
.order-btn::before{
  content:"";
  position:absolute; inset:-25% -10%;
  background: radial-gradient(60% 45% at 50% 30%, color-mix(in oklab, var(--accent) 20%, transparent) , transparent 70%);
  filter: blur(20px);
  opacity:.0; transform: translateY(8px) scale(.98);
  transition: opacity .35s ease, transform .35s ease;
  z-index:-1;
}
.order-btn:hover::before{ opacity:.85; transform:none; }

/* 4) “Sheen” sapuan cahaya */
.order-btn::after{
  content:"";
  position:absolute; inset:0;
  background: linear-gradient(120deg, transparent 35%, rgba(255,255,255,.14) 50%, transparent 65%);
  transform: translateX(-120%) rotate(3deg);
  transition: transform .7s ease;
  pointer-events:none;
  mix-blend-mode: screen;
  opacity:.75;
}
.order-btn:hover::after{ transform: translateX(120%) rotate(3deg); }

/* 5) Logo badge bulat + ring halus */
.order-logo{
  width: 76px; height: 76px; object-fit: contain;
  border-radius: 999px; padding: 10px;
  background: radial-gradient(85% 85% at 50% 35%, #0e0f12, #0a0b0d);
  box-shadow:
    0 6px 18px rgba(0,0,0,.45),
    inset 0 0 0 1px rgba(255,255,255,.06);
  outline: 1.5px solid color-mix(in oklab, var(--accent) 55%, transparent);
  outline-offset: 0;
  transition: transform .25s ease, box-shadow .25s ease, outline-color .25s ease;
}
.order-btn:hover .order-logo{
  transform: translateY(-1px);
  box-shadow: 0 10px 26px color-mix(in oklab, var(--accent) 30%, rgba(0,0,0,.4));
  outline-color: color-mix(in oklab, var(--accent) 80%, transparent);
}

/* 6) Teks label lebih rapi */
.order-label{
  font-weight: 700;
  letter-spacing: .2px;
  font-size: clamp(15px, 1.2vw, 18px);
  opacity:.96;
}

/* 7) Efek hover “angkat” + glow tepi sesuai brand */
.order-btn:hover{
  transform: translateY(-8px);
  box-shadow:
    0 26px 56px color-mix(in oklab, var(--accent) 18%, rgba(0,0,0,.6)),
    inset 0 0 0 1px rgba(255,255,255,.10);
  border-color: color-mix(in oklab, var(--accent) 60%, #ffffff 0%);
}

/* 8) Grid lebih lega di layar besar */
@media (min-width: 992px){
  .order-grid{ gap: 28px; }
}

/* 9) Judul & subjudul sedikit dipoles */
.order-section .section-title{
  letter-spacing: .4px;
  text-shadow: 0 2px 18px rgba(0,0,0,.5);
}
.order-section .section-subtitle{
  font-weight: 500;
  opacity: .9;
}

/* 10) Hormati prefers-reduced-motion */
@media (prefers-reduced-motion: reduce){
  .order-btn, .order-btn::before, .order-btn::after, .order-logo { transition: none; }
}

/* === Border gradient animasi untuk Order Card === */
@keyframes borderFlow {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.order-btn {
  position: relative;
  z-index: 0; /* untuk pseudo border */
  overflow: hidden;
}

/* Pseudo layer untuk border gradient */
.order-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px; /* ketebalan border */
  background: linear-gradient(
    120deg,
    var(--accent) 0%,
    color-mix(in oklab, var(--accent) 50%, white) 50%,
    var(--accent) 100%
  );
  background-size: 200% 200%;
  animation: borderFlow 4s linear infinite;
  -webkit-mask: 
    linear-gradient(#fff 0 0) content-box, 
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  z-index: -1;
  opacity: .6;
  transition: opacity .3s ease;
}

.order-btn:hover::before {
  opacity: 1;
  animation-duration: 2.5s; /* lebih cepat saat hover */
}

/* ===== Animasi judul & subjudul Order ===== */
@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: none; }
}

#order .section-title,
#order .section-subtitle {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .6s ease, transform .6s ease;
}

#order .section-title.is-in {
  animation: fadeSlideUp .8s ease forwards;
}

#order .section-subtitle.is-in {
  animation: fadeSlideUp .8s ease forwards;
  animation-delay: .25s; /* muncul setelah title */
}

/* Info note fade-in terakhir */
#order .muted{
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .6s ease, transform .6s ease;
}
#order .muted.is-in{
  animation: fadeSlideUp .8s ease forwards;
  animation-delay: .7s; /* muncul paling akhir */
}

/* Premium style untuk Order Title & Subtitle */
#order .section-title {
  font-family: "Playfair Display", serif;
  font-size: clamp(2rem, 5vw, 2.8rem);
  font-weight: 700;
  color: #fff;
  letter-spacing: .5px;
  line-height: 1.25;
  position: relative;
  display: inline-block;
  padding-bottom: 8px;

  /* Glow halus */
  text-shadow: 0 2px 10px rgba(0,0,0,.6), 0 4px 22px rgba(0,0,0,.45);
}

/* Aksen garis tipis di bawah title */
#order .section-title::after {
  content:"";
  position:absolute;
  left:50%; bottom:0;
  transform:translateX(-50%);
  width:60%;
  height:2px;
  border-radius:3px;
  background: linear-gradient(90deg,
    transparent,
    color-mix(in oklab, var(--accent, #ffb000) 70%, white),
    transparent
  );
  opacity:.75;
}

/* Subtitle elegan */
#order .section-subtitle {
  font-size: 1.05rem;
  font-weight: 400;
  color: #d1d1d6;
  margin-top: 18px;
  letter-spacing: .3px;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
  text-shadow: 0 1px 8px rgba(0,0,0,.4);
}

/* === Animasi Sheen untuk Title === */
#order .section-title {
  position: relative;
  display: inline-block;
  overflow: hidden; /* biar sheen tidak keluar area */
}

#order .section-title::before {
  content: "";
  position: absolute;
  top: 0; left: -80%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent 0%,
    rgba(255,255,255,.4) 45%,
    rgba(255,255,255,.8) 50%,
    rgba(255,255,255,.4) 55%,
    transparent 100%
  );
  transform: skewX(-20deg);
  animation: sheenMove 5s infinite;
  pointer-events: none;
}

@keyframes sheenMove {
  0%   { left: -80%; }
  60%  { left: 120%; }
  100% { left: 120%; }
}

/* ===== HISTORY UPGRADE ===== */
.history-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(32px, 6vw, 64px);
}

.history-image{
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0,0,0,.55);
  transform: translateY(18px);
  opacity: 0;
  transition: opacity .9s ease, transform .9s ease, box-shadow .4s ease;
}

.history-image:hover img{
  transform: scale(1.03); /* zoom halus */
}

/* Glass border + glow */
.history-image::after{
  content:"";
  position:absolute; inset:0;
  border-radius: inherit;
  background: linear-gradient(135deg,
    rgba(255,255,255,.14),
    rgba(255,255,255,0) 60%,
    rgba(255,255,255,.12)
  );
  opacity:.5;
  pointer-events:none;
}

/* Title elegan */
.history-title{
  font-family: "Playfair Display", serif;
  font-size: clamp(2rem, 5vw, 2.6rem);
  font-weight: 700;
  background: linear-gradient(90deg, #ffffff 0%, #fdd56f 50%, #ffffff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 2px 12px rgba(0,0,0,.5);
  margin: 0 0 22px;
  position: relative;
  display: inline-block;
}
.history-title::after{
  content:"";
  position:absolute; left:0; bottom:-12px;
  width: 180px; height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, #fdd56f, transparent);
  opacity:.9;
}

/* Paragraf elegan */
.history-text{
  max-width: 760px;
  font-size: 1.1rem;
  line-height: 1.9;
  color: #e8e8f0;
  text-shadow: 0 1px 10px rgba(0,0,0,.35);
  text-align: justify;
  text-indent: 1.6em; /* gaya editorial */
  opacity: 0; transform: translateY(18px);
  transition: opacity .9s ease, transform .9s ease;
}

/* Reveal */
.history-image.is-in,
.history-title.is-in,
.history-text.is-in{ opacity:1; transform:none; }

/* Responsif */
@media(max-width: 900px){
  .history-grid{ grid-template-columns: 1fr; text-align:center; }
  .history-title::after{ left:50%; transform:translateX(-50%); }
  .history-text{ text-indent:0; text-align:center; }
}
/* ===== Subtle Pattern Overlay for History ===== */
.history-section{ position: relative; }
.history-section .container{ position: relative; z-index: 1; }

/* Vignette lembut agar fokus ke konten */
.history-section::after{
  content:"";
  position:absolute; inset:0;
  pointer-events:none;
  box-shadow: inset 0 100px 140px rgba(0,0,0,.35),
              inset 0 -80px 120px rgba(0,0,0,.35);
  border-radius: inherit;
  z-index: 0;
}

/* --- Opsi A: Lattice (anyaman diagonal elegan) --- */
.history-section.pattern-lattice::before{
  content:"";
  position:absolute; inset:0; z-index:0; pointer-events:none;
  background-image:
    radial-gradient(120% 90% at 50% -20%, rgba(255,255,255,.05), transparent 60%),
    repeating-linear-gradient(45deg,  rgba(255,255,255,.06) 0 1px, transparent 1px 28px),
    repeating-linear-gradient(-45deg, rgba(255,255,255,.06) 0 1px, transparent 1px 28px);
  background-blend-mode: overlay, normal, normal;
  opacity:.18; /* atur 0.10–0.22 sesuai selera */
}

/* --- Opsi B: Dots (grid titik halus premium) --- */
.history-section.pattern-dots::before{
  content:"";
  position:absolute; inset:0; z-index:0; pointer-events:none;
  background-image:
    radial-gradient(rgba(255,255,255,.10) 1px, transparent 1.2px);
  background-size: 22px 22px;
  background-position: 0 0;
  opacity:.14; /* atur 0.08–0.18 */
}

/* Reduce motion / prefer clarity: bisa matikan pattern bila perlu */
@media (prefers-contrast: more){
  .history-section.pattern-lattice::before,
  .history-section.pattern-dots::before{ opacity:.1; }
}
@media (prefers-reduced-transparency: reduce){
  .history-section.pattern-lattice::before,
  .history-section.pattern-dots::before{ opacity:.06; }
}

/* Caption premium di bawah foto */
.history-caption{
  margin-top: 10px;
  padding: 10px 14px;
  color: #e9e9ef;
  font-size: .98rem;
  line-height: 1.5;
  text-align: center;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 14px;
  backdrop-filter: blur(6px);
  box-shadow: 0 8px 24px rgba(0,0,0,.35);
}
@media (max-width: 900px){
  .history-caption{ font-size: .95rem; }
}

/* ===== Caption Overlay Premium ===== */
.history-caption.overlay{
  position: absolute;
  bottom: 0;
  left: 0; right: 0;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;

  font-size: 1rem;
  font-weight: 500;
  color: #fff;
  letter-spacing: .3px;
  text-shadow: 0 2px 6px rgba(0,0,0,.6);

  /* Gradient background dari bawah foto */
  background: linear-gradient(to top, rgba(0,0,0,.65) 0%, rgba(0,0,0,.25) 70%, transparent 100%);
  border-bottom-left-radius: inherit;
  border-bottom-right-radius: inherit;
}

.history-caption.overlay .icon{
  font-size: 1.2rem;
  line-height: 1;
}

/* Responsive font size */
@media(max-width: 768px){
  .history-caption.overlay{ font-size: .9rem; padding: 12px; }
  .history-caption.overlay .icon{ font-size: 1rem; }
}

/* Container foto */
.history-image{
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 28px 60px rgba(0,0,0,.55);
  isolation: isolate; /* biar pseudo-element tertumpuk rapi */
  transition: transform .5s ease, box-shadow .5s ease;
}

/* Glow border gradient */
.history-image::before{
  content:"";
  position:absolute; inset:0;
  border-radius: inherit;
  padding: 2px;
  background: linear-gradient(135deg,
    #ffffff22,
    #ffb00044,
    #ffffff22
  );
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  opacity:.6;
  pointer-events:none;
  transition: opacity .5s ease;
}


/* Hover efek premium */
.history-image:hover{
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 36px 80px rgba(0,0,0,.65);
}
.history-image:hover::before{ opacity:1; }

/* Sheen (kilau berjalan) */
.history-image .sheen{
  content:"";
  position:absolute;
  top:0; left:-80%;
  width:50%; height:100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,.35) 50%, transparent);
  transform: skewX(-20deg);
  animation: moveSheen 6s infinite;
  pointer-events:none;
}
@keyframes moveSheen{
  0%   { left:-80%; }
  60%  { left:130%; }
  100% { left:130%; }
}



/* Foto kiri tetap premium */
.history-photo{
  position: relative;
  border-radius:18px;
  overflow:hidden;
  box-shadow: 0 10px 24px rgba(0,0,0,.35);
  background: #0d0f12;
}
.history-photo img{
  width:100%; height:auto; display:block;
}
.history-photo::before{ /* filter emas tipis */
  content:""; position:absolute; inset:0; pointer-events:none;
  background: linear-gradient(180deg, rgba(255,215,0,.12), rgba(0,0,0,.25));
}
.history-photo .photo-caption{
  position: absolute; left:14px; right:14px; bottom:14px;
  padding: 10px 14px;
  border-radius: 12px;
  font-weight: 600;
  text-align:center;
  color:#fff;
  background: linear-gradient(180deg, rgba(0,0,0,.45), rgba(0,0,0,.65));
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 8px 20px rgba(0,0,0,.35);
}

/* Halaman teks kanan */
.history-page{
  position: relative;
  padding: clamp(14px, 2vw, 18px) clamp(12px, 1.6vw, 16px);
  border-radius: 16px;
  background:
    radial-gradient(120% 100% at 110% 0%, rgba(255,215,0,.08), transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,.02), rgba(255,255,255,.00));
  border: 1px solid rgba(255,255,255,.05);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05);
}

/* Judul emas (pakai yang sudah ada di contact agar konsisten) */
.gradient-gold{
  background: linear-gradient(90deg, #FFD700, #f0c14b, #FFD700);
  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;
  position:relative;
}
.gradient-gold::after{
  content:""; position:absolute; left:0; bottom:-10px;
  width:90px; height:3px; border-radius:2px;
  background: linear-gradient(90deg, #FFD700, transparent);
}

/* Tipografi paragraf agar terasa “buku” */
.history-text{
  line-height: 1.9;
  letter-spacing: .2px;
  font-size: clamp(16px, .95vw + 12px, 18.5px);
  color: rgba(255,255,255,.88);
  text-align: justify;
  text-justify: inter-word;
}

/* Responsif */
@media (max-width: 980px){
  .history-book{
    grid-template-columns: 1fr;
  }
  .history-book > *:first-child::after{ display:none; } /* spine sembunyi di mobile */
}

/* state awal */
.history-book{
  opacity:0; transform: perspective(1200px) rotateX(2deg) translateY(16px);
  transition: opacity .6s ease, transform .8s cubic-bezier(.2,.7,.2,1);
}
.history-book.show{
  opacity:1; transform: none;
}


/* ===== CONTACT PREMIUM ===== */
.contact-section{
  background: linear-gradient(180deg, #0e0f12, #14151a);
  padding: 110px 20px;
  scroll-margin-top: var(--nav-height, 90px);
  position: relative;
}

.contact-grid{
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(28px, 6vw, 64px);
  align-items: center;
}

/* Title & subtitle */
.contact-title{
  font-family: "Playfair Display", serif;
  font-size: clamp(2rem, 5vw, 2.6rem);
  font-weight: 700;
  background: linear-gradient(90deg, #fff, #fdd56f 50%, #fff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 2px 12px rgba(0,0,0,.5);
  margin: 0 0 10px;
  display: inline-block;
  opacity: 0; transform: translateY(14px);
  transition: opacity .7s ease, transform .7s ease;
}
.contact-title::after{
  content:"";
  display:block;
  width: 180px; height: 3px; margin-top: 12px;
  border-radius: 3px;
  background: linear-gradient(90deg, #fdd56f, transparent);
  opacity:.9;
}

.contact-subtitle{
  color: #d7d7de;
  max-width: 680px;
  line-height: 1.7;
  margin-bottom: 24px;
  opacity: 0; transform: translateY(16px);
  transition: opacity .7s ease, transform .7s ease;
}

/* Info list */
.contact-list{ list-style: none; padding: 0; margin: 0 0 22px; }
.contact-list .item{
  display: grid;
  grid-template-columns: 34px 140px 1fr;
  gap: 12px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.contact-list .item:last-child{ border-bottom: none; }

.contact-list .ico{ font-size: 1.2rem; }
.contact-list .label{
  color: #9ea0aa; font-weight: 600; letter-spacing: .2px;
}
.contact-list .value{
  color: #f0f0f5; text-decoration: none; font-weight: 600;
}
.contact-list .value:hover{ text-decoration: underline; }

/* CTA buttons */
.contact-cta{ display: flex; gap: 12px; flex-wrap: wrap; margin-top: 10px; }
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  padding: 12px 18px; border-radius: 14px; font-weight: 700;
  text-decoration: none; transition: transform .25s ease, box-shadow .25s ease;
}
.btn-wa{
  background: linear-gradient(135deg, #1ea358, #20b369);
  color: #fff; box-shadow: 0 12px 24px rgba(32,179,105,.25);
}
.btn-map{
  background: linear-gradient(135deg, #3a7afe, #6aa1ff);
  color:#fff; box-shadow: 0 12px 24px rgba(58,122,254,.25);
}
.btn:hover{ transform: translateY(-3px); }

/* Note */
.contact-note{ margin-top: 16px; color:#9ea0aa; }

/* RIGHT visual card */
.contact-card{
  position: relative; margin: 0;
  border-radius: 24px; overflow: hidden;
  box-shadow: 0 26px 64px rgba(0,0,0,.55);
  isolation: isolate;
  opacity: 0; transform: translateY(18px);
  transition: opacity .8s ease, transform .8s ease, box-shadow .4s ease;
}
.contact-card img{
  display:block; width:100%; height:auto; border-radius: inherit;
}

/* Border glow + vignette + filter emas tipis */
.contact-card::before{
  content:""; position:absolute; inset:0; border-radius:inherit; padding:2px;
  background: linear-gradient(135deg, #ffffff22, #ffb00044, #ffffff22);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity:.6; pointer-events:none; transition: opacity .4s ease;
}
.contact-card::after{
  content:""; position:absolute; inset:0; border-radius:inherit;
  background:
    linear-gradient(180deg, rgba(255,191,0,.10), rgba(255,191,0,.05) 45%, transparent 100%),
    radial-gradient(circle at 30% 20%, rgba(255,215,100,.16), transparent 70%),
    radial-gradient(ellipse at center, transparent 70%, rgba(0,0,0,.35) 100%);
  mix-blend-mode: soft-light; pointer-events:none;
}

/* Sheen berjalan */
.contact-card .sheen{
  position:absolute; top:0; left:-80%; width:50%; height:100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,.35) 50%, transparent);
  transform: skewX(-20deg); animation: moveSheen 6s infinite; pointer-events:none;
}
@keyframes moveSheen{ 0%{left:-80%} 60%{left:130%} 100%{left:130%} }

/* Caption overlay */
.contact-caption.overlay{
  position:absolute; left:0; right:0; bottom:0; padding:14px 18px;
  display:flex; align-items:center; justify-content:center; gap:8px;
  color:#fff; text-shadow:0 2px 6px rgba(0,0,0,.6);
  background: linear-gradient(to top, rgba(0,0,0,.65), rgba(0,0,0,.25) 70%, transparent);
  border-bottom-left-radius:inherit; border-bottom-right-radius:inherit;
  font-weight:600;
}
.contact-caption .icon{ font-size:1.1rem; }

/* Reveal sequence */
.contact-title.is-in, .contact-subtitle.is-in, .contact-card.is-in{ opacity:1; transform:none; }
.contact-subtitle.is-in{ transition-delay:.12s; }
.contact-card.is-in{ transition-delay:.22s; }

/* Responsive */
@media (max-width: 992px){
  .contact-grid{ grid-template-columns: 1fr; }
  .contact-title::after{ width: 150px; }
}

/* Card foto contact */
.contact-card{
  position: relative;
  margin: 0 auto;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 22px 58px rgba(0,0,0,.55);
  isolation: isolate;
  opacity: 0; transform: translateY(18px);
  transition: opacity .8s ease, transform .8s ease, box-shadow .4s ease;
  max-width: 420px;         /* ❗ batasi lebar biar tidak terlalu besar */
}

.contact-card img{
  display:block;
  width:100%;
  height:auto;              /* ❗ biar proporsional */
  object-fit: contain;      /* ❗ tidak memotong */
  border-radius: inherit;
  max-height: 480px;        /* ❗ kontrol tinggi maksimum */
  margin: 0 auto;
  transition: transform .5s ease;
}
.contact-card:hover img{
  transform: scale(1.02);   /* zoom halus saat hover */
}

/* Border glow */
.contact-card::before{
  content:""; position:absolute; inset:0; border-radius:inherit; padding:2px;
  background: linear-gradient(135deg, #ffffff22, #ffb00044, #ffffff22);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity:.6; pointer-events:none; transition: opacity .4s ease;
}
.contact-card:hover::before{ opacity:1; }

/* Filter emas tipis + vignette */
.contact-card::after{
  content:""; position:absolute; inset:0; border-radius:inherit;
  background:
    linear-gradient(180deg, rgba(255,191,0,.10), rgba(255,191,0,.05) 45%, transparent 100%),
    radial-gradient(circle at 30% 20%, rgba(255,215,100,.16), transparent 70%),
    radial-gradient(ellipse at center, transparent 70%, rgba(0,0,0,.35) 100%);
  mix-blend-mode: soft-light;
  pointer-events:none;
  z-index: 2;
}

/* Sheen (kilau berjalan) */
.contact-card .sheen{
  position:absolute; top:0; left:-80%; width:50%; height:100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,.35) 50%, transparent);
  transform: skewX(-20deg);
  animation: moveSheen 6s infinite;
  pointer-events:none;
  z-index: 3;
}
@keyframes moveSheen{ 0%{left:-80%} 60%{left:130%} 100%{left:130%} }

/* Caption overlay */
.contact-caption.overlay{
  position:absolute; left:0; right:0; bottom:0;
  padding:12px 16px;
  display:flex; align-items:center; justify-content:center; gap:8px;
  color:#fff; font-size:.95rem; font-weight:600;
  text-shadow:0 2px 6px rgba(0,0,0,.6);
  background: linear-gradient(to top, rgba(0,0,0,.65), rgba(0,0,0,.25) 70%, transparent);
  border-bottom-left-radius:inherit; border-bottom-right-radius:inherit;
  z-index: 4;
}
.contact-caption .icon{ font-size:1.1rem; }

/* Subtitle elegan */
.contact-subtitle{
  font-size:1.05rem;
  line-height:1.7;
  color:#dcdce4;
  margin-bottom:28px;
}

/* Tombol lebih premium */
.btn{
  border:none;
  font-size:.95rem;
  letter-spacing:.2px;
  border-radius:14px;
}
.btn-wa{
  background: linear-gradient(135deg, #1ea358, #20b369);
  box-shadow:0 10px 24px rgba(32,179,105,.25);
}
.btn-map{
  background: linear-gradient(135deg, #3a7afe, #6aa1ff);
  box-shadow:0 10px 24px rgba(58,122,254,.25);
}
.btn:hover{ transform:translateY(-2px) scale(1.02); }


/* Premium gradient gold title */
.gradient-gold {
  background: linear-gradient(90deg, #FFD700, #f0c14b, #FFD700);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
}
.gradient-gold::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #FFD700, transparent);
  border-radius: 2px;
}

/* Fancy list */
.fancy-list .item {
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  gap: 10px;
  transition: transform 0.3s ease;
}
.fancy-list .item:hover {
  transform: translateX(6px);
  color: #FFD700;
}
.fancy-list .ico {
  font-size: 1.2rem;
}

/* Premium buttons */
.glow-btn {
  padding: 12px 22px;
  border-radius: 12px;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, #28a745, #20c997);
  box-shadow: 0 4px 12px rgba(40,167,69,0.4);
  transition: all 0.3s ease;
}
.glow-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 18px rgba(40,167,69,0.6);
}
.glow-btn.blue {
  background: linear-gradient(135deg, #007bff, #00b4ff);
  box-shadow: 0 4px 12px rgba(0,123,255,0.4);
}
.glow-btn.blue:hover {
  box-shadow: 0 8px 18px rgba(0,123,255,0.6);
}

/* Premium photo with gold overlay */
.premium-photo {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  box-shadow: 0 4px 25px rgba(0,0,0,0.4);
}
.premium-photo img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 18px;
}
.premium-photo .gold-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,215,0,0.15), rgba(0,0,0,0.3));
  pointer-events: none;
  border-radius: 18px;
}

/* ===== FAQ Premium ===== */
.faq-section .section-title{ text-align:center; margin-bottom:8px; }
.faq-section .section-subtitle{
  text-align:center; color:rgba(255,255,255,.75); margin-bottom:26px;
  position:relative;
}
.faq-section .section-subtitle::after{
  content:""; display:block; width:72px; height:3px; margin:14px auto 0;
  background:linear-gradient(90deg,#FFD700,transparent); border-radius:2px;
}

/* Card */
.faq-card{
  margin:14px 0;
  border-radius:14px;
  background: linear-gradient(145deg, rgba(255,215,0,.06), rgba(255,255,255,.02));
  border:1px solid rgba(255,215,0,.18);
  transition: border-color .25s ease, box-shadow .25s ease, background .25s ease;
  overflow:hidden;
}
.faq-card:hover{
  border-color: rgba(255,215,0,.35);
  box-shadow: 0 10px 24px rgba(0,0,0,.28);
}

.faq-card summary{
  list-style:none; cursor:pointer; user-select:none; outline:none;
  display:flex; align-items:center; gap:10px;
  padding:18px 20px;
  font-weight:700; color:#fff; position:relative;
}
.faq-card summary::-webkit-details-marker{ display:none; }
.faq-icon{ color:#FFD700; font-size:1.05em; }

/* caret custom */
.faq-card summary::after{
  content:"›";
  position:absolute; right:16px; top:50%; transform:translateY(-50%) rotate(90deg);
  font-size:20px; color:rgba(255,255,255,.6); transition: transform .25s ease, color .25s ease;
}
.faq-card[open] summary::after{
  transform:translateY(-50%) rotate(-90deg);
  color:#FFD700;
}

/* isi (slide + fade) */
.faq-card .answer{
  padding:0 20px 18px;
  overflow:hidden;
  max-height:0;
  opacity:0;
  transition:max-height .35s ease, opacity .35s ease;
}
.faq-card[open] .answer{
  max-height:420px; /* cukup untuk isi normal */
  opacity:1;
}
.faq-card .answer p{
  color:rgba(255,255,255,.88); line-height:1.75; margin:2px 0 0;
}

/* glow saat terbuka */
.faq-card[open]{
  border-color: rgba(255,215,0,.6);
  box-shadow: 0 0 16px rgba(255,215,0,.22), 0 20px 36px rgba(0,0,0,.35);
}

/* Scroll reveal (stagger) */
.faq-reveal{ opacity:0; transform:translateY(14px); transition:opacity .6s ease, transform .6s ease; }
.faq-reveal.is-in{ opacity:1; transform:none; }
.faq-list .faq-reveal:nth-child(1){ transition-delay:.04s; }
.faq-list .faq-reveal:nth-child(2){ transition-delay:.12s; }
.faq-list .faq-reveal:nth-child(3){ transition-delay:.20s; }

/* CTA bawah */
.faq-cta{ text-align:center; margin-top:18px; }
.faq-cta .btn{ position:relative; overflow:hidden; }

/* responsive */
@media (max-width: 720px){
  .faq-card summary{ padding:16px 16px; }
  .faq-card .answer{ padding:0 16px 16px; }
}


/* ===== Footer ===== */
.site-footer{
  margin-top:56px;
  background: radial-gradient(1200px 240px at 50% 0, rgba(255,215,0,.08), transparent 60%),
              linear-gradient(180deg, rgba(255,255,255,.02), rgba(0,0,0,.25));
  border-top:1px solid rgba(255,215,0,.12);
  position:relative;
}
.site-footer .container{ max-width:1160px; }

.footer-grid{
  display:grid;
  grid-template-columns: 1.2fr .8fr .8fr;
  gap:32px;
  padding:42px 0 24px;
}
.f-logo{
  font-size:1.4rem; font-weight:800; letter-spacing:.2px; margin:0 0 8px;
}
.f-logo span{ color:#FFD700; }
.f-tag{ color:rgba(255,255,255,.8); margin:0 0 14px; }

.f-cta{ display:flex; gap:10px; flex-wrap:wrap; margin-bottom:14px; }
.f-social a{
  display:inline-flex; align-items:center; justify-content:center;
  width:36px; height:36px; border-radius:50%;
  background:rgba(255,255,255,.06); border:1px solid rgba(255,215,0,.18);
  margin-right:8px; font-size:18px; transition:.25s;
}
.f-social a:hover{ transform:translateY(-2px); border-color:rgba(255,215,0,.45); }

.f-head{
  margin:2px 0 10px; font-size:1rem; letter-spacing:.3px;
  color:#FFD700; font-weight:700;
}
.f-hours ul{ list-style:none; padding:0; margin:0 0 6px; }
.f-hours li{ display:flex; justify-content:space-between; gap:16px; padding:4px 0; }
.f-hours b{ color:#fff; }
.f-note{ color:rgba(255,255,255,.72); font-size:.92rem; }

.f-links{ display:grid; gap:6px; align-content:start; }
.f-links a{
  color:rgba(255,255,255,.85); text-decoration:none; border-bottom:1px dashed transparent;
  padding-bottom:2px; width:max-content; transition:.2s;
}
.f-links a:hover{ color:#fff; border-bottom-color:rgba(255,215,0,.45); }

.footer-sep{
  height:1px; width:100%;
  background:linear-gradient(90deg, transparent, rgba(255,215,0,.35), transparent);
}
.footer-bottom{
  display:grid; grid-template-columns: 1fr auto auto; align-items:center;
  gap:16px; padding:14px 0 18px;
}
.copy{ color:rgba(255,255,255,.88); }
.legal{ display:flex; align-items:center; gap:10px; }
.legal a{ color:rgba(255,255,255,.88); text-decoration:none; }
.legal a:hover{ color:#FFD700; }

/* Buttons reused */
.btn.glow-btn{
  background:#22C55E; color:#0b130e; border:none;
  box-shadow:0 8px 20px rgba(34,197,94,.25);
}
.btn.ghost-btn{
  background:transparent; border:1px solid rgba(255,215,0,.35); color:#FFD700;
}
.btn.ghost-btn:hover{ background:rgba(255,215,0,.08); }

/* Back to top */
.to-top{
  justify-self:end;
  width:36px;height:36px;border-radius:10px; border:1px solid rgba(255,215,0,.35);
  background:rgba(255,255,255,.06); color:#FFD700; cursor:pointer;
  transition:.25s;
}
.to-top:hover{ transform:translateY(-2px); border-color:#FFD700; }

/* Responsive */
@media (max-width: 900px){
  .footer-grid{ grid-template-columns:1fr; }
  .footer-bottom{ grid-template-columns: 1fr auto; }
  .to-top{ justify-self:start; order:-1; }
}

.policy-modal{
  position:fixed; inset:0; background:rgba(0,0,0,.6);
  display:none; align-items:center; justify-content:center; z-index:90;
  backdrop-filter:saturate(140%) blur(4px);
}
.policy-modal.show{ display:flex; }
.policy-dialog{
  width:min(880px,92vw); max-height:80vh; overflow:auto;
  background:linear-gradient(180deg, #0f1418, #0a0f12);
  border:1px solid rgba(255,215,0,.25);
  border-radius:18px; box-shadow:0 30px 80px rgba(0,0,0,.5);
  padding:18px 18px 20px;
}
.policy-close{
  position:sticky; top:0; float:right;
  width:36px;height:36px;border-radius:10px;
  border:1px solid rgba(255,215,0,.35);
  background:rgba(255,255,255,.06); color:#FFD700; cursor:pointer;
}
.policy-tabs{ display:flex; gap:8px; margin:10px 6px 14px; }
.policy-tabs button{
  padding:8px 12px; border-radius:10px; cursor:pointer;
  background:transparent; color:#fff; border:1px solid rgba(255,215,0,.25);
}
.policy-tabs button.active{ background:rgba(255,215,0,.1); border-color:#FFD700; color:#FFD700; }
.policy-content h3{ margin:6px 0 8px; color:#FFD700; }
.policy-content p, .policy-content li{ color:rgba(255,255,255,.9); line-height:1.6; }
.policy-content ul{ padding-left:18px; }

/* layout kolom about */
#about .grid-2 {
  display: grid;
  grid-template-columns: 1.2fr minmax(320px, 640px);
  gap: 32px;
  align-items: center;
}

/* bingkai kartu media */
.media-card {
  max-width: 640px;             /* hindari melebar kebesaran */
  aspect-ratio: 16 / 10;        /* proporsi rapi */
  overflow: hidden;
  border-radius: 20px;
  background: #0f1418;
  box-shadow: 0 10px 30px rgba(0,0,0,.35);
}

/* gambar mengisi tanpa distorsi */
.media-card picture,
.media-card img {
  display: block;
  width: 100%;
  height: 100%;
}

.media-card img {
  object-fit: cover;            /* crop elegan, bukan stretch */
  image-rendering: auto;
}

/* mobile stack */
@media (max-width: 900px) {
  #about .grid-2 {
    grid-template-columns: 1fr;
  }
  .media-card {
    max-width: 100%;
  }
}

/* ===== FIX: History Section Premium ===== */

/* Foto tidak buram & crop elegan */
.history-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;       /* isi penuh, crop elegan */
  max-height: 480px;       /* kontrol tinggi */
  border-radius: inherit;
  transition: transform .5s ease;
}
.history-image:hover img { transform: scale(1.03); }

/* Gabungkan efek emas + vignette (tidak double buram) */
.history-image::before {
  content: "";
  position: absolute; inset: 0;
  border-radius: inherit;
  background:
    linear-gradient(180deg, rgba(255,191,0,.10), rgba(0,0,0,.25)),
    radial-gradient(circle at 30% 20%, rgba(255,215,100,.18), transparent 70%),
    radial-gradient(ellipse at center, transparent 70%, rgba(0,0,0,.35) 100%);
  mix-blend-mode: soft-light;
  pointer-events: none;
  z-index: 2;
}
.history-image::after { display: none !important; } /* matikan duplikat lama */

/* Frame buku tetap jalan */
.history-book {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .8s ease, transform .8s ease;
}
.history-book.show {
  opacity: 1;
  transform: none;
}

/* Caption overlay biar jelas */
.history-caption.overlay {
  font-size: 1rem;
  color: #fff;
  background: linear-gradient(to top, rgba(0,0,0,.7), rgba(0,0,0,.25) 70%, transparent);
  text-shadow: 0 2px 6px rgba(0,0,0,.6);
}


/* ===== HISTORY LAYOUT SIDE-BY-SIDE ===== */
.history-book{
  display: grid;
  grid-template-columns: 1fr 1fr;   /* 2 kolom: kiri foto, kanan teks */
  gap: 32px;
  align-items: center;
  background: linear-gradient(145deg, #0c1014, #11161b);
  border: 1px solid rgba(255,215,0,.25);
  border-radius: 20px;
  padding: 32px;
  box-shadow: 0 8px 20px rgba(0,0,0,.4);
}

/* Foto */
.history-image{
  position: relative;
  border-radius: 14px;
  overflow: hidden;
}
.history-image img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  max-height: 420px;   /* batas biar nggak terlalu tinggi */
  border-radius: inherit;
  transition: transform .5s ease;
}
.history-image:hover img{ transform: scale(1.03); }

/* Teks */
.history-content{
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.history-title{
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  color: #ffd36a;
}
.history-text{
  font-size: 1rem;
  line-height: 1.7;
  color: #eaeef2;
}

/* Responsif: di mobile tetap stack */
@media (max-width: 768px){
  .history-book{
    grid-template-columns: 1fr; /* balik ke 1 kolom */
    gap: 20px;
    padding: 20px;
  }
  .history-image img{ max-height: 320px; }
}


/* ===== History: caption di BAWAH foto (glass card) ===== */
.history-caption.below,
.history-caption:not(.overlay){
  margin-top: 12px;
  padding: 12px 16px;
  text-align: center;
  font-weight: 600;
  letter-spacing: .2px;
  color: #f3f4f6;
  border-radius: 14px;

  /* glass + border tipis + rim emas lembut */
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: 0 10px 24px rgba(0,0,0,.35), inset 0 1px 0 rgba(255,255,255,.10);
  backdrop-filter: blur(6px);
  position: relative;
  overflow: hidden;
}

/* sapuan kilau tipis di caption */
.history-caption.below::after{
  content:"";
  position:absolute; inset:0;
  background: linear-gradient(115deg, transparent 0%,
    rgba(255,255,255,.18) 46%, rgba(255,255,255,.36) 50%,
    rgba(255,255,255,.18) 54%, transparent 100%);
  mix-blend-mode: screen; opacity:.0; pointer-events:none;
}
.history-caption.below:hover::after{ animation: captionShine 1.6s linear; opacity:.9; }
@keyframes captionShine{ from{transform:translateX(-35%)} to{transform:translateX(35%)} }

/* garis emas kecil sebagai aksen di caption */
.history-caption.below::before{
  content:"";
  position:absolute; left:50%; transform:translateX(-50%);
  bottom:-1px; width:140px; height:2px; border-radius:2px;
  background: linear-gradient(90deg,#f6d34b,#eab308,#ffd36a);
  opacity:.75;
}

/* ===== Corner chip kecil di pojok foto (tidak menutupi area utama) ===== */
.corner-chip{
  position:absolute; left:14px; top:14px;
  display:inline-flex; align-items:center; gap:8px;
  font-size:.9rem; font-weight:700; letter-spacing:.2px;
  color:#111;
  padding: 8px 12px; border-radius:999px;
  background: linear-gradient(180deg,#f8df72,#eab308 70%,#cfa007);
  box-shadow: 0 10px 22px rgba(234,179,8,.35), inset 0 1px 0 rgba(255,255,255,.55);
}
.corner-chip .dot{
  width:8px; height:8px; border-radius:50%;
  background: #111; box-shadow: 0 0 0 2px rgba(0,0,0,.2) inset;
}

/* foto tetap premium (sedikit upgrade hover) */
.history-image{ isolation:isolate; }
.history-image:hover{
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 36px 80px rgba(0,0,0,.65);
}
.history-image:hover img{ transform: scale(1.025); }

/* responsif */
@media (max-width: 768px){
  .corner-chip{ top:10px; left:10px; padding:7px 10px; font-size:.85rem; }
  .history-caption.below{ font-size:.95rem; padding:10px 12px; }
}


/* HISTORY grid */
.history-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}

/* kolom kiri */
.history-left {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.history-image img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 4px 18px rgba(0,0,0,0.4);
}

.history-caption.below {
  text-align: center;
  background: rgba(255, 215, 0, 0.08);
  border: 1px solid rgba(255, 215, 0, 0.25);
  padding: 10px 16px;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 500;
  color: #f5f5f5;
  max-width: 90%;
  margin: 0 auto;
  box-shadow: inset 0 0 8px rgba(255,215,0,0.15);
}

/* Responsive */
@media(max-width: 768px){
  .history-grid {
    grid-template-columns: 1fr;
  }
  .history-content {
    text-align: left;
  }
}


/* ===== HISTORY: layout kiri–kanan ===== */
.history-grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 4vw, 48px);
  align-items:center;
}

.history-left{
  display:flex;
  flex-direction:column;
  gap:12px;
}

/* Frame foto premium + glow */
.history-image{
  position:relative;
  border-radius:20px;
  overflow:hidden;
  box-shadow: 0 24px 60px rgba(0,0,0,.55);
  isolation:isolate;
}
.history-image img{
  width:100%; height:auto; display:block; object-fit:cover; border-radius:inherit;
}
.history-image::before{ /* border gradien tipis */
  content:""; position:absolute; inset:0; padding:2px; border-radius:inherit;
  background: linear-gradient(135deg, #ffffff22, #ffb00044, #ffffff22);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  pointer-events:none; opacity:.65;
}
.history-image::after{ /* filter emas + vignette lembut */
  content:""; position:absolute; inset:0; border-radius:inherit; pointer-events:none;
  background:
    linear-gradient(180deg, rgba(255,191,0,.10), rgba(255,191,0,.05) 45%, transparent 100%),
    radial-gradient(ellipse at center, transparent 70%, rgba(0,0,0,.35) 100%);
  mix-blend-mode: soft-light;
}

/* Sheen berjalan */
.history-image .sheen{
  position:absolute; top:0; left:-80%;
  width:50%; height:100%; transform: skewX(-20deg);
  background: linear-gradient(120deg, transparent, rgba(255,255,255,.35) 50%, transparent);
  animation: moveSheen 6s infinite; pointer-events:none;
}
@keyframes moveSheen{ 0%{left:-80%} 60%{left:130%} 100%{left:130%} }

/* Chip kecil di pojok kiri-atas */
.corner-chip{
  position:absolute; top:12px; left:12px;
  display:inline-flex; align-items:center; gap:8px;
  padding:8px 12px; border-radius:999px;
  background: rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.20);
  font-weight:700; color:#fff; backdrop-filter: blur(6px);
  box-shadow: 0 8px 18px rgba(0,0,0,.35), inset 0 1px 0 rgba(255,255,255,.12);
}
.corner-chip .dot{
  width:8px; height:8px; border-radius:50%;
  background: radial-gradient(circle at 30% 30%, #fff, #facc15);
  box-shadow: 0 0 8px rgba(250,204,21,.6);
}

/* Caption BAWAH gambar */
.history-caption.below{
  text-align:center;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius:12px;
  padding: 10px 14px;
  color:#e9e9ef;
  box-shadow: 0 10px 24px rgba(0,0,0,.35), inset 0 1px 0 rgba(255,255,255,.08);
  max-width: 92%;
  margin: 0 auto;
}

/* Judul & paragraf kanan (sudah premium di CSS kamu),
   di sini hanya tambah spacing kecil */
.history-title{ margin: 0 0 14px; }
.history-text{ margin: 0; }

/* ===== Animasi masuk (reveal) ===== */
.reveal-left, .reveal-right{
  opacity:0;
  transition: opacity .8s ease, transform .8s ease;
  will-change: transform, opacity;
}
.reveal-left{ transform: translateX(-28px); }
.reveal-right{ transform: translateX(28px); }

/* Saat terlihat di layar */
.reveal-left.is-in,
.reveal-right.is-in{
  opacity:1; transform:none;
}

/* Stagger halus untuk elemen di kanan */
.history-content.reveal-right .history-title{ transition-delay:.05s; }
.history-content.reveal-right .history-text{ transition-delay:.12s; }

/* Responsif mobile: stack vertikal */
@media (max-width: 900px){
  .history-grid{ grid-template-columns: 1fr; }
  .history-caption.below{ max-width: 100%; }
}

/* === FAQ: underline di bawah judul (center) === */
.faq-section .section-title{
  position: relative;
  display: inline-block;        /* supaya pseudo-elem pas selebar teks */
  margin: 0 auto 14px;          /* center + jarak ke bawah */
  text-align: center;
}

/* Garis kuning premium tepat di bawah "FAQ" */
.faq-section .section-title::after{
  content:"";
  position:absolute;
  left:50%;
  bottom:-10px;
  transform: translateX(-50%);
  width: 110px;                 /* ubah sesuai selera */
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg,#f6d34b,#eab308,#ffd36a);
  box-shadow: 0 6px 18px rgba(234,179,8,.35);
}

/* Matikan garis yang sebelumnya ada di bawah subtitle */
.faq-section .section-subtitle::after{
  content: none !important;
}

/* Header tetap center, daftar tetap left */
.faq-section .container{
  text-align: center;
}
.faq-section .faq-list,
.faq-section .faq-cta{
  text-align: initial;
}

/* Garis tipis premium di bawah judul FAQ */
.faq-section .section-title {
  position: relative;
  display: inline-block;
  margin-bottom: 28px; /* jarak ke subtitle */
}

.faq-section .section-title::after {
  content: "";
  position: absolute;
  bottom: -8px;           /* jarak sedikit ke bawah teks */
  left: 50%;
  transform: translateX(-50%);
  width: 60px;            /* panjang garis */
  height: 2px;            /* tipis elegan */
  background: linear-gradient(90deg, transparent, #facc15, transparent);
  border-radius: 2px;
}

/* Garis animasi premium di bawah judul FAQ */
.faq-section .section-title {
  position: relative;
  display: inline-block;
  margin-bottom: 28px; /* jarak ke subtitle */
}

.faq-section .section-title::after {
  content: "";
  position: absolute;
  bottom: -8px;         
  left: 50%;
  transform: translateX(-50%) scaleX(0);  /* mulai kecil */
  transform-origin: center;               /* animasi dari tengah */
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, transparent, #facc15, transparent);
  border-radius: 2px;
  animation: faqLine 1s ease forwards;    /* animasi sekali */
}

@keyframes faqLine {
  to {
    transform: translateX(-50%) scaleX(1);  /* garis membesar ke kiri-kanan */
  }
}



/* ================== AYAM LOTTIE ================== */

/* Posisi ayam di pojok layar, kecil & tidak ganggu klik */
.chicken-layer {
  position: fixed;
  left: 16px;
  bottom: 12px;
  z-index: 2;
  pointer-events: none;   /* biar tidak nutupin tombol/menu */
  opacity: .95;
  will-change: transform;
}

/* Skala lebih kecil di mobile */
@media (max-width: 480px) {
  .chicken-layer {
    transform: scale(.85);
    transform-origin: bottom left;
  }
}

/* Aksesibilitas: kalau user pilih reduce motion → ayam hilang */
@media (prefers-reduced-motion: reduce) {
  .chicken-layer { display: none; }
}

/* Efek bayangan saat lompat */
.chicken-layer.hopping {
  filter: drop-shadow(0 6px 8px rgba(0,0,0,.18));
}

/* Animasi lompat (layer naik-turun) */
@keyframes hopY {
  0%   { transform: translateY(0); }
  45%  { transform: translateY(-12px); }
  100% { transform: translateY(0); }
}
.chicken-layer.hopping {
  animation: hopY .42s ease-out 1;
}

/* Animasi mematuk (jongkok sebentar) */
@keyframes peckSquash {
  0%   { transform: scaleY(1) translateY(0); }
  50%  { transform: scaleY(.85) translateY(4px); }
  100% { transform: scaleY(1) translateY(0); }
}
.chicken-layer.pecking #chickenOne {
  animation: peckSquash .45s ease-in-out 1;
}

/* Animasi melambai (rotasi kecil) */
@keyframes waveHand {
  0%   { transform: rotate(0deg) scaleX(1); }
  25%  { transform: rotate(-8deg) scaleX(1); }
  50%  { transform: rotate(6deg) scaleX(1); }
  75%  { transform: rotate(-4deg) scaleX(1); }
  100% { transform: rotate(0deg) scaleX(1); }
}
.chicken-layer.waving #chickenOne {
  animation: waveHand 1.2s ease-in-out 1;
}


/* =========================================
   GLOBAL BASE + RESPONSIVE (FINAL CLEAN)
   ========================================= */

/* Anti overscroll horizontal & media responsif */
html, body { overflow-x: hidden; }
img, video, iframe { max-width: 100%; height: auto; display: block; }

/* Section safety (bayangan/animasi tak melebar) */
.section { overflow-x: clip; position: relative; z-index: 1; }

/* Container umum (opsional, biar rapih di HP) */
.container { width: min(94%, var(--container, 1200px)); margin-inline: auto; }

/* Tipografi hero lebih lentur di HP */
.hero-title { font-size: clamp(28px, 7vw, 56px); line-height: 1.08; }
.hero-sub   { font-size: clamp(16px, 4.4vw, 22px); line-height: 1.4; }

/* Grid util sederhana */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 768px){
  .grid-2 { grid-template-columns: 1fr; gap: 16px; }
  .hero-cta { flex-wrap: wrap; }
  .btn.primary, .btn.ghost { padding: 10px 18px; }
}

/* =========================================
   NAVBAR + MOBILE DRAWER (FINAL)
   ========================================= */

:root { --nav-h: 70px; }

.navbar{
  position: sticky; top: 0; left: 0; right: 0;
  z-index: 1400;
  backdrop-filter: saturate(140%) blur(0px);
}
.navbar.scrolled{
  backdrop-filter: blur(6px);
  box-shadow: 0 6px 18px rgba(0,0,0,.25);
}
.nav-inner{
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 8px 0;
}

.right-actions{ display: flex; align-items: center; gap: 10px; }
.btn.small{ padding: 6px 10px; font-size: 13px; line-height: 1; }

/* Desktop: tampilkan nav; sembunyikan burger */
@media (min-width: 1024px){
  .nav--desktop, .nav { display: flex !important; gap: 18px; }
  .hamburger { display: none !important; }
  .mobile-drawer, .nav-overlay { display: none !important; }
}

/* Mobile: sembunyikan nav; tampilkan burger */
@media (max-width: 1023px){
  .nav--desktop, .nav { display: none !important; }
  .hamburger { display: inline-flex; align-items: center; gap: 8px; position: relative; z-index: 1501; cursor: pointer; }
  .right-actions { gap: 8px; }
}
.hamburger svg { display: block; }
.hamburger rect { fill: currentColor; }

/* Sembunyikan label "Menu" di HP kecil agar header tak terdorong */
@media (max-width: 480px){ .hamburger-label{ display:none; } }

/* Overlay (di bawah navbar, di atas konten) */
.nav-overlay{
  position: fixed; inset: 0;
  background: rgba(0,0,0,.55);
  backdrop-filter: blur(2px);
  opacity: 0; pointer-events: none;
  transition: opacity .2s ease;
  z-index: 1200;
}
.nav-overlay.show{ opacity:1; pointer-events:auto; }

/* Drawer (di atas overlay tapi di bawah navbar/hamburger) */
.mobile-drawer{
  position: fixed; top: 0; right: 0;
  width: min(86vw, 360px); height: 100dvh;
  background: linear-gradient(180deg, #121826, #0d1117 40%);
  border-left: 1px solid rgba(255,255,255,.08);
  box-shadow: -20px 0 60px rgba(0,0,0,.55), inset 0 1px 0 rgba(255,255,255,.06);
  padding: 18px; display: flex; flex-direction: column; gap: 10px;
  transform: translateX(100%); transition: transform .28s ease;
  z-index: 1300; overflow-y: auto; -webkit-overflow-scrolling: touch;
}
.mobile-drawer.open{ transform: translateX(0); }
.mobile-drawer .nav-link{
  color:#f3f4f6; text-decoration:none; padding:12px 10px; border-radius:12px; font-weight:600; letter-spacing:.2px;
}
.mobile-drawer .nav-link:hover{ background: rgba(255,255,255,.06); }

/* Di layar sangat kecil, sembunyikan tombol order agar header lega */
@media (max-width:480px){ .btn-order{ display:none; } }

/* Pastikan peta (Leaflet) tetap bisa diklik di bawah header/drawer */
.leaflet-container{ z-index: 1 !important; }

/* =========================================
   MENU GRID + CARD (FINAL)
   ========================================= */

/* Grid fleksibel (tidak pernah collapse/lenyap) */
.menu-grid{
  display: flex !important;
  flex-wrap: wrap;
  gap: 22px;
  align-items: stretch;
  box-sizing: border-box;
}

/* Kartu umum */
.menu-grid > .card{
  flex: 1 1 calc(33.333% - 22px);
  max-width: calc(33.333% - 22px);
  display: flex;
  flex-direction: column;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
}

/* Thumbnail 4:3 seragam */
.card .thumb{
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  margin: 12px 12px 10px;
  border-radius: 14px;
  overflow: hidden;
  background: #000;
}
.card .thumb img,
.card .thumb video{
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; display: block;
}

/* Body kartu */
.card .body{
  padding: 0 16px 16px;
  display: flex; flex-direction: column; gap: .55rem; flex: 1;
}
.card .name{
  margin: .35rem 0 0; line-height: 1.25; font-weight: 800;
  font-size: clamp(16px, 1.8vw, 22px);
  min-height: 2.6em;
}
.btn-mini{ align-self: flex-start; margin-top: auto; }

/* Badge */
.card .badge{ position: absolute; z-index: 2; top: 16px; left: 16px; }

/* Shellout: kartu melebar (desktop span 2 kolom) */
@media (min-width: 1025px){
  .menu-grid > .card--wide{
    flex: 1 1 calc(66.666% - 22px);
    max-width: calc(66.666% - 22px);
  }
}
.menu-grid > .card--wide .thumb{
  aspect-ratio: 16 / 9 !important;
  background: #000 !important;
  max-height: min(420px, 48vw) !important;
  margin: 12px !important;
  border-radius: 14px !important;
  overflow: hidden !important;
}
.menu-grid > .card--wide .thumb video{
  object-fit: contain !important;
  object-position: center center !important;
  width: 100% !important; height: 100% !important;
  background: #000 !important;
}

/* Breakpoints grid */
@media (max-width: 1024px){
  .menu-grid{ gap: 18px; }
  .menu-grid > .card{
    flex: 1 1 calc(50% - 18px);
    max-width: calc(50% - 18px);
  }
  .menu-grid > .card--wide{
    flex: 1 1 100%;
    max-width: 100%;
  }
  .card .thumb{ margin: 10px 10px 8px; border-radius: 12px; }
  .menu-grid > .card--wide .thumb{ max-height: min(360px, 56vw) !important; }
}
@media (max-width: 640px){
  .menu-grid{ gap: 14px; }
  .menu-grid > .card{ flex: 1 1 100%; max-width: 100%; }
  .card .body{ padding: 0 12px 12px; }
  .card .name{ font-size: clamp(14px, 4.2vw, 18px); min-height: 2.4em; }
  .btn-mini{ padding: .45rem .75rem; font-size: 13px; }
  .menu-grid > .card--wide .thumb{
    max-height: min(280px, 62vw) !important;
    margin: 10px !important; border-radius: 12px !important;
  }
}

/* =========================================
   SAUCE OPTIONS (ShellOut) – FINAL
   ========================================= */

.menu-grid .sauce-grid{
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)) !important;
  gap: 16px !important;
  margin-top: 12px !important;
}
.menu-grid .sauce{
  width: auto !important; max-width: 220px;
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: 10px 10px 12px !important;
  border-radius: 12px !important;
  background: rgba(255,255,255,.06) !important;
  backdrop-filter: blur(2px);
  overflow: visible !important;
}
.menu-grid .sauce img,
.menu-grid .sauce .sauce-thumb{
  width: 100% !important; height: auto !important;
  aspect-ratio: 1/1 !important; object-fit: cover !important; object-position: center !important;
  border-radius: 10px !important; display: block !important;
}
.menu-grid .sauce figcaption{
  margin-top: 8px !important;
  font-size: 15px !important; line-height: 1.3 !important; font-weight: 600 !important;
  white-space: normal !important; overflow: visible !important; text-overflow: clip !important;
}
@media (max-width: 1024px){
  .menu-grid .sauce-grid{
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)) !important;
    gap: 14px !important;
  }
  .menu-grid .sauce figcaption{ font-size: 14px !important; }
}
@media (max-width: 640px){
  .menu-grid .sauce-grid{
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 12px !important;
  }
  .menu-grid .sauce figcaption{ font-size: 13.5px !important; }
}

/* =========================================
   LIGHTBOX (FINAL NORMALIZED)
   ========================================= */

#lightbox{
  position: fixed; inset: 0;
  background: rgba(0,0,0,.6);
  display: none;
  z-index: 2000;
  overflow: hidden;                /* cegah scrollbar container */
}
#lightbox.open{
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 16px;
}

/* Tombol close */
#lightbox .close{
  position: fixed; top: 14px; right: 16px;
  width: 42px; height: 42px; border-radius: 999px;
  border: 0; background: rgba(0,0,0,.55); color: #fff;
  font-size: 22px; line-height: 42px; text-align: center;
  cursor: pointer; z-index: 2100;
  backdrop-filter: saturate(180%) blur(6px);
}

/* Kontainer (versi baru: lb / lb-media / lb-panel) */
#lightbox .lb{
  width: min(980px, 92vw);
  margin: 5vh auto;
  background: #0f1418;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0,0,0,.35);
  overflow: visible;               /* scroll hanya di panel, bukan di sini */
  display: block;
}

/* Media di atas */
#lightbox .lb-media{
  position: relative;
  display: flex; align-items: center; justify-content: center;
  max-width: min(96vw, 1100px);
  max-height: 72vh;
  margin: 0 auto 14px auto;
  overflow: hidden;
}
#lightbox.show-img #lbImg,
#lightbox.show-video #lbVideo{
  max-width: 100%; max-height: 100%;
  width: auto; height: auto;
  object-fit: contain; display: block;
  background: #000; border-radius: 14px;
}

/* Badge terlaris di media */
#lbBadge{
  position: absolute !important; top: 12px !important; left: 12px !important; z-index: 3 !important;
}

/* Panel deskripsi di bawah – satu-satunya area yang scroll */
#lbPanel.lb-panel,
#lightbox .lb-panel{
  width: min(96vw, 1100px);
  margin: 0 auto;
  background: rgba(16,18,22,.88);
  backdrop-filter: blur(6px);
  border-radius: 14px;
  padding: 16px 18px;
  max-height: clamp(180px, 28vh, 320px);
  overflow: auto;
  color: #f3f6fb;
}
#lightbox .lb-panel h3#lbTitle{
  margin: 0 0 10px; font-weight: 800; line-height: 1.25; font-size: clamp(18px, 2.2vw, 22px);
}
#lightbox .lb-panel ul#lbList{
  margin: 0; padding-left: 1.1rem;
}

/* Responsif kecil: beri ruang lebih untuk media */
@media (max-width: 640px){
  #lightbox .lb{ width: 94vw; margin: 3.5vh auto; border-radius: 14px; }
  #lightbox .lb-media{ max-height: 64vh; }
  #lightbox .lb-panel{ max-height: clamp(160px, 32vh, 300px); padding: 12px 12px 16px; }
}

/* Safety: pastikan Catering tak tersembunyi di HP bila ada animasi */
@media (max-width: 768px){
  #catering,
  #catering .section,
  #catering .reveal,
  #catering .reveal-left,
  #catering .reveal-right{
    opacity: 1 !important; transform: none !important; visibility: visible !important;
  }
  #catering{ display: block !important; }
}


@media (max-width:1023px){
  .mobile-drawer.open ~ .btn-order,
  .nav-overlay.show ~ .btn-order {
    display:none !important;
  }
}


/* === Drawer start di bawah navbar (mobile) === */
:root{ --nav-h: 66px; }  /* nilai awal; nanti di-override oleh JS */

@media (max-width:1023px){
  /* Geser overlay & drawer turun setinggi navbar */
  .nav-overlay{
    top: var(--nav-h);
    height: calc(100dvh - var(--nav-h));
  }
  .mobile-drawer{
    top: var(--nav-h);
    height: calc(100dvh - var(--nav-h));
    padding-top: 14px;            /* ruang napas agar item pertama tak nempel */
  }
}


/* NAVBAR selalu ikut saat scroll */
:root { --nav-h: 66px; }                  /* fallback awal; akan di-update via JS */

.navbar{
  position: fixed;                        /* was: sticky */
  top: 0; left: 0; right: 0;
  z-index: 1400;
}

/* Beri ruang untuk konten agar tidak tertutup header */
body { scroll-padding-top: var(--nav-h); } /* smooth scroll anchor aman */
main, .page, .content, .container-root {
  padding-top: var(--nav-h);
}

/* Drawer & overlay mulai di bawah header (HP) */
@media (max-width:1023px){
  .nav-overlay{
    top: var(--nav-h);
    height: calc(100dvh - var(--nav-h));
  }
  .mobile-drawer{
    top: var(--nav-h);
    height: calc(100dvh - var(--nav-h));
    padding-top: 14px;
  }
}


/* ======= FIX: ruang konten di bawah navbar (mobile/desktop) ======= */
:root{ --nav-h: 66px; }               /* fallback awal */

.navbar{
  position: fixed;                    /* navbar selalu ikut scroll */
  top: 0; left: 0; right: 0;
  z-index: 1400;
}

/* Beri ruang pada seluruh halaman tepat setinggi navbar */
body{ padding-top: var(--nav-h); }

/* Drawer & overlay mulai di bawah navbar (hp) */
@media (max-width:1023px){
  .nav-overlay{
    top: var(--nav-h);
    height: calc(100dvh - var(--nav-h));
  }
  .mobile-drawer{
    top: var(--nav-h);
    height: calc(100dvh - var(--nav-h));
    padding-top: 14px;
  }
}



/* ==== NAVBAR POSITION OVERRIDE (taruh di atas MOBILE FORCE FIX) ==== */
:root{ --nav-h: 66px; } /* boleh ubah sesuai tinggi real navbar */

.navbar{
  position: fixed !important;
  top: 0; left: 0; right: 0;
  z-index: 1400;
}

body{
  /* beri ruang konten setinggi navbar agar tidak ketutup */
  padding-top: var(--nav-h);
}

/* Drawer & overlay mulai di bawah navbar (mobile) */
@media (max-width:1023px){
  .nav-overlay{
    top: var(--nav-h);
    height: calc(100dvh - var(--nav-h));
  }
  .mobile-drawer{
    top: var(--nav-h);
    height: calc(100dvh - var(--nav-h));
    padding-top: 14px;
  }
}


/* ==== MOBILE FORCE FIX (FINAL – taruh PALING BAWAH file) ==== */
@media (max-width:1023px){
  #menu .menu-item,
  #menu .card,
  #menu .reveal,
  #menu .reveal-left,
  #menu .reveal-right {
    opacity: 1 !important;
    transform: none !important;
    visibility: visible !important;
    display: block !important;
    filter: none !important;
  }

  #menu .menu-grid{
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 14px !important;
  }
}



/* === FINAL EMERGENCY FIX FOR MENU === */
#menu {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  padding: 40px 16px !important;
}

#menu .menu-grid {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 16px !important;
  width: 100% !important;
  opacity: 1 !important;
  visibility: visible !important;
}

#menu .menu-item,
#menu .card {
  display: block !important;
  flex: 1 1 100% !important;  /* HP: full width */
  max-width: 100% !important;
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
}

/* === Filter state: sembunyikan item ketika JS memberi .is-hidden === */
#menu .menu-item.is-hidden,
#menu .card.is-hidden {
  display: none !important;
}


@media (min-width: 768px) {
  #menu .menu-item,
  #menu .card {
    flex: 1 1 calc(50% - 16px) !important; /* tablet: 2 kolom */
  }
}

@media (min-width: 1024px) {
  #menu .menu-item,
  #menu .card {
    flex: 1 1 calc(33.333% - 16px) !important; /* desktop: 3 kolom */
  }
}

#menu img,
#menu video {
  width: 100% !important;
  height: auto !important;
  display: block !important;
  border-radius: 12px !important;
}



/* === MEDIA FIX: jangan terpotong di HP === */

/* Container media jangan kunci tinggi */
#menu .thumb {
  position: static !important;
  height: auto !important;
  max-height: none !important;
  overflow: visible !important;
}

/* Gambar & video tampil utuh (contain), full width, tanpa crop */
#menu .thumb > img,
#menu .thumb > picture > img,
#menu .thumb > video,
#menu .menu-video {
  position: static !important;
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  max-height: none !important;
  object-fit: contain !important; /* tampil utuh; kalau mau isi penuh (meski crop) ganti ke 'cover' */
  border-radius: 12px !important;
}

/* Kartu lebar (ShellOut video) kasih aspect ratio yang stabil */
#menu .card--wide .thumb.is-video .menu-video {
  aspect-ratio: 16 / 9 !important;   /* jaga proporsi; tetap tidak memotong karena height:auto */
}

/* Pastikan kolomnya tidak “menggunting” konten */
#menu .menu-grid {
  align-items: stretch !important;
}

/* Jika ada line-height aneh di parent, reset */
#menu .thumb,
#menu .card .thumb {
  line-height: 0 !important; /* menghindari gap atau pemotongan ganjil */
}


/* === PATCH SAUCE IMG — MOBILE ONLY (letakkan PALING BAWAH) === */
@media (max-width: 640px){
  /* pastikan kartu tidak memotong isi */
  #menu .sauce{
    overflow: visible !important;
    min-width: 0 !important;
    min-height: 0 !important;
  }

  /* pastikan elemen gambar tidak tersembunyi/collapse */
  #menu .sauce picture,
  #menu .sauce img{
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 1/1 !important;   /* kotak konsisten */
    object-fit: cover !important;    /* tampil penuh (crop rapi) */
    border-radius: 10px !important;
    transform: none !important;
    filter: none !important;
  }

  /* kalau sebelumnya tinggi fixed kecil, netralkan */
  #menu .sauce img[style*="height"],
  #menu .sauce img{
    max-height: none !important;
  }
}


/* === HOTFIX: gambar saus tidak muncul di HP === */
@media (max-width: 640px){
  /* pastikan container tidak menggunting konten */
  #menu .sauce{
    overflow: visible !important;
  }
  /* tampilkan IMG apa pun kondisi sebelumnya */
  #menu .sauce picture,
  #menu .sauce img{
    position: static !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;

    width: 100% !important;
    height: 78px !important;       /* tinggi eksplisit agar tidak kolaps */
    object-fit: cover !important;   /* isi rapi */
    border-radius: 10px !important;
    z-index: 1 !important;
    transform: none !important;
    filter: none !important;
  }
  /* jika ada overlay dekorasi menutup gambar, matikan di HP */
  #menu .sauce::before,
  #menu .sauce::after{
    display: none !important;
  }
}


/* === HOTFIX MOBILE: kartu & gambar saus jangan kurus === */
@media (max-width: 640px){
  /* grid tetap rapi & center */
  #menu .sauce-grid{
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    justify-items: center !important;
    gap: 14px !important;
  }

  /* lebar minimal tiap kartu saus */
  #menu .sauce{
    width: 128px !important;
    min-width: 128px !important;
    padding: 10px !important;
    border-radius: 14px !important;
    overflow: visible !important;
  }

  /* gambar jadi kotak, jelas, tidak gepeng */
  #menu .sauce picture,
  #menu .sauce img{
    display: block !important;
    width: 96px !important;
    height: 96px !important;      /* ukuran fixed agar tidak kolaps */
    aspect-ratio: 1 / 1 !important;
    object-fit: cover !important;
    border-radius: 12px !important;
    transform: none !important;
    filter: none !important;
    opacity: 1 !important;
    visibility: visible !important;
  }

  /* kalau ada dekorasi menutupi gambar, matikan di HP */
  #menu .sauce::before,
  #menu .sauce::after{
    display: none !important;
  }
}

@media (max-width: 640px){
  #menu .sauce-grid{
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)) !important;
    gap: 14px !important;
  }

  #menu .sauce{
    width: 100% !important;
    max-width: 150px !important;
    margin: 0 auto !important;
  }

  #menu .sauce img{
    width: 100% !important;
    height: auto !important;
    border-radius: 12px !important;
  }
}


/* ===== Mobile Drawer ===== */
.nav-drawer[hidden] { display: none !important; }

.nav-drawer {
  position: fixed;
  top: 0; right: 0; left: 0;
  background: linear-gradient(180deg,#0b1115 0%, #0b1013 100%);
  border-bottom: 1px solid rgba(255,215,0,.15);
  padding: 72px 20px 16px; /* ruang untuk area header */
  z-index: 1000;
  box-shadow: 0 12px 24px rgba(0,0,0,.35);
}

.nav-drawer .nav-list { list-style: none; margin: 0; padding: 0; }
.nav-drawer .nav-list li { border-top: 1px solid rgba(255,255,255,.06); }
.nav-drawer .nav-list li:first-child { border-top: 0; }
.nav-drawer .nav-list a {
  display: block;
  padding: 14px 4px;
  color: #eaeef2;
  text-decoration: none;
  font-size: 16px;
}
.nav-drawer .nav-list a:hover { text-decoration: underline; }

/* Kunci body saat menu terbuka (hindari scroll belakang) */
body.nav-open { overflow: hidden; }

/* Header di atas konten */
.navbar { position: sticky; top: 0; z-index: 1000; }

/* Drawer mobile di atas header dan mulai di bawah header */
.nav-drawer {
  position: fixed;
  top: var(--nav-offset, 80px);     /* fallback 80px kalau JS belum jalan */
  right: 0; left: 0;
  z-index: 2000;                    /* di atas header */
  padding: 12px 20px 16px;          /* padding atas kecil saja, offset diatur oleh top */
  background: linear-gradient(180deg,#0b1115 0%, #0b1013 100%);
  border-bottom: 1px solid rgba(255,215,0,.15);
  box-shadow: 0 12px 24px rgba(0,0,0,.35);
}
