/* =========================================================
TAMIYAH — design tokens
Palette: cream paper, deep olive, ember clay, lantern gold
Type: Aref Ruqaa (display) + Cairo (body/utility)
========================================================= */
:root {
  --cream: #f4ecd8;
  --paper: #faf5e9;
  --ink: #2a2118;
  --olive: #33472b;
  --olive-deep: #202e19;
  --gold: #b9852f;
  --gold-soft: #e8c877;
  --clay: #a8472b;
  --clay-soft: #c76a45;
  --line: #cdbd8f;
  --radius: 14px;
  --shadow: 0 10px 30px -12px rgba(32, 24, 10, 0.35);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: "Cairo", sans-serif;
  line-height: 1.5;
}

h1, h2, h3 {
  font-family: "Aref Ruqaa", serif;
  margin: 0;
}

.btn {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn--gold {
  background: linear-gradient(180deg, var(--gold-soft), var(--gold));
  color: #2a2118;
  box-shadow: var(--shadow);
}

.btn--whatsapp {
  background: #2f7a4d;
  color: #fff;
  text-align: center;
}

.btn--call {
  background: var(--olive);
  color: #fff;
  text-align: center;
}

/* =========================================================
HERO — lantern glow, ember flame signature
========================================================= */
.hero {
  position: relative;
  overflow: hidden;
  background: radial-gradient(120% 140% at 50% -10%, #4a5f3e 0%, var(--olive) 45%, var(--olive-deep) 100%);
  color: var(--paper);
  padding: 64px 20px 56px;
  text-align: center;
}

.hero__glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(45% 55% at 50% 20%, rgba(233, 193, 110, 0.35), transparent 70%);
  animation: flicker 6s ease-in-out infinite;
  pointer-events: none;
}

@keyframes flicker {
  0%, 100% { opacity: 0.85; }
  35% { opacity: 1; }
  50% { opacity: 0.7; }
  72% { opacity: 0.95; }
}

@media (prefers-reduced-motion: reduce) {
  .hero__glow { animation: none; }
}

.hero__lanterns {
  position: absolute;
  inset: 0;
  font-size: 2.4rem;
  opacity: 0.35;
}

.lantern {
  position: absolute;
  top: 18px;
  filter: drop-shadow(0 0 10px rgba(233, 193, 110, 0.6));
}

.lantern--l { left: 6%; }
.lantern--r { right: 6%; }

.hero__inner {
  position: relative;
  z-index: 1;
  max-width: 640px;
  margin: 0 auto;
}

.brand-mark {
  width: 76px;
  height: 76px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 40%, var(--gold-soft), var(--clay) 75%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 3px rgba(244, 236, 216, 0.25), var(--shadow);
  font-size: 2rem;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
  color: var(--gold-soft);
  margin: 0 0 6px;
}

.hero__title {
  font-size: clamp(2.6rem, 8vw, 4.2rem);
  font-weight: 700;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.hero__title-en {
  font-family: "Cairo", sans-serif;
  font-size: 1rem;
  letter-spacing: 0.4em;
  color: var(--gold-soft);
  font-weight: 600;
}

.hero__tagline {
  margin: 10px 0 22px;
  color: #e8dfc9;
  font-size: 1.05rem;
}

.hero__badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 28px;
}

.hero__badges span {
  background: rgba(244, 236, 216, 0.1);
  border: 1px solid rgba(233, 193, 110, 0.35);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.82rem;
}

/* =========================================================
STICKY MENU NAV
========================================================= */
.menu-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  gap: 6px;
  overflow-x: auto;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  padding: 10px 14px;
  scrollbar-width: none;
}

.menu-nav::-webkit-scrollbar { display: none; }

.menu-nav__item {
  flex: none;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--olive);
  font-family: "Cairo", sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  padding: 8px 16px;
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
}

.menu-nav__item.is-active {
  background: var(--olive);
  color: #fff;
  border-color: var(--olive);
}

/* =========================================================
MENU SECTIONS — mirrors the printed menu's dotted leaders
========================================================= */
main {
  max-width: 880px;
  margin: 0 auto;
  padding: 10px 18px 40px;
}

.menu-section {
  padding: 34px 0;
  border-bottom: 1px dashed var(--line);
}

.menu-section:last-child { border-bottom: none; }

.menu-section__title {
  font-size: 1.6rem;
  color: var(--olive);
  margin-bottom: 18px;
  position: relative;
}

.menu-section__title span {
  background: var(--cream);
  padding-inline-end: 14px;
  position: relative;
  z-index: 1;
}

.menu-section__title::after {
  content: "";
  position: absolute;
  right: 0;
  left: 0;
  top: 50%;
  border-top: 2px solid var(--gold);
  z-index: 0;
}

.menu-list {
  display: flex;
  flex-direction: column;
}

.menu-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px dotted var(--line);
}

