/* ==========================================================================
   Doner Box — shared brand styles
   Colours & type pulled from the logo: scarlet red, black, cream, bubbly type.
   ========================================================================== */

:root {
  --red:        #E1251B;
  --red-deep:   #B31B14;
  --red-dark:   #8E120C;
  --ink:        #161311;
  --ink-soft:   #3a322e;
  --cream:      #FFF8F0;
  --cream-dim:  #f3e8db;
  --amber:      #F5A623;
  --white:      #ffffff;

  --font-display: "Fredoka", "Baloo 2", system-ui, sans-serif;
  --font-body:    "DM Sans", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;

  --maxw: 1120px;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 10px 30px rgba(22, 19, 17, 0.12);
  --shadow-lg: 0 24px 60px rgba(22, 19, 17, 0.22);
}

/* ---- reset-ish ---- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.05; margin: 0 0 .4em; letter-spacing: -0.01em; }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: clamp(18px, 5vw, 40px); }
.eyebrow {
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .8rem;
  color: var(--red);
}
.center { text-align: center; }

/* subtle flame/grain texture used on dark red panels — pure CSS, no images */
.texture-red {
  background-color: var(--red);
  background-image:
    radial-gradient(120% 90% at 15% -10%, rgba(255,255,255,.14), transparent 55%),
    radial-gradient(120% 120% at 100% 0%, var(--red-deep), transparent 60%),
    radial-gradient(140% 120% at 50% 130%, var(--red-dark), transparent 55%);
}

/* ---- buttons ---- */
.btn {
  --btn-bg: var(--red);
  --btn-fg: var(--white);
  display: inline-flex;
  align-items: center;
  gap: .55em;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.02rem;
  line-height: 1;
  padding: .95em 1.5em;
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
  box-shadow: 0 6px 0 rgba(0,0,0,.18);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 0 rgba(0,0,0,.2); }
.btn:active { transform: translateY(2px); box-shadow: 0 2px 0 rgba(0,0,0,.2); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--cream); border-color: rgba(255,255,255,.55); box-shadow: none; }
.btn--ghost:hover { background: rgba(255,255,255,.12); box-shadow: none; }
.btn--dark { --btn-bg: var(--ink); }
.btn--amber { --btn-bg: var(--amber); --btn-fg: var(--ink); }
.btn--sm { font-size: .9rem; padding: .7em 1.15em; box-shadow: 0 4px 0 rgba(0,0,0,.16); }

/* ---- halal badge ---- */
.halal-badge {
  display: inline-flex; align-items: center; gap: .5em;
  font-family: var(--font-display); font-weight: 600;
  background: var(--ink); color: var(--cream);
  padding: .4em .9em; border-radius: 999px; font-size: .82rem;
  letter-spacing: .02em;
}
.halal-badge::before { content: "✓"; color: var(--amber); font-weight: 700; }

/* ==========================================================================
   Site header
   ========================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,248,240,.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--cream-dim);
}
.site-header .container { display: flex; align-items: center; gap: 1rem; min-height: 68px; }
.brand { display: flex; align-items: center; gap: .6rem; font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; }
.brand img { width: 42px; height: 42px; border-radius: 50%; }
.nav { margin-left: auto; display: flex; align-items: center; gap: clamp(.6rem, 2vw, 1.6rem); }
.nav a { font-family: var(--font-display); font-weight: 500; }
.nav a:not(.btn):hover { color: var(--red); }
.nav .btn { margin-left: .4rem; }
@media (max-width: 640px) { .nav .nav-link { display: none; } }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero { color: var(--cream); position: relative; overflow: hidden; }
.hero .container { display: grid; grid-template-columns: 1.1fr .9fr; gap: 2.5rem; align-items: center; padding-block: clamp(3rem, 8vw, 6rem); }
.hero__logo { justify-self: center; }
.hero__logo img { width: min(360px, 74vw); height: auto; filter: drop-shadow(0 20px 40px rgba(0,0,0,.35)); }
.hero h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); color: var(--white); text-shadow: 0 4px 0 rgba(0,0,0,.18); }
.hero h1 .accent { color: var(--amber); }
.hero p.lede { font-size: clamp(1.05rem, 2.2vw, 1.3rem); max-width: 46ch; color: rgba(255,255,255,.92); }
.hero__cta { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.6rem; }
.hero__meta { margin-top: 1.6rem; display: flex; flex-wrap: wrap; gap: .6rem 1.2rem; font-size: .95rem; color: rgba(255,255,255,.9); }
.hero__meta span { display: inline-flex; align-items: center; gap: .4rem; }
@media (max-width: 820px) {
  .hero .container { grid-template-columns: 1fr; text-align: center; }
  .hero__logo { order: -1; }
  .hero p.lede { margin-inline: auto; }
  .hero__cta, .hero__meta { justify-content: center; }
}

/* ==========================================================================
   Generic sections
   ========================================================================== */
