/* Arabya — shared styles (mobile first)
 * Brand: warm zand/beige, blue handwritten logo, yellow accent
 */
:root {
  --bg: #d9ceb5;
  --bg-alt: #e7dec6;
  --bg-deep: #cfc2a3;
  --ink: #1f1a14;
  --muted: #6b5f44;
  --accent: #ffc82c;
  --brand: #1a1a6b;
  --chip: #efe7d0;
  --divider: #b3a98d;
  --green: #1b8a3a;
  --sans: 'Inter', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --hand: 'Caveat', 'Kalam', cursive;
  --mono: 'JetBrains Mono', ui-monospace, Menlo, monospace;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}

.app { display: flex; flex-direction: column; min-height: 100vh; }

a { color: inherit; }
h1, h2, h3 { margin: 0; letter-spacing: -0.02em; }

/* ───── Logo ───── */
.arabya-logo {
  font-family: var(--hand);
  font-weight: 700;
  font-style: italic;
  line-height: 1;
  display: inline-block;
  color: var(--brand);
}

/* ───── Top bar ───── */
.topbar {
  position: sticky; top: 0; z-index: 20;
  background: rgba(217, 206, 181, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(31, 26, 20, 0.08);
  padding: 14px 18px;
  display: grid;
  grid-template-columns: 40px 1fr 40px;
  align-items: center;
}
.topbar .logo { justify-self: center; font-size: 36px; }
.icon-btn {
  width: 40px; height: 40px; border-radius: 999px; border: 0;
  background: transparent; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  color: var(--ink);
}
.icon-btn:active { background: rgba(0,0,0,0.05); }

/* ───── Drawer ───── */
.drawer-backdrop {
  position: fixed; inset: 0; background: rgba(0,0,0,0.4);
  opacity: 0; pointer-events: none;
  transition: opacity .2s; z-index: 30;
}
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0;
  width: 78%; max-width: 320px;
  background: var(--bg);
  transform: translateX(100%);
  transition: transform .25s ease;
  z-index: 31;
  padding: 20px 22px;
  display: flex; flex-direction: column;
}
body.drawer-open .drawer-backdrop { opacity: 1; pointer-events: auto; }
body.drawer-open .drawer { transform: translateX(0); }
.drawer-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 40px; }
.drawer-head .arabya-logo { font-size: 32px; }
.drawer-close { border: 0; background: transparent; font-size: 22px; cursor: pointer; color: var(--ink); }
.drawer-nav { display: grid; gap: 4px; }
.drawer-nav a {
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px 16px; border-radius: 12px;
  font-size: 22px; font-weight: 600;
  text-decoration: none; color: var(--ink);
}
.drawer-nav a[aria-current="page"] { background: var(--chip); }
.drawer-foot { margin-top: auto; padding-top: 24px; border-top: 1px solid var(--divider); font-size: 13px; color: var(--muted); }
.drawer-foot strong { display: block; color: var(--ink); margin-bottom: 4px; font-weight: 600; }
.drawer-foot a { color: var(--ink); font-size: 18px; font-weight: 600; text-decoration: none; }

