/* ============================================================
   Dijital Menü — Frontend (Roast teması)
   Renkler OKLCH; token'lar :root'ta, panelden override edilir.
   ============================================================ */

/* ---- Fontlar (self-host, variable, latin + latin-ext/Türkçe) ---- */
@font-face {
    font-family: "Bricolage Grotesque";
    src: url("/assets/fonts/bricolage-latin.woff2") format("woff2");
    font-weight: 200 800; font-style: normal; font-display: swap;
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: "Bricolage Grotesque";
    src: url("/assets/fonts/bricolage-latinext.woff2") format("woff2");
    font-weight: 200 800; font-style: normal; font-display: swap;
    unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: "Hanken Grotesk";
    src: url("/assets/fonts/hanken-latin.woff2") format("woff2");
    font-weight: 300 800; font-style: normal; font-display: swap;
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: "Hanken Grotesk";
    src: url("/assets/fonts/hanken-latinext.woff2") format("woff2");
    font-weight: 300 800; font-style: normal; font-display: swap;
    unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---- Tasarım token'ları (varsayılan: Roast) ---- */
:root {
    --bg:            oklch(0.980 0.008 80);
    --surface:       oklch(0.995 0.004 80);
    --surface-2:     oklch(0.960 0.009 78);
    --ink:           oklch(0.245 0.012 70);
    --ink-muted:     oklch(0.520 0.012 70);
    --ink-faint:     oklch(0.660 0.010 72);
    --border:        oklch(0.905 0.008 75);
    --border-strong: oklch(0.840 0.010 75);

    --color-primary: oklch(0.420 0.072 168);
    --color-accent:  oklch(0.740 0.130 66);
    --color-secondary: oklch(0.440 0.110 18);
    --on-primary:    oklch(0.985 0.006 80);
    --on-accent:     oklch(0.250 0.030 60);

    --font-display: "Bricolage Grotesque", "Hanken Grotesk", system-ui, sans-serif;
    --font-body:    "Hanken Grotesk", system-ui, -apple-system, sans-serif;

    --radius-sm: 8px; --radius: 14px; --radius-lg: 22px; --radius-pill: 999px;
    --shadow-sm: 0 1px 2px oklch(0.25 0.02 70 / 0.06);
    --shadow:    0 6px 22px -8px oklch(0.25 0.02 70 / 0.16);
    --shadow-lg: 0 18px 50px -12px oklch(0.25 0.02 70 / 0.22);

    --ease: cubic-bezier(0.16, 1, 0.3, 1);
    --container: 64rem;
    --header-h: 96px;
}
@media (min-width: 48rem) { :root { --header-h: 112px; } }

[data-theme="dark"] {
    --bg:        oklch(0.190 0.010 70);
    --surface:   oklch(0.232 0.011 70);
    --surface-2: oklch(0.275 0.012 70);
    --ink:       oklch(0.945 0.008 80);
    --ink-muted: oklch(0.740 0.010 78);
    --ink-faint: oklch(0.620 0.010 75);
    --border:        oklch(0.330 0.012 72);
    --border-strong: oklch(0.400 0.012 72);
    --color-primary: oklch(0.640 0.090 168);
    --color-accent:  oklch(0.780 0.130 66);
    --on-primary:    oklch(0.160 0.015 160);
    --shadow:    0 6px 22px -8px oklch(0 0 0 / 0.45);
    --shadow-lg: 0 18px 50px -12px oklch(0 0 0 / 0.55);
}

/* ---- Reset & taban ---- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--ink);
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-wrap: break-word;
    min-height: 100svh; min-height: 100vh;
    display: flex; flex-direction: column;
}
main { flex: 1 0 auto; }
img, picture, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: none; }
:focus-visible { outline: 2px solid var(--color-primary); outline-offset: 2px; border-radius: 4px; }

.wrap { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: clamp(1rem, 4vw, 2rem); }
body.no-scroll { overflow: hidden; }

/* ---- Başlık / header ---- */
.site-header {
    position: sticky; top: 0; z-index: 50;
    background: color-mix(in oklch, var(--surface) 88%, transparent);
    backdrop-filter: saturate(1.4) blur(14px);
    border-bottom: 1px solid var(--border);
}
.site-header__row {
    display: flex; align-items: center; gap: 1rem;
    min-height: var(--header-h); padding-block: 0.7rem;
}
.brand { display: inline-flex; align-items: center; gap: 0.6rem; font-family: var(--font-display); }
.brand__logo { height: 60px; width: auto; }
@media (min-width: 48rem) { .brand__logo { height: 74px; } }
.brand__name { font-size: 1.7rem; font-weight: 700; letter-spacing: -0.02em; color: var(--ink); }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 0.3rem; }