.section { padding-block: clamp(3rem, 7vw, 5.5rem); }
.section h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); }
.section__head { max-width: 60ch; }
.section--cream { background: var(--cream); }
.section--panel { background: var(--white); }

.about-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 2.5rem; align-items: center; }
.about-grid .lede { font-size: 1.12rem; }
@media (max-width: 780px) { .about-grid { grid-template-columns: 1fr; } }

/* image slot — placeholder ready for real photos */
.img-slot {
  position: relative;
  border-radius: var(--radius);
  min-height: 260px;
  background:
    repeating-linear-gradient(135deg, rgba(225,37,27,.06) 0 14px, rgba(225,37,27,.02) 14px 28px),
    var(--cream-dim);
  border: 2px dashed rgba(225,37,27,.3);
  display: grid; place-items: center;
  color: var(--red-deep); font-family: var(--font-display); font-weight: 600;
  text-align: center; padding: 1rem;
}
.img-slot span { opacity: .75; font-size: .95rem; }

/* highlights */
.highlights { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.2rem; margin-top: 2rem; }
.h-card {
  background: var(--cream); border-radius: var(--radius); padding: 1.5rem;
  box-shadow: var(--shadow); border: 1px solid var(--cream-dim);
  transition: transform .15s ease, box-shadow .15s ease;
}
.h-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.h-card .emoji { font-size: 2rem; }
.h-card h3 { font-size: 1.3rem; margin-top: .5rem; }
.h-card p { margin: 0; color: var(--ink-soft); font-size: .96rem; }

/* order / delivery */
.order-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.2rem; margin-top: 2rem; }
.order-card {
  display: flex; flex-direction: column; align-items: center; gap: .8rem; text-align: center;
  background: var(--white); border: 1px solid var(--cream-dim); border-radius: var(--radius);
  padding: 1.8rem 1.4rem; box-shadow: var(--shadow);
}
.order-card .platform { font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; }
.order-card small { color: var(--ink-soft); }

/* reviews slot */
.reviews-slot { margin-top: 2rem; }
.reviews-placeholder {
  border: 2px dashed rgba(22,19,17,.2); border-radius: var(--radius);
  padding: 2rem; text-align: center; color: var(--ink-soft); background: var(--white);
}

/* visit */
.visit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: stretch; }
@media (max-width: 780px) { .visit-grid { grid-template-columns: 1fr; } }
.visit-info dl { display: grid; grid-template-columns: auto 1fr; gap: .5rem 1rem; margin: 1.4rem 0; }
.visit-info dt { font-family: var(--font-display); font-weight: 600; color: var(--red); }
.visit-info dd { margin: 0; }
.hours-list { list-style: none; padding: 0; margin: .4rem 0 0; }
.hours-list li { display: flex; justify-content: space-between; gap: 1rem; padding: .35rem 0; border-bottom: 1px dashed var(--cream-dim); max-width: 320px; }
.map-embed { border-radius: var(--radius); overflow: hidden; min-height: 320px; box-shadow: var(--shadow); }
.map-embed iframe { width: 100%; height: 100%; min-height: 320px; border: 0; display: block; }

/* footer */
.site-footer { background: var(--ink); color: var(--cream); padding-block: 2.6rem; }
.site-footer .container { display: flex; flex-wrap: wrap; gap: 1.4rem; align-items: center; justify-content: space-between; }
.site-footer .brand { color: var(--cream); }
.site-footer a:hover { color: var(--amber); }
.site-footer small { color: rgba(255,248,240,.6); }

