/* =====================================================================
   BADEMLİ CAFE — TASARIM
   Logodan yola çıkar: krem kâğıt, kahverengi mürekkep, ince çizgiler.
   Basılı bir köy kahvesi menüsü gibi sade; gölge, parlama, cam efekti
   ve süzülen animasyon yoktur.

   Sayfalar:
     index.html  → karşılama, hikâye, mutfaktan, saatler, iletişim, rezervasyon
     menu.html   → menü (TR / EN, içindekiler, alerjen, kalori)
     404.html    → bulunamayan sayfa
   ===================================================================== */

:root {
  --kagit: #f6f0e5;        /* zemin: logodaki kâğıt */
  --kagit-2: #ede4d4;      /* koyu kâğıt bantları */
  --murekkep: #33251a;     /* yazı: koyu kahve mürekkep */
  --murekkep-2: #6a5646;   /* ikincil yazı */
  --kahve: #7c5130;        /* logonun kahvesi: vurgu, fiyat */
  --kahve-koyu: #5a3a22;
  --cizgi: rgba(51, 37, 26, .2);
  --cizgi-koyu: rgba(51, 37, 26, .45);
  --koyu: #2a1f16;         /* koyu bantlar ve alt bilgi */
  --uyari: #9a3324;        /* alerjen ve uyarılar */
  --acik-yesil: #3f7a4a;   /* "şu an açık" noktası */

  --serif: "Libre Caslon Text", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --serif-buyuk: "Libre Caslon Display", "Libre Caslon Text", Georgia, serif;
  --sans: "Public Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --ust-h: 64px;
  /* Duyuru şeridi açıkken onun yüksekliği de eklenir (main.js --duyuru-h'yi ayarlar). */
  --ust-ofset: calc(var(--ust-h) + var(--duyuru-h, 0px));
  --altbar-h: 64px;
  --kenar: clamp(20px, 5vw, 64px);
  --genis: 1120px;
  --bosluk: clamp(64px, 9vw, 112px);
  --kose: 4px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--ust-ofset) + 8px);
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--murekkep);
  background: var(--kagit);
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: .18em; text-decoration-thickness: 1px; }
h1, h2, h3, h4, p, ul, dl, dd, figure { margin: 0; }
ul { padding: 0; list-style: none; }

::selection { background: var(--kahve); color: var(--kagit); }

:focus-visible {
  outline: 2px solid var(--kahve);
  outline-offset: 3px;
}

.atla {
  position: fixed; left: 12px; top: -80px; z-index: 100;
  background: var(--murekkep); color: var(--kagit);
  padding: 12px 18px; text-decoration: none; font-weight: 600;
}
.atla:focus { top: 12px; }

/* ---------- Ortak parçalar ---------- */

.bolum { padding: var(--bosluk) var(--kenar); }
.ic { max-width: var(--genis); margin-inline: auto; }

