/* Kazan 1971 — misafir menüsü
   Krem kâğıt zemin, logodaki yeşil, bakır kazan vurgusu.
   Başlıklar basılı menüdeki gibi harf aralıklı, dar ve büyük harf. */

:root {
    --paper: #f4efe3;
    --paper-2: #ebe4d3;
    --card: #fbf8f1;
    --ink: #1b231f;
    --ink-2: #4a544e;
    --ink-3: #7a8279;
    --line: #d8cfba;
    --green: #0b6e39;
    --green-deep: #0b3d26;
    --green-band: #0d4a2d;
    --mint: #c9e0d1;
    --mint-ink: #a9cdb6;
    --copper: #a4532a;
    --copper-soft: #f1dfcf;
    --on-band: #f4efe3;
    --shadow: 0 1px 0 rgba(27, 35, 31, .04), 0 10px 30px -18px rgba(27, 35, 31, .45);
    --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .35 0 0 0 0 .3 0 0 0 0 .2 0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");

    --f-display: "Barlow Condensed", "Arial Narrow", sans-serif;
    --f-text: "Barlow", "Segoe UI", sans-serif;
    --wrap: 760px;
    --gut: 16px;
    --ease: cubic-bezier(.2, .7, .2, 1);
    color-scheme: light;
}

@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) {
        --paper: #0f1713;
        --paper-2: #16201b;
        --card: #18231e;
        --ink: #ece6d7;
        --ink-2: #b7b4a7;
        --ink-3: #868b82;
        --line: #2b3832;
        --green: #5cc58a;
        --green-deep: #08221a;
        --green-band: #0a2a1c;
        --mint: #1b3226;
        --mint-ink: #24412f;
        --copper: #e09763;
        --copper-soft: #3a2619;
        --shadow: 0 10px 30px -18px rgba(0, 0, 0, .8);
        color-scheme: dark;
    }
}

:root[data-theme="dark"] {
    --paper: #0f1713;
    --paper-2: #16201b;
    --card: #18231e;
    --ink: #ece6d7;
    --ink-2: #b7b4a7;
    --ink-3: #868b82;
    --line: #2b3832;
    --green: #5cc58a;
    --green-deep: #08221a;
    --green-band: #0a2a1c;
    --mint: #1b3226;
    --mint-ink: #24412f;
    --copper: #e09763;
    --copper-soft: #3a2619;
    --shadow: 0 10px 30px -18px rgba(0, 0, 0, .8);
    color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 64px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
    margin: 0;
    background: var(--paper) var(--grain);
    color: var(--ink);
    font: 400 16px/1.5 var(--f-text);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, p, ul, dl, figure { margin: 0; }
ul { padding: 0; list-style: none; }

.icon {
    width: 20px; height: 20px; flex: none;
    fill: none; stroke: currentColor; stroke-width: 1.6;
    stroke-linecap: round; stroke-linejoin: round;
}

.sr, .skip:not(:focus) {
    position: absolute; width: 1px; height: 1px; overflow: hidden;
    clip: rect(0 0 0 0); white-space: nowrap;
}
.skip:focus { position: fixed; z-index: 50; top: 8px; left: 8px; padding: 8px 14px; background: var(--card); border-radius: 8px; }

:focus-visible { outline: 2px solid var(--copper); outline-offset: 2px; }

/* ---------- Marka öğeleri (renk CSS'ten gelir, görsel maske olarak kullanılır) ---------- */

.logo {
    display: block;
    aspect-ratio: 900 / 184;
    background: currentColor;
    -webkit-mask: url("../img/logo.png") center / contain no-repeat;
    mask: url("../img/logo.png") center / contain no-repeat;
}

.sef {
    display: block;
    aspect-ratio: 800 / 690;
    background: var(--mint-ink);
    -webkit-mask: url("../img/sef.png") center / contain no-repeat;
    mask: url("../img/sef.png") center / contain no-repeat;
    pointer-events: none;
}

.eyebrow {
    display: flex; align-items: center; gap: 8px;
    font: 600 12.5px/1 var(--f-display);
    letter-spacing: .28em; text-transform: uppercase;
    color: var(--green);
}
.eyebrow .icon { width: 18px; height: 18px; }
.eyebrow--copper { color: var(--copper); }

.pill {
    display: inline-flex; align-items: center; justify-content: center; gap: 6px;
    min-height: 36px; padding: 0 14px;
    border: 1px solid rgba(244, 239, 227, .28); border-radius: 999px;
    background: transparent; color: var(--on-band);
    font: 600 13px/1 var(--f-display); letter-spacing: .14em; text-transform: uppercase;
    text-decoration: none; cursor: pointer;
    transition: background .2s var(--ease), border-color .2s var(--ease);
}
.pill:hover { background: rgba(244, 239, 227, .1); border-color: rgba(244, 239, 227, .5); }
.pill--icon { width: 36px; padding: 0; }
.icon--sun { display: none; }
:root[data-theme="dark"] .icon--sun { display: block; }
:root[data-theme="dark"] .icon--moon { display: none; }
@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) .icon--sun { display: block; }
    :root:not([data-theme="light"]) .icon--moon { display: none; }
}

