/* ============================================================
   BUFFS — menu styles
   Brand: orange + dark gray, condensed display type, bilingual
   ============================================================ */

:root {
  --orange: #F37A21;
  --orange-deep: #D8651A;
  --orange-soft: rgba(243, 122, 33, 0.14);
  --bg: #3D3D3D;
  --bg-elev: #4A4A4A;
  --bg-elev-2: #555555;
  --text: #FFFFFF;
  --text-muted: #D6D6D6;
  --text-dim: #9E9E9E;

  --radius-pill: 9999px;
  --radius-card: 16px;
  --radius-btn: 12px;

  --shadow-card: 0 2px 10px rgba(0, 0, 0, 0.25);
  --shadow-cta: 0 6px 16px rgba(243, 122, 33, 0.35);

  --font-display: 'Anton', 'Bebas Neue', Impact, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --font-ar: 'Cairo', 'Tajawal', system-ui, sans-serif;

  --maxw: 960px;
  --gutter: clamp(16px, 4vw, 24px);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}

body {
  min-height: 100vh;
  line-height: 1.5;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: transparent; color: inherit; }

/* RTL support */
html[data-lang="ar"] {
  direction: rtl;
}
html[data-lang="ar"] body {
  font-family: var(--font-ar);
}
html[data-lang="ar"] .card__name,
html[data-lang="ar"] .section__title,
html[data-lang="ar"] .hero__tagline,
html[data-lang="ar"] .chip {
  font-family: var(--font-ar);
  letter-spacing: 0;
}

/* Arabic text segments keep Cairo even in EN mode */
[lang="ar"], [dir="rtl"] {
  font-family: var(--font-ar);
  font-weight: 700;
}