.baslik {
  font-family: var(--serif-buyuk);
  font-weight: 400;
  font-size: clamp(2.1rem, 5.2vw, 3.4rem);
  line-height: 1.1;
  letter-spacing: -.01em;
  margin: 0 0 .5em;
  text-wrap: balance;
}

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 24px;
  border: 1px solid transparent; border-radius: var(--kose);
  font: 600 1rem/1 var(--sans);
  text-decoration: none; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s;
}
.btn svg { width: 19px; height: 19px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.btn--koyu { background: var(--murekkep); color: var(--kagit); }
.btn--cizgi { border-color: var(--cizgi-koyu); color: var(--murekkep); }
.btn--acik { background: var(--kagit); color: var(--murekkep); }
.btn--acik-cizgi { border-color: rgba(246, 240, 229, .7); color: var(--kagit); }
.btn--kucuk { min-height: 42px; padding: 0 18px; font-size: .95rem; }
@media (hover: hover) {
  .btn--koyu:hover { background: var(--kahve-koyu); }
  .btn--cizgi:hover { border-color: var(--murekkep); background: rgba(51, 37, 26, .05); }
  .btn--acik:hover { background: #fff; }
  .btn--acik-cizgi:hover { background: rgba(246, 240, 229, .12); border-color: var(--kagit); }
}

/* "Şu an açık / kapalı" bilgisi: düz bir satır, küçük bir nokta */
.durum {
  display: inline-flex; align-items: center; gap: 9px;
  font-weight: 600; font-size: .95rem; line-height: 1.35;
}
.durum::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%; flex: none;
  background: var(--acik-yesil);
}
.durum.kapali::before { background: var(--uyari); }

/* Fotoğraf yüklenemezse görünen zemin */
.gorsel-yok { background: var(--kagit-2) !important; }
.gorsel-yok img { visibility: hidden; }

/* Fotoğraflar yüklenince kısa bir geçişle görünür (yalnızca bu kadar). */
.js img.bekle:not(.hazir) { opacity: 0; }
.js img.hazir { transition: opacity .4s ease; }

/* ---------- Üst çubuk ---------- */

.ust {
  position: fixed; inset: 0 0 auto 0; z-index: 60;
  top: var(--duyuru-h, 0px);
  height: var(--ust-h);
  padding: 0 var(--kenar);
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  color: var(--kagit);
  transition: background-color .25s, color .25s, border-color .25s, top .25s;
  border-bottom: 1px solid transparent;
}
.ust.kaydi {
  background: var(--kagit);
  color: var(--murekkep);
  border-bottom-color: var(--cizgi);
}
.logo { display: inline-flex; align-items: center; text-decoration: none; min-height: 44px; }
.logo__resim { display: block; width: auto; height: 44px; }

.ust__nav { display: none; gap: clamp(20px, 2.6vw, 36px); }
.ust__nav a { text-decoration: none; font-weight: 500; font-size: .98rem; padding: 10px 0; }
.ust__nav a:hover, .ust__nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; }
.ust__cta { background: var(--kagit); color: var(--murekkep); }
.ust.kaydi .ust__cta { background: var(--murekkep); color: var(--kagit); }

/* =====================================================================
   ANA SAYFA
   ===================================================================== */

/* ---------- 1 · Karşılama ---------- */

