/* ==========================================================================
   Ahmet Aybak Çiğköfte & Meze — Ataşehir
   Krem / antrasit / koyu yeşil; WhatsApp yeşili yalnızca WhatsApp butonunda.
   Sistem fontları, harici istek yok. Telefon öncelikli.
   ========================================================================== */

:root {
  --cream: #f7f3ea;
  --paper: #fffdf8;
  --ink: #23262a;
  --muted: #5a5e62;
  --green: #1f4d3a;
  --green-dark: #163a2b;
  --green-tint: #eaf1ec;
  --line: #e3dccd;
  --wa: #25d366;
  --wa-dark: #1ebe5b;
  --wa-ink: #06331a;

  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, "Times New Roman", serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --radius: 16px;
  --gutter: 16px;
  --focus: 0 0 0 3px var(--paper), 0 0 0 6px var(--green);
  --bar-h: 62px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  padding-bottom: calc(var(--bar-h) + env(safe-area-inset-bottom));
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  overflow-wrap: break-word;
}

h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.15; margin: 0; text-wrap: balance; }
p { margin: 0; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--green); }

:focus-visible { outline: none; box-shadow: var(--focus); border-radius: 10px; }
[hidden] { display: none !important; }

/* ---------- Butonlar ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 20px;
  border-radius: 12px;
  border: 2px solid var(--green);
  background: var(--green);
  color: #fff;
  font: 650 17px/1.2 var(--sans);
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.btn:hover { background: var(--green-dark); border-color: var(--green-dark); }
.btn:active { transform: translateY(1px); }
.btn--lg { min-height: 56px; font-size: 18px; }

.btn--wa { background: var(--wa); border-color: var(--wa); color: var(--wa-ink); }
.btn--wa:hover { background: var(--wa-dark); border-color: var(--wa-dark); }
.btn--wa::before {
  content: "";
  width: 20px; height: 20px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 0 0-8.6 15.1L2 22l5-1.3A10 10 0 1 0 12 2Zm0 18.2a8.2 8.2 0 0 1-4.2-1.2l-.3-.2-3 .8.8-2.9-.2-.3A8.2 8.2 0 1 1 12 20.2Zm4.5-6.1c-.2-.1-1.5-.7-1.7-.8-.2-.1-.4-.1-.6.1l-.8 1c-.1.2-.3.2-.5.1a6.7 6.7 0 0 1-3.3-2.9c-.2-.4.2-.4.7-1.3.1-.2 0-.3 0-.4l-.8-1.8c-.2-.5-.4-.4-.6-.4h-.5a1 1 0 0 0-.7.3 3 3 0 0 0-.9 2.2 5.2 5.2 0 0 0 1.1 2.7 11.9 11.9 0 0 0 4.6 4c1.7.7 2.3.8 3.2.6a2.7 2.7 0 0 0 1.8-1.2 2.2 2.2 0 0 0 .1-1.3c0-.1-.2-.2-.4-.3Z'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 0 0-8.6 15.1L2 22l5-1.3A10 10 0 1 0 12 2Zm0 18.2a8.2 8.2 0 0 1-4.2-1.2l-.3-.2-3 .8.8-2.9-.2-.3A8.2 8.2 0 1 1 12 20.2Zm4.5-6.1c-.2-.1-1.5-.7-1.7-.8-.2-.1-.4-.1-.6.1l-.8 1c-.1.2-.3.2-.5.1a6.7 6.7 0 0 1-3.3-2.9c-.2-.4.2-.4.7-1.3.1-.2 0-.3 0-.4l-.8-1.8c-.2-.5-.4-.4-.6-.4h-.5a1 1 0 0 0-.7.3 3 3 0 0 0-.9 2.2 5.2 5.2 0 0 0 1.1 2.7 11.9 11.9 0 0 0 4.6 4c1.7.7 2.3.8 3.2.6a2.7 2.7 0 0 0 1.8-1.2 2.2 2.2 0 0 0 .1-1.3c0-.1-.2-.2-.4-.3Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.btn--call { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn--call:hover { background: #000; border-color: #000; }
.btn--call::before {
  content: "";
  width: 18px; height: 18px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.6 10.8a15.1 15.1 0 0 0 6.6 6.6l2.2-2.2a1 1 0 0 1 1-.2 11.4 11.4 0 0 0 3.6.6 1 1 0 0 1 1 1V20a1 1 0 0 1-1 1A17 17 0 0 1 3 4a1 1 0 0 1 1-1h3.5a1 1 0 0 1 1 1c0 1.2.2 2.5.6 3.6a1 1 0 0 1-.3 1Z'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.6 10.8a15.1 15.1 0 0 0 6.6 6.6l2.2-2.2a1 1 0 0 1 1-.2 11.4 11.4 0 0 0 3.6.6 1 1 0 0 1 1 1V20a1 1 0 0 1-1 1A17 17 0 0 1 3 4a1 1 0 0 1 1-1h3.5a1 1 0 0 1 1 1c0 1.2.2 2.5.6 3.6a1 1 0 0 1-.3 1Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.btn--ghost { background: transparent; color: var(--green); }
.btn--ghost:hover { background: var(--green-tint); color: var(--green-dark); }

.cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.cta .btn { flex: 1 1 200px; }

/* ---------- Ortak düzen ---------- */

