/* Mummy Steamboat & Grill — tema merah tua + krim + emas */
:root {
  --red: #b3121f; --red-2: #d3202d; --red-dark: #7a0a12; --maroon: #3a0509; --maroon-2: #230306;
  --cream: #fff4e0; --cream-2: #f6e3c3; --gold: #f2b632; --gold-2: #ffd36a; --ink: #2a0a0c; --muted: #8a6a64;
  --ok: #1f8a4c; --warn: #c77d0a; --bad: #c4182a; --info: #2166c4;
  --shadow: 0 14px 40px rgba(0, 0, 0, .35);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 16px/1.6 'Segoe UI', system-ui, -apple-system, Roboto, 'Helvetica Neue', Arial, sans-serif; color: var(--cream); background: var(--maroon-2); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold-2); }
h1, h2, h3, h4 { font-family: Georgia, 'Times New Roman', serif; line-height: 1.2; margin: 0 0 .5em; }
.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 32px); margin-inline: auto; }
.center { text-align: center; }
.muted { color: var(--muted); }
.hint { display: block; font-size: .85rem; color: var(--muted); margin-top: 4px; }

/* ---- Latar setiap bahagian (gambar ChatGPT diganti di /img/bg/, gradien merah sebagai sandaran) ---- */
.bg-hero, .bg-pakej, .bg-menu, .bg-galeri, .bg-tempah, .bg-lokasi, .bg-login, .bg-urus {
  background-color: var(--maroon); background-size: cover; background-position: center; background-repeat: no-repeat; position: relative;
}
.bg-hero   { background-image: linear-gradient(180deg, rgba(35,3,6,.55), rgba(35,3,6,.8)), url('/img/bg/hero.jpg'); }
.bg-pakej  { background-image: linear-gradient(180deg, rgba(58,5,9,.82), rgba(35,3,6,.9)), url('/img/bg/pakej.jpg'); }
.bg-menu   { background-image: linear-gradient(180deg, rgba(35,3,6,.85), rgba(58,5,9,.88)), url('/img/bg/menu.jpg'); }
.bg-galeri { background-image: linear-gradient(180deg, rgba(58,5,9,.85), rgba(35,3,6,.9)), url('/img/bg/galeri.jpg'); }
.bg-tempah { background-image: linear-gradient(180deg, rgba(35,3,6,.7), rgba(35,3,6,.85)), url('/img/bg/tempah.jpg'); }
.bg-lokasi { background-image: linear-gradient(180deg, rgba(26,2,4,.9), rgba(26,2,4,.96)), url('/img/bg/lokasi.jpg'); }
.bg-login  { background-image: linear-gradient(180deg, rgba(35,3,6,.6), rgba(35,3,6,.85)), url('/img/bg/login.jpg'); }
.bg-urus   { background-image: linear-gradient(rgba(255,244,224,.94), rgba(255,244,224,.96)), url('/img/bg/urus.jpg'); }

