/* ===========================================================
   Köftelüks — Modern · Hareketli · Lüks QR Menü
   Sistem: üst çubuk (ana sayfa), aurora hero, dikey kartlar,
   sliding nav, scroll progress bar
   =========================================================== */

:root {
    --bg: #0a0a0c;
    --bg-elev: rgba(28, 28, 34, 0.55);
    --bg-solid: #14141a;
    --border: rgba(201, 162, 39, 0.14);
    --border-strong: rgba(201, 162, 39, 0.35);
    --gold: #e8c45a;
    --gold-2: #c9a227;
    --gold-soft: #f4d77a;
    --gold-grad: linear-gradient(135deg, #f4d77a 0%, #e8c45a 40%, #c9a227 100%);
    --gold-glow: 0 10px 40px rgba(201, 162, 39, 0.22);
    --text: #f3efe6;
    --text-dim: #a39d90;
    --danger: #e07a6f;
    --radius: 20px;
    --radius-sm: 14px;
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
    --serif: 'Playfair Display', Georgia, serif;
    --sans: 'Inter', system-ui, -apple-system, sans-serif;
    --blur: blur(14px) saturate(140%);
    --card-shadow: 0 14px 44px rgba(0, 0, 0, 0.45);
    --gold-glow-strong: 0 18px 56px rgba(201, 162, 39, 0.34);
    --media-h: 196px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 140px; }

/* ---------- Klavye odaklığı (erişilebilirlik) ---------- */
a:focus-visible, button:focus-visible, .category-link:focus-visible {
    outline: 2px solid var(--gold-soft);
    outline-offset: 3px;
    border-radius: 8px;
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--sans);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
body.menu-page {
    animation: pageIn 0.8s ease-out;
}
@keyframes pageIn { from { opacity: 0; } to { opacity: 1; } }

/* Custom scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #14141a; }
::-webkit-scrollbar-thumb { background: var(--gold-grad); border-radius: 999px; }

a { color: var(--gold-soft); text-decoration: none; }

/* ---------- Ambient: yavaşça akan sıcak ışık huzmeleri ---------- */
.menu-page::before {
    content: ""; position: fixed; inset: 0; z-index: 0;
    pointer-events: none;
    background:
        radial-gradient(60vw 80vh at 15% 20%, rgba(201,162,39,0.06), transparent 60%),
        radial-gradient(50vw 70vh at 85% 60%, rgba(232,196,90,0.05), transparent 60%),
        radial-gradient(40vw 60vh at 50% 100%, rgba(201,162,39,0.04), transparent 60%);
    animation: ambientShift 30s ease-in-out infinite alternate;
}
.menu-page::after {
    content: ""; position: fixed; inset: 0; z-index: 1;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0.03;
}
@keyframes ambientShift {
    0%   { transform: translate3d(0,0,0) scale(1); opacity: 0.8; }
    100% { transform: translate3d(0,-3%,0) scale(1.06); opacity: 1; }
}

/* ---------- Üst scroll ilerleme çubuğu ---------- */
.scroll-progress {
    position: fixed; top: 0; left: 0; height: 3px; width: 0%;
    background: var(--gold-grad); box-shadow: 0 0 12px rgba(201,162,39,0.6);
    z-index: 120; transition: width 0.08s linear;
}

/* ============ ÜST ÇUBUK (Ana sayfaya dönüş) ============ */
.menu-topbar {
    position: fixed; top: 0; left: 0; right: 0; z-index: 110;
    display: flex; align-items: center; justify-content: space-between;
    padding: 14px 20px; gap: 12px;
    transition: background .35s var(--ease), border-color .35s, backdrop-filter .35s;
    border-bottom: 1px solid transparent;
}
.menu-topbar.scrolled {
    background: rgba(10,10,12,0.72);
    backdrop-filter: var(--blur);
    border-bottom-color: var(--border);
}
.menu-topbar.scrolled::after {
    content: ""; position: absolute; left: 0; bottom: -1px; width: 100%; height: 1px;
    background: var(--gold-grad); box-shadow: 0 2px 10px rgba(201,162,39,0.3); opacity: 0.5;
}
.menu-home-link {
    display: inline-flex; align-items: center; gap: 9px;
    font-size: 14px; font-weight: 600; color: var(--gold-soft);
    padding: 9px 18px; border-radius: 999px;
    border: 1px solid var(--border); background: rgba(28,28,34,0.5);
    backdrop-filter: var(--blur);
    transition: transform .25s var(--ease), border-color .25s, background .25s, box-shadow .25s, color .25s;
}
.menu-home-link:hover {
    transform: translateY(-2px);
    border-color: var(--border-strong);
    background: rgba(201,162,39,0.1);
    box-shadow: 0 6px 20px rgba(201,162,39,0.25);
    color: var(--gold);
}
.menu-home-ico { font-size: 15px; line-height: 1; transition: transform .25s var(--ease); }
.menu-home-link:hover .menu-home-ico { transform: translateX(-3px); }
.admin-link {
    font-size: 12px; color: var(--text-dim);
    border: 1px solid var(--border); padding: 8px 15px; border-radius: 999px;
    backdrop-filter: var(--blur); white-space: nowrap;
    transition: color .25s, border-color .25s, background .25s, box-shadow .25s;
}
.admin-link:hover { color:#1a1407; border-color: transparent; background: var(--gold-grad); box-shadow: 0 6px 20px rgba(201,162,39,0.3); }

/* ---------- Aurora animasyonlu hero ---------- */
.hero {
    position: relative; text-align: center;
    padding: 96px 20px 54px;
    overflow: hidden; border-bottom: 1px solid var(--border);
}
.hero-bg { position: absolute; inset: -30% -10% -10% -10%; z-index: 0; filter: blur(60px); opacity: 0.9; }
.hero-bg span { position: absolute; display: block; border-radius: 50%; mix-blend-mode: screen; }
.hero-bg .b1 {
    width: 46vw; height: 46vw; left: 2%; top: -6%;
    background: radial-gradient(circle, rgba(232,196,90,0.55), transparent 65%);
    animation: drift1 18s ease-in-out infinite;
}
.hero-bg .b2 {
    width: 40vw; height: 40vw; right: 0%; top: 4%;
    background: radial-gradient(circle, rgba(201,162,39,0.45), transparent 65%);
    animation: drift2 22s ease-in-out infinite;
}
.hero-bg .b3 {
    width: 34vw; height: 34vw; left: 35%; top: 18%;
    background: radial-gradient(circle, rgba(244,215,122,0.35), transparent 65%);
    animation: drift3 26s ease-in-out infinite;
}
@keyframes drift1 { 0%,100% { transform: translate(0,0) scale(1);} 50% { transform: translate(8vw,6vh) scale(1.15);} }
@keyframes drift2 { 0%,100% { transform: translate(0,0) scale(1.05);} 50% { transform: translate(-10vw,4vh) scale(0.9);} }
@keyframes drift3 { 0%,100% { transform: translate(0,0) scale(1);} 50% { transform: translate(4vw,-6vh) scale(1.2);} }

.hero-particles { position: absolute; inset: 0; pointer-events: none; z-index: 1; }
.hero-particle {
    position: absolute; border-radius: 50%;
    background: var(--gold-soft); filter: blur(1px);
    box-shadow: 0 0 10px var(--gold-soft), 0 0 20px var(--gold);
    animation: particleFloat linear infinite; opacity: 0;
}
@keyframes particleFloat {
    0% { transform: translateY(0) scale(0.5); opacity: 0; }
    20% { opacity: 0.6; }
    80% { opacity: 0.6; }
    100% { transform: translateY(-100px) scale(1.2); opacity: 0; }
}
.hero-particle.p1 { width: 4px; height: 4px; left: 20%; top: 70%; animation-duration: 4s; animation-delay: 0s; }
.hero-particle.p2 { width: 3px; height: 3px; left: 80%; top: 60%; animation-duration: 5s; animation-delay: 1s; }
.hero-particle.p3 { width: 5px; height: 5px; left: 40%; top: 80%; animation-duration: 3.5s; animation-delay: 2s; }
.hero-particle.p4 { width: 2px; height: 2px; left: 60%; top: 75%; animation-duration: 4.5s; animation-delay: 0.5s; }
.hero-particle.p5 { width: 6px; height: 6px; left: 30%; top: 50%; animation-duration: 6s; animation-delay: 1.5s; }
.hero-particle.p6 { width: 3px; height: 3px; left: 70%; top: 85%; animation-duration: 5.5s; animation-delay: 2.5s; }

.hero-inner { position: relative; z-index: 2; }

/* Logo amblem: çerçevesiz, altın parıltı halesi */
.brand-emblem {
    width: 220px; height: 180px; margin: 0 auto 60px;
    display: grid; place-items: center; padding: 12px;
    position: relative; animation: floaty 6s ease-in-out infinite;
}
.brand-emblem::before {
    content: ""; position: absolute; inset: -18px; z-index: -1; border-radius: 50%;
    background: radial-gradient(circle, rgba(201,162,39,0.22), transparent 70%);
    filter: blur(10px);
}
.brand-emblem-img {
    width: 100%; height: 100%; object-fit: contain;
    filter: drop-shadow(0 6px 18px rgba(201,162,39,0.32));
}
@keyframes floaty { 0%,100% { transform: translateY(0);} 50% { transform: translateY(-8px);} }

.brand-mark {
    font-family: var(--serif); font-weight: 700;
    font-size: clamp(38px, 11vw, 58px);
    letter-spacing: 0.12em; line-height: 1;
    background: var(--gold-grad); -webkit-background-clip: text; background-clip: text;
    color: transparent; -webkit-text-fill-color: transparent;
}
.brand-tag {
    margin-top: 14px; color: var(--text-dim);
    font-size: 12px; letter-spacing: 0.28em; text-transform: uppercase;
    background: linear-gradient(90deg, rgba(244,215,122,0.7), var(--text-dim), rgba(244,215,122,0.7));
    -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent;
    background-size: 200% auto; animation: tagShine 6s linear infinite;
}
@keyframes tagShine { to { background-position: 200% center; } }
.brand-tag::after {
    content: ""; display: block; width: 54px; height: 2px;
    margin: 12px auto 0; background: var(--gold-grad); border-radius: 2px;
}

/* Hero kaydırma ipucu (nabız atan ok) */
.scroll-cue {
    position: relative; z-index: 2; margin: 28px auto 0;
    width: 26px; height: 42px; border: 2px solid var(--border-strong);
    border-radius: 999px; display: grid; place-items: start center; padding-top: 7px;
}
.scroll-cue span {
    width: 4px; height: 8px; border-radius: 999px; background: var(--gold-grad);
    animation: cueDrop 1.8s ease-in-out infinite;
}
@keyframes cueDrop { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 80%,100% { opacity: 0; transform: translateY(12px); } }

/* ---------- Yüzeyli (sliding) kategori çubuğu ---------- */
.category-bar {
    position: sticky; top: 64px; z-index: 60;
    background: rgba(10,10,12,0.85); backdrop-filter: blur(20px) saturate(150%);
    border-bottom: 1px solid var(--border);
}
.category-bar::before {
    content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 30px;
    background: linear-gradient(to right, rgba(10,10,12,0.9), transparent);
    z-index: 5; pointer-events: none;
}
.category-bar::after {
    content: ""; position: absolute; left: 0; bottom: -1px; height: 2px; width: 100%;
    background: var(--gold-grad); opacity: 0.8;
}
.category-bar-inner {
    max-width: 860px; margin: 0 auto; display: flex; gap: 4px; position: relative;
    overflow-x: auto; padding: 12px 16px; scrollbar-width: none;
}
.category-bar-inner::after {
    content: ""; position: sticky; right: -16px; top: 0; bottom: 0; width: 30px;
    background: linear-gradient(to left, rgba(10,10,12,0.9), transparent);
    z-index: 5; pointer-events: none; flex-shrink: 0; margin-left: auto;
}
.category-bar-inner::-webkit-scrollbar { display: none; }
.category-link {
    flex: 0 0 auto; position: relative; z-index: 2;
    font-size: 13px; color: var(--text-dim); padding: 8px 16px; border-radius: 999px;
    white-space: nowrap; cursor: pointer; transition: color .25s, background .25s;
}
.category-link:hover { color: var(--gold-soft); background: rgba(201,162,39,0.08); }
.category-link.active { color: #1a1407; font-weight: 600; }
.nav-indicator {
    position: absolute; z-index: 1; top: 12px; left: 0; height: 34px;
    background: var(--gold-grad); border-radius: 999px;
    box-shadow: 0 4px 16px rgba(201,162,39,0.3);
    transition: transform .35s var(--ease), width .35s var(--ease);
}

/* ---------- Ana içerik ---------- */
.menu-main { max-width: 880px; margin: 0 auto; padding: 44px 18px 60px; position: relative; z-index: 1; }
.menu-section { margin-bottom: 50px; scroll-margin-top: 132px; }
.section-title {
    font-family: var(--serif); font-weight: 600; font-size: 27px;
    color: var(--text); text-align: center; margin-bottom: 26px;
    display: flex; align-items: center; justify-content: center; gap: 15px;
}
.section-title::before, .section-title::after {
    content: ""; flex: 1; height: 1px; max-width: 80px;
    background: linear-gradient(to right, transparent, var(--gold-soft), transparent);
}
.section-title span { color: var(--gold-soft); }
.section-count {
    display: inline-grid; place-items: center; min-width: 26px; height: 24px; padding: 0 8px;
    margin-left: 10px; vertical-align: middle; font-family: var(--sans); font-size: 13px; font-weight: 600;
    color: #1a1407; background: var(--gold-grad); border-radius: 999px; box-shadow: 0 3px 10px rgba(201,162,39,0.3);
}
.section-empty { text-align: center; color: var(--text-dim); font-style: italic; }

/* ---------- Dikey ürün kartları (görsel üstte, dengeli) ---------- */
.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}
.menu-item {
    position: relative; display: flex; flex-direction: column;
    background: var(--bg-elev); backdrop-filter: var(--blur);
    border: 1px solid var(--border); border-radius: var(--radius);
    overflow: hidden; box-shadow: var(--card-shadow);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.menu-item::before {
    content: ""; position: absolute; inset: 0; z-index: 0;
    background: linear-gradient(160deg, transparent 50%, rgba(232,196,90,0.09) 100%);
    opacity: 0; transition: opacity .35s; pointer-events: none;
}
/* Shimmer: hover'da kart üzerinden geçen ışık şeridi */
.menu-item::after {
    content: ""; position: absolute; top: 0; left: -60%; width: 55%; height: 100%;
    background: linear-gradient(105deg, transparent, rgba(244,215,122,0.22), transparent);
    transform: skewX(-18deg); transition: left .8s var(--ease); pointer-events: none; z-index: 2;
}
.menu-item:hover { 
    transform: translateY(-8px); 
    border-color: var(--gold); 
    box-shadow: var(--gold-glow-strong), inset 0 0 20px rgba(201,162,39,0.15); 
}
.menu-item:hover::before { opacity: 1; }
.menu-item:hover::after { left: 120%; }

.item-media {
    position: relative; width: 100%; height: var(--media-h); overflow: hidden;
    border-bottom: 1px solid var(--border); background: var(--bg-solid);
}
.item-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease), filter .6s var(--ease); display: block; }
/* Görseli gövdeyle yumuşak birleştiren altın maske şeridi */
.item-media::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 64px; z-index: 1;
    background: linear-gradient(to top, rgba(10,10,12,0.85), transparent);
    pointer-events: none;
}
.menu-item:hover .item-media img { transform: scale(1.09); filter: brightness(1.1); }
/* Görseli olmayan ürünler: üstte altın baş-harf rozeti + yumuşak dashed çerçeve */
.menu-item.no-media {
    border-style: dashed;
    background:
        radial-gradient(120% 80% at 50% 0%, rgba(201,162,39,0.15), transparent 60%),
        var(--bg-elev);
}
.menu-item.no-media::after {
    content: ""; position: absolute; right: -20px; bottom: -20px; width: 100px; height: 100px;
    border: 2px solid rgba(201,162,39,0.1); border-radius: 50%; pointer-events: none; z-index: 0;
}
.menu-item.no-media::before { opacity: 1; }
.menu-item.no-media .item-body { padding-top: 22px; }
.menu-item.no-media .item-name {
    position: relative; padding-left: 0; color: var(--gold-soft);
    display: inline-flex; align-items: center; gap: 9px;
}
.menu-item.no-media .item-name::before {
    content: ""; font-size: 16px; line-height: 1;
    width: 26px; height: 26px; display: grid; place-items: center;
    border-radius: 50%; background: var(--gold-grad); border: 1px solid var(--border-strong);
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 2v7c0 1.1.9 2 2 2h4a2 2 0 0 0 2-2V2'/%3E%3Cpath d='M7 2v20'/%3E%3Cpath d='M21 15V2v0a5 5 0 0 0-5 5v6c0 1.1.9 2 2 2h3Zm0 0v7'/%3E%3C/svg%3E") no-repeat center/16px;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 2v7c0 1.1.9 2 2 2h4a2 2 0 0 0 2-2V2'/%3E%3Cpath d='M7 2v20'/%3E%3Cpath d='M21 15V2v0a5 5 0 0 0-5 5v6c0 1.1.9 2 2 2h3Zm0 0v7'/%3E%3C/svg%3E") no-repeat center/16px;
    background-color: var(--gold);
}
.item-body { padding: 16px 18px 18px; position: relative; z-index: 1; flex: 1 1 auto; display: flex; flex-direction: column; }
.item-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.item-name { font-family: var(--serif); font-weight: 600; font-size: 19px; color: var(--text); transition: color .25s; }
.menu-item:hover .item-name { color: var(--gold-soft); }
.item-price {
    font-weight: 700; color: var(--gold-soft); white-space: nowrap; font-size: 16px;
    padding: 4px 12px; border-radius: 999px;
    background: rgba(201,162,39,0.12); border: 1px solid var(--border-strong);
    box-shadow: 0 4px 14px rgba(201,162,39,0.18);
    transition: box-shadow .3s var(--ease), background .3s var(--ease);
}
.menu-item:hover .item-price { background: rgba(201,162,39,0.25); box-shadow: 0 6px 20px rgba(201,162,39,0.5); }
.item-desc {
    margin-top: 9px; color: var(--text-dim); font-size: 13.5px; line-height: 1.55;
    display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical;
    overflow: hidden;
}
.badge-soldout {
    align-self: flex-start; margin-top: 12px;
    font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
    color: #ff9e93; border: 1px solid rgba(224,122,111,0.6); background: rgba(224,122,111,0.15);
    border-radius: 999px; padding: 4px 12px; animation: pulseSoft 2.4s ease-in-out infinite;
    backdrop-filter: blur(4px); box-shadow: 0 0 10px rgba(224,122,111,0.2);
}
@keyframes pulseSoft { 0%,100% { opacity: 1; } 50% { opacity: 0.5; } }