.icon-btn {
    display: grid; place-items: center; width: 46px; height: 46px;
    border-radius: var(--radius-pill); color: var(--ink-muted);
    transition: background .2s var(--ease), color .2s var(--ease);
}
.icon-btn:hover { background: var(--surface-2); color: var(--ink); }
.icon-btn:active { background: var(--surface-2); transform: scale(0.94); }
.icon-btn svg { width: 22px; height: 22px; }

.lang-switch { display: inline-flex; background: var(--surface-2); border-radius: var(--radius-pill); padding: 3px; }
.lang-switch a { padding: 0.25rem 0.6rem; border-radius: var(--radius-pill); font-size: 0.8rem; font-weight: 600; color: var(--ink-muted); }
.lang-switch a.is-active { background: var(--surface); color: var(--ink); box-shadow: var(--shadow-sm); }

/* ---- Hero (kompakt) ---- */
.hero { padding-block: clamp(1.4rem, 4vw, 2.4rem) clamp(0.9rem, 2.5vw, 1.4rem); text-align: center; }
.hero__kicker {
    display: inline-block; font-size: 0.74rem; font-weight: 600; letter-spacing: 0.18em;
    text-transform: uppercase; color: var(--color-primary);
    padding: 0.3rem 0.85rem; border: 1px solid var(--border-strong); border-radius: var(--radius-pill);
    margin-bottom: 0.9rem;
}
.hero__title {
    font-family: var(--font-display); font-weight: 700;
    font-size: clamp(1.9rem, 6vw, 2.9rem); line-height: 1.02; letter-spacing: -0.035em;
    color: var(--ink);
}
.hero__intro { margin: 0.55rem auto 0; max-width: 42ch; color: var(--ink-muted); font-size: 1rem; }
.menu-search { padding-block: clamp(0.85rem, 3vw, 1.4rem); }
.hero-search { position: relative; margin: 0 auto; max-width: 38rem; }
.hero-search input {
    width: 100%; padding: 0.9rem 1.1rem 0.9rem 3rem; font: inherit;
    background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-pill);
    color: var(--ink); box-shadow: var(--shadow-sm); transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.hero-search input::placeholder { color: var(--ink-faint); }
.hero-search input:focus { outline: none; border-color: var(--color-primary); box-shadow: 0 0 0 3px color-mix(in oklch, var(--color-primary) 16%, transparent); }
.hero-search svg { position: absolute; left: 1.15rem; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--ink-faint); pointer-events: none; }

/* ---- Yapışkan kategori şeridi ---- */
.cat-nav {
    position: sticky; top: calc(var(--header-h) - 1px); z-index: 40;
    background: color-mix(in oklch, var(--bg) 88%, transparent);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    margin-top: 0.5rem;
}
.cat-nav__scroll {
    display: flex; gap: 0.5rem; overflow-x: auto; scrollbar-width: none;
    padding-block: 0.7rem; scroll-snap-type: x proximity;
}
.cat-nav__scroll::-webkit-scrollbar { display: none; }
.cat-chip {
    flex: 0 0 auto; scroll-snap-align: start;
    display: inline-flex; align-items: center; min-height: 44px;
    padding: 0.5rem 1.1rem; border-radius: var(--radius-pill);
    background: var(--surface); border: 1px solid var(--border);
    font-size: 0.92rem; font-weight: 600; color: var(--ink-muted); white-space: nowrap;
    transition: background .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease);
}
.cat-chip:hover { border-color: var(--border-strong); color: var(--ink); }
.cat-chip.is-active { background: var(--color-primary); border-color: var(--color-primary); color: var(--on-primary); }