/* ---- Butang ---- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 20px; border-radius: 999px; border: 2px solid transparent; font: 600 1rem/1.2 inherit; cursor: pointer; text-decoration: none; transition: transform .15s, box-shadow .15s, background .15s; }
.btn:hover { transform: translateY(-1px); }
.btn:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--gold-2); outline-offset: 2px; }
.btn-gold { background: linear-gradient(180deg, var(--gold-2), var(--gold)); color: #3a0509; box-shadow: 0 6px 18px rgba(242,182,50,.35); }
.btn-gold:hover { box-shadow: 0 8px 24px rgba(242,182,50,.5); }
.btn-ghost { background: rgba(255,244,224,.08); color: var(--cream); border-color: rgba(255,244,224,.35); }
.btn-danger { background: var(--bad); color: #fff; }
.btn-sm { padding: 8px 14px; font-size: .9rem; } .btn-xs { padding: 4px 10px; font-size: .8rem; } .btn-lg { padding: 14px 28px; font-size: 1.1rem; }
.linkbtn { background: none; border: 0; color: inherit; cursor: pointer; font: inherit; padding: 0; text-decoration: underline; }

/* ---- Header ---- */
.top { position: sticky; top: 0; z-index: 50; background: rgba(35,3,6,.92); backdrop-filter: blur(8px); border-bottom: 1px solid rgba(242,182,50,.25); }
.top-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--cream); text-decoration: none; font: 700 1.1rem Georgia, serif; }
.brand img { border-radius: 50%; }
.nav { display: flex; align-items: center; gap: 6px; }
.nav a { color: var(--cream); text-decoration: none; padding: 8px 12px; border-radius: 999px; font-weight: 500; }
.nav a:hover { background: rgba(255,244,224,.1); }
.nav a.btn { padding: 9px 18px; }
.burger { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.burger i { display: block; width: 24px; height: 3px; background: var(--gold); margin: 5px 0; border-radius: 2px; }

/* ---- Hero + animasi steamboat ---- */
.hero { overflow: hidden; padding: 56px 0 120px; text-align: center; min-height: 86vh; display: flex; align-items: center; }
.hero-in { position: relative; z-index: 2; }
.hero-logo { margin: 0 auto 8px; width: min(320px, 70vw); height: auto; filter: drop-shadow(0 12px 30px rgba(0,0,0,.5)); animation: float 6s ease-in-out infinite; }
.hero h1 { font-size: clamp(2rem, 5vw, 3.4rem); color: var(--cream); text-shadow: 0 3px 18px rgba(0,0,0,.5); }
.lead { font-size: clamp(1.05rem, 2.2vw, 1.35rem); max-width: 640px; margin: 0 auto 24px; color: var(--cream-2); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-bottom: 26px; }
.chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.chips li { background: rgba(255,244,224,.1); border: 1px solid rgba(255,244,224,.25); border-radius: 999px; padding: 6px 14px; font-size: .95rem; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

.steam { position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: 1; }
.steam i { position: absolute; bottom: -60px; width: 110px; height: 110px; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.38), rgba(255,255,255,0) 70%); filter: blur(9px); opacity: 0; animation: rise 11s linear infinite; }
.steam i:nth-child(1) { left: 4%; animation-delay: 0s; } .steam i:nth-child(2) { left: 13%; animation-delay: 2.4s; animation-duration: 13s; }
.steam i:nth-child(3) { left: 22%; animation-delay: 5s; } .steam i:nth-child(4) { left: 31%; animation-delay: 1.2s; animation-duration: 12s; }
.steam i:nth-child(5) { left: 40%; animation-delay: 7s; } .steam i:nth-child(6) { left: 49%; animation-delay: 3.3s; animation-duration: 14s; }
.steam i:nth-child(7) { left: 58%; animation-delay: 6s; } .steam i:nth-child(8) { left: 66%; animation-delay: .6s; animation-duration: 12s; }
.steam i:nth-child(9) { left: 74%; animation-delay: 4.2s; } .steam i:nth-child(10) { left: 82%; animation-delay: 8s; animation-duration: 13s; }
.steam i:nth-child(11) { left: 90%; animation-delay: 2s; } .steam i:nth-child(12) { left: 96%; animation-delay: 5.8s; animation-duration: 12s; }
@keyframes rise { 0% { transform: translate(0, 0) scale(.6); opacity: 0; } 15% { opacity: .75; } 60% { opacity: .35; } 100% { transform: translate(34px, -520px) scale(2.4); opacity: 0; } }