/* ---------- Boş durum ---------- */
.empty-state {
    text-align: center; padding: 60px 24px;
    border: 1px dashed var(--border-strong); border-radius: var(--radius);
    background: rgba(201,162,39,0.04);
}
.empty-state h2 { font-family: var(--serif); color: var(--gold-soft); font-size: 24px; margin-bottom: 10px; }
.empty-state p { color: var(--text-dim); }

/* ============ ÜRÜN DETAY MODALI ============ */
.item-modal-overlay {
    position: fixed; inset: 0; z-index: 200;
    background: rgba(6, 6, 8, 0.88);
    backdrop-filter: blur(12px) saturate(120%);
    -webkit-backdrop-filter: blur(12px) saturate(120%);
    display: flex; align-items: center; justify-content: center;
    padding: 20px;
    opacity: 0; visibility: hidden;
    transition: opacity .4s var(--ease), visibility .4s;
}
.item-modal-overlay.active {
    opacity: 1; visibility: visible;
}

.item-modal {
    position: relative;
    width: 100%; max-width: 520px; max-height: 90vh;
    background: linear-gradient(165deg, #1a1a22 0%, #111116 60%, #0d0d10 100%);
    border: 1px solid var(--border-strong);
    border-radius: 24px;
    overflow: hidden; overflow-y: auto;
    box-shadow:
        0 32px 80px rgba(0, 0, 0, 0.7),
        0 0 0 1px rgba(201, 162, 39, 0.08),
        0 0 80px rgba(201, 162, 39, 0.06);
    transform: translateY(40px) scale(0.92);
    transition: transform .5s var(--ease);
}
.item-modal-overlay.active .item-modal {
    transform: translateY(0) scale(1);
}

/* Scrollbar inside modal */
.item-modal::-webkit-scrollbar { width: 5px; }
.item-modal::-webkit-scrollbar-track { background: transparent; }
.item-modal::-webkit-scrollbar-thumb { background: rgba(201,162,39,0.3); border-radius: 4px; }

/* Close button */
.modal-close {
    position: absolute; top: 16px; right: 16px; z-index: 10;
    width: 40px; height: 40px; border-radius: 50%;
    background: rgba(10, 10, 12, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.12);
    color: var(--text); font-size: 18px; cursor: pointer;
    display: grid; place-items: center;
    transition: background .25s, transform .25s var(--ease), border-color .25s;
}
.modal-close:hover {
    background: rgba(201, 162, 39, 0.2);
    border-color: var(--border-strong);
    transform: rotate(90deg) scale(1.1);
}

/* Image section */
.modal-media {
    position: relative; width: 100%;
    aspect-ratio: 16 / 10;
    background: radial-gradient(circle at 50% 40%, rgba(201,162,39,0.1), var(--bg-solid));
    overflow: hidden;
}
.modal-media img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform .6s var(--ease);
}
.modal-media:hover img { transform: scale(1.05); }
.modal-media::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 80px;
    background: linear-gradient(to top, #111116, transparent);
    pointer-events: none;
}
/* No-image placeholder */
.modal-media-placeholder {
    width: 100%; height: 100%;
    display: grid; place-items: center;
    background: radial-gradient(circle at 50% 30%, rgba(201,162,39,0.12), #14141a);
}
.modal-media-placeholder span {
    font-family: var(--serif); font-weight: 700; font-size: 72px;
    background: var(--gold-grad);
    -webkit-background-clip: text; background-clip: text;
    color: transparent; -webkit-text-fill-color: transparent;
    opacity: 0.5;
}

/* Body content */
.modal-body { padding: 28px 28px 32px; }

/* Category label */
.modal-category {
    display: inline-block;
    font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
    color: var(--gold-soft); font-weight: 600;
    margin-bottom: 10px;
}

/* Item name */
.modal-name {
    font-family: var(--serif); font-weight: 700;
    font-size: clamp(24px, 6vw, 32px);
    line-height: 1.2; color: var(--text);
    margin-bottom: 20px;
}

/* Price badge */
.modal-price {
    display: inline-flex; align-items: center; gap: 6px;
    font-family: var(--serif); font-weight: 700;
    font-size: 22px;
    padding: 8px 20px; border-radius: 999px;
    background: linear-gradient(135deg, rgba(244,215,122,0.15), rgba(201,162,39,0.08));
    border: 1px solid var(--border-strong);
    box-shadow: 0 4px 20px rgba(201,162,39,0.15);
    color: var(--gold-soft);
    margin-bottom: 24px;
}
.modal-price::before {
    content: "₺";
    font-size: 16px; font-weight: 600;
    opacity: 0.6;
}

/* Divider */
.modal-divider {
    width: 100%; height: 1px; border: none;
    background: linear-gradient(90deg, transparent, var(--border-strong), transparent);
    margin: 20px 0;
}

/* Description */
.modal-desc-title, .modal-allergen-title {
    font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase;
    color: var(--gold-soft); font-weight: 600;
    margin-bottom: 10px;
    display: flex; align-items: center; gap: 8px;
}
.modal-desc-title::before { content: "📋"; font-size: 14px; }
.modal-allergen-title::before { content: "⚠️"; font-size: 14px; }

.modal-desc {
    color: var(--text-dim); font-size: 15px; line-height: 1.8;
}

/* Allergens */
.modal-allergens {
    display: flex; flex-wrap: wrap; gap: 8px;
    margin-top: 4px;
}
.allergen-tag {
    display: inline-flex; align-items: center; gap: 5px;
    font-size: 12px; font-weight: 500; letter-spacing: 0.04em;
    padding: 6px 14px; border-radius: 999px;
    background: rgba(224, 122, 111, 0.08);
    border: 1px solid rgba(224, 122, 111, 0.2);
    color: #e8a59e;
    transition: background .25s, border-color .25s;
}
.allergen-tag:hover {
    background: rgba(224, 122, 111, 0.14);
    border-color: rgba(224, 122, 111, 0.35);
}

/* Sold out overlay on modal */
.modal-soldout {
    display: flex; align-items: center; gap: 8px;
    margin-top: 20px; padding: 12px 18px; border-radius: var(--radius-sm);
    background: rgba(180, 69, 58, 0.1);
    border: 1px solid rgba(180, 69, 58, 0.25);
    color: var(--danger); font-size: 14px; font-weight: 600;
}
.modal-soldout::before {
    content: "✕"; font-size: 16px; font-weight: 700;
    width: 24px; height: 24px; border-radius: 50%;
    background: rgba(180, 69, 58, 0.15);
    display: grid; place-items: center; flex-shrink: 0;
}

/* Responsive modal */
@media (max-width: 520px) {
    .item-modal { max-width: 100%; border-radius: 20px; }
    .modal-body { padding: 22px 20px 28px; }
    .modal-name { font-size: 22px; }
    .modal-price { font-size: 20px; }
}

/* ---------- Footer ---------- */
/* (Ortak footer app.css içinde tanımlıdır) */

/* ---------- Yukarı dön butonu ---------- */
.back-top {
    position: fixed; right: 18px; bottom: 18px; z-index: 90;
    width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
    font-size: 18px; color: #1a1407; background: var(--gold-grad); border: none; cursor: pointer;
    box-shadow: 0 8px 24px rgba(201,162,39,0.35);
    opacity: 0; visibility: hidden; transform: translateY(14px) scale(0.9);
    transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s, box-shadow .3s var(--ease);
}
.back-top.show { opacity: 1; visibility: visible; transform: translateY(0) scale(1); }
.back-top:hover { box-shadow: 0 10px 30px rgba(201,162,39,0.5); transform: translateY(0) scale(1.1) rotate(360deg) !important; }

/* ---------- Staggered scroll-reveal ---------- */
.reveal { opacity: 0; transform: translateY(32px) scale(0.98); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.is-visible { opacity: 1; transform: translateY(0) scale(1); }

@media (max-width: 520px) {
    .menu-grid { grid-template-columns: 1fr; }
    .hero { padding-top: 88px; }
}

@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
    .hero-bg span, .brand-emblem, .badge-soldout, .scroll-cue span,
    .menu-page::before, .brand-tag, .menu-item::after { animation: none; }
    .nav-indicator { transition: none; }
    html { scroll-behavior: auto; }
}