/* ---- Kategori bölümü ---- */
.cat-section { padding-block: clamp(1.6rem, 4vw, 2.6rem); scroll-margin-top: calc(var(--header-h) + 60px); }
.cat-section__head { display: flex; align-items: baseline; gap: 0.75rem; margin-bottom: 1.2rem; }
.cat-section__title {
    font-family: var(--font-display); font-weight: 700; font-size: clamp(1.5rem, 4vw, 2rem);
    letter-spacing: -0.025em; color: var(--ink);
}
.cat-section__count { font-size: 0.85rem; color: var(--ink-faint); font-weight: 500; }
.cat-section__rule { flex: 1; height: 1px; background: var(--border); }

/* ---- Ürün ızgarası (menü "ticket" satırları) ---- */
.menu-grid { display: grid; grid-template-columns: 1fr; gap: 0; }
@media (min-width: 40rem) { .menu-grid { grid-template-columns: 1fr 1fr; column-gap: clamp(1.5rem, 4vw, 3rem); } }

.product {
    display: grid; grid-template-columns: 76px 1fr; gap: 1rem; align-items: center;
    padding: 0.85rem 0.3rem; border-bottom: 1px solid var(--border);
    transition: background .18s var(--ease);
}
.product:active { background: var(--surface-2); }
@media (min-width: 40rem) {
    .product { grid-template-columns: 92px 1fr; gap: 1.15rem; padding: 1rem 0.4rem; border-radius: var(--radius); }
    .product:hover { background: var(--surface); box-shadow: var(--shadow-sm); border-bottom-color: transparent; }
}
.product:hover .product__name { color: var(--color-primary); }

.product__media {
    position: relative; aspect-ratio: 1; border-radius: var(--radius); overflow: hidden;
    background: var(--surface-2);
}
.product__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.product:hover .product__media img { transform: scale(1.06); }
.product.is-out .product__media img { filter: grayscale(0.7) opacity(0.55); }

.product__body { min-width: 0; }
.product__top { display: flex; justify-content: space-between; align-items: baseline; gap: 0.85rem; }
.product__name {
    font-family: var(--font-display); font-weight: 600; font-size: 1.08rem;
    letter-spacing: -0.01em; color: var(--ink); line-height: 1.25; transition: color .15s var(--ease);
}
.product__price { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; color: var(--color-primary); white-space: nowrap; flex: none; }
.product__desc {
    margin-top: 0.25rem; font-size: 0.9rem; line-height: 1.45; color: var(--ink-muted);
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.product__badges { display: flex; flex-wrap: wrap; gap: 0.35rem; margin-top: 0.5rem; }

.badge {
    font-size: 0.68rem; font-weight: 700; letter-spacing: 0.03em; text-transform: uppercase;
    padding: 0.18rem 0.5rem; border-radius: var(--radius-pill);
    background: var(--surface-2); color: var(--ink-muted);
}
.badge--yeni { background: color-mix(in oklch, var(--color-accent) 26%, var(--surface)); color: var(--on-accent); }
.badge--aci { background: color-mix(in oklch, var(--color-secondary) 22%, var(--surface)); color: var(--color-secondary); }
.badge--sef { background: color-mix(in oklch, var(--color-primary) 18%, var(--surface)); color: var(--color-primary); }
.badge--out { background: var(--surface-2); color: var(--ink-faint); }

/* ---- Lazy görsel: skeleton + fade ---- */
.lazy-img { opacity: 0; transition: opacity .5s var(--ease); }
.lazy-img.is-loaded { opacity: 1; }
/* Görseli olmayan ürün/kategori için markalı varsayılan placeholder */
.media-ph { display: grid; place-items: center; width: 100%; height: 100%; background: linear-gradient(135deg, var(--surface-2), color-mix(in oklch, var(--color-primary) 8%, var(--surface-2))); color: color-mix(in oklch, var(--color-primary) 55%, var(--ink-faint)); }
.media-ph svg { width: 42%; max-width: 56px; opacity: 0.7; }
.skeleton { position: relative; overflow: hidden; background: var(--surface-2); }
.skeleton::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(90deg, transparent, color-mix(in oklch, var(--surface) 70%, transparent), transparent);
    transform: translateX(-100%); animation: shimmer 1.4s infinite;
}
.skeleton.is-loaded::after { display: none; }
@keyframes shimmer { 100% { transform: translateX(100%); } }
@media (prefers-reduced-motion: reduce) { .skeleton::after { animation: none; } .lazy-img { transition: none; } }