.broth { position: absolute; left: 0; right: 0; bottom: 0; height: 74px; background: linear-gradient(180deg, var(--red-2), var(--red-dark)); z-index: 2; overflow: hidden; }
.broth::before { content: ''; position: absolute; left: -5%; right: -5%; top: -14px; height: 30px; background: var(--red-2); border-radius: 50%; animation: wave 5s ease-in-out infinite alternate; }
.broth b { position: absolute; bottom: -14px; width: 16px; height: 16px; border-radius: 50%; background: rgba(255,211,106,.55); border: 2px solid rgba(255,244,224,.7); animation: bubble 3.6s ease-in infinite; }
.broth b:nth-child(1) { left: 6%; animation-delay: 0s; } .broth b:nth-child(2) { left: 17%; animation-delay: 1.1s; width: 11px; height: 11px; }
.broth b:nth-child(3) { left: 28%; animation-delay: 2.2s; } .broth b:nth-child(4) { left: 39%; animation-delay: .5s; width: 20px; height: 20px; }
.broth b:nth-child(5) { left: 50%; animation-delay: 1.7s; } .broth b:nth-child(6) { left: 61%; animation-delay: 2.8s; width: 12px; height: 12px; }
.broth b:nth-child(7) { left: 72%; animation-delay: .9s; } .broth b:nth-child(8) { left: 82%; animation-delay: 2.5s; width: 18px; height: 18px; }
.broth b:nth-child(9) { left: 91%; animation-delay: 1.4s; } .broth b:nth-child(10) { left: 96%; animation-delay: 3.1s; width: 10px; height: 10px; }
@keyframes bubble { 0% { transform: translateY(0) scale(.5); opacity: 0; } 20% { opacity: 1; } 85% { opacity: .9; transform: translateY(-52px) scale(1); } 100% { transform: translateY(-58px) scale(1.3); opacity: 0; } }
@keyframes wave { from { transform: translateX(-2%) scaleY(1); } to { transform: translateX(2%) scaleY(1.25); } }
@media (prefers-reduced-motion: reduce) { .steam i, .broth b, .broth::before, .hero-logo { animation: none; } .steam i { opacity: .25; } html { scroll-behavior: auto; } }

/* ---- Bahagian ---- */
.sec { padding: 72px 0; }
.sec-h { font-size: clamp(1.7rem, 4vw, 2.4rem); text-align: center; color: var(--gold-2); }
.sec-sub { text-align: center; max-width: 680px; margin: 0 auto 32px; color: var(--cream-2); }
.sub-h { margin: 36px 0 14px; color: var(--gold-2); }
.price-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px; max-width: 760px; margin: 0 auto 28px; }
.price-card { background: var(--cream); color: var(--ink); border-radius: 22px; padding: 28px; text-align: center; box-shadow: var(--shadow); border-top: 6px solid var(--gold); }
.price-card h3 { color: var(--red-dark); font-size: 1.5rem; }
.price { font: 800 2.6rem Georgia, serif; color: var(--red); margin: 6px 0 14px; }
.price small { font: 500 1rem 'Segoe UI', sans-serif; color: var(--muted); margin-left: 6px; }
.price-card ul { list-style: none; padding: 0; margin: 0; text-align: left; }
.price-card li { padding: 6px 0 6px 26px; position: relative; border-top: 1px dashed rgba(122,10,18,.2); }
.price-card li::before { content: '✓'; position: absolute; left: 4px; color: var(--ok); font-weight: 700; }
.gal { display: grid; gap: 14px; }
.gal-3 { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.gal figure { margin: 0; border-radius: 16px; overflow: hidden; background: var(--maroon); box-shadow: var(--shadow); position: relative; }
.gal img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; cursor: zoom-in; transition: transform .4s; }
.gal figure:hover img { transform: scale(1.05); }
.gal figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 14px 10px; background: linear-gradient(transparent, rgba(0,0,0,.75)); font-size: .95rem; }
.menu-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.menu-card { display: flex; gap: 14px; background: rgba(255,244,224,.08); border: 1px solid rgba(255,244,224,.2); border-radius: 16px; padding: 12px; }
.menu-card img { width: 90px; height: 90px; object-fit: cover; border-radius: 12px; flex: none; }
.menu-card h4 { margin: 0 0 4px; color: var(--gold-2); } .menu-card p { margin: 0; font-size: .92rem; } .mprice { color: var(--gold-2); font-weight: 700; }
.cta { text-align: center; }

.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(0,0,0,.9); display: flex; align-items: center; justify-content: center; padding: 20px; cursor: zoom-out; }
.lightbox img { max-width: 100%; max-height: 100%; border-radius: 12px; }