/* ───── Tab bar ───── */
.tabbar {
  position: sticky; bottom: 0; z-index: 20;
  background: rgba(217,206,181,0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid rgba(31,26,20,0.1);
  padding: 10px 16px 16px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
}
.tabbar a {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  padding: 8px 12px; border-radius: 12px;
  color: var(--muted);
  text-decoration: none; font-size: 12px; font-weight: 600;
}
.tabbar a[aria-current="page"] { color: var(--ink); background: var(--accent); }

/* ───── Placeholder image ───── */
.ph {
  position: relative; width: 100%;
  background: repeating-linear-gradient(135deg, #d8cdb4 0 20px, #c9bca0 20px 40px);
  color: #6b5f44;
  display: flex; align-items: flex-end;
  padding: 14px; overflow: hidden;
}
.ph.radius { border-radius: 18px; }
.ph-tag {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em;
  text-transform: uppercase; padding: 3px 7px;
  background: rgba(0,0,0,0.35); color: #f1ead9; border-radius: 2px;
}
.thumb {
  width: 68px; height: 68px; border-radius: 12px; flex-shrink: 0;
  background: repeating-linear-gradient(135deg, #d8cdb4 0 8px, #c9bca0 8px 16px);
}

/* ───── Buttons ───── */
.btn-primary {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--ink); color: var(--bg);
  padding: 14px 26px; border-radius: 999px;
  font-size: 15px; font-weight: 600;
  text-decoration: none; border: 0; cursor: pointer;
}
.btn-accent {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--accent); color: var(--ink);
  padding: 14px 26px; border-radius: 999px;
  font-size: 16px; font-weight: 700;
  text-decoration: none; border: 0; cursor: pointer;
  white-space: nowrap;
}

/* ───── Sections ───── */
main { flex: 1; }
.section { padding: 28px 22px 0; }
.section-eyebrow {
  font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--muted); font-weight: 600; margin-bottom: 12px;
}
.footer-mini { padding: 24px 22px 28px; text-align: center; color: var(--muted); font-size: 12px; }

/* ───── Home-specific ───── */
.hero { padding: 32px 22px 28px; text-align: center; }
.hero .arabya-logo { font-size: 96px; }
.hero p { font-size: 17px; line-height: 1.5; color: var(--muted); margin: 18px auto 0; max-width: 340px; }
.hero-eyebrow {
  font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 16px;
}

.status-pill {
  background: var(--accent); border-radius: 18px;
  padding: 20px 22px; display: flex; align-items: center; gap: 14px;
}
.status-dot {
  width: 10px; height: 10px; border-radius: 999px;
  background: var(--green); box-shadow: 0 0 0 4px rgba(27,138,58,0.2);
  flex-shrink: 0;
}
.status-pill .txt { flex: 1; min-width: 0; }
.status-pill .txt .t { font-size: 14px; font-weight: 600; }
.status-pill .txt .d { font-size: 15px; opacity: 0.75; margin-top: 2px; }
.status-pill .bel {
  background: var(--ink); color: var(--bg);
  padding: 10px 16px; border-radius: 999px;
  font-size: 13px; font-weight: 600; text-decoration: none; white-space: nowrap;
}

.location h2 { font-size: 34px; font-weight: 700; line-height: 1.05; }
.location p.sub { font-size: 15px; color: var(--muted); margin-top: 10px; line-height: 1.5; }

.map-link { display: block; margin-top: 16px; border-radius: 18px; overflow: hidden; position: relative; text-decoration: none; }
.map {
  height: 180px; position: relative;
  background:
    linear-gradient(135deg, transparent 0%, transparent 45%, var(--divider) 45%, var(--divider) 47%, transparent 47%),
    linear-gradient(45deg, transparent 0%, transparent 70%, var(--divider) 70%, var(--divider) 72%, transparent 72%),
    linear-gradient(90deg, transparent 0%, transparent 30%, var(--divider) 30%, var(--divider) 31%, transparent 31%, transparent 60%, var(--divider) 60%, var(--divider) 61%, transparent 61%),
    var(--bg-alt);
}
.map .pin {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -100%);
  width: 32px; height: 32px; border-radius: 50% 50% 50% 0;
  background: var(--brand); transform-origin: center;
  border: 3px solid var(--bg);
  box-shadow: 0 6px 16px rgba(0,0,0,0.25);
}
.map .pin { transform: translate(-50%, -100%) rotate(-45deg); }
.map .label {
  position: absolute; bottom: 14px; left: 14px; right: 14px;
  background: var(--bg); border-radius: 10px; padding: 10px 14px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 13px; font-weight: 500; color: var(--ink);
}