/* =========================
   Top bar
   ========================= */
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px var(--gutter);
  background: rgba(45, 45, 45, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.topbar__brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.topbar__brand img {
  width: 40px;
  height: 36px;
}

.topbar__name {
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: 1.5px;
  color: var(--text);
}

.topbar__actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.lang-toggle {
  min-width: 44px;
  height: 36px;
  padding: 0 12px;
  border-radius: var(--radius-pill);
  background: var(--orange);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background .15s ease, transform .1s ease;
}
.lang-toggle:hover { background: var(--orange-deep); }
.lang-toggle:active { transform: scale(0.97); }

html[data-lang="en"] .lang-toggle [data-lang-en] { display: inline; font-family: var(--font-ar); font-size: 18px; }
html[data-lang="en"] .lang-toggle [data-lang-ar] { display: none; }
html[data-lang="ar"] .lang-toggle [data-lang-en] { display: none; }
html[data-lang="ar"] .lang-toggle [data-lang-ar] { display: inline; font-family: var(--font-display); font-size: 16px; }

.icon-btn {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  transition: background .15s ease;
}
.icon-btn:hover { background: rgba(255, 255, 255, 0.16); }

/* =========================
   Hero
   ========================= */
.hero {
  position: relative;
  text-align: center;
  padding: clamp(24px, 6vw, 48px) var(--gutter) 0;
  overflow: hidden;
}

.hero__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero__logo {
  width: min(280px, 55vw);
  height: auto;
  margin: 0 auto 8px;
  filter: drop-shadow(0 4px 18px rgba(0, 0, 0, 0.25));
}

.hero__tagline {
  font-family: var(--font-display);
  font-size: clamp(24px, 5.5vw, 36px);
  letter-spacing: 2px;
  color: var(--text);
  margin: 8px 0 4px;
  text-transform: uppercase;
}

.hero__locale {
  color: var(--text-muted);
  font-size: 14px;
  letter-spacing: 0.5px;
  margin: 0 0 20px;
}

.hero__cta {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.hero__waves {
  width: 100%;
  height: 64px;
  margin-top: -8px;
  opacity: 0.85;
}

/* =========================
   Buttons
   ========================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: var(--radius-btn);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.2px;
  min-height: 44px;
  transition: transform .1s ease, background .15s ease, box-shadow .15s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }

.btn--primary {
  background: var(--orange);
  color: #fff;
  box-shadow: var(--shadow-cta);
}
.btn--primary:hover { background: var(--orange-deep); }

.btn--ghost {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.18);
}
.btn--ghost:hover { background: rgba(255, 255, 255, 0.14); }

/* =========================
   Category chips
   ========================= */
.chips {
  position: sticky;
  top: 58px;
  z-index: 40;
  background: linear-gradient(to bottom, rgba(61, 61, 61, 0.95), rgba(61, 61, 61, 0.85));
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.chips__track {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 0 var(--gutter);
  max-width: var(--maxw);
  margin: 0 auto;
}
.chips__track::-webkit-scrollbar { display: none; }

.chip {
  flex: 0 0 auto;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  background: var(--bg-elev);
  color: var(--text-muted);
  font-family: var(--font-display);
  font-size: 18px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  transition: background .15s ease, color .15s ease, transform .1s ease;
  border: 2px solid transparent;
}
.chip:hover { background: var(--bg-elev-2); color: var(--text); }
.chip.is-active {
  background: var(--orange);
  color: #fff;
  border-color: var(--orange);
}

/* =========================
   Sections
   ========================= */
.section {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 28px var(--gutter) 8px;
  scroll-margin-top: 110px;
}

.section__title {
  display: inline-block;
  margin: 4px 0 18px;
  padding: 8px 22px;
  background: var(--orange);
  color: #fff;
  font-family: var(--font-display);
  font-size: clamp(26px, 5vw, 34px);
  letter-spacing: 2px;
  border-radius: var(--radius-pill);
  text-transform: uppercase;
  box-shadow: 0 3px 0 rgba(0, 0, 0, 0.15);
}
html[data-lang="ar"] .section__title {
  letter-spacing: 0;
  font-size: clamp(22px, 4.5vw, 28px);
}

.section__sub {
  color: var(--text-muted);
  font-size: 14px;
  margin: -10px 0 14px;
}

/* =========================
   Cards
   ========================= */
.grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
}

.card {
  position: relative;
  background: var(--bg-elev);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-card);
  padding: 16px 16px 14px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform .15s ease, border-color .15s ease;
}
.card:hover {
  transform: translateY(-2px);
  border-color: rgba(243, 122, 33, 0.35);
}

.card__name {
  margin: 0;
  font-family: var(--font-display);
  font-size: 28px;
  letter-spacing: 1.5px;
  color: var(--text);
  line-height: 1.1;
}

.card__desc {
  margin: 0;
  color: var(--text-muted);
  font-size: 14.5px;
  line-height: 1.6;
  min-height: 2.5em;
}

.card__prices {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: auto;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  background: var(--orange);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
}
.pill em {
  font-style: normal;
  font-weight: 500;
  opacity: 0.92;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.pill b {
  font-weight: 700;
  font-size: 14px;
}
.pill--solo {
  font-size: 18px;
  padding: 10px 18px;
}
.pill--solo b { font-size: 18px; }

.card--feature {
  background: linear-gradient(135deg, var(--bg-elev) 0%, rgba(243, 122, 33, 0.18) 100%);
  border-color: rgba(243, 122, 33, 0.4);
}
.card--feature .card__name {
  color: var(--orange);
  font-size: 32px;
}

/* =========================
   Simple lists (sides)
   ========================= */
.list {
  list-style: none;
  padding: 0;
  margin: 0;
  background: var(--bg-elev);
  border-radius: var(--radius-card);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.05);
}
.list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 15px;
}
.list li:last-child { border-bottom: 0; }
.list li span { color: var(--text); }
.list li em { color: var(--text-dim); font-style: normal; font-size: 13px; margin-inline-start: 6px; }
.list li b {
  color: var(--orange);
  font-weight: 700;
  font-size: 15px;
  white-space: nowrap;
}

/* =========================
   Tags (sauces)
   ========================= */
.tags {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.tags li {
  padding: 8px 14px;
  background: var(--bg-elev);
  border: 1px solid rgba(243, 122, 33, 0.25);
  border-radius: var(--radius-pill);
  font-size: 14px;
  color: var(--text);
}
.tags li em {
  font-style: normal;
  color: var(--text-muted);
  font-size: 13px;
  margin-inline-start: 6px;
}

/* =========================
   Footer
   ========================= */
.footer {
  margin-top: 40px;
  padding: 24px var(--gutter) 32px;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: #343434;
}

.footer__row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
  margin-bottom: 14px;
}

.footer__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
  padding: 6px 10px;
  border-radius: var(--radius-pill);
  transition: color .15s ease, background .15s ease;
}
.footer__link:hover { color: var(--orange); background: rgba(255, 255, 255, 0.04); }

.footer__addr {
  color: var(--text-muted);
  font-size: 13px;
  margin: 6px 0 4px;
  letter-spacing: 0.3px;
}

.footer__copy {
  color: var(--text-dim);
  font-size: 12px;
  margin: 0;
}

/* =========================
   Responsive tweaks
   ========================= */
@media (min-width: 640px) {
  .hero__tagline { font-size: 36px; }
  .card__name { font-size: 30px; }
}

@media (min-width: 900px) {
  .chips { top: 62px; }
  .section { padding-top: 36px; }
}

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