/* ---- Ürün detay (PDP) — görsel öncelikli ---- */
.pdp__media { position: relative; }
/* Tam-genişlik kapak görsel (referans tasarım). Sağ üstte X → kategoriye döner. */
/* Tam genişlik + 3/4 yükseklik, ama 64svh'de sınırla (tablette devasa olmasın).
   aspect-ratio yerine height: min(...) — böylece sınırlanınca genişlik daralmaz. */
.pdp__hero { position: relative; width: 100%; height: min(133.333vw, 64svh); background: var(--surface-2); overflow: hidden; }
.pdp__hero-zoom { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.pdp__hero-img { width: 100%; height: 100%; object-fit: cover; }
.pdp.is-out .pdp__hero-img { filter: grayscale(0.55) opacity(0.7); }
.pdp__scrim {
    position: absolute; inset: 0 0 auto; height: 32%; z-index: 1; pointer-events: none;
    background: linear-gradient(to bottom, oklch(0.15 0.02 60 / 0.32), transparent);
}
.pdp__close {
    position: absolute; z-index: 2;
    top: max(0.9rem, env(safe-area-inset-top, 0)); right: clamp(1rem, 4vw, 1.5rem);
    display: grid; place-items: center; width: 40px; height: 40px;
    border-radius: var(--radius-pill); background: var(--surface); color: var(--ink);
    box-shadow: var(--shadow); transition: transform .2s var(--ease), background .2s var(--ease);
}
.pdp__close:hover { background: var(--surface-2); }
.pdp__close:active { transform: scale(0.92); }
.pdp__close svg { width: 20px; height: 20px; }

/* alt boşluk, üstüne binen sheet'in negatif margin'ini (-28px) telafi eder */
.pdp__thumbs { display: flex; gap: 0.5rem; padding: 0.7rem clamp(1rem, 4vw, 2rem) 34px; overflow-x: auto; scrollbar-width: none; }
.pdp__thumbs::-webkit-scrollbar { display: none; }
.pdp__thumb {
    flex: 0 0 auto; width: 60px; aspect-ratio: 1; padding: 0; overflow: hidden;
    border-radius: var(--radius-sm); border: 2px solid var(--border); background: var(--surface-2);
    transition: border-color .2s var(--ease);
}
.pdp__thumb img { width: 100%; height: 100%; object-fit: cover; }
.pdp__thumb.is-active { border-color: var(--color-primary); }

.pdp__sheet { position: relative; z-index: 2; margin-top: -28px; background: var(--bg); border-radius: 28px 28px 0 0; padding-top: clamp(1.5rem, 5vw, 2.2rem); }
.pdp__head { display: flex; flex-direction: column; align-items: flex-start; gap: 0.5rem; }
.pdp__eyebrow {
    display: inline-flex; align-items: center; gap: 0.3rem;
    font-size: 0.76rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
    color: var(--ink-faint); transition: color .15s var(--ease);
}
.pdp__eyebrow svg { width: 14px; height: 14px; }
.pdp__eyebrow:hover { color: var(--color-primary); }
.pdp__title { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.8rem, 6vw, 2.6rem); letter-spacing: -0.03em; line-height: 1.05; color: var(--ink); }
.pdp__price { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.5rem, 5vw, 2rem); letter-spacing: -0.02em; color: var(--color-primary); }
.pdp__badges { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.1rem; }
.diet { display: inline-flex; align-items: center; gap: 0.45rem; padding: 0.42rem 0.85rem; border-radius: var(--radius-pill); font-size: 0.82rem; font-weight: 600; border: 1px solid var(--border); color: var(--ink-muted); }
.diet svg { width: 16px; height: 16px; }
.diet--yeni { color: var(--on-accent); background: color-mix(in oklch, var(--color-accent) 24%, var(--surface)); border-color: transparent; }
.diet--aci { color: var(--color-secondary); border-color: color-mix(in oklch, var(--color-secondary) 45%, var(--border)); }
.diet--vejetaryen { color: var(--color-primary); border-color: color-mix(in oklch, var(--color-primary) 45%, var(--border)); }
.diet--sef { color: var(--on-primary); background: var(--color-primary); border-color: transparent; }
.diet--kampanya { color: var(--color-secondary); background: color-mix(in oklch, var(--color-secondary) 14%, var(--surface)); border-color: transparent; }
.diet--out { color: var(--ink-faint); }
.pdp__desc { margin-top: 1.3rem; color: var(--ink-muted); font-size: 1.05rem; line-height: 1.65; max-width: 62ch; }
.pdp__desc--tight { margin-top: 0; }
.pdp__section { margin-top: 1.6rem; }
.pdp__label { display: block; font-size: 0.74rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: 0.6rem; }
.pdp__variants { list-style: none; padding: 0.1rem 1rem; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); max-width: 26rem; }
.pdp__variant { display: flex; flex-direction: column; gap: 0.2rem; padding: 0.75rem 0; }
.pdp__variant + .pdp__variant { border-top: 1px solid var(--border); }
.pdp__variant-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.pdp__variant-label { font-weight: 600; color: var(--ink); }
.pdp__variant-price { font-family: var(--font-display); font-weight: 700; color: var(--color-primary); white-space: nowrap; }
.pdp__variant-desc { font-size: 0.86rem; color: var(--ink-muted); line-height: 1.4; }