.hours-card { background: var(--bg-alt); border-radius: 18px; padding: 8px 20px; }
.hours-row {
  display: flex; justify-content: space-between;
  padding: 14px 0; font-size: 15px; font-weight: 500;
  border-bottom: 1px dashed var(--divider);
}
.hours-row:last-child { border-bottom: 0; }
.hours-row .time { color: var(--muted); font-variant-numeric: tabular-nums; }
.hours-row.today { font-weight: 700; }
.hours-row.today .time { color: var(--ink); }
.today-tag { font-size: 11px; color: var(--brand); margin-left: 8px; font-weight: 700; letter-spacing: 0.1em; }

.contact-list { display: grid; gap: 10px; }
.contact-row {
  display: flex; align-items: center; gap: 14px;
  padding: 18px 20px; background: var(--bg-alt); border-radius: 16px;
  text-decoration: none; color: var(--ink);
}
.contact-icon {
  width: 40px; height: 40px; border-radius: 999px;
  display: flex; align-items: center; justify-content: center;
}
.contact-icon.primary { background: var(--accent); }
.contact-icon.neutral { background: var(--chip); }
.contact-row .lbl { font-size: 12px; color: var(--muted); }
.contact-row .val { font-size: 17px; font-weight: 600; }
.contact-row .arrow { color: var(--muted); font-size: 20px; }

.cta-big {
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 24px; background: var(--brand); color: var(--bg);
  border-radius: 20px; text-decoration: none;
  margin: 36px 22px 40px;
}
.cta-big .eyebrow { font-size: 12px; opacity: 0.7; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 4px; }
.cta-big .title { font-size: 22px; font-weight: 700; }
.cta-big .arr { font-size: 28px; }

/* ───── Menu-specific ───── */
.menu-head { padding: 28px 22px 20px; }
.menu-head h1 { font-size: 46px; font-weight: 700; line-height: 1; letter-spacing: -0.025em; }
.menu-head p { font-size: 15px; color: var(--muted); margin-top: 12px; line-height: 1.5; }

.tabs {
  position: sticky; top: 64px; z-index: 10;
  background: var(--bg);
  padding-top: 6px; padding-bottom: 12px;
  border-bottom: 1px solid var(--divider);
}
.tabs-scroll {
  display: flex; gap: 8px;
  padding: 4px 22px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.tabs-scroll::-webkit-scrollbar { display: none; }
.tab {
  padding: 10px 18px; border-radius: 999px; border: 0;
  background: var(--chip); color: var(--ink);
  font-size: 14px; font-weight: 500; white-space: nowrap;
  cursor: pointer; font-family: inherit;
  transition: background .15s;
}
.tab[aria-selected="true"] { background: var(--accent); font-weight: 700; }

.cat-head { padding: 24px 22px 8px; }
.cat-head h2 { font-size: 28px; font-weight: 700; }
.cat-head p { font-size: 14px; color: var(--muted); margin-top: 6px; line-height: 1.5; }

.items { padding: 12px 22px 24px; display: grid; gap: 10px; }
.item {
  display: flex; gap: 14px; padding: 14px;
  background: var(--bg-alt); border-radius: 16px;
  align-items: center;
}
.item .body { flex: 1; min-width: 0; }
.item .row-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.item h3 { font-size: 16px; font-weight: 700; margin: 0; letter-spacing: -0.005em; line-height: 1.25; }
.item .price {
  font-size: 15px; font-weight: 700;
  font-variant-numeric: tabular-nums; white-space: nowrap;
  line-height: 1.25; padding-top: 1px;
}
.item .desc { margin: 6px 0 0; font-size: 13px; color: var(--muted); line-height: 1.45; }

.cta-call {
  background: var(--brand); color: var(--bg); border-radius: 20px;
  padding: 24px 22px; text-align: center;
  margin: 12px 22px 32px;
}
.cta-call .eyebrow { font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; opacity: 0.75; margin-bottom: 8px; }
.cta-call .title { font-size: 22px; font-weight: 700; line-height: 1.2; margin-bottom: 14px; }


/* ───── Category head met toggle ───── */
.cat-head-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }

/* Menu toggle pill */
.menu-toggle {
  display: flex; align-items: center;
  background: var(--chip); border-radius: 999px;
  padding: 3px; gap: 2px; flex-shrink: 0;
}
.menu-toggle-opt {
  padding: 6px 14px; border-radius: 999px; border: 0;
  font-size: 13px; font-weight: 600; font-family: inherit;
  cursor: pointer; background: transparent; color: var(--muted);
  transition: background .18s, color .18s;
  white-space: nowrap;
}
.menu-toggle-opt.is-active { background: var(--accent); color: var(--ink); }

/* Prijswisseling via toggle */
.price-menu-val { display: none; }
[data-cat].is-menu-mode .has-menu .price-los-val  { display: none; }
[data-cat].is-menu-mode .has-menu .price-menu-val { display: block; }
.cat-desc-menu { display: none; }
[data-cat].is-menu-mode .cat-desc-los  { display: none; }
[data-cat].is-menu-mode .cat-desc-menu { display: block; }

/* ───── Desktop (≥ 768px) ───── */
@media (min-width: 768px) {
  /* Full-width layout — no phone frame */
  body { display: block; background: var(--bg); }
  .app { width: 100%; box-shadow: none; }

  /* Topbar — logo left, nav right */
  .topbar {
    display: flex;
    align-items: center;
    padding: 14px 48px;
    gap: 16px;
  }
  .topbar .logo { font-size: 44px; justify-self: unset; flex: 1; }
  .topbar > .icon-btn { display: none; }
  .topbar-nav { display: flex !important; align-items: center; gap: 2px; }
  .topbar-nav-link {
    padding: 9px 16px; border-radius: 999px;
    font-size: 15px; font-weight: 600;
    text-decoration: none; color: var(--ink);
    transition: background .15s;
  }
  .topbar-nav-link:hover { background: var(--chip); }
  .topbar-nav-link[aria-current="page"] { background: var(--chip); }
  .topbar-nav-cta {
    background: var(--ink); color: var(--bg);
    padding: 10px 20px; border-radius: 999px;
    font-size: 14px; font-weight: 600;
    text-decoration: none; margin-left: 8px;
    white-space: nowrap;
  }
  .topbar-nav-cta:hover { opacity: 0.85; }

  /* Hide mobile-only elements */
  .drawer, .drawer-backdrop, .tabbar { display: none !important; }

  /* Content container */
  main { max-width: 760px; margin: 0 auto; padding-bottom: 48px; }

  /* Hero */
  .hero { padding: 64px 0 48px; }
  .hero .arabya-logo { font-size: 140px; }
  .hero p { font-size: 19px; max-width: 480px; }

  /* Sections — remove horizontal padding (container handles margins) */
  .section { padding: 40px 0 0; }

  /* Status pill */
  .status-pill { max-width: 560px; }

  /* Location */
  .location h2 { font-size: 40px; }
  .map { height: 220px; }

  /* Contact 2-column */
  .contact-list { grid-template-columns: 1fr 1fr; }

  /* CTA big */
  .cta-big { margin: 48px 0 16px; }
  .cta-big .title { font-size: 26px; }

  /* Footer */
  .footer-mini { padding: 32px 0 40px; }

  /* Menu page */
  .menu-head { padding: 48px 0 24px; }
  .tabs { top: 73px; }
  .tabs-scroll { padding: 4px 0; }
  .cat-head { padding: 32px 0 12px; }
  .items { padding: 12px 0 32px; grid-template-columns: 1fr 1fr; }
  .cta-call { margin: 12px 0 40px; }
}

/* ───── Logo image ───── */
.site-logo-img {
  height: 38px;
  width: auto;
  display: block;
}
@media (min-width: 768px) {
  .site-logo-img { height: 46px; }
  .topbar .topbar-logo-link { flex: 1; justify-content: flex-start !important; }
}