.top,
.hero,
.facts,
.section,
.foot {
  max-width: 1080px;
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.kicker {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}
.dot { color: var(--green); }

.section { margin-top: 56px; }
.section h2 { font-size: clamp(28px, 7vw, 42px); letter-spacing: -.02em; }
.section__lead { margin-top: 8px; color: var(--muted); }

/* ---------- Üst şerit ---------- */

.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 12px;
  padding-bottom: 12px;
}
.top__brand {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.2;
  color: var(--ink);
  text-decoration: none;
}
.top__brand span { display: block; font-size: 13px; color: var(--muted); }
.top__nav { display: flex; gap: 4px; }
.top__nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 10px;
  font-weight: 600;
  color: var(--ink);
}

/* ---------- Giriş ---------- */

.hero { display: grid; gap: 20px; padding-top: 4px; }
.hero__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 20px;
}
.hero h1 {
  margin-top: 8px;
  font-size: clamp(34px, 9.4vw, 64px);
  line-height: 1.02;
  letter-spacing: -.03em;
}
.hero__lead { margin-top: 14px; max-width: 38ch; font-size: 18px; }

@media (min-width: 860px) {
  .hero { grid-template-columns: 1fr 1fr; align-items: center; gap: 48px; padding-top: 24px; }
  .hero__media { order: 2; }
}

/* ---------- Kısa bilgiler ---------- */

.facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 28px;
  list-style: none;
}
.facts li {
  padding: 12px 10px;
  border-top: 2px solid var(--ink);
}
.facts strong { display: block; font-family: var(--serif); font-size: clamp(18px, 5vw, 28px); line-height: 1.1; }
.facts span { font-size: 14px; color: var(--muted); }
.facts a { display: block; color: inherit; text-decoration: none; }
.facts a span { text-decoration: underline; text-underline-offset: 2px; }

.hero__note { margin-top: 12px; font-size: 15px; font-weight: 600; color: var(--green); }

/* ---------- Adımlar ---------- */