/* İlgili ürünler — yatay kompakt filmstrip (asıl içerikten ayrışır) */
.pdp__related { margin-top: clamp(2.2rem, 6vw, 3.4rem); }
.pdp__related-title { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.25rem, 4vw, 1.6rem); letter-spacing: -0.02em; color: var(--ink); margin-bottom: 1rem; }
.pdp-rel__track {
    list-style: none; display: flex; gap: 0.85rem; overflow-x: auto; scrollbar-width: none;
    scroll-snap-type: x proximity; padding: 0.25rem clamp(1rem, 4vw, 2rem) 0.5rem;
    scroll-padding-inline: clamp(1rem, 4vw, 2rem);
}
.pdp-rel__track::-webkit-scrollbar { display: none; }
.pdp-rel__track > li { flex: 0 0 clamp(8.5rem, 42vw, 11.5rem); scroll-snap-align: start; }
.pdp-rel__card { display: flex; flex-direction: column; }
.pdp-rel__media { display: block; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; background: var(--surface-2); }
.pdp-rel__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.pdp-rel__card:hover .pdp-rel__media img { transform: scale(1.05); }
.pdp-rel__card.is-out .pdp-rel__media img { filter: grayscale(0.7) opacity(0.55); }
.pdp-rel__name { margin-top: 0.55rem; font-family: var(--font-display); font-weight: 600; font-size: 0.98rem; line-height: 1.25; color: var(--ink); transition: color .15s var(--ease); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pdp-rel__card:hover .pdp-rel__name { color: var(--color-primary); }
.pdp-rel__price { margin-top: 0.2rem; font-family: var(--font-display); font-weight: 700; font-size: 0.95rem; color: var(--color-primary); }
@media (prefers-reduced-motion: reduce) { .pdp-rel__media img { transition: none; } }

/* ---- Masaüstü: 2 sütun, dikey ortalı, boşluksuz ---- */
@media (min-width: 52rem) {
    .pdp {
        max-width: var(--container); margin-inline: auto;
        padding-inline: clamp(1.5rem, 4vw, 2.5rem); padding-top: clamp(1.5rem, 3vw, 2.5rem);
        display: grid; grid-template-columns: minmax(0, 1.05fr) 1fr;
        gap: clamp(2rem, 4vw, 3.5rem); align-items: center;
    }
    .pdp__hero { aspect-ratio: 3 / 4; height: auto; max-height: 78vh; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
    .pdp__close { top: 1rem; right: 1rem; }
    .pdp__thumbs { padding: 0.7rem 0 0; }
    .pdp__sheet { margin-top: 0; background: transparent; border-radius: 0; padding-top: 0; }
    .pdp__sheet > .wrap { padding-inline: 0; max-width: none; }
    .pdp__related { grid-column: 1 / -1; margin-top: clamp(2rem, 4vw, 3rem); }
    .pdp__related > .wrap { padding-inline: 0; max-width: none; }
    .pdp-rel__track { padding-inline: 0; scroll-padding-inline: 0; }
}

/* ---- Arama ---- */
.search-box { position: relative; }
.search-box input {
    width: 100%; padding: 0.85rem 1rem 0.85rem 2.8rem; font: inherit;
    background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-pill);
    color: var(--ink);
}
.search-box input::placeholder { color: var(--ink-faint); }
.search-box input:focus { border-color: var(--color-primary); outline: none; box-shadow: 0 0 0 3px color-mix(in oklch, var(--color-primary) 18%, transparent); }
.search-box svg { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--ink-faint); }