/* ==========================================================================
   MENU PAGE
   ========================================================================== */
.menu-header {
  position: sticky; top: 0; z-index: 60;
  background: var(--red);
  color: var(--cream);
}
.menu-header .bar { display: flex; align-items: center; gap: .6rem; min-height: 58px; flex-wrap: nowrap; }
.menu-header .brand { color: var(--cream); font-size: 1.05rem; white-space: nowrap; }
.menu-header .brand img { width: 36px; height: 36px; flex: 0 0 auto; }
.menu-header .back { margin-left: auto; font-family: var(--font-display); font-weight: 600; font-size: .9rem; display: inline-flex; align-items: center; gap: .3rem; white-space: nowrap; }
.menu-header .halal-badge { background: var(--ink); font-size: .74rem; padding: .35em .7em; }
@media (max-width: 380px) { .menu-header .halal-badge { display: none; } }

/* sticky category chips */
.cat-nav {
  position: sticky; top: 60px; z-index: 55;
  background: var(--red-deep);
  overflow-x: auto; -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.cat-nav::-webkit-scrollbar { display: none; }
.cat-nav ul { display: flex; gap: .5rem; list-style: none; margin: 0; padding: .7rem clamp(14px, 5vw, 24px); white-space: nowrap; }
.cat-nav a {
  display: inline-block; font-family: var(--font-display); font-weight: 600; font-size: .92rem;
  color: var(--cream); background: rgba(0,0,0,.18); padding: .5em 1em; border-radius: 999px;
  transition: background .12s ease, color .12s ease;
}
.cat-nav a.is-active { background: var(--amber); color: var(--ink); }

.menu-hero { text-align: center; padding: 2rem 0 .5rem; }
.menu-hero img { width: 110px; height: 110px; border-radius: 50%; margin: 0 auto .8rem; box-shadow: var(--shadow); }
.menu-hero h1 { font-size: 2rem; }
.menu-hero p { color: var(--ink-soft); margin: .2rem 0; }

.menu-wrap { max-width: 760px; margin-inline: auto; padding-inline: clamp(14px, 5vw, 24px); padding-bottom: 4rem; }

.menu-cat { scroll-margin-top: 130px; padding-top: 1.8rem; }
.menu-cat__head { display: flex; align-items: baseline; gap: .7rem; border-bottom: 3px solid var(--red); padding-bottom: .5rem; margin-bottom: .3rem; }
.menu-cat__head h2 { font-size: 1.6rem; margin: 0; color: var(--red-deep); }
.menu-cat__head .count { font-size: .85rem; color: var(--ink-soft); font-family: var(--font-body); }
.menu-cat__note { font-size: .9rem; color: var(--ink-soft); font-style: italic; margin: .1rem 0 .6rem; }

.menu-item {
  display: grid; grid-template-columns: 1fr auto; gap: .2rem 1rem;
  padding: .95rem 0; border-bottom: 1px solid var(--cream-dim);
}
.menu-item__name { font-family: var(--font-display); font-weight: 600; font-size: 1.08rem; }
.menu-item__price {
  font-family: var(--font-display); font-weight: 700; color: var(--red-deep);
  background: rgba(225,37,27,.08); padding: .2em .6em; border-radius: 999px; height: fit-content; white-space: nowrap;
}
.menu-item__desc { grid-column: 1 / 2; margin: 0; color: var(--ink-soft); font-size: .94rem; }

/* back to top */
.to-top {
  position: fixed; right: 18px; bottom: 18px; z-index: 70;
  width: 48px; height: 48px; border-radius: 50%; border: none;
  background: var(--ink); color: var(--cream); font-size: 1.3rem; cursor: pointer;
  box-shadow: var(--shadow-lg); opacity: 0; pointer-events: none; transition: opacity .2s ease;
}
.to-top.show { opacity: 1; pointer-events: auto; }

/* accessibility */
.skip-link { position: absolute; left: -999px; top: 0; background: var(--ink); color: var(--cream); padding: .6em 1em; z-index: 200; border-radius: 0 0 8px 0; }
.skip-link:focus { left: 0; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