/* ---------- Üst bant ---------- */

.band {
    position: relative;
    padding: calc(14px + env(safe-area-inset-top)) var(--gut) 92px;
    background:
        radial-gradient(120% 90% at 50% 0%, rgba(255, 255, 255, .06), transparent 60%),
        var(--green-band);
    color: var(--on-band);
    text-align: center;
}
.band::after {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background: var(--grain); opacity: .5; mix-blend-mode: overlay;
}
.band__tools {
    display: flex; justify-content: flex-end; gap: 8px;
    max-width: var(--wrap); margin: 0 auto;
}
.band__logo { width: min(270px, 72vw); margin: 22px auto 0; color: var(--on-band); }
.band__tagline {
    margin-top: 14px;
    font: 500 13px/1.3 var(--f-display); letter-spacing: .3em; text-transform: uppercase;
    color: #a9cdb6;
}

/* ---------- Bugün kazanda ---------- */

.today {
    position: relative;
    max-width: var(--wrap);
    margin: -70px auto 0;
    padding: 0 var(--gut);
}
.today__photo {
    overflow: hidden;
    border-radius: 18px 18px 0 0;
    aspect-ratio: 16 / 9;
    background: var(--paper-2);
}
.today__photo img { width: 100%; height: 100%; object-fit: cover; }

.today__card {
    position: relative;
    margin: -34px 12px 0;
    padding: 20px 20px 18px;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: var(--shadow);
}
.today__card::before {
    content: ""; position: absolute; left: 20px; right: 20px; top: 0; height: 3px;
    background: var(--copper); border-radius: 0 0 3px 3px;
}
.sef--peek {
    position: absolute; right: 12px; bottom: 12px; width: 84px;
    background: var(--mint);
}
.today__card--ask { padding-right: 104px; }
.today__card:not(.today__card--ask) .sef--peek { display: none; }
.today__list { display: grid; gap: 10px; margin-top: 12px; position: relative; }
.today__list li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 8px; }
.today__name {
    margin-top: 10px;
    font: 600 21px/1.2 var(--f-display); letter-spacing: .01em;
}
.today__list .today__name { margin: 0; font-size: 19px; }
.today__desc { flex-basis: 100%; margin-top: 2px; color: var(--ink-2); font-size: 14.5px; max-width: 30em; position: relative; }

/* ---------- Kategori çubuğu ---------- */