/* ---- Boş durum ---- */
.empty { text-align: center; padding: clamp(2.5rem, 10vw, 5rem) 1rem; color: var(--ink-muted); }
.empty__icon { font-size: 2.5rem; margin-bottom: 0.5rem; }

/* ---- Mekan galerisi (eşit kare grid + lightbox) ---- */
.venue { padding-block: clamp(2rem, 5vw, 3.4rem); }
.venue__title { text-align: center; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: clamp(1rem, 2.5vw, 1.5rem); }
.venue__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(0.45rem, 1.5vw, 0.9rem); }
.venue__item { aspect-ratio: 1; border-radius: var(--radius); overflow: hidden; background: var(--surface-2); box-shadow: var(--shadow-sm); cursor: pointer; padding: 0; border: none; display: block; width: 100%; }
.venue__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.venue__item:hover img, .venue__item:focus-visible img { transform: scale(1.05); }
@media (prefers-reduced-motion: reduce) { .venue__item img { transition: none; } }

/* Kapanış bölümü (footer üstü): görsel + dileğiyle metni. Görsel footer'a yapışık (alt boşluk yok). */
.closing { padding-top: clamp(1.5rem, 5vw, 3.5rem); padding-bottom: 0; }
.closing__row { display: flex; align-items: center; justify-content: center; gap: clamp(1.5rem, 5vw, 3.5rem); }
.closing__img { flex: 0 1 540px; min-width: 0; align-self: flex-end; }
.closing__img img { width: 100%; height: auto; display: block; }
.closing__text {
    flex: 0 1 380px; margin: 0;
    font-family: var(--font-display); font-weight: 600; line-height: 1.22;
    font-size: clamp(1.4rem, 3.2vw, 2.05rem);
    color: var(--color-primary);
}
@media (max-width: 46rem) {
    /* Mobil: yazı ÜSTTE (yeşil), görsel altta ve büyük, footer'a yapışık.
       column-reverse DOM sırasını (görsel→yazı) ters çevirir. */
    .closing { padding-top: clamp(1.25rem, 6vw, 2rem); }
    .closing__row { flex-direction: column-reverse; align-items: stretch; text-align: left; gap: clamp(1rem, 5vw, 1.6rem); }
    .closing__img { flex-basis: auto; max-width: 100%; }
    .closing__text { flex-basis: auto; padding-inline: 0.2rem; font-size: clamp(1.55rem, 7vw, 2.1rem); }
}

