/* Aras Pide — colours and shapes taken from the shop front:
   burgundy fascia, cream lettering, walnut slats, copper lamps, warm LED glow. */

:root {
  --burgundy: #7a1a1c;
  --burgundy-deep: #5a1013;
  --cream: #f7ecd9;
  --cream-soft: #fbf5ea;
  --walnut: #3b2316;
  --walnut-dark: #20130c;
  --copper: #c4713b;
  --glow: #ffd9a0;
  --ink: #2a1a12;
  --muted: #7a655a;

  --font-display: "Fraunces", Georgia, serif;
  --font-body: "DM Sans", system-ui, sans-serif;

  --wrap: 1180px;
  --gutter: clamp(18px, 4vw, 40px);
  --radius: 14px;
  --slats: repeating-linear-gradient(90deg, #4b2c1b 0 13px, #2c190f 13px 15px, #593521 15px 17px, #4b2c1b 17px 30px, #2c190f 30px 32px);
  --wheat: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 40'%3E%3Crect x='11.2' y='9' width='1.6' height='31'/%3E%3Cellipse cx='12' cy='6' rx='3' ry='6'/%3E%3Cg id='a'%3E%3Cellipse cx='6.5' cy='15' rx='2.6' ry='5.4' transform='rotate(-32 6.5 15)'/%3E%3Cellipse cx='17.5' cy='15' rx='2.6' ry='5.4' transform='rotate(32 17.5 15)'/%3E%3C/g%3E%3Cuse href='%23a' y='8'/%3E%3Cuse href='%23a' y='16'/%3E%3C/svg%3E");
}

html[lang="ar"] {
  --font-display: "Noto Kufi Arabic", "Fraunces", serif;
  --font-body: "Tajawal", "DM Sans", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 130px; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream-soft);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin: 0;
  text-wrap: balance;
}
html[lang="ar"] h1, html[lang="ar"] h2, html[lang="ar"] h3 { line-height: 1.4; letter-spacing: 0; font-weight: 700; }
p { margin: 0; }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.section { padding-block: clamp(56px, 9vw, 110px); }

.eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--copper);
  margin-bottom: 16px;
}
.eyebrow::before, .eyebrow.center::after { content: ""; width: 34px; height: 1px; background: currentColor; }
.eyebrow.center { justify-content: center; }
html[lang="ar"] .eyebrow { letter-spacing: 0; font-size: 15px; }