.cats {
    position: sticky; top: 0; z-index: 20;
    margin-top: 26px;
    background: color-mix(in srgb, var(--paper) 92%, transparent);
    -webkit-backdrop-filter: saturate(1.2) blur(10px);
    backdrop-filter: saturate(1.2) blur(10px);
    border-bottom: 1px solid var(--line);
}
.cats__inner {
    display: flex; align-items: center;
    max-width: var(--wrap); margin: 0 auto; padding-left: 6px;
}
.cats__search {
    display: grid; place-items: center; flex: none;
    width: 44px; height: 50px; border: 0; background: none; cursor: pointer;
    color: var(--ink-2);
}
.cats__list {
    display: flex; gap: 4px; overflow-x: auto;
    scroll-snap-type: x proximity; scrollbar-width: none;
    padding-right: var(--gut);
    mask-image: linear-gradient(90deg, #000 85%, transparent);
}
.cats__list::-webkit-scrollbar { display: none; }
.cats__list a {
    position: relative; display: block; white-space: nowrap; scroll-snap-align: start;
    padding: 16px 10px 15px;
    font: 600 13.5px/1 var(--f-display); letter-spacing: .2em; text-transform: uppercase;
    color: var(--ink-3); text-decoration: none;
    transition: color .2s var(--ease);
}
.cats__list a::after {
    content: ""; position: absolute; left: 10px; right: 10px; bottom: -1px; height: 2px;
    background: var(--green); transform: scaleX(0); transform-origin: left;
    transition: transform .3s var(--ease);
}
.cats__list a:hover, .cats__list a.is-active { color: var(--ink); }
.cats__list a.is-active::after { transform: scaleX(1); }

.search {
    display: flex; align-items: center; gap: 10px;
    max-width: var(--wrap); margin: 0 auto; padding: 8px var(--gut) 10px;
    color: var(--ink-3);
}
.search[hidden] { display: none; }
.search input {
    flex: 1; min-width: 0; height: 42px; padding: 0 14px;
    border: 1px solid var(--line); border-radius: 10px;
    background: var(--card); color: var(--ink);
    font: 400 16px var(--f-text);
}
.search input:focus { outline: none; border-color: var(--green); }
.search button { display: grid; place-items: center; width: 40px; height: 40px; border: 0; background: none; cursor: pointer; color: var(--ink-2); }

/* ---------- Menü ---------- */

.menu {
    max-width: var(--wrap);
    margin: 0 auto;
    padding: 8px var(--gut) 40px;
}
.menu__empty, .menu__none { padding: 48px 0; text-align: center; color: var(--ink-2); }

.cat { padding-top: 34px; }
.cat[hidden] { display: none; }
.cat__head { margin-bottom: 6px; }
.cat__img {
    width: 100%; aspect-ratio: 21 / 8; object-fit: cover;
    border-radius: 12px; margin-bottom: 18px;
    background: var(--paper-2);
}
.cat__title {
    display: flex; align-items: center; gap: 14px;
    font: 600 17px/1.1 var(--f-display);
    letter-spacing: .34em; text-transform: uppercase;
    color: var(--green);
}
.cat__title::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.cat__desc { margin-top: 8px; color: var(--ink-2); font-size: 14.5px; }

.dish[hidden] { display: none; }
.dishes .dish + .dish { border-top: 1px dashed var(--line); }

.dish__btn {
    display: flex; gap: 14px; align-items: flex-start;
    width: 100%; padding: 16px 0; border: 0; background: none;
    text-align: left; cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}
.dish__btn:active .dish__name { color: var(--green); }
.dish__body { flex: 1; min-width: 0; display: grid; gap: 5px; }
.dish__row { display: flex; align-items: baseline; gap: 8px; }
.dish__name {
    font: 600 18px/1.25 var(--f-display);
    letter-spacing: .01em;
    transition: color .15s;
}
.dish__desc { color: var(--ink-2); font-size: 14.5px; line-height: 1.45; }

.lead {
    flex: 1; min-width: 12px;
    border-bottom: 1.5px dotted var(--ink-3);
    opacity: .55; transform: translateY(-4px);
}
.price {
    flex: none;
    font: 600 19px/1 var(--f-display);
    font-variant-numeric: tabular-nums lining-nums;
    color: var(--ink);
}
.price small { margin-left: 2px; font-size: .68em; font-weight: 500; color: var(--ink-3); }
.price--ask { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }

.dish__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin-top: 2px; }
.tag {
    display: inline-flex; align-items: center; gap: 4px;
    font: 600 12px/1 var(--f-display); letter-spacing: .1em; text-transform: uppercase;
    color: var(--copper);
}
.tag .icon { width: 16px; height: 16px; }
.tag--vejetaryen { color: var(--green); }
.portion { font-size: 13px; color: var(--ink-3); }
.allergens { display: inline-flex; gap: 3px; color: var(--ink-3); }
.allergens .icon { width: 18px; height: 18px; }

.dish__img {
    flex: none; width: 92px; height: 92px; object-fit: cover;
    border-radius: 12px; background: var(--paper-2);
    box-shadow: 0 0 0 1px var(--line);
}

.dish.is-out .dish__name, .dish.is-out .dish__desc { color: var(--ink-3); }
.dish.is-out .dish__name { text-decoration: line-through; text-decoration-thickness: 1px; }
.dish.is-out .dish__img { filter: grayscale(1); opacity: .6; }
.badge {
    flex: none; padding: 4px 8px 3px; border-radius: 6px;
    font: 600 11.5px/1 var(--f-display); letter-spacing: .14em; text-transform: uppercase;
}
.badge--out { background: var(--copper-soft); color: var(--copper); }

/* Eşlikçiler gibi kısa listeler: iki sütun, sadece ad ve fiyat */
.sides { display: grid; grid-template-columns: 1fr; column-gap: 28px; padding-top: 6px; }
@media (min-width: 560px) { .sides { grid-template-columns: 1fr 1fr; } }
.sides .dish__btn { padding: 11px 0; }
.sides .dish { border-bottom: 1px dashed var(--line); }
.sides .dish__name { font-size: 17px; font-weight: 500; }
.sides .price { font-size: 17px; }

/* ---------- Alt bilgi ---------- */