.steps {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}
.steps li {
  position: relative;
  padding: 16px 16px 16px 60px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  counter-increment: step;
}
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 16px; top: 14px;
  width: 32px; height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-weight: 700;
}
.steps strong { display: block; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Meze kartları ---------- */

.menu {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}
@media (min-width: 760px) { .menu { grid-template-columns: repeat(3, 1fr); gap: 16px; } }
@media (min-width: 1000px) { .menu { grid-template-columns: repeat(4, 1fr); } }

.meze {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--paper);
  border: 2px solid var(--line);
  border-radius: var(--radius);
  transition: border-color .15s;
}
.meze.is-picked { border-color: var(--green); }
.meze img,
.meze__ph {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}
.meze__ph {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: #fffdf8;
  text-align: center;
}
.meze__ph span { font-family: var(--serif); font-size: clamp(26px, 7vw, 34px); font-weight: 600; }
.meze__ph small { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; opacity: .85; }
/* Fotoğrafı gelene kadar: tabak rengi zemin, mezenin rengiyle ince halka */
.meze__ph--atom,
.meze__ph--saksuka,
.meze__ph--haydari,
.meze__ph--sarma { background: radial-gradient(circle at 50% 50%, #3a5868 0 60%, var(--ring) 61% 63%, #2f4858 64%); }
.meze__ph--atom { --ring: #d0613f; }
.meze__ph--saksuka { --ring: #8a3a52; }
.meze__ph--haydari { --ring: #9fc28a; }
.meze__ph--sarma { --ring: #6f8f3c; }
.meze__ph span { max-width: 80%; line-height: 1.1; }

.meze__body { display: flex; flex: 1; flex-direction: column; padding: 12px 12px 12px; }
.meze h3 { font-size: 19px; }
.meze p { margin-top: 4px; font-size: 14px; line-height: 1.4; color: var(--muted); }
/* Gramaj butonları: her satır bir gramaj + fiyat; seçili olan dolu yeşil */
.meze__sizes { display: grid; gap: 6px; margin-top: auto; padding-top: 12px; }
.meze__size {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  min-height: 44px;
  padding: 6px 12px;
  border: 2px solid var(--line);
  border-radius: 10px;
  background: var(--paper);
  color: var(--ink);
  font: 500 15px/1.2 var(--sans);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.meze__size:hover { border-color: var(--green); }
.meze__size strong { font-weight: 700; }
.meze__size[aria-pressed="true"] { border-color: var(--green); background: var(--green); color: #fff; }
.meze__size:only-child { justify-content: center; border-color: var(--green); color: var(--green); font-weight: 650; }
.meze__size:only-child[aria-pressed="true"] { color: #fff; }

/* ---------- Yorumlar ---------- */

.rating {
  display: inline-grid;
  grid-template-columns: auto auto;
  align-items: center;
  gap: 2px 14px;
  margin-top: 18px;
  padding: 16px 20px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  text-decoration: none;
}
.rating:hover { border-color: var(--green); }
.rating__score { grid-row: span 2; font-family: var(--serif); font-size: 44px; font-weight: 600; line-height: 1; }
.rating__stars { position: relative; display: inline-block; font-size: 22px; line-height: 1; letter-spacing: 2px; color: var(--line); }
.rating__stars::before { content: "★★★★★"; }
.rating__stars > span {
  position: absolute;
  inset: 0 auto 0 0;
  overflow: hidden;
  white-space: nowrap;
  color: #e3a008;
}
.rating__count { font-size: 15px; font-weight: 600; color: var(--green); }

.quotes {
  display: grid;
  gap: 12px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}
@media (min-width: 760px) { .quotes { grid-template-columns: repeat(3, 1fr); } }
.quotes li {
  padding: 18px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.quotes blockquote { margin: 0; font-family: var(--serif); font-size: 18px; line-height: 1.4; }
.quotes p { margin-top: 10px; font-size: 14px; color: var(--muted); }

/* ---------- Karışık kutu ---------- */

.mix {
  width: min(1048px, calc(100% - 2 * var(--gutter)));
  padding: 28px 20px;
  border-radius: 20px;
  background: var(--green);
  color: #fffdf8;
}
.mix p { margin-top: 10px; font-size: 18px; max-width: 46ch; }
.mix :focus-visible { box-shadow: 0 0 0 3px var(--green), 0 0 0 6px #fffdf8; }
.mix .cta .btn { flex: 0 1 auto; }

/* ---------- Çiğköfte ---------- */

.kofte { display: grid; gap: 20px; align-items: center; }
.kofte__img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 20px; }
.kofte h2 { margin-top: 6px; }
.kofte__text > p:not(.kicker) { margin-top: 12px; }
@media (min-width: 860px) {
  .kofte { grid-template-columns: .9fr 1.1fr; gap: 48px; }
  .kofte__img { aspect-ratio: 4 / 5; }
}

.platforms { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 0; padding: 0; list-style: none; }
.platforms li {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0 16px;
  border: 2px solid var(--line);
  border-radius: 999px;
  font-weight: 600;
}
.platforms li.is-link { padding: 0; border-color: var(--green); }
.platforms li.is-link a {
  display: flex;
  align-items: center;
  min-height: 40px;
  padding: 0 16px;
  text-decoration: none;
  border-radius: 999px;
}

/* ---------- Konum ve iletişim ---------- */

.place__address { margin: -6px 0 18px; font-style: normal; font-size: 17px; color: var(--muted); }
.place__big {
  margin: 8px 0 18px;
  font-family: var(--serif);
  font-size: clamp(30px, 8vw, 52px);
  line-height: 1.05;
}

.contact__phone {
  margin-top: 8px;
  font-family: var(--serif);
  font-size: clamp(28px, 8vw, 44px);
  font-weight: 600;
}

/* ---------- Alt bilgi ---------- */

.foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 20px;
  margin-top: 64px;
  padding-top: 20px;
  padding-bottom: 28px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: var(--muted);
}
.foot a { color: inherit; }
.foot div p + p { margin-top: 4px; }

/* ---------- Gizlilik sayfası (sabit çubuk yok) ---------- */

body.page { padding-bottom: 48px; }
.legal { max-width: 720px; margin-top: 24px; }
.legal h1 { font-size: clamp(32px, 8vw, 46px); letter-spacing: -.02em; }
.legal h2 { margin-top: 32px; font-size: 22px; letter-spacing: 0; }
.legal p, .legal ul { margin-top: 10px; }
.legal ul { padding-left: 20px; }
.legal__date { margin-top: 32px; font-size: 14px; color: var(--muted); }

/* ---------- Teslimat bölgeleri ---------- */

.districts { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 0; padding: 0; list-style: none; }
.districts li {
  padding: 8px 16px;
  background: var(--paper);
  border: 2px solid var(--green);
  border-radius: 999px;
  font-weight: 650;
  color: var(--green);
}
.districts li:first-child { background: var(--green); color: #fff; }
.delivery__hours { margin-top: 16px; color: var(--muted); }
.delivery__hours strong { color: var(--ink); }

/* ---------- Sık sorulanlar ---------- */

.faq details {
  margin-top: 10px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
}
.faq h2 + details { margin-top: 18px; }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 52px;
  padding: 12px 16px;
  font-weight: 650;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; font-size: 22px; line-height: 1; color: var(--green); }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 16px 16px; color: var(--muted); }

/* ---------- Çerez izni bandı (çubuğun üstünde) ---------- */

.consent {
  /* Telefonda üstte: alttaki ana butonları ve sipariş çubuğunu kapatmasın */
  position: fixed;
  left: 0; right: 0;
  top: calc(8px + env(safe-area-inset-top));
  z-index: 21;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
  margin: 0 var(--gutter);
  padding: 12px 14px;
  background: var(--ink);
  color: #fff;
  border-radius: 14px;
  box-shadow: 0 10px 30px -12px rgba(0, 0, 0, .5);
  font-size: 14px;
}
.consent p { flex: 1 1 220px; }
.consent a { color: #fff; }
.consent__actions { display: flex; gap: 8px; }
.consent .btn { min-height: 40px; padding: 8px 14px; font-size: 15px; }
.consent .btn--ghost { color: #fff; border-color: rgba(255, 255, 255, .5); }
.consent .btn--ghost:hover { background: rgba(255, 255, 255, .1); color: #fff; }
.consent :focus-visible { box-shadow: 0 0 0 3px var(--ink), 0 0 0 6px #fff; }
@media (min-width: 760px) {
  .consent { max-width: 640px; margin: 0 auto; top: auto; bottom: calc(var(--bar-h) + 6px); }
}

/* ---------- Sabit sipariş çubuğu ---------- */

/* Tek satır: solda durum, sağda kompakt butonlar. Girişteki büyük butonlar
   görünürken ve seçim yokken aşağı kayıp gizlenir (site.js → .is-hidden). */
.bar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 8px var(--gutter) calc(8px + env(safe-area-inset-bottom));
  background: var(--paper);
  border-top: 1px solid var(--line);
  box-shadow: 0 -8px 24px -16px rgba(35, 38, 42, .35);
  transition: transform .25s ease;
}
.bar.is-hidden { transform: translateY(110%); }
.bar__info { min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 1px; }
.bar__status {
  font-size: 12px;
  line-height: 1.3;
  color: var(--muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.bar__status.is-active { color: var(--green); font-weight: 650; }
.bar__clear {
  padding: 0;
  border: 0;
  background: none;
  color: var(--muted);
  font: 600 12px/1.3 var(--sans);
  text-decoration: underline;
  cursor: pointer;
}
.bar__actions { display: flex; gap: 8px; }
.bar__actions .btn { min-height: 44px; padding: 8px 14px; font-size: 15px; border-radius: 10px; }
.bar__actions .btn--call { padding: 8px 13px; }
.bar__label {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
@media (min-width: 760px) {
  .bar { padding-left: max(var(--gutter), calc((100% - 1048px) / 2)); padding-right: max(var(--gutter), calc((100% - 1048px) / 2)); }
  .bar__status { font-size: 15px; }
  .bar__clear { font-size: 13px; }
  .bar__actions .btn { min-width: 140px; padding: 10px 18px; }
  .bar__label { position: static; width: auto; height: auto; overflow: visible; clip: auto; }
}

/* ---------- Hareket azaltma ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  .btn:active { transform: none; }
}
