/* QR Menü — tek sayfa, mobil öncelikli, açık zemin */
:root {
  --bg: #ede3d9; /* logo zemin rengiyle birebir */
  --ink: #0e0d0b;
  --muted: rgba(14, 13, 11, 0.58);
  --tomato: #c9442c;
  --ease: cubic-bezier(0.32, 0.72, 0, 1);
}
*, *::before, *::after { box-sizing: border-box; }
/* Android (Chrome otomatik koyu tema, Samsung Internet) renkleri ters çevirmesin:
   sitenin renkleri kendisinin, tarayıcı karartma uygulamasın */
html { color-scheme: light dark; background: #ede3d9; scroll-behavior: smooth; scroll-padding-top: 4.5rem; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}
ul { list-style: none; margin: 0; padding: 0; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }

/* Başlık */
.qm-head { position: relative; display: grid; justify-items: center; padding: 1.25rem 1rem 0.5rem; }
.qm-back {
  position: absolute; top: 1rem; left: 1rem;
  display: inline-flex; align-items: center; gap: 0.3rem;
  padding: 0.5rem 0.9rem 0.5rem 0.6rem; border-radius: 999px;
  background: rgba(14, 13, 11, 0.07);
  font-size: 0.82rem; font-weight: 600; color: var(--ink);
  transition: background-color 0.4s var(--ease), transform 0.4s var(--ease);
}
.qm-back:hover { background: rgba(14, 13, 11, 0.12); }
.qm-back:active { transform: scale(0.96); }
.qm-back svg { width: 1rem; height: 1rem; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.qm-logo { width: 180px; height: auto; aspect-ratio: 1254 / 780; object-fit: cover; object-position: 50% 50%; }
.qm-status {
  display: inline-flex; align-items: center; gap: 0.5rem;
  margin: 0.6rem 0 0; padding: 0.35rem 0.85rem; border-radius: 999px;
  background: rgba(14, 13, 11, 0.06);
  font-size: 0.78rem; font-weight: 600; color: var(--muted);
}
.qm-dot { width: 7px; height: 7px; border-radius: 50%; background: #9a9086; }
.qm-status.is-open { color: #3d5a2a; background: rgba(86, 112, 58, 0.12); }
.qm-status.is-open .qm-dot { background: #5f9a45; }

/* Sekmeler */
.qm-tabs {
  position: sticky; top: 0; z-index: 10;
  padding: 0.6rem 1rem;
  background: var(--bg);
  box-shadow: 0 8px 16px -12px rgba(14, 13, 11, 0.25);
}
.qm-tabs__inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0.3rem;
  max-width: 34rem; margin: 0 auto; padding: 0.3rem;
  border-radius: 999px; background: rgba(14, 13, 11, 0.06);
}
.qm-tabs a {
  display: flex; align-items: center; justify-content: center; gap: 0.4rem;
  padding: 0.7rem 0.5rem; border-radius: 999px;
  font-size: 0.95rem; font-weight: 600; color: var(--muted);
  transition: background-color 0.45s var(--ease), color 0.45s var(--ease);
}
.qm-tabs small { font-size: 0.7rem; opacity: 0.6; }
.qm-tabs a.is-active { background: var(--ink); color: var(--bg); }

/* İçerik */
.qm-main { max-width: 34rem; margin: 0 auto; padding: 0 1rem calc(2rem + env(safe-area-inset-bottom)); }
.qm-sec { padding-top: 1.75rem; }
.qm-sec + .qm-sec { padding-top: 3rem; }
.qm-title {
  margin: 0 0 0.5rem;
  font-family: "Fraunces", Georgia, serif; font-weight: 400;
  font-variation-settings: "opsz" 144, "SOFT" 50;
  font-size: 2.6rem; line-height: 1; letter-spacing: -0.03em;
}
.qm-title em { font-style: italic; font-weight: 300; color: var(--tomato); font-variation-settings: "opsz" 144, "SOFT" 100; }
.qm-hint { display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem; margin: 0 0 1.1rem; font-size: 0.9rem; color: var(--muted); }
.qm-chip { padding: 0.15rem 0.6rem; border-radius: 0.6rem; background: #f2eae0; color: var(--ink); font-weight: 600; font-size: 0.8rem; }
.qm-chip--dark { background: var(--ink); color: var(--bg); }
.qm-allergen { margin: 1rem 0 0; font-size: 0.82rem; color: var(--muted); text-align: center; }
.qm-allergen b { color: var(--ink); font-weight: 600; }
.qm-sec .di-list { margin-top: 1rem; }

.qm-info {
  margin-top: 3rem; padding: 1.25rem 1.35rem;
  border-radius: 1.4rem; background: rgba(14, 13, 11, 0.05);
}
.qm-info h2 { margin: 0 0 0.6rem; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.qm-info li { position: relative; padding: 0.25rem 0 0.25rem 1rem; font-size: 0.88rem; color: rgba(14, 13, 11, 0.75); }
.qm-info li::before { content: ""; position: absolute; left: 0; top: 0.8rem; width: 5px; height: 5px; border-radius: 50%; background: var(--tomato); }

/* Alt kısım */
.qm-foot { display: grid; justify-items: center; gap: 0.35rem; margin-top: 2.5rem; text-align: center; }
.qm-call {
  display: inline-flex; align-items: center; gap: 0.6rem;
  width: 100%; justify-content: center;
  padding: 1rem 1.25rem; margin-bottom: 0.9rem;
  border-radius: 999px; background: var(--tomato); color: #fff6ef;
  font-size: 0.95rem; box-shadow: 0 14px 30px -14px rgba(201, 68, 44, 0.8);
  transition: transform 0.4s var(--ease);
}
.qm-call:active { transform: scale(0.98); }
.qm-call svg { width: 1.1rem; height: 1.1rem; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linejoin: round; }
.qm-call b { font-weight: 700; }
.qm-addr, .qm-hours { margin: 0; font-size: 0.85rem; color: var(--muted); }
.qm-home { margin-top: 0.75rem; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.04em; color: var(--ink); opacity: 0.7; }

/* Çok dar ekranlarda logoya değmesin: sadece ok */
@media (max-width: 359px) {
  .qm-back { padding: 0.55rem; }
  .qm-back span { display: none; }
}
@media (min-width: 720px) {
  .qm-title { font-size: 3.2rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition-duration: 0.01ms !important; }
}

/* WhatsApp logosu dolgulu çizilir (diğer ikonlar çizgi stilinde) */
svg.wa { fill: currentColor !important; stroke: none !important; }