/* Lightbox (tam ekran görsel) */
.lightbox { position: fixed; inset: 0; z-index: 200; display: none; align-items: center; justify-content: center; padding: 1rem; background: oklch(0.16 0.012 60 / 0.94); backdrop-filter: blur(4px); }
.lightbox.is-open { display: flex; }
.lightbox__img { max-width: calc(100vw - 2rem); max-height: calc(100svh - 2rem); width: auto; height: auto; margin: auto; border-radius: var(--radius); object-fit: contain; box-shadow: var(--shadow-lg); }
.lightbox__close, .lightbox__nav { display: grid; place-items: center; border: none; border-radius: var(--radius-pill); background: oklch(1 0 0 / 0.14); color: #fff; cursor: pointer; transition: background .2s var(--ease); }
.lightbox__close { position: absolute; top: 1rem; right: 1rem; width: 48px; height: 48px; font-size: 1.7rem; }
.lightbox__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; font-size: 2.1rem; line-height: 1; }
.lightbox__nav--prev { left: 0.6rem; }
.lightbox__nav--next { right: 0.6rem; }
.lightbox__close:hover, .lightbox__nav:hover { background: oklch(1 0 0 / 0.26); }
.lightbox__nav[hidden] { display: none; }
@media (max-width: 30rem) { .lightbox__nav { width: 44px; height: 44px; font-size: 1.6rem; } }

/* ---- Footer (minimal — QR menü) ---- */
.site-footer { margin-top: clamp(1.5rem, 4vw, 2.5rem); border-top: 1px solid var(--border); background: var(--surface); }
/* Kapanış bölümü footer'dan hemen önceyse görsel footer'a yapışsın (üst boşluk yok) */
.closing + .site-footer { margin-top: 0; }
.footer-min { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding-block: 1.25rem; }
.footer-min__copy { color: var(--ink-faint); font-size: 0.85rem; }
.footer-min__ig { display: inline-flex; align-items: center; gap: 0.5rem; color: var(--ink-muted); font-weight: 600; font-size: 0.9rem; transition: color .15s var(--ease); }
.footer-min__ig:hover { color: var(--color-primary); }
.footer-min__ig svg { width: 18px; height: 18px; }
@media (max-width: 30rem) { .footer-min { justify-content: center; } }

/* ---- Geri butonu / link ---- */
.back-link { display: inline-flex; align-items: center; gap: 0.4rem; color: var(--ink-muted); font-weight: 600; font-size: 0.92rem; margin-bottom: 1rem; }
.back-link:hover { color: var(--color-primary); }

/* "İçeriğe atla" erişilebilirlik bağlantısı */
.skip-link { position: absolute; left: -999px; top: 0; background: var(--color-primary); color: var(--on-primary); padding: 0.6rem 1rem; border-radius: 0 0 var(--radius) 0; z-index: 100; }
.skip-link:focus { left: 0; }

/* theme_mode="auto": sistem koyu tercihinde koyu tema token'larını uygula */
@media (prefers-color-scheme: dark) {
    [data-theme="auto"] {
        --bg: oklch(0.190 0.010 70); --surface: oklch(0.232 0.011 70); --surface-2: oklch(0.275 0.012 70);
        --ink: oklch(0.945 0.008 80); --ink-muted: oklch(0.740 0.010 78); --ink-faint: oklch(0.620 0.010 75);
        --border: oklch(0.330 0.012 72); --border-strong: oklch(0.400 0.012 72);
        --color-primary: oklch(0.640 0.090 168); --color-accent: oklch(0.780 0.130 66);
        --on-primary: oklch(0.160 0.015 160);
        --shadow: 0 6px 22px -8px oklch(0 0 0 / 0.45); --shadow-lg: 0 18px 50px -12px oklch(0 0 0 / 0.55);
    }
}