.menu-item:last-child { border-bottom: none; }

.menu-item__icon {
  flex: none;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--olive);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}

.menu-item__name {
  flex: 1;
  font-weight: 600;
  font-size: 1.05rem;
}

.menu-item__leader { flex: none; }

.menu-item__price {
  flex: none;
  font-weight: 700;
  color: var(--clay);
  min-width: 64px;
  text-align: left;
}

.menu-item__add {
  flex: none;
  border: 1.5px solid var(--olive);
  background: transparent;
  color: var(--olive);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
}

.menu-item__add:hover {
  background: var(--olive);
  color: #fff;
}

/* dense (set-meal) two-column list */
.menu-list--dense {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 24px;
}

@media (max-width: 560px) {
  .menu-list--dense { grid-template-columns: 1fr; }
}

/* card style (featured dishes) */
.menu-list--cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

@media (max-width: 640px) {
  .menu-list--cards { grid-template-columns: 1fr 1fr; }
}

.menu-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 14px;
  text-align: center;
}

.menu-card__icon { font-size: 2.1rem; margin-bottom: 8px; }
.menu-card__name { font-weight: 700; margin-bottom: 4px; }
.menu-card__price { color: var(--clay); font-weight: 800; margin-bottom: 10px; }
.menu-card .menu-item__add { margin: 0 auto; }

.section-note {
  text-align: center;
  color: var(--clay);
  font-weight: 700;
  margin-top: 14px;
}

/* drinks table */
.drinks-table {
  display: flex;
  flex-direction: column;
}

.drinks-row {
  display: grid;
  grid-template-columns: 1fr 60px 60px 40px;
  align-items: center;
  gap: 8px;
  padding: 10px 0;
  border-bottom: 1px dotted var(--line);
  font-size: 0.95rem;
}

.drinks-row__head {
  font-weight: 700;
  color: var(--olive);
  font-size: 0.8rem;
}

.drinks-row__name { font-weight: 600; }

.drinks-row__price {
  text-align: center;
  color: var(--clay);
  font-weight: 700;
  cursor: pointer;
  border-radius: 8px;
  padding: 4px 0;
}

.drinks-row__price:hover { background: var(--cream); }

.drinks-row__price.is-na {
  color: #bbb;
  cursor: default;
}

/* =========================================================
ORDER TICKET (cart) — printed receipt aesthetic
========================================================= */
.ticket-tab {
  position: fixed;
  bottom: 20px;
  left: 20px;
  z-index: 40;
  background: var(--clay);
  color: #fff;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
  cursor: pointer;
}

.ticket-tab__icon { font-size: 1.4rem; }

.ticket-tab__count {
  position: absolute;
  top: -6px;
  right: -6px;
  background: var(--gold);
  color: #2a2118;
  font-weight: 800;
  font-size: 0.75rem;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ticket {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  width: min(360px, 92vw);
  background: var(--paper);
  z-index: 60;
  box-shadow: 12px 0 30px rgba(0, 0, 0, 0.25);
  transform: translateX(-105%);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
}

.ticket.is-open { transform: translateX(0); }

.ticket__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  border-bottom: 2px dashed var(--line);
}

.ticket__close {
  background: none;
  border: none;
  font-size: 1.3rem;
  cursor: pointer;
  color: var(--ink);
}

.ticket__body {
  flex: 1;
  overflow-y: auto;
  padding: 14px 20px;
}

.ticket__empty {
  color: #8a806a;
  font-size: 0.9rem;
  text-align: center;
  margin-top: 30px;
}

.ticket-line {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 0;
  border-bottom: 1px dotted var(--line);
}

.ticket-line__name { flex: 1; font-weight: 600; font-size: 0.92rem; }

.ticket-line__qty {
  display: flex;
  align-items: center;
  gap: 6px;
}

.ticket-line__qty button {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #fff;
  cursor: pointer;
}

.ticket-line__price {
  min-width: 60px;
  text-align: left;
  font-weight: 700;
  color: var(--clay);
}

.ticket__foot {
  padding: 16px 20px 22px;
  border-top: 2px dashed var(--line);
}

.ticket__total {
  display: flex;
  justify-content: space-between;
  font-weight: 800;
  font-size: 1.1rem;
  margin-bottom: 14px;
  color: var(--olive);
}

.ticket__foot .btn {
  display: block;
  width: 100%;
  text-align: center;
  margin-bottom: 10px;
}

.ticket__scrim {
  position: fixed;
  inset: 0;
  background: rgba(20, 16, 8, 0.4);
  z-index: 50;
  display: none;
}

.ticket__scrim.is-open { display: block; }

/* =========================================================
FOOTER
========================================================= */
.site-footer {
  background: var(--olive-deep);
  color: #cfd6c6;
  text-align: center;
  padding: 26px 16px 90px;
  font-size: 0.85rem;
}

.site-footer p { margin: 4px 0; }