.wheat {
  display: inline-block;
  width: 0.5em;
  height: 0.85em;
  background: currentColor;
  -webkit-mask: var(--wheat) center / contain no-repeat;
  mask: var(--wheat) center / contain no-repeat;
  transform: rotate(18deg);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 999px;
  border: 2px solid var(--burgundy);
  background: var(--burgundy);
  color: var(--cream);
  font: 700 16px/1 var(--font-body);
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s, background 0.15s, color 0.15s;
}
.btn:hover { background: var(--burgundy-deep); border-color: var(--burgundy-deep); transform: translateY(-2px); }
.btn.ghost { background: transparent; border-color: var(--cream); color: var(--cream); }
.btn.ghost:hover { background: var(--cream); color: var(--burgundy-deep); }
.btn.cream { background: var(--cream); border-color: var(--cream); color: var(--burgundy-deep); }
.btn.cream:hover { background: #fff; border-color: #fff; }
:focus-visible { outline: 3px solid var(--copper); outline-offset: 3px; }

/* ---------- Header: the fascia ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: linear-gradient(var(--burgundy), var(--burgundy-deep));
  color: var(--cream);
  box-shadow: 0 2px 0 var(--glow), 0 4px 22px rgba(255, 190, 110, 0.45);
}
.site-header .wrap { display: flex; align-items: center; gap: 24px; min-height: 76px; }
.brand { display: flex; flex-direction: column; text-decoration: none; line-height: 1; margin-inline-end: auto; }
.brand-name {
  font: 800 30px/1 "Fraunces", Georgia, serif;
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}
.brand-name .wheat { color: var(--glow); }
.brand-tag { font-size: 10px; font-weight: 600; letter-spacing: 0.3em; text-transform: uppercase; color: var(--glow); margin-top: 6px; }
html[lang="ar"] .brand-tag { letter-spacing: 0; font-size: 13px; }

.nav { display: flex; align-items: center; gap: 30px; }
.nav a { text-decoration: none; font-weight: 600; font-size: 16px; padding-block: 6px; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { border-color: var(--glow); }
.lang-btn {
  border: 1.5px solid rgba(247, 236, 217, 0.6);
  background: transparent;
  color: var(--cream);
  border-radius: 999px;
  padding: 9px 16px;
  font: 600 14px/1 "Tajawal", "DM Sans", sans-serif;
  cursor: pointer;
}
.lang-btn:hover { background: var(--cream); color: var(--burgundy-deep); }
.menu-btn { display: none; background: none; border: 0; color: var(--cream); padding: 8px; cursor: pointer; }
.menu-btn svg { display: block; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: min(88vh, 780px); display: flex; align-items: flex-end; color: var(--cream); background: var(--walnut-dark); overflow: hidden; }
.hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(32, 19, 12, 0.3) 0%, rgba(32, 19, 12, 0.35) 30%, rgba(32, 19, 12, 0.94) 100%), linear-gradient(90deg, rgba(32, 19, 12, 0.7), transparent 65%); }
[dir="rtl"] .hero::after { transform: scaleX(-1); }
.hero .wrap { position: relative; z-index: 1; padding-block: clamp(48px, 8vw, 96px); }
.hero .eyebrow { color: var(--glow); }
.hero h1 { font-size: clamp(44px, 8vw, 104px); max-width: 12ch; }
.hero p { font-size: clamp(17px, 1.6vw, 21px); max-width: 46ch; margin-top: 20px; color: rgba(247, 236, 217, 0.9); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }

/* ---------- Menu board (the screens above the counter) ---------- */
.board { background: var(--walnut-dark); color: var(--cream); }
.board-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 40px; }
.board-head h2 { font-size: clamp(32px, 4.4vw, 54px); }
.board-head a { color: var(--glow); font-weight: 700; text-underline-offset: 5px; }
.board-row { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
.tile { display: block; text-decoration: none; background: #0d0806; border-radius: 6px; overflow: hidden; transition: transform 0.2s; }
.tile:hover { transform: translateY(-6px); }
.tile-pic { aspect-ratio: 1 / 1; background: var(--slats); display: grid; place-items: center; color: var(--glow); font-size: 64px; }
.tile-pic img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.tile span { display: block; padding: 13px 6px; text-align: center; font-size: 13px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
html[lang="ar"] .tile span { letter-spacing: 0; font-size: 15px; }

/* ---------- Signature dishes ---------- */
.section-head { text-align: center; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head h2 { font-size: clamp(34px, 5vw, 60px); color: var(--burgundy); }
.section-head p { max-width: 54ch; margin: 16px auto 0; color: var(--muted); }
.dishes { display: grid; grid-template-columns: 1.35fr 1fr; grid-template-rows: 1fr 1fr; gap: 18px; }
.dish { position: relative; border-radius: var(--radius); overflow: hidden; color: var(--cream); min-height: 260px; background: var(--walnut); }
.dish:first-child { grid-row: span 2; }
.dish img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s; }
.dish:hover img { transform: scale(1.04); }
.dish::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(32, 19, 12, 0.9)); }
.dish-text { position: absolute; z-index: 1; inset-inline: 0; bottom: 0; padding: 24px; }
.dish h3 { font-size: clamp(24px, 2.6vw, 34px); }
.dish p { font-size: 15px; margin-top: 6px; color: rgba(247, 236, 217, 0.88); max-width: 40ch; }

/* ---------- Story split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 6vw, 80px); align-items: center; }
.split h2 { font-size: clamp(32px, 4.4vw, 54px); color: var(--burgundy); }
.split p { margin-top: 18px; color: #4e3b30; }
.split .btn { margin-top: 28px; }
.split-pic { border-radius: var(--radius); overflow: hidden; box-shadow: 18px 18px 0 var(--burgundy); }
[dir="rtl"] .split-pic { box-shadow: -18px 18px 0 var(--burgundy); }
.split-pic img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.cream-band { background: var(--cream); }

/* ---------- Counter band (slatted wood with LED strip) ---------- */
.counter { background: var(--slats); color: var(--cream); text-align: center; border-block: 3px solid var(--glow); box-shadow: 0 0 34px rgba(255, 190, 110, 0.55); position: relative; }
.counter .wrap { padding-block: clamp(56px, 8vw, 96px); }
.counter h2 { font-size: clamp(34px, 5.4vw, 66px); text-shadow: 0 2px 18px rgba(0, 0, 0, 0.6); }
.counter p { margin: 16px auto 30px; max-width: 48ch; text-shadow: 0 1px 10px rgba(0, 0, 0, 0.8); }

/* ---------- Inner page banner ---------- */
.banner { background: linear-gradient(var(--burgundy-deep), var(--burgundy)); color: var(--cream); text-align: center; padding-block: clamp(48px, 7vw, 88px); }
.banner .eyebrow { color: var(--glow); }
.banner h1 { font-size: clamp(42px, 7vw, 84px); }
.banner p { max-width: 52ch; margin: 16px auto 0; color: rgba(247, 236, 217, 0.88); }

/* ---------- Menu page ---------- */
.cat-nav { position: sticky; top: 76px; z-index: 40; background: var(--walnut-dark); }
.cat-nav .wrap { display: flex; gap: 6px; overflow-x: auto; padding-block: 10px; scrollbar-width: none; }
.cat-nav a { flex: none; color: var(--cream); text-decoration: none; font-size: 13px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; padding: 9px 16px; border-radius: 999px; }
.cat-nav a:hover { background: var(--burgundy); }
html[lang="ar"] .cat-nav a { letter-spacing: 0; font-size: 15px; }
.menu-cat { padding-block: clamp(36px, 5vw, 60px); border-bottom: 1px solid #e6d6bd; }
.menu-cat:last-child { border-bottom: 0; }
.menu-cat h2 { font-size: clamp(30px, 4vw, 46px); color: var(--burgundy); display: flex; align-items: center; gap: 12px; margin-bottom: 26px; }
.menu-cat h2 .wheat { color: var(--copper); }
.menu-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px 40px; }
.item { display: flex; gap: 16px; align-items: center; padding: 12px 0; }
.item img, .item .no-pic { flex: none; width: 104px; height: 104px; border-radius: 12px; object-fit: cover; }
.item .no-pic { background: var(--cream); display: grid; place-items: center; color: #dcc6a4; font-size: 46px; }
.item-body { flex: 1; min-width: 0; }
.item-top { display: flex; align-items: baseline; gap: 10px; }
.item h3 { font-size: 21px; font-weight: 700; }
.item-top i { flex: 1; border-bottom: 2px dotted #d3bd9c; transform: translateY(-4px); }
.item .price { font-weight: 700; color: var(--burgundy); white-space: nowrap; }
.item p { font-size: 15px; color: var(--muted); margin-top: 4px; }
.menu-note { text-align: center; color: var(--muted); font-size: 15px; padding-bottom: 60px; }

/* ---------- About ---------- */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.value { background: var(--cream-soft); border-radius: var(--radius); padding: 30px 26px; border-top: 4px solid var(--burgundy); }
.value .wheat { font-size: 44px; color: var(--copper); }
.value h3 { font-size: 24px; margin: 12px 0 8px; color: var(--burgundy); }
.value p { color: #4e3b30; font-size: 16px; }

/* ---------- Contact ---------- */
.shop-pic { border-radius: var(--radius); overflow: hidden; margin-bottom: clamp(32px, 5vw, 56px); }
.shop-pic img { width: 100%; }
.info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.info { background: var(--cream); border-radius: var(--radius); padding: 30px 26px; }
.info h2 { font-size: 26px; color: var(--burgundy); margin-bottom: 12px; }
.info a { color: var(--burgundy); font-weight: 700; }
.info ul { list-style: none; margin: 0; padding: 0; }
.info li { display: flex; justify-content: space-between; gap: 16px; padding: 5px 0; }
.map { margin-top: 20px; border-radius: var(--radius); overflow: hidden; }
.map iframe { display: block; width: 100%; height: 420px; border: 0; }
.todo { display: inline-block; padding: 3px 10px; border: 1.5px dashed var(--copper); border-radius: 6px; color: var(--copper); font-size: 14px; font-weight: 600; }

/* ---------- Footer ---------- */
.site-footer { background: var(--walnut-dark); color: rgba(247, 236, 217, 0.8); font-size: 15px; }
.site-footer .wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-block: 60px 36px; }
.site-footer .brand-name { color: var(--cream); }
.site-footer h3 { font: 700 13px/1 var(--font-body); letter-spacing: 0.2em; text-transform: uppercase; color: var(--glow); margin-bottom: 16px; }
html[lang="ar"] .site-footer h3 { letter-spacing: 0; font-size: 15px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { padding: 4px 0; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--glow); }
.foot-about { margin-top: 16px; max-width: 34ch; }
.copyright { border-top: 1px solid rgba(247, 236, 217, 0.14); text-align: center; padding: 20px var(--gutter); font-size: 13px; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .board-row { grid-template-columns: repeat(3, 1fr); }
  .dishes { grid-template-columns: 1fr; grid-template-rows: none; }
  .dish { min-height: 300px; }
  .split, .menu-grid { grid-template-columns: 1fr; }
  .values, .info-grid { grid-template-columns: 1fr; }
  .site-footer .wrap { grid-template-columns: 1fr; gap: 30px; }
  .split-pic { margin-inline-end: 18px; }
}
@media (max-width: 760px) {
  .menu-btn { display: block; }
  .site-header .wrap { gap: 12px; min-height: 66px; }
  .brand-name { font-size: 25px; }
  .cat-nav { top: 66px; }
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    inset-inline: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--burgundy-deep);
    padding: 8px var(--gutter) 18px;
    box-shadow: 0 2px 0 var(--glow);
  }
  .nav.open { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid rgba(247, 236, 217, 0.15); font-size: 18px; }
  .board-row { grid-template-columns: repeat(2, 1fr); }
  .item img, .item .no-pic { width: 84px; height: 84px; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}

/* Phone hero: show the whole table photo on top, text below it */
@media (max-width: 760px) {
  .hero { display: block; min-height: 0; }
  .hero > img { position: static; height: auto; aspect-ratio: 5 / 4; }
  .hero::after { inset: 0 0 auto 0; aspect-ratio: 5 / 4; background: linear-gradient(180deg, rgba(32, 19, 12, 0.15) 50%, var(--walnut-dark) 100%); }
  .hero .wrap { margin-top: -28px; padding-block: 0 48px; }
}