.foot {
    position: relative; overflow: hidden;
    padding: 56px var(--gut) calc(40px + env(safe-area-inset-bottom));
    background: var(--green-deep); color: #d6e6db;
    text-align: center;
}
.sef--foot {
    position: absolute; right: -40px; bottom: -30px; width: 260px;
    background: rgba(255, 255, 255, .05);
}
.logo--small { width: 150px; margin: 0 auto 26px; color: var(--on-band); }
.foot__info { display: grid; gap: 12px; max-width: 420px; margin: 0 auto; text-align: left; }
.foot__info li, .foot__info a { display: flex; gap: 12px; align-items: flex-start; text-decoration: none; font-size: 15px; }
.foot__info .icon { margin-top: 1px; color: #8fc3a2; }
.foot__info a:hover span { text-decoration: underline; text-underline-offset: 3px; }
.mono { font-family: ui-monospace, Consolas, monospace; letter-spacing: .04em; }
.foot__links { display: flex; justify-content: center; gap: 22px; flex-wrap: wrap; margin-top: 28px; }
.foot__links a {
    display: inline-flex; align-items: center; gap: 6px; text-decoration: none;
    font: 600 13px/1 var(--f-display); letter-spacing: .16em; text-transform: uppercase; color: var(--on-band);
}
.foot__note { max-width: 420px; margin: 28px auto 0; font-size: 13px; color: #9fb7a7; }
.foot__copy { margin-top: 18px; font: 500 12px/1 var(--f-display); letter-spacing: .3em; text-transform: uppercase; color: #6f9a80; }

.totop {
    position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 15;
    display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
    background: var(--green-band); color: var(--on-band); box-shadow: var(--shadow);
    opacity: 0; transform: translateY(10px); pointer-events: none;
    transition: opacity .25s var(--ease), transform .25s var(--ease);
}
.totop.is-shown { opacity: 1; transform: none; pointer-events: auto; }

.offline {
    position: fixed; left: 50%; bottom: 16px; z-index: 30; transform: translateX(-50%);
    padding: 8px 14px; border-radius: 999px; background: var(--ink); color: var(--paper);
    font: 600 12px/1 var(--f-display); letter-spacing: .14em; text-transform: uppercase;
}
.offline[hidden] { display: none; }

/* ---------- Ürün ayrıntısı (alttan açılan pencere) ---------- */

.sheet {
    width: 100%; max-width: 560px; max-height: 92vh; max-height: 92dvh;
    margin: auto auto 0; padding: 0; border: 0;
    background: transparent; color: var(--ink);
    overflow: visible;
}
.sheet::backdrop { background: rgba(10, 20, 15, .55); -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px); }
.sheet__panel {
    position: relative; max-height: inherit; overflow: auto;
    background: var(--card); border-radius: 20px 20px 0 0;
    padding-bottom: env(safe-area-inset-bottom);
    animation: sheet-up .32s var(--ease);
}
@media (min-width: 600px) {
    .sheet { margin: auto; }
    .sheet__panel { border-radius: 20px; }
}
@keyframes sheet-up { from { transform: translateY(40px); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .sheet__panel { animation: none; } }

.sheet__close {
    position: absolute; top: 12px; right: 12px; z-index: 2;
    display: grid; place-items: center; width: 40px; height: 40px;
    border: 0; border-radius: 50%; cursor: pointer;
    background: color-mix(in srgb, var(--card) 88%, transparent); color: var(--ink);
    box-shadow: 0 2px 10px rgba(0, 0, 0, .15);
}
.sheet__photo { aspect-ratio: 4 / 3; overflow: hidden; background: var(--paper-2); }
.sheet__photo[hidden] { display: none; }
.sheet__photo img { width: 100%; height: 100%; object-fit: cover; }
.sheet__body { padding: 22px 22px 28px; display: grid; gap: 10px; }
.sheet__photo[hidden] + .sheet__body { padding-top: 30px; }
.sheet__title { font: 600 28px/1.1 var(--f-display); padding-right: 40px; }
.sheet__price { font: 600 24px/1 var(--f-display); font-variant-numeric: tabular-nums; }
.sheet__price small { font-size: .65em; color: var(--ink-3); margin-left: 2px; }
.sheet__desc { color: var(--ink-2); font-size: 16px; }
.sheet__desc:empty { display: none; }
.sheet__facts { display: grid; gap: 12px; margin-top: 8px; padding-top: 16px; border-top: 1px dashed var(--line); }
.sheet__facts:empty { display: none; }
.sheet__facts dt { font: 600 12px/1 var(--f-display); letter-spacing: .22em; text-transform: uppercase; color: var(--ink-3); }
.sheet__facts dd { margin: 6px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 6px 10px 6px 8px; border-radius: 8px;
    background: var(--paper-2); font-size: 14px;
}
.chip .icon { width: 18px; height: 18px; color: var(--green); }
.chip--tag .icon { color: var(--copper); }

@media (min-width: 800px) {
    .band { padding-bottom: 110px; }
    .band__logo { width: 320px; }
    .today { margin-top: -86px; }
    .today__card { margin: -44px 28px 0; padding: 24px 28px 22px; }
    .dish__img { width: 112px; height: 112px; }
}

@media print {
    .band__tools, .cats, .totop, .sheet { display: none !important; }
}