/* ---- Borang & kad ---- */
.card { background: var(--cream); color: var(--ink); border-radius: 22px; padding: 28px; box-shadow: var(--shadow); }
.card h1, .card h2 { color: var(--red-dark); }
.card a { color: var(--red); }
.form label, .rowform label, .settings label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 14px; }
input, select, textarea { width: 100%; margin-top: 6px; padding: 11px 13px; border-radius: 12px; border: 2px solid #e2cfa8; background: #fff; color: var(--ink); font: inherit; }
input:focus, select:focus, textarea:focus { border-color: var(--red); }
input[type=checkbox] { width: auto; margin: 0 6px 0 0; }
input[type=file] { padding: 9px; background: #fff; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field-err { display: block; color: var(--bad); font-weight: 500; font-size: .88rem; margin-top: 4px; }
.total { display: flex; justify-content: space-between; align-items: center; background: #fff; border: 2px dashed var(--gold); border-radius: 14px; padding: 14px 18px; margin: 4px 0 18px; }
.total b { font: 800 1.7rem Georgia, serif; color: var(--red); }
.flash { padding: 12px 16px; border-radius: 12px; margin: 14px 0; font-weight: 500; }
.flash-ok { background: #d9f3e3; color: #14532d; } .flash-bad { background: #fde1e4; color: #7f1d28; } .flash-info { background: #dbe8fb; color: #163a73; }
.notice { padding: 14px 16px; border-radius: 12px; margin: 16px 0; } .notice.warn { background: #fff0cf; color: #6b4300; } .notice.ok { background: #d9f3e3; color: #14532d; } .notice.bad { background: #fde1e4; color: #7f1d28; }
.badge { display: inline-block; padding: 3px 12px; border-radius: 999px; font-size: .82rem; font-weight: 700; }
.badge-ok { background: #d9f3e3; color: #14532d; } .badge-warn { background: #fff0cf; color: #6b4300; } .badge-bad { background: #fde1e4; color: #7f1d28; } .badge-info { background: #dbe8fb; color: #163a73; } .badge-mute { background: #ece5d6; color: #6b5a48; }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; color: var(--muted); margin: 0; }
.code { font: 800 2.2rem Georgia, serif; letter-spacing: .08em; margin: 2px 0 6px; }
.detail { margin: 14px 0; } .detail div { display: flex; gap: 12px; padding: 8px 0; border-bottom: 1px solid rgba(122,10,18,.12); }
.detail dt { flex: 0 0 130px; color: var(--muted); font-size: .92rem; } .detail dd { margin: 0; flex: 1; word-break: break-word; }
.steps { padding-left: 20px; } .steps li { margin-bottom: 6px; }
.pay { display: grid; grid-template-columns: auto 1fr; gap: 22px; align-items: start; margin: 14px 0 20px; }
.qr { width: 190px; border-radius: 14px; border: 3px solid var(--gold); background: #fff; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.inline { display: inline; }

/* ---- Footer ---- */
.foot { padding: 52px 0 0; border-top: 4px solid var(--gold); }
.foot-in { display: grid; grid-template-columns: 1.2fr 1.4fr 1fr; gap: 32px; }
.foot h3 { color: var(--gold-2); font-size: 1.15rem; } .foot p { margin: 0 0 8px; }
.foot-brand img { border-radius: 50%; margin-bottom: 10px; }
.foot-copy { padding: 22px 0; margin-top: 30px; border-top: 1px solid rgba(255,244,224,.15); font-size: .88rem; color: var(--cream-2); }

@media (max-width: 860px) {
  .burger { display: block; }
  .nav { position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; background: rgba(35,3,6,.98); padding: 12px 16px 18px; display: none; border-bottom: 2px solid var(--gold); }
  .nav.open { display: flex; }
  .nav a { padding: 12px; }
  .hero { padding-bottom: 110px; min-height: 0; }
  .foot-in, .row2, .pay { grid-template-columns: 1fr; }
  .qr { margin-inline: auto; }
  .sec { padding: 52px 0; }
  .brand span { font-size: .95rem; }
}