.hero {
  position: relative;
  min-height: 88vh; min-height: 88svh;
  display: flex; align-items: flex-end;
  overflow: hidden;
  background: var(--koyu);
  color: var(--kagit);
}
.hero__medya { position: absolute; inset: 0; }
/* Telefonda tabela üst yarıda kalsın, yazılar alttaki koyu kısma otursun. */
.hero__medya img { width: 100%; height: 55%; object-fit: cover; object-position: 60% 30%; }
.hero__perde {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(25, 18, 12, .4) 0%, rgba(25, 18, 12, 0) 22%, rgba(42, 31, 22, .55) 42%, var(--koyu) 56%);
}
.hero__icerik {
  position: relative; z-index: 2;
  width: 100%; max-width: calc(var(--genis) + 2 * var(--kenar));
  margin-inline: auto;
  padding: calc(var(--ust-ofset) + 40px) var(--kenar) calc(var(--altbar-h) + 40px);
}
.hero__yer { font-size: .95rem; color: rgba(246, 240, 229, .85); margin-bottom: 10px; }
.hero__baslik {
  font-family: var(--serif-buyuk); font-weight: 400;
  font-size: clamp(3.2rem, 9.5vw, 5.6rem);
  line-height: .98; letter-spacing: -.015em;
}
.hero__alt {
  max-width: 34ch;
  margin-top: 16px;
  font-size: clamp(1.05rem, 2.2vw, 1.25rem); line-height: 1.5;
  color: rgba(246, 240, 229, .92);
}
.hero .durum { margin-top: 18px; color: var(--kagit); }
.hero__dugmeler { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.hero__en {
  display: inline-block; margin-top: 16px;
  color: rgba(246, 240, 229, .9); font-size: .95rem; font-weight: 500;
}

/* ---------- 2 · Hikâye ---------- */

.hikaye__izgara { display: grid; gap: 40px; }
.hikaye__yazi p { max-width: 54ch; color: var(--murekkep-2); font-size: 1.1rem; }
.hikaye__yazi p + p { margin-top: 1em; }
.hikaye__gorsel { display: grid; grid-template-columns: 1.4fr 1fr; gap: 12px; align-items: end; }
.cerceve { position: relative; overflow: hidden; background: var(--kagit-2); border-radius: var(--kose); }
.cerceve img { width: 100%; height: 100%; object-fit: cover; }
.cerceve--buyuk { aspect-ratio: 4 / 5; }
.cerceve--kucuk { aspect-ratio: 3 / 4; }
.cerceve figcaption, .foto-not { font-size: .85rem; color: var(--murekkep-2); margin-top: 8px; }

/* ---------- 3 · Mutfaktan ---------- */

.imza {
  background: var(--kagit-2);
  border-top: 1px solid var(--cizgi);
  border-bottom: 1px solid var(--cizgi);
}
.imza__bas { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; margin-bottom: 28px; }
.imza__bas .baslik { margin: 0; }
.imza__bas p { color: var(--murekkep-2); max-width: 44ch; }

.serit { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 16px; }
.kart__gorsel { aspect-ratio: 4 / 3; overflow: hidden; background: var(--kagit); border-radius: var(--kose); }
.kart__gorsel img { width: 100%; height: 100%; object-fit: cover; }
.kart h3 { font-family: var(--serif); font-weight: 700; font-size: 1.12rem; line-height: 1.25; margin: 12px 0 4px; }
.kart p { color: var(--murekkep-2); font-size: .95rem; line-height: 1.5; }
.kart__fiyat { display: inline-block; margin-top: 6px; font-family: var(--serif); color: var(--kahve); }
.imza__son { margin-top: 32px; }

/* ---------- 4 · Saatler ve iletişim ---------- */

.ziyaret__izgara { display: grid; gap: 48px; }
.kunye { display: grid; gap: 20px; margin: 24px 0 28px; }
.kunye dt { font-size: .85rem; font-weight: 600; color: var(--murekkep-2); }
.kunye dd { margin-top: 2px; font-family: var(--serif); font-size: clamp(1.15rem, 2.8vw, 1.4rem); line-height: 1.4; }
/* Telefonda iki eşit sütun, geniş ekranda yan yana */
.ziyaret__dugmeler { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.ziyaret__dugmeler .btn { padding: 0 12px; }
@media (min-width: 900px) {
  .ziyaret__dugmeler { display: flex; flex-wrap: wrap; }
  .ziyaret__dugmeler .btn { padding: 0 22px; }
}
.telefonlar { display: grid; gap: 2px; }
.telefonlar a { justify-self: start; }

.saatler { border-top: 2px solid var(--murekkep); padding-top: 14px; }
.saatler h3 { font-family: var(--serif-buyuk); font-weight: 400; font-size: 1.6rem; margin-bottom: 6px; }
.saatler li {
  display: flex; justify-content: space-between; gap: 16px;
  padding: 11px 0;
  border-bottom: 1px solid var(--cizgi);
  font-variant-numeric: tabular-nums;
}
.saatler li.bugun { font-weight: 700; }
.saatler li.bugun span:first-child::after {
  content: " · bugün"; font-weight: 500; color: var(--kahve);
}

/* ---------- 5 · Rezervasyon (talepler panelde görünür) ---------- */

.rezervasyon {
  margin-top: var(--bosluk);
  padding-top: 28px;
  border-top: 2px solid var(--murekkep);
}
.rezervasyon__bas h3 { font-family: var(--serif-buyuk); font-weight: 400; font-size: clamp(1.8rem, 4vw, 2.4rem); line-height: 1.15; }
.rezervasyon__bas p { margin-top: 8px; color: var(--murekkep-2); max-width: 56ch; }

.rez-form { margin-top: 24px; }
.rez-form__izgara { display: grid; gap: 16px; }
.rez-alan { display: grid; gap: 6px; }
.rez-alan > span { font-size: .9rem; font-weight: 600; }
.rez-alan small { font-weight: 400; color: var(--murekkep-2); }
.rez-alan input, .rez-alan textarea {
  width: 100%; min-height: 48px; padding: 11px 12px;
  border: 1px solid var(--cizgi-koyu); border-radius: var(--kose); background: #fffdf8;
  font: inherit; color: inherit;
}
.rez-alan textarea { resize: vertical; min-height: 92px; }
.rez-alan input:focus, .rez-alan textarea:focus { outline: 2px solid var(--kahve); outline-offset: 0; border-color: var(--kahve); }
.rez-alan input[aria-invalid="true"] { border-color: var(--uyari); }
.gizli-alan { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.rez-form__hata { margin-top: 14px; padding: 10px 12px; border-left: 3px solid var(--uyari); background: #f6e2dc; color: var(--uyari); font-weight: 600; }
.rez-form__alt { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 20px; }
.rez-form__alt .btn[disabled] { opacity: .6; cursor: default; }
.rez-form__bilgi { flex: 1 1 240px; font-size: .9rem; color: var(--murekkep-2); }

.rez-tamam { margin-top: 24px; padding: 18px 20px; border-left: 3px solid var(--acik-yesil); background: #e6ece0; }
.rez-tamam:focus { outline: none; }
.rez-tamam h4 { font-family: var(--serif); font-weight: 700; font-size: 1.15rem; }
.rez-tamam p { margin-top: 4px; color: var(--murekkep-2); }

/* =====================================================================
   MENÜ SAYFASI
   ===================================================================== */

.afis {
  position: relative; overflow: hidden;
  min-height: max(280px, 40vh);
  display: flex; align-items: flex-end;
  background: var(--koyu); color: var(--kagit);
}
.afis__medya { position: absolute; inset: 0; }
.afis__medya img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.afis__medya::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(25, 18, 12, .45) 0%, rgba(25, 18, 12, .4) 45%, rgba(25, 18, 12, .82) 100%);
}
.afis__icerik {
  position: relative; z-index: 1;
  width: 100%; max-width: calc(var(--genis) + 2 * var(--kenar));
  margin-inline: auto;
  padding: calc(var(--ust-ofset) + 28px) var(--kenar) 28px;
}
.afis h1 {
  font-family: var(--serif-buyuk); font-weight: 400;
  font-size: clamp(3rem, 10vw, 5.2rem); line-height: 1; letter-spacing: -.01em;
}
.afis__not { max-width: 52ch; margin-top: 10px; color: rgba(246, 240, 229, .9); }

/* TR / EN seçimi: düz metin düğmeleri */
.dil { display: inline-flex; gap: 2px; margin-bottom: 12px; border: 1px solid rgba(246, 240, 229, .55); border-radius: var(--kose); }
.dil button {
  min-width: 46px; min-height: 34px; padding: 0 12px; border: 0;
  background: transparent; color: var(--kagit); cursor: pointer;
  font: 600 .85rem/1 var(--sans); letter-spacing: .04em;
}
.dil button[aria-pressed="true"] { background: var(--kagit); color: var(--murekkep); }

.menu { padding-bottom: clamp(40px, 8vw, 80px); }
.menu__js-yok { padding: 24px var(--kenar); }

/* Kategori sekmeleri: kaydırırken hep üstte kalır */
.cipler {
  position: sticky; top: var(--ust-ofset); z-index: 20;
  overflow-x: auto; scrollbar-width: none;
  background: var(--kagit);
  border-bottom: 1px solid var(--cizgi);
}
.cipler::-webkit-scrollbar { display: none; }
.cipler__ic { display: flex; gap: 22px; width: max-content; margin-inline: auto; padding: 0 var(--kenar); }
.cip {
  flex: none; display: inline-flex; align-items: center;
  min-height: 50px;
  border-bottom: 2px solid transparent;
  font-weight: 500; font-size: .98rem; white-space: nowrap;
  color: var(--murekkep-2); text-decoration: none;
}
.cip:hover { color: var(--murekkep); }
.cip.aktif { color: var(--murekkep); border-bottom-color: var(--murekkep); font-weight: 700; }

.kat {
  max-width: calc(var(--genis) + 2 * var(--kenar)); margin-inline: auto;
  padding: 36px var(--kenar) 4px;
  scroll-margin-top: calc(var(--ust-ofset) + 56px);
}
.kat__ust { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.kat h2 { font-family: var(--serif-buyuk); font-weight: 400; font-size: clamp(1.9rem, 4.6vw, 2.6rem); line-height: 1.1; }
.kat__adet { flex: none; font-size: .85rem; color: var(--murekkep-2); }
.kat__not { margin-top: .4em; font-family: var(--serif); font-style: italic; color: var(--kahve-koyu); }
.urunler { margin-top: 10px; }
.urun { padding: 14px 0; border-bottom: 1px solid var(--cizgi); break-inside: avoid; }
.urun__ust { display: flex; align-items: baseline; gap: 10px; }
.urun__ad { font-family: var(--serif); font-size: 1.12rem; font-weight: 700; line-height: 1.3; }
.urun__nokta { flex: 1; min-width: 18px; height: 0; border-bottom: 1px dotted var(--cizgi-koyu); transform: translateY(-.3em); }
.urun__fiyat { flex: none; font-family: var(--serif); font-size: 1.12rem; color: var(--kahve); white-space: nowrap; font-variant-numeric: tabular-nums; }
.urun__aciklama { margin-top: 2px; font-size: .97rem; color: var(--murekkep-2); }

/* "İmza" işareti: küçük italik bir not, rozet değil */
.rozet {
  margin-left: 8px;
  font-family: var(--serif); font-style: italic; font-weight: 400; font-size: .85rem;
  color: var(--kahve); white-space: nowrap;
}
.rozet svg { display: none; }

/* Kategoriler arası: ince çizgi ve ortada logodaki gibi küçük bir dal */
.ayrac {
  display: flex; align-items: center; gap: 14px;
  max-width: calc(var(--genis) + 2 * var(--kenar)); margin: 30px auto 0;
  padding: 0 var(--kenar);
  color: var(--kahve);
}
.ayrac::before, .ayrac::after { content: ""; flex: 1; height: 1px; background: var(--cizgi); }
.ayrac svg { width: 44px; height: 22px; flex: none; }

/* İçindekiler, alerjenler ve kalori (Kılavuz 41.3–41.5: alerjen, alkol ve
   domuz kaynaklı bileşenler listenin geri kalanından kalın yazıyla ayrılır) */
.urun__icerik { margin-top: 4px; font-size: .88rem; line-height: 1.5; color: var(--murekkep-2); }
.urun__icerik strong { color: var(--murekkep); font-weight: 800; }
.urun__etiket { font-weight: 600; color: var(--murekkep-2); }
.urun__alerjen { margin-top: 3px; font-size: .86rem; line-height: 1.5; display: flex; flex-wrap: wrap; gap: 2px 10px; align-items: baseline; }
.urun__alerjen strong { color: var(--uyari); font-weight: 700; }
.urun__alerjen .urun__uyari::before { content: "· "; color: var(--murekkep-2); font-weight: 400; }
.urun__alerjen .urun__uyari:first-child::before { content: none; }
.urun__kalori { margin-top: 3px; font-size: .82rem; color: var(--murekkep-2); font-variant-numeric: tabular-nums; }

.menu__kalori-not {
  max-width: var(--genis); margin: 28px auto 0; padding: 0 var(--kenar);
  font-size: .88rem; color: var(--murekkep-2);
}

/* =====================================================================
   ALT BİLGİ VE TELEFON ALT ÇUBUĞU (sayfalarda ortak)
   ===================================================================== */

.alt {
  background: var(--koyu); color: rgba(246, 240, 229, .78);
  padding: 40px var(--kenar) calc(var(--altbar-h) + 28px + env(safe-area-inset-bottom));
}
.alt__ic { display: grid; gap: 14px; max-width: var(--genis); margin-inline: auto; }
.alt .logo { justify-self: start; }
.alt .logo__resim { height: 72px; }
.alt__nav { display: flex; flex-wrap: wrap; gap: 0 24px; }
.alt__nav a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; color: rgba(246, 240, 229, .9); }
.alt__nav a:hover { text-decoration: underline; }
.alt__telif { font-size: .9rem; }

.altbar {
  position: fixed; inset: auto 0 0 0; z-index: 60;
  display: grid; grid-template-columns: repeat(4, 1fr);
  padding-bottom: env(safe-area-inset-bottom);
  background: var(--kagit);
  border-top: 1px solid var(--cizgi-koyu);
}
.altbar a {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  min-height: var(--altbar-h);
  font-size: .78rem; font-weight: 600; text-decoration: none;
  color: var(--murekkep-2);
  -webkit-tap-highlight-color: transparent;
}
.altbar a:active { background: var(--kagit-2); }
.altbar svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.altbar a[aria-current="page"] { color: var(--murekkep); box-shadow: inset 0 2px 0 var(--murekkep); }

/* =====================================================================
   DUYURU ŞERİDİ
   Yönetim panelinden yazılır; bütün sayfaların en üstünde durur ve
   kapatılabilir. Üst çubuk şeridin hemen altına kayar.
   ===================================================================== */
.duyuru {
  position: fixed; inset: 0 0 auto 0; z-index: 70;
  display: flex; align-items: center; justify-content: center;
  min-height: 40px; padding: 8px 52px 8px 16px;
  background: var(--murekkep); color: var(--kagit);
  font-weight: 500; font-size: .93rem; line-height: 1.35; text-align: center;
}
.duyuru svg { display: none; }
.duyuru__kapat {
  position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  width: 40px; height: 40px; border: 0;
  background: transparent; color: inherit; cursor: pointer;
  font-size: 1.3rem; line-height: 1;
}
.duyuru__kapat:hover { background: rgba(246, 240, 229, .12); }

/* Telefonda karşılama yazıları alt çubuğun üstünde rahat dursun. */
@media (max-width: 899px) {
  .hero__icerik { padding-bottom: calc(var(--altbar-h) + env(safe-area-inset-bottom) + 56px); }
}

/* =====================================================================
   GENİŞ EKRANLAR
   ===================================================================== */

@media (min-width: 640px) {
  .rez-form__izgara { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rez-alan--genis { grid-column: 1 / -1; }
}

@media (min-width: 900px) {
  :root { --ust-h: 76px; --altbar-h: 0px; }
  body { font-size: 1.1rem; }

  .altbar { display: none; }
  .ust__nav { display: flex; }
  .ust__cta--mobil { display: none; }
  .logo__resim { height: 52px; }
  .alt { padding-bottom: 34px; }
  .alt__ic { grid-template-columns: auto 1fr auto; align-items: center; gap: 40px; }
  .alt .logo__resim { height: 84px; }

  .hero__icerik { padding-bottom: 72px; }
  .hero__medya img { height: 100%; object-position: 50% 70%; }
  .hero__perde {
    background:
      linear-gradient(90deg, rgba(25, 18, 12, .55) 0%, rgba(25, 18, 12, 0) 60%),
      linear-gradient(180deg, rgba(25, 18, 12, .4) 0%, rgba(25, 18, 12, .05) 30%, rgba(25, 18, 12, .45) 60%, rgba(25, 18, 12, .82) 100%);
  }

  .hikaye__izgara { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(48px, 7vw, 96px); align-items: center; }

  .serit { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }

  .ziyaret__izgara { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(48px, 7vw, 96px); align-items: start; }

  .rez-form__izgara { grid-template-columns: repeat(3, minmax(0, 1fr)); }

  .afis { min-height: max(320px, 42vh); }

  /* Menü: solda kategori adı, sağda iki sütun ürün */
  .kat {
    display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: clamp(32px, 5vw, 64px);
    align-items: start;
    padding-block: 48px 8px;
  }
  .kat__bas { position: sticky; top: calc(var(--ust-ofset) + 80px); }
  .kat__ust { display: block; }
  .kat__adet { display: block; margin-top: 8px; }
  .urunler { margin-top: 0; columns: 2; column-gap: clamp(32px, 5vw, 56px); }
}

/* Hareket azaltma tercihi: kaydırma bile ani olur. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* =====================================================================
   HAFİF HAREKET
   Öğeler kaydırınca kısa ve yumuşak biçimde belirir; fotoğraflar hafifçe
   yerine oturur. Gösterişli efekt yoktur ve her öğe yalnızca bir kez
   oynar. Hareket azaltma tercihi olanlarda hiç oynamaz (aşağıda).
   ===================================================================== */
.js .gor {
  opacity: 0;
  transform: translate3d(0, 18px, 0);
  transition: opacity .7s ease, transform .8s cubic-bezier(.2, .7, .2, 1);
  transition-delay: var(--g, 0ms);
}
.js .gor.icinde { opacity: 1; transform: none; }

.js .foto-gor { opacity: 0; transition: opacity .8s ease; transition-delay: var(--g, 0ms); }
.js .foto-gor img { transform: scale(1.06); transition: transform 1.4s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--g, 0ms); }
.js .foto-gor.icinde { opacity: 1; }
.js .foto-gor.icinde img { transform: none; }

/* Karşılama: sayfa açılınca yazılar sırayla gelir */
.js .hero__icerik > * { animation: hafif-gel .8s cubic-bezier(.2, .7, .2, 1) both; }
.js .hero__icerik > :nth-child(2) { animation-delay: .08s; }
.js .hero__icerik > :nth-child(3) { animation-delay: .16s; }
.js .hero__icerik > :nth-child(4) { animation-delay: .24s; }
.js .hero__icerik > :nth-child(5) { animation-delay: .32s; }
.js .hero__icerik > :nth-child(6) { animation-delay: .4s; }
.js .afis__icerik > * { animation: hafif-gel .7s cubic-bezier(.2, .7, .2, 1) both; }
.js .afis__icerik > :nth-child(2) { animation-delay: .08s; }
.js .afis__icerik > :nth-child(3) { animation-delay: .16s; }
@keyframes hafif-gel { from { opacity: 0; transform: translate3d(0, 14px, 0); } to { opacity: 1; transform: none; } }

/* Mutfaktan kartları: üstüne gelince fotoğraf çok az yakınlaşır */
.kart__gorsel img { transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
@media (hover: hover) { .kart:hover .kart__gorsel img { transform: scale(1.04); } }

/* =====================================================================
   BAHÇE VE TERAS (koyu bant: sayfaya ritim katar)
   ===================================================================== */
.bahce { background: var(--koyu); color: var(--kagit); }
.bahce__bas { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; margin-bottom: 28px; }
.bahce__bas .baslik { margin: 0; }
.bahce__bas p { color: rgba(246, 240, 229, .78); max-width: 46ch; }
.bahce__izgara { display: grid; grid-template-columns: 1fr; gap: 12px; }
.bahce .cerceve { background: #3a2c20; }
.bahce__buyuk { aspect-ratio: 4 / 3; }
.bahce__kucuk { aspect-ratio: 4 / 3; }
@media (min-width: 700px) {
  .bahce__izgara { grid-template-columns: 1.5fr 1fr; align-items: stretch; }
  .bahce__buyuk, .bahce__kucuk { aspect-ratio: auto; min-height: 360px; }
}

/* WhatsApp düğmesindeki simge diğerleriyle aynı çizgide */
.btn[data-link="whatsapp"] svg { width: 20px; height: 20px; }

@media (prefers-reduced-motion: reduce) {
  .js .gor, .js .foto-gor { opacity: 1; transform: none; }
  .js .foto-gor img { transform: none; }
}

/* =====================================================================
   MENÜ: HER YAŞA KOLAY
   Büyük yazı, açık bir arama kutusu ve tek dokunuşla başa dönüş.
   ===================================================================== */
.menu-ara { max-width: calc(var(--genis) + 2 * var(--kenar)); margin: 0 auto; padding: 18px var(--kenar) 0; }
.menu-ara__kutu {
  display: flex; align-items: center; gap: 10px;
  min-height: 54px; padding: 0 14px;
  border: 1px solid var(--cizgi-koyu); border-radius: var(--kose); background: #fffdf8;
}
.menu-ara__kutu:focus-within { outline: 2px solid var(--kahve); outline-offset: 0; border-color: var(--kahve); }
.menu-ara__kutu svg { width: 22px; height: 22px; flex: none; fill: none; stroke: var(--murekkep-2); stroke-width: 1.8; stroke-linecap: round; }
.menu-ara__kutu input { flex: 1; min-width: 0; border: 0; background: transparent; font: inherit; font-size: 1.05rem; color: inherit; padding: 12px 0; outline: none; }
.menu-ara__bos { margin-top: 14px; font-size: 1.02rem; color: var(--murekkep-2); }
.gizli-metin { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Daha büyük ve okunaklı yazı */
.cip { font-size: 1.05rem; min-height: 54px; }
.urun { padding: 16px 0; }
.urun__ad { font-size: 1.22rem; }
.urun__fiyat { font-size: 1.22rem; }
.urun__aciklama { font-size: 1.03rem; }
.urun__icerik { font-size: .97rem; }
.urun__alerjen { font-size: .95rem; }
.urun__kalori { font-size: .92rem; }
.rozet { font-size: .95rem; }

/* Başa dön */
.yukari {
  position: fixed; right: 14px; z-index: 55;
  bottom: calc(var(--altbar-h) + env(safe-area-inset-bottom) + 14px);
  display: inline-flex; align-items: center; min-height: 46px; padding: 0 16px;
  border-radius: var(--kose); background: var(--murekkep); color: var(--kagit);
  font-weight: 600; text-decoration: none;
  box-shadow: 0 2px 0 rgba(0, 0, 0, .15);
}

/* Arama sırasında kategori ürün sayısı gizlenir (yalnızca bulunanlar görünür) */
.aramada .kat__adet { display: none; }

/* Ürünlerin altındaki ayırıcı çizgi yalnızca içindekiler bilgisi gösterilen
   ürünlerde görünür; diğerleri yalnızca boşlukla ayrılır. */
.urun { border-bottom: 0; }
.urun--icerikli { border-bottom: 1px solid var(--cizgi); }
