/* ==========================================================================
   ENTERPRISE RESTAURANT TEMPLATE - CORE CSS
   Author: Umitcan Cinar (System Architect)
   ========================================================================== */

:root {
    --bg-main: #ffffff;
    --bg-alt: #f8f9fa;
    --text-main: #1a1a1a;
    --text-muted: #6c757d;
    --primary-color: #e63946;
    --primary-hover: #c1121f;
    --secondary-color: #1d3557;
    --accent-color: #457b9d;
    --border-color: #e9ecef;
    --card-bg: #ffffff;
    --shadow-sm: 0 5px 15px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.15);
    --radius-md: 12px;
    --radius-lg: 20px;
    --transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Poppins', sans-serif;
}

[data-theme="dark"] {
    --bg-main: #0f1014;
    --bg-alt: #16181d;
    --text-main: #f8f9fa;
    --text-muted: #adb5bd;
    --primary-color: #ff4d5a;
    --primary-hover: #ff7680;
    --secondary-color: #a8dadc;
    --border-color: #2a2d35;
    --card-bg: #1c1e24;
    --shadow-sm: 0 5px 15px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.5);
    --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.7);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
    overflow-x: hidden; /* Moved from body to ensure window.scroll fires */
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    transition: background-color 0.5s ease, color 0.5s ease;
}

/* Hide content initially for smoother entry if needed, but preloader handles it */
.content-hidden {
    opacity: 0;
}

.body-hidden:not(#preloader) {
    opacity: 0 !important;
    pointer-events: none !important;
}

/* ==========================================================================
   TIMED FULL-SCREEN MAINTENANCE MODE
   The `maintenance-active` class is set synchronously in <head> and is
   permanently retired at 2026-08-01 00:00 (Europe/Istanbul).
   ========================================================================== */
html.maintenance-active,
html.maintenance-active body {
    overflow: hidden !important;
    overscroll-behavior: none;
}

html.maintenance-active body.body-hidden {
    opacity: 1 !important;
    pointer-events: auto !important;
}

html.maintenance-active body > :not(#site-maintenance) {
    visibility: hidden !important;
    pointer-events: none !important;
}

.maintenance-screen {
    display: none;
}

html.maintenance-active .maintenance-screen {
    position: fixed;
    inset: 0;
    z-index: 2147483647;
    display: grid;
    place-items: center;
    min-height: 100vh;
    min-height: 100dvh;
    padding: clamp(22px, 4vw, 48px);
    overflow: hidden;
    isolation: isolate;
    color: #f8f3e8;
    background:
        radial-gradient(circle at 50% -20%, rgba(178, 43, 46, 0.26), transparent 42%),
        linear-gradient(145deg, #08090c 0%, #111015 50%, #07080a 100%);
}

.maintenance-grid {
    position: absolute;
    inset: 0;
    z-index: -3;
    opacity: 0.16;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: linear-gradient(to bottom, #000, transparent 85%);
}

.maintenance-glow {
    position: absolute;
    z-index: -2;
    width: min(52vw, 720px);
    aspect-ratio: 1;
    border-radius: 50%;
    filter: blur(16px);
    opacity: 0.5;
    pointer-events: none;
}

.maintenance-glow-left {
    left: -28vw;
    bottom: -42%;
    background: radial-gradient(circle, rgba(230, 57, 70, 0.34), transparent 68%);
}

.maintenance-glow-right {
    top: -42%;
    right: -26vw;
    background: radial-gradient(circle, rgba(205, 164, 94, 0.22), transparent 70%);
}

.maintenance-shell {
    width: min(100%, 880px);
    min-height: min(820px, calc(100dvh - 48px));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    text-align: center;
}

.maintenance-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(6px, 1.2vw, 12px);
    color: rgba(255, 255, 255, 0.86);
    font-family: var(--font-heading);
    font-size: clamp(0.72rem, 1.5vw, 0.92rem);
    font-weight: 700;
    letter-spacing: 0.22em;
}

.maintenance-brand strong {
    color: #ef5c61;
    font-size: 1.08em;
}

.maintenance-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 760px;
    margin: clamp(24px, 5vh, 56px) auto;
}

.maintenance-status {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 9px 15px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.68);
    background: rgba(255, 255, 255, 0.055);
    box-shadow: inset 0 1px rgba(255, 255, 255, 0.06);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.maintenance-status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ef5c61;
    box-shadow: 0 0 0 5px rgba(239, 92, 97, 0.12), 0 0 18px rgba(239, 92, 97, 0.65);
    animation: maintenancePulse 2.2s ease-in-out infinite;
}

.maintenance-icon {
    display: grid;
    place-items: center;
    width: 88px;
    height: 88px;
    margin: clamp(22px, 4vh, 38px) 0 22px;
    border: 1px solid rgba(220, 181, 110, 0.28);
    border-radius: 28px;
    color: #e0ba78;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.025));
    box-shadow: 0 22px 65px rgba(0, 0, 0, 0.32), inset 0 1px rgba(255, 255, 255, 0.1);
    font-size: 1.75rem;
    transform: rotate(3deg);
}

.maintenance-icon i {
    transform: rotate(-3deg);
}

.maintenance-kicker {
    margin: 0 0 12px;
    color: #dcb776;
    font-size: clamp(0.72rem, 1.6vw, 0.9rem);
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.maintenance-screen h1 {
    max-width: 760px;
    margin: 0;
    color: #fffaf0;
    font-family: var(--font-heading);
    font-size: clamp(2.7rem, 7.5vw, 5.8rem);
    font-weight: 700;
    letter-spacing: -0.045em;
    line-height: 0.98;
    text-wrap: balance;
    text-shadow: 0 20px 70px rgba(0, 0, 0, 0.42);
}

#maintenance-message {
    max-width: 650px;
    margin: 22px 0 0;
    color: rgba(255, 255, 255, 0.62);
    font-size: clamp(0.92rem, 2vw, 1.08rem);
    line-height: 1.75;
    text-wrap: balance;
}

.maintenance-countdown {
    display: flex;
    flex-direction: column;
    gap: 3px;
    margin-top: 16px;
    color: rgba(255, 255, 255, 0.48);
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

#maintenance-countdown {
    color: #e4bd78;
    font-size: clamp(1.2rem, 3.2vw, 1.7rem);
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.1em;
}

.maintenance-contact {
    width: min(100%, 500px);
}

.maintenance-contact > span {
    display: block;
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.42);
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

#maintenance-phone {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 15px;
    width: 100%;
    padding: 13px 16px;
    border: 1px solid rgba(220, 181, 110, 0.24);
    border-radius: 18px;
    color: #fff;
    background: rgba(255, 255, 255, 0.065);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.24), inset 0 1px rgba(255, 255, 255, 0.07);
    text-align: left;
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

#maintenance-phone:hover,
#maintenance-phone:focus-visible {
    border-color: rgba(220, 181, 110, 0.58);
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
    outline: none;
}

.maintenance-phone-icon {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    color: #101014;
    background: linear-gradient(145deg, #f2d095, #c99f57);
    box-shadow: 0 8px 24px rgba(201, 159, 87, 0.22);
}

#maintenance-phone small,
#maintenance-phone strong {
    display: block;
}

#maintenance-phone small {
    margin-bottom: 2px;
    color: rgba(255, 255, 255, 0.46);
    font-size: 0.7rem;
    letter-spacing: 0.04em;
}

#maintenance-phone strong {
    color: #fffaf0;
    font-size: clamp(1rem, 3vw, 1.2rem);
    letter-spacing: 0.015em;
}

.maintenance-contact-arrow {
    color: rgba(255, 255, 255, 0.45);
    transition: transform 180ms ease;
}

#maintenance-phone:hover .maintenance-contact-arrow {
    transform: translateX(3px);
}

.maintenance-footer {
    margin: clamp(20px, 4vh, 42px) 0 0;
    color: rgba(255, 255, 255, 0.28);
    font-size: 0.68rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.maintenance-footer span {
    margin: 0 7px;
    color: rgba(220, 181, 110, 0.55);
}

@keyframes maintenancePulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(0.82); opacity: 0.72; }
}

@media (max-width: 640px) {
    html.maintenance-active .maintenance-screen {
        padding: 22px 18px;
    }

    .maintenance-shell {
        min-height: calc(100dvh - 44px);
    }

    .maintenance-brand {
        letter-spacing: 0.12em;
    }

    .maintenance-content {
        margin: 22px auto;
    }

    .maintenance-icon {
        width: 68px;
        height: 68px;
        margin: 20px 0 18px;
        border-radius: 22px;
        font-size: 1.4rem;
    }
}

@media (max-height: 700px) {
    .maintenance-icon {
        width: 58px;
        height: 58px;
        margin: 14px 0;
        border-radius: 18px;
    }

    .maintenance-content {
        margin: 14px auto;
    }

    #maintenance-message {
        margin-top: 12px;
        line-height: 1.5;
    }

    .maintenance-countdown {
        margin-top: 9px;
    }

    .maintenance-footer {
        margin-top: 12px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .maintenance-status-dot {
        animation: none;
    }

    #maintenance-phone {
        transition: none;
    }
}

/* --- CUSTOM SCROLLBAR --- */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-alt);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-hover);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1rem;
    color: var(--text-muted);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 100px 0;
}

.bg-alt {
    background-color: var(--bg-alt);
}

.text-center {
    text-align: center;
}

.mt-1 {
    margin-top: 1rem;
}

.mt-3 {
    margin-top: 1.5rem;
}

.mt-5 {
    margin-top: 3rem;
}

.w-100 {
    width: 100%;
}

.box-shadow-lg {
    box-shadow: var(--shadow-lg);
}

/* --- YÜKLEME EKRANI --- */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--bg-main);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
    animation: forceKillPreloader 3s forwards;
}

.loader-content {
    text-align: center;
}

.plate-loader {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 3px solid var(--border-color);
    border-top-color: var(--primary-color);
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 1.5rem;
    animation: spin 1.5s cubic-bezier(0.68, -0.55, 0.265, 1.55) infinite;
}

.spinning-icon {
    font-size: 2rem;
    color: var(--primary-color);
    animation: counter-spin 1.5s linear infinite;
}

.loader-text {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    letter-spacing: 2px;
}

.loader-text span {
    font-size: 0.9rem;
    font-family: var(--font-body);
    color: var(--text-muted);
    letter-spacing: normal;
}

@keyframes spin {
    100% {
        transform: rotate(360deg);
    }
}

@keyframes counter-spin {
    100% {
        transform: rotate(-360deg);
    }
}

@keyframes forceKillPreloader {
    0% {
        opacity: 1;
        visibility: visible;
    }

    85% {
        opacity: 1;
        visibility: visible;
    }

    99% {
        opacity: 0;
        visibility: hidden;
    }

    100% {
        opacity: 0;
        visibility: hidden;
        z-index: -9999;
        display: none;
    }
}

/* --- BUTONLAR --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 30px;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 50px;
    cursor: pointer;
    border: none;
    outline: none;
    transition: var(--transition);
    font-family: var(--font-body);
}

.btn-primary {
    background: var(--primary-color);
    color: #fff;
}

.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(230, 57, 70, 0.3);
}

.disabled-btn {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: #fff;
    transform: translateY(-3px);
}

.btn-outline-light {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid #fff;
    color: #fff;
    backdrop-filter: blur(5px);
}

.btn-outline-light:hover {
    background: #fff;
    color: var(--primary-color);
    transform: translateY(-3px);
}

.btn-lg {
    padding: 15px 40px;
    font-size: 1.1rem;
}

.btn-block {
    width: 100%;
}

.btn-glow {
    box-shadow: 0 0 15px rgba(230, 57, 70, 0.5);
}

.btn-glow:hover {
    box-shadow: 0 0 25px rgba(230, 57, 70, 0.8);
}

/* --- NAVBAR --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 28px 0 16px;
    z-index: 1000;
    transition: var(--transition);
    background: transparent;
}

.navbar.scrolled {
    padding: 12px 0;
    background: rgba(var(--bg-main), 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
}

[data-theme="light"] .navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
}

[data-theme="dark"] .navbar.scrolled {
    background: rgba(15, 16, 20, 0.95);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 20px;
    gap: 2rem;
}

.logo {
    font-family: var(--font-heading);
    font-size: clamp(1.45rem, 3.5vw, 1.95rem);
    font-weight: 700;
    color: #fff;
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 0;
    position: relative;
    letter-spacing: 1px;
    text-decoration: none;
    white-space: nowrap;
}

.logo-space {
    display: inline-block;
    width: 0.4em;
}

/* Her harf bağımsız animasyon */
.logo-char {
    display: inline-block;
    color: #fff;
    transition: color 0.2s ease, filter 0.2s ease;
    animation:
        logo-char-in 0.6s cubic-bezier(0.22, 1, 0.36, 1) both,
        logo-wave 2.8s ease-in-out 1.8s infinite;
}

/* Kırmızı "ADANA" harfleri */
.logo-char.logo-red {
    color: var(--primary-color);
    will-change: filter;
    animation:
        logo-char-in 0.6s cubic-bezier(0.22, 1, 0.36, 1) both,
        logo-wave 2.8s ease-in-out 1.8s infinite,
        ember-letter-glow 3s ease-in-out 1.8s infinite;
}

/* Staggered giriş + dalga her harf için: giriş-gecikmesi, dalga-gecikmesi */
.logo-char:nth-child(1)  { animation-delay: 0.03s, 1.83s; }
.logo-char:nth-child(2)  { animation-delay: 0.06s, 1.86s; }
.logo-char:nth-child(3)  { animation-delay: 0.09s, 1.89s; }
.logo-char:nth-child(4)  { animation-delay: 0.12s, 1.92s; }
.logo-char:nth-child(5)  { animation-delay: 0.15s, 1.95s; }
.logo-char:nth-child(6)  { animation-delay: 0.18s, 1.98s; }
/* ADANA harfleri (logo-red) — 3 animasyon: giriş, dalga, glow */
.logo-char:nth-child(8)  { animation-delay: 0.21s, 2.01s, 2.01s; }
.logo-char:nth-child(9)  { animation-delay: 0.24s, 2.04s, 2.04s; }
.logo-char:nth-child(10) { animation-delay: 0.27s, 2.07s, 2.07s; }
.logo-char:nth-child(11) { animation-delay: 0.30s, 2.10s, 2.10s; }
.logo-char:nth-child(12) { animation-delay: 0.33s, 2.13s, 2.13s; }
/* KEBAPÇISI harfleri */
.logo-char:nth-child(14) { animation-delay: 0.36s, 2.16s; }
.logo-char:nth-child(15) { animation-delay: 0.39s, 2.19s; }
.logo-char:nth-child(16) { animation-delay: 0.42s, 2.22s; }
.logo-char:nth-child(17) { animation-delay: 0.45s, 2.25s; }
.logo-char:nth-child(18) { animation-delay: 0.48s, 2.28s; }
.logo-char:nth-child(19) { animation-delay: 0.51s, 2.31s; }
.logo-char:nth-child(20) { animation-delay: 0.54s, 2.34s; }
.logo-char:nth-child(21) { animation-delay: 0.57s, 2.37s; }
.logo-char:nth-child(22) { animation-delay: 0.60s, 2.40s; }

@keyframes logo-char-in {
    from { opacity: 0; transform: translateY(-14px) scale(0.8); }
    to   { opacity: 1; transform: translateY(0)     scale(1); }
}

/* Sürekli dalga animasyonu — her harf giriş bittikten 1.2s sonra başlar */
@keyframes logo-wave {
    0%, 100% { transform: translateY(0);    }
    40%       { transform: translateY(-5px); }
    60%       { transform: translateY(-3px); }
}

@keyframes ember-letter-glow {
    0%, 100% { filter: drop-shadow(0 0 4px rgba(230,57,70,0.6)) drop-shadow(0 0 10px rgba(255,100,30,0.3)); }
    50%       { filter: drop-shadow(0 0 9px rgba(255,120,30,1)) drop-shadow(0 0 20px rgba(230,57,70,0.7)) drop-shadow(0 0 30px rgba(255,80,0,0.4)); }
}

/* Hover: her harf bağımsız ateşlenir */
.logo:hover .logo-char {
    animation: logo-char-flame-hover 0.4s ease forwards;
}
.logo:hover .logo-char:nth-child(1)  { animation-delay: 0s;     }
.logo:hover .logo-char:nth-child(2)  { animation-delay: 0.03s;  }
.logo:hover .logo-char:nth-child(3)  { animation-delay: 0.06s;  }
.logo:hover .logo-char:nth-child(4)  { animation-delay: 0.09s;  }
.logo:hover .logo-char:nth-child(5)  { animation-delay: 0.12s;  }
.logo:hover .logo-char:nth-child(6)  { animation-delay: 0.15s;  }
.logo:hover .logo-char:nth-child(8)  { animation-delay: 0.18s;  }
.logo:hover .logo-char:nth-child(9)  { animation-delay: 0.21s;  }
.logo:hover .logo-char:nth-child(10) { animation-delay: 0.24s;  }
.logo:hover .logo-char:nth-child(11) { animation-delay: 0.27s;  }
.logo:hover .logo-char:nth-child(12) { animation-delay: 0.30s;  }
.logo:hover .logo-char:nth-child(14) { animation-delay: 0.33s;  }
.logo:hover .logo-char:nth-child(15) { animation-delay: 0.36s;  }
.logo:hover .logo-char:nth-child(16) { animation-delay: 0.39s;  }
.logo:hover .logo-char:nth-child(17) { animation-delay: 0.42s;  }
.logo:hover .logo-char:nth-child(18) { animation-delay: 0.45s;  }
.logo:hover .logo-char:nth-child(19) { animation-delay: 0.48s;  }
.logo:hover .logo-char:nth-child(20) { animation-delay: 0.51s;  }
.logo:hover .logo-char:nth-child(21) { animation-delay: 0.54s;  }
.logo:hover .logo-char:nth-child(22) { animation-delay: 0.57s;  }

@keyframes logo-char-flame-hover {
    0%   { transform: translateY(0)    scale(1);    color: #fff; }
    40%  { transform: translateY(-5px) scale(1.15); color: #ffcc55; text-shadow: 0 0 12px rgba(255,160,0,0.9); }
    70%  { transform: translateY(-3px) scale(1.08); color: #ff8800; }
    100% { transform: translateY(0)    scale(1);    color: #fff; }
}
.logo:hover .logo-char.logo-red {
    animation: logo-char-flame-hover-red 0.4s ease forwards !important;
}
@keyframes logo-char-flame-hover-red {
    0%   { transform: translateY(0)    scale(1);    color: var(--primary-color); }
    40%  { transform: translateY(-6px) scale(1.2);  color: #ffaa00; text-shadow: 0 0 20px rgba(255,150,0,1); }
    70%  { transform: translateY(-3px) scale(1.1);  color: #ff5500; }
    100% { transform: translateY(0)    scale(1);    color: var(--primary-color); }
}

/* Scrolled halde */
.navbar.scrolled .logo               { color: var(--text-main) !important; }
.navbar.scrolled .logo-char          { color: var(--text-main) !important; }
.navbar.scrolled .logo-char.logo-red { color: var(--primary-color) !important; }

.logo span,
.logo i {
    color: var(--primary-color);
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links li {
    position: relative;
}

.nav-link {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    font-size: 1.05rem;
    padding: 5px 0;
}

.navbar.scrolled .nav-link {
    color: var(--text-main);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.theme-btn,
.admin-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: var(--transition);
    backdrop-filter: blur(5px);
}

.navbar.scrolled .theme-btn,
.navbar.scrolled .admin-link {
    background: var(--card-bg);
    border-color: var(--border-color);
    color: var(--text-main);
}

.theme-btn:hover,
.admin-link:hover {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
    transform: rotate(15deg);
}

.mobile-menu-btn {
    display: none;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 1.85rem;
    cursor: pointer;
    line-height: 1;
    padding: 4px;
}

.navbar.scrolled .mobile-menu-btn {
    color: var(--text-main);
}

/* --- MOBİL MENÜ --- */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    height: var(--app-height, 100svh);
    background: var(--bg-main);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
    z-index: 1001;
    padding: 80px 30px;
    display: flex;
    flex-direction: column;
    transition: 0.5s cubic-bezier(0.77, 0, 0.175, 1);
}

.mobile-menu-overlay.active {
    right: 0;
}

.mobile-menu-close {
    position: absolute;
    top: 30px;
    right: 30px;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-main);
    background: none;
    border: 0;
    padding: 0;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.mobile-nav-links a {
    font-size: 1.2rem;
    font-family: var(--font-heading);
    font-weight: 600;
}

.mobile-nav-links a:hover {
    color: var(--primary-color);
    padding-left: 10px;
}

/* --- HERO SECTION --- */
.hero-section {
    position: relative;
    height: 100vh;
    height: 100svh;
    height: var(--app-height, 100svh);
    min-height: 600px;
    display: flex;
    align-items: stretch;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120%;
    background: url('https://images.unsplash.com/photo-1514933651103-005eec06c04b?ixlib=rb-1.2.1&auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
    z-index: 1;
    will-change: transform;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.4) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    color: #fff;
    width: 100%;
    height: 100%;
    padding-top: 80px; /* navbar clearance */
    padding-bottom: 40px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.hero-text-box {
    max-width: 850px;
    margin-top: 30px;
    padding-bottom: 20px;
}

.hero-text-box.is-visible {
    /* animasyonlar çocuk elementlerde, wrapper gizlenmiyor */
}

.hero-subtitle {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 6px;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-weight: 800;
    position: relative;
    opacity: 0;
    animation: subtitle-slide-in 0.7s ease-out 0.3s forwards;
}

.hero-badge {
    display: flex;
    align-items: center;
    gap: 9px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.055em;
    width: fit-content;
}

.hero-badge-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--gold-soft);
    box-shadow: 0 0 16px var(--gold);
    animation: badge-pulse 2.2s ease-in-out infinite;
}

@keyframes badge-pulse {
    50% { opacity: 0.48; transform: scale(0.72); }
}

@keyframes subtitle-slide-in {
    from { opacity: 0; transform: translateX(-30px); letter-spacing: 8px; }
    to   { opacity: 1; transform: translateX(0);     letter-spacing: 4px; }
}

.subtitle-text {
    position: relative;
}

/* Altında yanan kor çizgi */
.subtitle-text::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-color), #ff8800, var(--primary-color), transparent);
    background-size: 200% 100%;
    animation: subtitle-line-burn 2s linear infinite;
    opacity: 0.7;
}

@keyframes subtitle-line-burn {
    0%   { background-position: 100% 0; }
    100% { background-position: -100% 0; }
}

.subtitle-flame-left,
.subtitle-flame-right {
    font-size: 1rem;
    display: inline-block;
    animation: subtitle-flame-flicker 1.8s ease-in-out infinite;
    filter: drop-shadow(0 0 6px rgba(255,100,0,0.8));
}
.subtitle-flame-right {
    animation-delay: 0.4s;
}

@keyframes subtitle-flame-flicker {
    0%, 100% { transform: scaleY(1)    rotate(-3deg); opacity: 0.9; }
    30%       { transform: scaleY(1.2)  rotate(4deg);  opacity: 1;   }
    60%       { transform: scaleY(0.9)  rotate(-2deg); opacity: 0.8; }
}

/* H1 — satır satır giriş */
.hero-title-animated {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.hero-line {
    display: block;
    overflow: visible;
    opacity: 0;
    transform: translateY(40px);
    animation: hero-line-rise 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    font-family: var(--font-heading);
    font-weight: 700;
}

.hero-line-1 { 
    animation-delay: 0.5s; 
    font-size: clamp(3.5rem, 8vw, 6.5rem);
    color: #fff;
}

.hero-line-2 { 
    animation-delay: 0.7s; 
    font-size: clamp(3.5rem, 8vw, 6.5rem);
    color: var(--primary-color);
    font-style: italic;
    margin-top: -10px;
    margin-bottom: -10px;
}

.hero-line-3 { 
    animation-delay: 0.9s; 
    font-size: clamp(3.5rem, 8vw, 6.5rem);
    color: #fff;
}

@keyframes hero-line-rise {
    to { opacity: 1; transform: translateY(0); }
}

/* "Yemekler..." — kor/alev efektli */
.highlight-ember {
    color: #fff;
    position: relative;
    display: inline-block;
    background: linear-gradient(90deg, #fff 0%, #ffdd88 40%, #ff8800 70%, #fff 100%);
    background-size: 300% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: ember-text-sweep 3s ease-in-out infinite;
}

@keyframes ember-text-sweep {
    0%   { background-position: 100% 0; }
    50%  { background-position: 0% 0;   }
    100% { background-position: 100% 0; }
}

/* Açıklama metni */
.hero-desc-animated {
    opacity: 0;
    transform: translateY(20px);
    animation: hero-desc-in 0.9s ease-out 1.15s forwards;
}

@keyframes hero-desc-in {
    to { opacity: 0.88; transform: translateY(0); }
}

.hero-section h1 {
    font-size: clamp(3rem, 5vw, 5rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: #fff;
    margin-top: 0;
}

.hero-section h1 .highlight {
    color: var(--primary-color);
    font-style: italic;
}

.hero-section p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    opacity: 0;
    transform: translateY(20px);
    animation: hero-desc-in 0.9s ease-out 1.4s forwards;
}

.hero-text-box.is-visible .hero-buttons {
    /* artık kendi animasyonu var */
}

.hero-entry-content {
    padding-top: 100px;
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.hero-scroll-indicator.scroll-indicator-visible {
    opacity: 1;
    pointer-events: auto;
}

.scroll-arrow-icon {
    width: 48px;
    height: 48px;
    border: 2px solid rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(4px);
    animation: arrowBounce 1.4s ease-in-out infinite;
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.1rem;
    cursor: pointer;
    transition: background 0.3s, border-color 0.3s;
}

.scroll-arrow-icon:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.95);
}

@keyframes arrowBounce {

    0%,
    100% {
        transform: translateY(0);
        opacity: 0.9;
    }

    50% {
        transform: translateY(8px);
        opacity: 1;
    }
}


/* --- SECTION HEADINGS --- */
.section-heading {
    margin-bottom: 3rem;
}

.section-heading .subtitle {
    display: block;
    font-family: var(--font-body);
    color: var(--primary-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
}

.section-heading h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.heading-line {
    width: 60px;
    height: 3px;
    background: var(--primary-color);
    margin: 0 auto;
    border-radius: 2px;
}

/* --- ABOUT SECTION --- */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.lead-text {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--text-main);
    margin-bottom: 1rem;
}

.features-list {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-weight: 500;
}

.feature-item i {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(230, 57, 70, 0.1);
    color: var(--primary-color);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
}

.about-images {
    position: relative;
}

.img-wrapper {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.img-wrapper:hover img {
    transform: scale(1.05);
}

.main-img {
    height: 500px;
    width: 80%;
    margin-left: auto;
    border: 10px solid var(--bg-main);
    z-index: 2;
    position: relative;
}

.sub-img {
    position: absolute;
    bottom: -30px;
    left: 0;
    width: 50%;
    height: 300px;
    border: 10px solid var(--bg-main);
    z-index: 3;
}

.experience-badge {
    position: absolute;
    top: 30px;
    left: 10px;
    background: var(--primary-color);
    color: #fff;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    z-index: 4;
    box-shadow: var(--shadow-md);
    animation: float 3s ease-in-out infinite;
}

.experience-badge .years {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1;
}

.experience-badge .text {
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
}

@keyframes float {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }

    100% {
        transform: translateY(0);
    }
}

/* --- MENU SECTION --- */
.menu-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 3rem;
}

.filter-btn {
    padding: 8px 20px;
    background: transparent;
    border: 1px solid var(--border-color);
    border-radius: 30px;
    font-weight: 500;
    color: var(--text-main);
    cursor: pointer;
    transition: var(--transition);
    font-family: var(--font-body);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
}

.menu-card {
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    position: relative;
}

.menu-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-10px);
}

.menu-img {
    position: relative;
    height: 240px;
    overflow: hidden;
}

.menu-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.menu-card:hover .menu-img img {
    transform: scale(1.1);
}

.menu-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    backdrop-filter: blur(5px);
}

.menu-badge.hot {
    background: var(--primary-color);
}

.menu-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.menu-title-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
    gap: 10px;
}

.menu-title-row h3 {
    font-size: 1.25rem;
    margin: 0;
}

.price {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--primary-color);
    font-family: var(--font-heading);
}

.menu-desc {
    flex-grow: 1;
    font-size: 0.95rem;
    color: var(--text-muted); /* Ensure it uses the themed variable explicitly */
}

.btn-add-cart {
    margin-top: 1rem;
    padding: 10px;
    background: transparent;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-main);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    width: 100%;
}

.btn-add-cart:hover {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}

.menu-item.hide {
    display: none;
}

/* --- PROMO SECTION --- */
.promo-section {
    position: relative;
    padding: 120px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.promo-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 150%;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('https://images.unsplash.com/photo-1555939594-58d7cb561ad1?ixlib=rb-1.2.1&auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
    z-index: 1;
    background-attachment: fixed;
    will-change: transform;
}

.promo-content {
    position: relative;
    z-index: 2;
    color: #fff;
    max-width: 800px;
}

.promo-content h2 {
    font-size: 3rem;
    color: #fff;
}

.promo-content p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
}

/* --- GALLERY --- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 250px;
    gap: 15px;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(230, 57, 70, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: var(--transition);
}

.gallery-overlay i {
    color: #fff;
    font-size: 2rem;
    transform: scale(0);
    transition: var(--transition);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-item:hover .gallery-overlay i {
    transform: scale(1);
}

.gallery-item.w-2 {
    grid-column: span 2;
}

.gallery-item.h-2 {
    grid-row: span 2;
}

/* --- RESERVATION FORM --- */
.reservation-wrapper {
    display: flex;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--card-bg);
}

.res-info {
    flex: 1;
    padding: 4rem 3rem;
    background: var(--primary-color);
    color: #fff;
}

.res-info h3 {
    color: #fff;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.res-info p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}

.res-contact-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.res-contact-list li {
    position: relative;
    z-index: 5;
    /* Ensure it is above other elements */
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 15px;
    font-weight: 500;
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
    width: 100%;
    cursor: pointer;
    pointer-events: auto;
    /* Force clickability */
}

.contact-link:hover {
    opacity: 0.8;
    text-decoration: underline;
}

.res-contact-list i {
    font-size: 1.5rem;
    background: rgba(255, 255, 255, 0.2);
    width: 45px;
    height: 45px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    flex-shrink: 0;
}

.res-form-container {
    flex: 2;
    padding: 4rem 3rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-row:nth-child(2) {
    grid-template-columns: 1fr 1fr 1fr;
}

.form-group label {
    display: block;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--text-main);
    font-size: 0.95rem;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: var(--bg-main);
    color: var(--text-main);
    font-family: var(--font-body);
    outline: none;
    transition: var(--transition);
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(230, 57, 70, 0.1);
}

.form-message {
    margin-top: 15px;
    padding: 10px;
    border-radius: 8px;
    display: none;
    font-weight: 500;
    text-align: center;
}

.form-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    display: block;
}

.form-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    display: block;
}

/* --- FLOATING BUTTONS --- */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 30px;
    box-shadow: var(--shadow-md);
    z-index: 100;
    transition: var(--transition);
}

.whatsapp-float:hover {
    background-color: #1ebe57;
    transform: translateY(-5px);
}

.tooltip-text {
    position: absolute;
    right: 75px;
    background: #fff;
    color: #333;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.8rem;
    font-family: var(--font-body);
    font-weight: 600;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    white-space: nowrap;
}

.whatsapp-float:hover .tooltip-text {
    opacity: 1;
    visibility: visible;
}

.scroll-top-btn {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 45px;
    height: 45px;
    background: var(--primary-color);
    color: #fff;
    border-radius: 5px;
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    box-shadow: var(--shadow-md);
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    transform: translateY(20px);
}

.scroll-top-btn.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-top-btn:hover {
    background: var(--primary-hover);
    transform: translateY(-5px);
}

/* --- FOOTER --- */
.footer {
    background: var(--bg-alt);
    padding: 80px 0 0;
    border-top: 1px solid var(--border-color);
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 1rem;
    display: inline-block;
}

.footer-logo span,
.footer-logo i {
    color: var(--primary-color);
}

.footer-desc {
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    gap: 10px;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: var(--transition);
    color: var(--text-main);
}

.social-icon:hover {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
    transform: translateY(-3px);
}

.footer-col h4 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--primary-color);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.footer-links a:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

.footer-links i {
    font-size: 0.8rem;
    color: var(--primary-color);
}

.newsletter-form {
    display: flex;
    margin-top: 1rem;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 8px 0 0 8px;
    background: var(--card-bg);
    color: var(--text-main);
    outline: none;
}

.newsletter-form button {
    padding: 0 20px;
    background: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 0 8px 8px 0;
    cursor: pointer;
    transition: var(--transition);
}

.newsletter-form button:hover {
    background: var(--primary-hover);
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding: 25px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    text-align: center;
}

.footer-bottom p {
    margin: 0;
    font-size: 0.9rem;
}

.developer-signature p {
    color: var(--text-muted);
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.cooking-author {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-heading);
    color: var(--primary-color);
    letter-spacing: 2px;
    font-weight: 700;
}

.cooking-author .pan {
    color: var(--primary-color);
    animation: panToss 1.5s infinite ease-in-out;
    display: inline-block;
    font-size: 16px;
}

.cooking-author .letters {
    display: inline-flex;
}

.cooking-author .letter {
    display: inline-block;
    will-change: transform, filter;
    animation: cookLetter 1.5s infinite alternate;
}

.cooking-author .letter:nth-child(2) {
    animation-delay: 0.1s;
}

.cooking-author .letter:nth-child(3) {
    animation-delay: 0.2s;
}

.cooking-author .letter:nth-child(4) {
    animation-delay: 0.3s;
}

.cooking-author .letter:nth-child(5) {
    animation-delay: 0.4s;
}

.cooking-author .letter:nth-child(6) {
    animation-delay: 0.5s;
}

.cooking-author .letter:nth-child(7) {
    animation-delay: 0.6s;
}

.cooking-author .letter:nth-child(8) {
    animation-delay: 0.7s;
}

.cooking-author .letter:nth-child(9) {
    animation-delay: 0.8s;
}

@keyframes panToss {

    0%,
    100% {
        transform: translateY(0) rotate(0);
    }

    50% {
        transform: translateY(-3px) rotate(-15deg);
    }
}

@keyframes cookLetter {
    0% {
        transform: translateY(0) scale(1);
        filter: brightness(1);
    }

    50% {
        transform: translateY(-4px) scale(1.1);
        filter: brightness(4) drop-shadow(0 0 4px rgba(201, 168, 76, 0.8));
    }

    100% {
        transform: translateY(0) scale(1);
        filter: brightness(1);
    }
}

/* --- LEGAL MODAL ZIRHLI TASARIM --- */
.legal-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 2000;
    display: none;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(5px);
}

.legal-modal.active {
    display: flex !important;
    animation: fadeIn 0.3s forwards;
}

.legal-modal-content {
    background: var(--card-bg);
    width: 90%;
    max-width: 600px;
    padding: 2rem;
    border-radius: var(--radius-lg);
    position: relative;
    max-height: 80vh;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
}

.legal-modal-content h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 10px;
}

.legal-text p {
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.legal-text strong {
    color: var(--text-main);
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 2rem;
    cursor: pointer;
    color: var(--text-muted);
    transition: var(--transition);
    line-height: 1;
}

.close-modal:hover {
    color: var(--primary-color);
    transform: scale(1.1);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* --- MENU EXTRA INFO MODAL --- */
.menu-info-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 2100;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.menu-info-modal.active {
    opacity: 1;
    visibility: visible;
}

.menu-info-box {
    width: 90%;
    max-width: 600px;
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    position: relative;
    overflow: hidden;
    transform: scale(0.95);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 15px 50px rgba(0,0,0,0.5);
    min-height: 40vh;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
}

.menu-info-modal.active .menu-info-box {
    transform: scale(1);
}

.menu-info-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0.9; /* Image is almost fully visible */
    filter: blur(4px) brightness(0.85); /* Smooth, slightly dark to let text pop */
    transform: scale(1.05);
    z-index: 0;
}

.menu-info-content {
    position: relative;
    z-index: 1;
    padding: 2rem;
    text-align: left;
    overflow-y: auto;
    flex: 1;
    background: rgba(255, 255, 255, 0.65); /* Decreased white mask dramatically */
    backdrop-filter: blur(8px); /* Blur applied to glass, not just the image */
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
}

.menu-info-content::-webkit-scrollbar {
    width: 6px;
}
.menu-info-content::-webkit-scrollbar-thumb {
    background: rgba(0,0,0,0.2);
    border-radius: 4px;
}

.menu-info-content h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    line-height: 1.2;
    border-bottom: 1px solid rgba(0,0,0,0.1);
    padding-bottom: 15px;
    font-weight: 700;
}

.menu-info-content p {
    font-size: 1.05rem;
    color: var(--text-main);
    line-height: 1.6;
    margin-bottom: 0;
    font-weight: 500;
}

.menu-info-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255,255,255,0.2);
    border: none;
    color: var(--text-main);
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 2;
    transition: var(--transition);
    backdrop-filter: blur(5px);
}

.menu-info-close:hover {
    background: var(--primary-color);
    color: #fff;
    transform: rotate(90deg);
}

/* --- WAIT TIME BADGE --- */
.menu-badge.wait-time {
    top: 15px;
    left: 15px;
    right: auto;
    background: var(--card-bg); /* Use themed background instead of hardcoded white */
    color: var(--text-main); /* Use themed text color */
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    gap: 5px;
    border: 1px solid var(--border-color);
}
.menu-badge.wait-time i {
    color: var(--primary-color);
}


/* --- ADMİN PANELİ (CMS) STİLLERİ --- */
.admin-body {
    background-color: var(--bg-main);
    height: 100vh;
    overflow: hidden;
    display: flex;
}

.login-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(15px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    transition: var(--transition);
}

.login-overlay.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.login-box {
    background: var(--card-bg);
    padding: 3rem;
    border-radius: 20px;
    width: 100%;
    max-width: 400px;
    text-align: center;
    border: 1px solid var(--border-color);
}

.login-box h2 {
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.login-box p {
    margin-bottom: 2rem;
    opacity: 0.8;
    font-size: 0.9rem;
}

.input-group {
    position: relative;
    margin-bottom: 1.5rem;
}

.input-group i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
}

.input-group input {
    width: 100%;
    padding: 1rem 1rem 1rem 40px;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    background: var(--bg-main);
    color: var(--text-main);
    outline: none;
    transition: var(--transition);
}

.input-group input:focus {
    border-color: var(--primary-color);
}

.error-text {
    color: var(--primary-color);
    margin-top: 1rem;
    font-size: 0.9rem;
    font-weight: 600;
    display: none;
}

.admin-dashboard {
    display: flex;
    width: 100%;
    height: 100%;
}

.admin-dashboard.hidden {
    display: none;
}

.sidebar {
    width: 280px;
    background: var(--card-bg);
    border-right: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
}

.sidebar-header {
    padding: 2rem;
    border-bottom: 1px solid var(--border-color);
}

.sidebar-header h2 {
    color: var(--primary-color);
    font-size: 1.5rem;
}

.admin-badge {
    display: inline-block;
    background: rgba(230, 57, 70, 0.1);
    color: var(--primary-color);
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-top: 5px;
}

.sidebar-menu {
    list-style: none;
    padding: 1rem 0;
    flex-grow: 1;
}

.sidebar-menu li {
    padding: 1rem 2rem;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 600;
    color: var(--text-muted);
}

.sidebar-menu li i {
    margin-right: 10px;
    width: 20px;
    text-align: center;
}

.sidebar-menu li:hover,
.sidebar-menu li.active {
    color: var(--primary-color);
    background: rgba(230, 57, 70, 0.05);
    border-right: 4px solid var(--primary-color);
}

.sidebar-footer {
    padding: 2rem;
    border-top: 1px solid var(--border-color);
    text-align: center;
}

.developer-note {
    font-size: 0.8rem;
    color: var(--text-muted);
    opacity: 0.7;
}

.main-content {
    flex-grow: 1;
    padding: 3rem;
    overflow-y: auto;
    background: var(--bg-main);
}

.admin-section.hidden {
    display: none;
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.stat-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 15px;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.stat-card i {
    font-size: 3rem;
    color: var(--primary-color);
    background: rgba(230, 57, 70, 0.1);
    padding: 15px;
    border-radius: 12px;
}

.stat-info h3 {
    font-size: 1rem;
    color: var(--text-muted);
    font-family: var(--font-body);
}

.stat-info p {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-main);
    margin: 0;
    line-height: 1;
}

.admin-grid-layout {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 2rem;
}

.form-container {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    margin-bottom: 2rem;
}

.form-container h3 {
    color: var(--secondary-color);
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.form-container label {
    display: block;
    font-weight: 500;
    margin-bottom: 5px;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.admin-input {
    width: 100%;
    padding: 12px;
    margin-bottom: 1.5rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    background: var(--bg-main);
    color: var(--text-main);
    font-family: var(--font-body);
    outline: none;
    transition: var(--transition);
}

.admin-input:focus {
    border-color: var(--primary-color);
}

.admin-hr {
    border: 0;
    height: 1px;
    background: var(--border-color);
    margin: 2rem 0;
}

.form-help-text {
    font-size: 0.85rem;
    color: var(--primary-color);
    font-style: italic;
    margin-top: -10px;
}

.table-responsive {
    overflow-x: auto;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.admin-table th {
    padding: 15px;
    background: var(--bg-alt);
    color: var(--text-main);
    font-weight: 600;
    border-bottom: 2px solid var(--border-color);
}

.admin-table td {
    padding: 15px;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-muted);
    vertical-align: middle;
}

.admin-table tr:hover td {
    background: rgba(0, 0, 0, 0.02);
}

.admin-badge-status {
    background: #d4edda;
    color: #155724;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.8rem;
    font-weight: 600;
}

.btn-delete {
    background: #dc3545;
    color: white;
    border: none;
    padding: 5px 10px;
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
}

.btn-delete:hover {
    background: #c82333;
}

.admin-toast {
    position: fixed;
    bottom: 30px;
    right: -300px;
    background: #28a745;
    color: white;
    padding: 15px 25px;
    border-radius: 8px;
    font-weight: 600;
    box-shadow: var(--shadow-md);
    transition: 0.5s ease;
    z-index: 9999;
}

.admin-toast.show {
    right: 30px;
}

/* --- SCROLL ANİMASYONLARI --- */
.fade-in-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.delay-1 {
    transition-delay: 0.2s;
}

.delay-2 {
    transition-delay: 0.4s;
}

.is-visible {
    opacity: 1;
    transform: translate(0);
}

/* --- RESPONSIVE DESIGN --- */
@media (max-width: 1024px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .main-img {
        width: 100%;
        height: 400px;
    }

    .sub-img {
        display: none;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .reservation-wrapper {
        flex-direction: column;
    }

    .res-info,
    .res-form-container {
        padding: 2rem;
    }

    .footer-top {
        grid-template-columns: 1fr 1fr;
    }

    .admin-grid-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {

    /* --- Navbar & Mobile Menu Override --- */
    .nav-links,
    .admin-link,
    .nav-actions .theme-btn {
        display: none !important;
    }

    .mobile-menu-btn {
        display: block !important;
    }

    .nav-container {
        padding: 0 15px;
        align-items: center;
    }

    .logo {
        font-size: clamp(1.2rem, 4.5vw, 1.6rem);
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: calc(100vw - 80px);
    }

    /* --- Hero Section Override --- */
    .hero-section {
        height: 100svh !important;
        height: var(--app-height, 100svh) !important;
        min-height: 0 !important;
        align-items: stretch;
    }

    .stories-bar {
        position: relative !important;
        top: auto !important;
        margin-bottom: 16px;
    }

    .stories-container {
        padding: 6px 16px 10px;
        gap: 14px;
        margin-left: 0 !important;
    }

    .story-item {
        min-width: 72px;
    }

    .story-ring {
        width: 68px;
        height: 68px;
    }

    .story-label {
        font-size: 0.68rem;
        max-width: 70px;
    }

    .hero-content {
        padding-top: 70px !important;
        padding-bottom: 30px !important;
        justify-content: flex-start !important;
    }

    .hero-text-box {
        margin-top: 20px;
        text-align: center;
    }

    .hero-text-box h1,
    .hero-title-animated {
        font-size: 2rem !important;
        line-height: 1.15;
    }

    .hero-line {
        display: block;
    }

    .hero-subtitle {
        font-size: 0.8rem !important;
        letter-spacing: 2px !important;
        margin-bottom: 0.8rem !important;
        width: 100%;
        justify-content: center;
    }

    .hero-text-box p,
    .hero-desc-animated {
        font-size: 0.95rem !important;
        padding: 0 0 !important;
        margin-bottom: 1.5rem !important;
    }

    .hero-buttons {
        flex-direction: column;
        padding: 0;
        gap: 12px;
        margin-top: 0;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    /* --- About Section Override --- */
    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .main-img {
        width: 100%;
        height: 300px;
        border-width: 5px;
    }

    .sub-img {
        display: none;
    }

    .experience-badge {
        top: -20px;
        left: 10px;
        transform: scale(0.8);
        animation: none;
    }

    /* --- Menu Section Override --- */
    .menu-filters {
        gap: 8px;
        padding: 0 10px;
        overflow-x: auto;
        flex-wrap: nowrap;
        justify-content: flex-start;
        scrollbar-width: none;
    }

    .menu-filters::-webkit-scrollbar {
        display: none;
    }

    .filter-btn {
        white-space: nowrap;
        font-size: 0.9rem;
        padding: 6px 16px;
    }

    .menu-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 15px;
    }

    .menu-card {
        margin-bottom: 0;
    }

    .menu-img {
        height: 200px;
    }

    .cart-item-info {
        flex-direction: column;
        gap: 4px;
    }

    .cart-item-actions {
        flex-wrap: wrap;
        margin-top: 8px;
    }

    /* --- Gallery Override --- */
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 0 15px;
    }

    .gallery-item.w-2 {
        grid-column: span 1;
    }

    .gallery-item {
        height: 250px;
    }

    /* --- Reservation Override --- */
    .reservation-wrapper {
        flex-direction: column;
        margin: 0 15px;
    }

    .res-info,
    .res-form-container {
        padding: 1.5rem;
    }

    .form-row,
    .form-row:nth-child(2) {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    /* --- Footer Override --- */
    .footer-top {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    .footer-links {
        align-items: center;
    }

    .social-links {
        justify-content: center;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    /* --- General Layout --- */
    .section-padding {
        padding: 50px 0;
    }

    .sidebar {
        position: absolute;
        left: -100%;
        z-index: 1000;
        height: 100%;
        transition: 0.3s;
    }

    /* --- Stories Override --- */
    .stories-container {
        padding: 0 15px;
        gap: 10px;
    }

    .story-item {
        min-width: 60px;
    }

    .story-ring {
        width: 60px;
        height: 60px;
    }

    .story-label {
        font-size: 0.7rem;
    }

    /* --- Modals Override --- */
    .checkout-modal-box {
        width: 95%;
        max-height: 90vh;
        padding: 20px;
    }

    .checkout-field-group {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* ==========================================
   SEPET SİSTEMİ (CART)
   ========================================== */
.cart-sidebar {
    position: fixed;
    top: 0;
    right: -400px;
    width: 350px;
    max-width: 100%;
    height: 100vh;
    height: var(--app-height, 100svh);
    background: var(--bg-main);
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    transition: 0.3s ease-in-out;
}

.cart-sidebar.open {
    right: 0;
}

.cart-header {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
}

.cart-header h3 {
    margin: 0;
    color: var(--text-main);
}

.cart-header button {
    background: none;
    border: none;
    font-size: 24px;
    color: var(--text-main);
    cursor: pointer;
}

.cart-body {
    flex: 1;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
}

.cart-items {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 10px;
}

.cart-item-info h4 {
    margin: 0 0 5px 0;
    font-size: 15px;
    color: var(--text-main);
}

.cart-item-info span {
    color: var(--primary-color);
    font-weight: 600;
}

.cart-item-remove {
    color: var(--text-muted);
    cursor: pointer;
    background: none;
    border: none;
    font-size: 16px;
    transition: 0.3s;
}

.cart-item-remove:hover {
    color: var(--primary-color);
}

.cart-footer {
    padding: 20px;
    border-top: 1px solid var(--border-color);
    background: var(--bg-alt);
}

.cart-total {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 15px;
    display: flex;
    justify-content: space-between;
    color: var(--text-main);
}

.cart-fab {
    position: fixed;
    bottom: 110px;
    /* Enhanced position to prevent overlapping with WhatsApp */
    right: 25px;
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    color: #fff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    border: none;
    cursor: pointer;
    box-shadow: 0 10px 20px rgba(230, 57, 70, 0.4);
    z-index: 1000;
    transition: transform 0.3s;
}

.cart-fab:hover {
    transform: translateY(-5px);
}

/* CART REMOVED BY USER REQUEST */
.cart-fab, .cart-sidebar, .cart-overlay-backdrop {
    display: none !important;
}

.cart-count {
    position: absolute;
    top: 0;
    right: 0;
    background: #0f1014;
    color: white;
    font-size: 12px;
    font-weight: bold;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 2px solid #fff;
}

[data-theme="dark"] .cart-count {
    background: #fff;
    color: #0f1014;
    border-color: #0f1014;
}

.cart-fly-item {
    position: fixed;
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    border-radius: 50%;
    z-index: 10000;
    pointer-events: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 14px;
    animation: flightToCart 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

@keyframes flightToCart {
    0% {
        transform: translate(0, 0) scale(1);
        opacity: 1;
    }

    50% {
        transform: translate(calc(var(--flight-x) / 2), calc(var(--flight-y) / 2)) scale(1.2);
        opacity: 0.8;
    }

    100% {
        transform: translate(var(--flight-x), var(--flight-y)) scale(0.1);
        opacity: 0.2;
    }
}

/* Cart FAB pulse when item added */
@keyframes cartPulseAnim {
    0% {
        transform: scale(1);
    }

    30% {
        transform: scale(1.42);
        box-shadow: 0 0 0 8px rgba(201, 168, 76, 0.25);
    }

    60% {
        transform: scale(1.18);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    }
}

.cart-fab.cart-pulse {
    animation: cartPulseAnim 0.5s cubic-bezier(0.36, 0.07, 0.19, 0.97);
}


/* ========================================================
   NEW ENTERPRISE FEATURES CSS — v3.0
   ======================================================== */

:root {
    --gold: #C9A84C;
    --gold-dim: rgba(201, 168, 76, 0.12);
    --warning: #f59e0b;
    --warning-dim: rgba(245, 158, 11, 0.12);
    --info: #3b82f6;
    --info-dim: rgba(59, 130, 246, 0.12);
}

.hidden {
    display: none !important;
}

/* ======================================================
   STORIES BAR
   ====================================================== */
.stories-bar {
    position: relative;
    width: 100%;
    background: transparent;
    border-bottom: none;
    padding: 0;
    display: flex;
    align-items: center;
    overflow: hidden;
    margin-left: calc(-20px);
    width: calc(100% + 40px);
    margin-bottom: 20px;
}

.stories-container {
    display: flex;
    gap: 18px;
    overflow-x: auto;
    padding: 8px 20px 12px;
    scrollbar-width: none;
    -ms-overflow-style: none;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    flex: 1;
    min-width: 0;
    overscroll-behavior: contain;
    touch-action: pan-x;
}

.stories-container::-webkit-scrollbar {
    display: none;
}

/* Kaydırma ok butonları */
.stories-scroll-btn {
    position: relative;
    z-index: 5;
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(6px);
    color: #fff;
    font-size: 0.8rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    opacity: 0;
    pointer-events: none;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.stories-scroll-btn.visible {
    opacity: 1;
    pointer-events: all;
}

.stories-scroll-btn:hover {
    background: rgba(255,255,255,0.3);
    transform: scale(1.1);
}

.stories-scroll-left  { margin-left: 8px;  }
.stories-scroll-right { margin-right: 8px; }

/* Masaüstünde stories-bar hover'da butonlar görünür */
.stories-bar:hover .stories-scroll-btn.visible {
    opacity: 1;
}

/* Mobilde ok butonları gizli — touch kaydırma yeterli */
@media (max-width: 768px) {
    .stories-scroll-btn {
        display: none !important;
    }
}

.story-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    min-width: 88px;
    scroll-snap-align: start;
    transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
    /* Pulse animation on load */
    animation: story-appear 0.5s ease-out both;
}

.story-item:nth-child(1) { animation-delay: 0.05s; }
.story-item:nth-child(2) { animation-delay: 0.12s; }
.story-item:nth-child(3) { animation-delay: 0.19s; }
.story-item:nth-child(4) { animation-delay: 0.26s; }
.story-item:nth-child(5) { animation-delay: 0.33s; }
.story-item:nth-child(n+6) { animation-delay: 0.4s; }

@keyframes story-appear {
    from { opacity: 0; transform: scale(0.7) translateY(12px); }
    to   { opacity: 1; transform: scale(1)   translateY(0);    }
}

.story-item:hover {
    transform: scale(1.12) translateY(-4px);
}

.story-item:active {
    transform: scale(0.95);
}

.story-ring {
    width: 76px;
    height: 76px;
    border-radius: 50%;
    padding: 3px;
    background: linear-gradient(135deg, var(--gold) 0%, #b38b2d 50%, var(--gold) 100%);
    margin-bottom: 7px;
    will-change: transform;
}

@keyframes story-ring-rotate {
    0%   { filter: hue-rotate(0deg); }
    100% { filter: hue-rotate(360deg); }
}

.story-avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    overflow: hidden;
    background: #1a1a1a;
    border: 2px solid #000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--gold);
}

.story-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.story-label {
    font-size: 0.72rem;
    font-weight: 600;
    color: #fff;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.9), 0 0 12px rgba(0,0,0,0.6);
    max-width: 82px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-align: center;
    letter-spacing: 0.3px;
}

/* STORY MODAL */
.story-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    z-index: 9000;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.story-modal-overlay.active {
    opacity: 1;
}

.story-modal {
    position: relative;
    width: 100%;
    max-width: 420px;
    height: 80vh;
    max-height: 750px;
    border-radius: 20px;
    overflow: hidden;
    background: #000;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.7);
}

.story-progress-bar {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: rgba(255, 255, 255, 0.25);
    z-index: 10;
}

.story-progress-fill {
    height: 100%;
    background: #fff;
    width: 0%;
    transition: width linear;
}

.story-header {
    position: absolute;
    top: 10px;
    left: 0;
    right: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 14px;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), transparent);
}

.story-avatar-sm {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--gold-dim);
    border: 2px solid var(--gold);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.story-info strong {
    color: #fff;
    font-size: 0.85rem;
    display: block;
}

.story-info span {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.7rem;
}

.story-close-btn {
    margin-left: auto;
    background: rgba(255, 255, 255, 0.15);
    border: none;
    color: #fff;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    transition: background 0.2s;
}

.story-close-btn:hover {
    background: rgba(255, 255, 255, 0.3);
}

.story-media {
    width: 100%;
    height: 100%;
}

.story-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.story-nav-btn:hover {
    background: rgba(255, 255, 255, 0.25);
}

.story-prev {
    left: 10px;
}

.story-next {
    right: 10px;
}

/* ======================================================
   TABLEMAP — MASA HARİTASI
   ====================================================== */
.tablemap-legend {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.legend-dot {
    width: 12px;
    height: 12px;
    border-radius: 3px;
}

.legend-dot.available {
    background: #22c55e;
}

.legend-dot.reserved {
    background: #ef4444;
}

.legend-dot.selected {
    background: var(--gold);
}

.tablemap-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-height: 420px;
    overflow-y: auto;
    padding-right: 4px;

    /* Fix for scroll chaining / trapped scroll issue */
    overscroll-behavior-y: auto;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-y;
}

.tablemap-grid::-webkit-scrollbar {
    width: 4px;
}

.tablemap-grid::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 2px;
}




.tablemap-zone-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.tablemap-zone-tables {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tablemap-table {
    width: 80px;
    padding: 10px 6px;
    border-radius: 10px;
    border: 2px solid;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
}

.tablemap-table.available {
    border-color: rgba(34, 197, 94, 0.4);
    background: rgba(34, 197, 94, 0.06);
}

.tablemap-table.available:hover {
    border-color: #22c55e;
    background: rgba(34, 197, 94, 0.15);
    transform: scale(1.05);
}

.tablemap-table.reserved {
    border-color: rgba(239, 68, 68, 0.3);
    background: rgba(239, 68, 68, 0.06);
    opacity: 0.6;
    cursor: not-allowed;
}

.tablemap-table.selected {
    border-color: var(--gold);
    background: var(--gold-dim);
    box-shadow: 0 0 12px rgba(201, 168, 76, 0.3);
}

.tablemap-table-icon {
    font-size: 1rem;
    margin-bottom: 4px;
}

.tablemap-table.available .tablemap-table-icon {
    color: #22c55e;
}

.tablemap-table.reserved .tablemap-table-icon {
    color: #ef4444;
}

.tablemap-table.selected .tablemap-table-icon {
    color: var(--gold);
}

.tablemap-table-label {
    font-size: 0.85rem;
    font-weight: 700;
}

.tablemap-table-cap {
    font-size: 0.65rem;
    color: var(--text-muted);
    margin-top: 2px;
}

.tablemap-selected-info {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gold);
    padding: 10px 14px;
    background: var(--gold-dim);
    border-radius: 8px;
    margin-top: 14px;
}

.tablemap-selected-info i {
    font-size: 1rem;
}

.res-step-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 16px;
}

/* ======================================================
   CHECKOUT MODAL
   ====================================================== */
.checkout-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    z-index: 10005;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
    backdrop-filter: blur(4px);
}

.checkout-modal-overlay.active {
    opacity: 1;
}

.checkout-modal-box {
    background: var(--card-bg);
    border-radius: 24px;
    padding: 36px 32px;
    width: 100%;
    max-width: 480px;
    position: relative;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
    animation: modal-in 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes modal-in {
    from {
        transform: translateY(20px) scale(0.97);
    }

    to {
        transform: translateY(0) scale(1);
    }
}

.checkout-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(0, 0, 0, 0.08);
    border: none;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    transition: background 0.2s;
}

.checkout-modal-close:hover {
    background: rgba(239, 68, 68, 0.12);
    color: #ef4444;
}

.checkout-modal-header {
    text-align: center;
    margin-bottom: 24px;
}

.checkout-modal-icon {
    width: 56px;
    height: 56px;
    background: rgba(230, 57, 70, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--primary-color);
    margin: 0 auto 12px;
}

.checkout-modal-header h2 {
    font-size: 1.4rem;
    margin-bottom: 4px;
}

.checkout-modal-header p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.checkout-field-group {
    margin-bottom: 14px;
}

.checkout-field-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 6px;
}

.checkout-input {
    width: 100%;
    padding: 12px 14px;
    background: var(--bg-alt);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    color: var(--text-main);
    font-family: inherit;
    font-size: 0.9rem;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.checkout-input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(230, 57, 70, 0.1);
}

.checkout-summary {
    background: var(--bg-alt);
    border-radius: 12px;
    padding: 14px;
    margin: 16px 0;
}

.checkout-summary-title {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.checkout-summary-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    padding: 4px 0;
    border-bottom: 1px solid var(--border-color);
}

.checkout-summary-row:last-child {
    border-bottom: none;
}

.checkout-summary-total {
    display: flex;
    justify-content: space-between;
    font-size: 0.95rem;
    font-weight: 700;
    padding-top: 8px;
    margin-top: 4px;
    color: var(--primary-color);
}

.checkout-error {
    color: #ef4444;
    font-size: 0.8rem;
    text-align: center;
    margin-top: 8px;
    min-height: 18px;
}

/* ======================================================
   ORDER STATUS PANEL (in cart sidebar)
   ====================================================== */
.order-status-panel {
    background: var(--bg-alt);
    border-radius: 12px;
    padding: 16px;
    margin: 12px 0;
    border: 1px solid var(--border-color);
}

.order-status-header {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 14px;
    color: var(--text-main);
}

.order-status-steps {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.status-step {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 10px;
    border-radius: 8px;
    transition: all 0.3s;
    opacity: 0.4;
}

.status-step.active {
    background: rgba(230, 57, 70, 0.08);
    opacity: 1;
}

.status-step.done {
    opacity: 0.7;
}

.status-step-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid var(--border-color);
    flex-shrink: 0;
    transition: all 0.3s;
}

.status-step.active .status-step-dot {
    border-color: var(--primary-color);
    background: var(--primary-color);
    box-shadow: 0 0 8px rgba(230, 57, 70, 0.4);
}

.status-step.done .status-step-dot {
    border-color: #22c55e;
    background: #22c55e;
}

.status-step-text strong {
    display: block;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 1px;
}

.status-step-text span {
    font-size: 0.72rem;
    color: var(--text-muted);
}

.order-status-countdown {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    padding: 8px 12px;
    background: rgba(249, 115, 22, 0.1);
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #f97316;
}

#order-countdown-val {
    font-variant-numeric: tabular-nums;
    font-weight: 800;
}

/* ======================================================
   STAFF LOGIN DROPDOWN
   ====================================================== */
.developer-signature {
    position: relative;
}

.staff-login-dropdown {
    position: absolute;
    bottom: 32px;
    right: 0;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 8px;
    min-width: 220px;
    box-shadow: 0 -16px 40px rgba(0, 0, 0, 0.15);
    z-index: 999;
    animation: dropdown-up 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes dropdown-up {
    from {
        transform: translateY(10px) scale(0.96);
        opacity: 0;
    }

    to {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

.staff-login-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 10px;
    color: var(--text-main);
    text-decoration: none;
    transition: background 0.2s;
}

.staff-login-option:hover {
    background: var(--bg-alt);
}

.staff-login-option i {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: rgba(230, 57, 70, 0.1);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.staff-login-option:last-child i {
    background: rgba(201, 168, 76, 0.1);
    color: var(--gold);
}

.staff-login-option strong {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
}

.staff-login-option span {
    display: block;
    font-size: 0.7rem;
    color: var(--text-muted);
    margin: 0;
}

/* ======================================================
   MENU WAIT TIME BADGE
   ====================================================== */
.menu-wait-time {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.75rem;
    color: var(--gold);
    font-weight: 600;
    background: var(--gold-dim);
    padding: 3px 10px;
    border-radius: 999px;
    margin-bottom: 10px;
}

/* ========================================
   KVKK CONSENT MODAL
   ======================================== */
.kvkk-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10010;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.kvkk-modal-overlay.kvkk-active {
    opacity: 1;
}

.kvkk-modal-box {
    background: var(--bg-card);
    /* Fallback */
    background-color: rgb(24, 24, 28);
    /* Solid dark background to prevent bleed-through */
    border: 1px solid var(--border-color);
    border-radius: 20px;
    max-width: 560px;
    width: 100%;
    position: relative;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
    transform: translateY(-20px);
    transition: transform 0.3s ease;
}

.kvkk-modal-overlay.kvkk-active .kvkk-modal-box {
    transform: translateY(0);
}

.kvkk-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 34px;
    height: 34px;
    border: none;
    background: rgba(255, 255, 255, 0.07);
    color: var(--text-muted);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    transition: all 0.2s;
    z-index: 1;
}

.kvkk-modal-close:hover {
    background: rgba(255, 255, 255, 0.12);
    color: var(--text);
}

.kvkk-modal-header {
    padding: 32px 32px 20px;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}

.kvkk-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(201, 168, 76, 0.2), rgba(201, 168, 76, 0.05));
    border: 2px solid var(--gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 1.6rem;
    color: var(--gold);
}

.kvkk-modal-header h2 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text);
    margin: 0 0 6px;
}

.kvkk-modal-header p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin: 0;
}

.kvkk-modal-body {
    padding: 24px 32px;
    font-size: 0.87rem;
    color: var(--text-muted);
    line-height: 1.7;
    max-height: 220px;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
}

.kvkk-modal-body::-webkit-scrollbar {
    width: 4px;
}

.kvkk-modal-body::-webkit-scrollbar-track {
    background: transparent;
}

.kvkk-modal-body::-webkit-scrollbar-thumb {
    background: var(--gold);
    border-radius: 4px;
}

.kvkk-modal-body strong {
    color: var(--text);
}

.kvkk-modal-footer {
    padding: 20px 32px 28px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
    border-top: 1px solid var(--border-color);
}

.kvkk-link {
    font-size: 0.82rem;
    color: var(--gold);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
    opacity: 0.85;
    transition: opacity 0.2s;
}

.kvkk-link:hover {
    opacity: 1;
}

.kvkk-confirm-btn {
    width: 100%;
    max-width: 320px;
    padding: 14px 24px;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.kvkk-cancel-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 0.82rem;
    cursor: pointer;
    text-decoration: underline;
    padding: 0;
    transition: color 0.2s;
}

.kvkk-cancel-btn:hover {
    color: var(--text);
}

@media (max-width: 600px) {
    .kvkk-modal-header {
        padding: 24px 20px 16px;
    }

    .kvkk-modal-body {
        padding: 16px 20px;
    }

    .kvkk-modal-footer {
        padding: 16px 20px 24px;
    }
}

/* ==========================================================================
   MOBILE VIEW TOGGLE - RESPONSIVE OVERRIDES & PREMIUM MOBILE POLISH
   ========================================================================== */

/* Navbar & Mobile Menu Override */
body.mobile-view-active .nav-links,
body.mobile-view-active .admin-link,
body.mobile-view-active .nav-actions .theme-btn {
    display: none !important;
}

body.mobile-view-active .mobile-menu-btn {
    display: block !important;
}

body.mobile-view-active .nav-container {
    padding: 0 15px;
}

body.mobile-view-active .logo {
    font-size: 1.4rem;
}

/* 
   MASTER ENGINE: Responsive Behavior Control
   All mobile overrides are now handled exclusively via @media queries at the end of the file.
   The 'body.mobile-view-active' class is no longer used for layout properties to prevent 'sticky' states.
*/


/* Redundant mobile overrides removed. Layout is now handled by media queries. */


/* Cart & Checkout Override */
body.mobile-view-active .checkout-modal-box {
    width: 95%;
    max-height: 90vh;
    padding: 20px;
}

body.mobile-view-active .checkout-field-group {
    flex-direction: column;
    align-items: flex-start;
}

/* ==================== TESTIMONIALS SECTION ==================== */
.testimonials {
    padding: 100px 0;
    background: var(--bg-secondary);
    position: relative;
    overflow: hidden;
}

.testimonials::before {
    content: '';
    position: absolute;
    top: -10%;
    right: -5%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(230, 57, 70, 0.05) 0%, transparent 70%);
    z-index: 0;
}

.testimonials .container {
    position: relative;
    z-index: 1;
}

.testimonials-slider-wrapper {
    margin-top: 50px;
    position: relative;
    overflow: hidden; /* Back to hidden for JS transform control */
}

.testimonials-slider {
    display: flex;
    gap: 30px;
    padding: 20px 0 40px;
    width: max-content;
    will-change: transform; /* Hardware acceleration */
}
.testimonial-card {
    /* Transitions handled by JS for smoothness */
    cursor: grab;
}

.testimonial-card:active {
    cursor: grabbing;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(var(--marquee-offset, -50%));
    }
}

.testimonials-slider:hover {
    animation-play-state: paused;
}

.testimonials-slider-wrapper {
    margin-top: 50px;
    position: relative;
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.testimonial-card {
    flex: 0 0 400px;
    background: var(--bg-card);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid var(--border);
    min-width: 350px;
    max-width: 350px;
    background: var(--card-bg);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    position: relative;
    transition: var(--transition);
    cursor: pointer;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
}

.testimonial-actions {
    margin-top: 1.5rem;
    display: flex;
    justify-content: center;
}

.testimonial-add-btn {
    padding: 10px 24px !important;
    font-size: 0.9rem !important;
    border-radius: 30px !important;
    text-transform: none !important;
    box-shadow: 0 4px 15px rgba(230, 57, 70, 0.2) !important;
}

.testimonial-card .quote-icon {
    position: absolute;
    top: 25px;
    right: 30px;
    font-size: 2.5rem;
    color: var(--primary-color);
    opacity: 0.1;
    transition: var(--transition);
}

.testimonial-card:hover .quote-icon {
    opacity: 0.2;
    transform: rotate(-10deg);
}

/* --- TESTIMONIAL POPUP (KVKK STYLE) --- */
.testimonial-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    z-index: 3000;
    display: none;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: var(--transition);
}

.testimonial-popup-overlay.active {
    opacity: 1;
}

.testimonial-popup-box {
    background: var(--card-bg);
    width: 90%;
    max-width: 550px;
    border-radius: var(--radius-lg);
    position: relative;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
    overflow: hidden;
    transform: scale(0.9);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid var(--border-color);
    max-height: 90vh; /* Prevent modal from going off-screen */
    display: flex;
    flex-direction: column;
}

.testimonial-popup-overlay.active .testimonial-popup-box {
    transform: scale(1);
}

.testimonial-popup-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 250px;
    height: 250px;
    background-image: url('favicon.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.05;
    pointer-events: none;
    z-index: 0;
}

/* Dark mode sensitivity for the logo */
[data-theme="dark"] .testimonial-popup-logo {
    opacity: 0.08;
    filter: brightness(0.8) contrast(1.2);
}

.testimonial-popup-content {
    position: relative;
    z-index: 1;
    padding: 3rem 2.5rem;
    text-align: center;
    overflow-y: auto; /* Enable scrolling for long text */
    flex: 1;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
}

.testimonial-popup-close {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition);
    color: var(--text-main);
    z-index: 10; /* Ensure it stays on top of content */
    box-shadow: var(--shadow-sm);
}

.testimonial-popup-close:hover {
    background: var(--primary-color);
    color: #fff;
    transform: rotate(90deg);
}

.testimonial-popup-stars {
    color: #f1c40f;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

#testimonial-popup-text {
    font-size: 1.15rem;
    line-height: 1.7;
    color: var(--text-main);
    font-style: italic;
    margin-bottom: 2rem;
    font-weight: 500;
}

.testimonial-popup-author {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.testimonial-popup-date {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
}

.testimonial-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-main);
    font-style: italic;
    margin-bottom: 30px;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.testimonial-footer {
    display: flex;
    align-items: center;
    gap: 15px;
}

.testimonial-info h4 {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 2px;
}

.testimonial-info span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.stars {
    color: #fbbf24;
    margin-bottom: 15px;
    display: flex;
    gap: 4px;
}

@media (max-width: 768px) {
    .testimonial-card {
        flex: 0 0 300px;
        padding: 30px;
    }

    .testimonials {
        padding: 60px 0;
    }
}

/* ============================================================
   COMPREHENSIVE MOBILE POLISH — Small Phones (≤480px)
   All interactions, spacing, and touch targets optimized
   ============================================================ */
@media (max-width: 480px) {

    /* --- Base Layout --- */
    body {
        font-size: 15px;
    }

    .container {
        padding: 0 12px;
    }

    .section-padding {
        padding: 40px 0;
    }

    .section-title {
        font-size: 1.75rem !important;
    }

    /* --- Navbar --- */
    .navbar {
        padding: 20px 0 12px;
    }

    .nav-container {
        padding: 0 12px;
        align-items: center;
    }

    .logo {
        font-size: clamp(1.05rem, 4.2vw, 1.35rem) !important;
        max-width: calc(100vw - 70px);
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .mobile-menu-btn {
        width: 44px;
        height: 44px;
        font-size: 1.1rem;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    /* --- Mobile Menu Overlay --- */
    .mobile-menu-overlay {
        padding: 20px;
    }

    .mobile-nav-links li a {
        font-size: 1.2rem;
        padding: 14px 0;
        display: block;
        border-bottom: 1px solid var(--border-color);
    }

    /* --- Hero --- */
    .hero-section {
        height: 100svh;
        min-height: 0 !important;
        align-items: stretch;
    }

    .stories-bar {
        position: relative !important;
        top: auto !important;
        margin-bottom: 12px;
    }

    .hero-content {
        padding-top: 65px !important;
        padding-bottom: 20px !important;
        justify-content: flex-start !important;
    }

    .hero-text-box {
        margin-top: 16px;
    }

    .hero-text-box h1,
    .hero-title-animated {
        font-size: 1.75rem !important;
        line-height: 1.2;
    }

    .hero-subtitle {
        font-size: 0.75rem !important;
        letter-spacing: 1.5px !important;
    }

    .hero-text-box p,
    .hero-desc-animated {
        font-size: 0.9rem !important;
        padding: 0 !important;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 12px;
        padding: 0;
    }

    .hero-buttons .btn {
        width: 100%;
        padding: 14px 20px;
        font-size: 1rem;
        min-height: 48px;
    }

    /* --- Stories Bar --- */
    .stories-bar {
        position: relative !important;
        top: auto !important;
        margin-bottom: 14px;
    }

    .stories-container {
        padding: 6px 16px 10px;
        gap: 14px;
        margin-left: 0 !important;
    }

    .story-item {
        min-width: 72px;
    }

    .story-ring {
        width: 68px;
        height: 68px;
    }

    .story-label {
        font-size: 0.68rem;
        max-width: 70px;
    }

    .story-avatar img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .hero-content {
        padding-top: 70px !important;
        padding-bottom: 30px !important;
    }

    /* --- About --- */
    .about-section {
        padding: 50px 0;
    }

    .about-features {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .feature-icon {
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }

    .feature-item h4 {
        font-size: 0.9rem;
    }

    .feature-item p {
        font-size: 0.8rem;
    }

    /* --- Menu --- */
    .menu-section {
        padding: 50px 0;
    }

    .menu-grid {
        grid-template-columns: 1fr;
        padding: 0 12px;
    }

    .menu-card {
        border-radius: 14px;
    }

    .menu-img {
        height: 180px;
    }

    .menu-info {
        padding: 16px;
    }

    .menu-info h3 {
        font-size: 1rem;
    }

    .menu-info p {
        font-size: 0.85rem;
    }

    .menu-info .price {
        font-size: 1rem;
    }

    .add-to-cart-btn,
    .menu-btn {
        min-height: 44px;
        font-size: 0.9rem;
        border-radius: 8px;
    }

    .filter-btn {
        font-size: 0.85rem;
        padding: 6px 14px;
        min-height: 36px;
    }

    .menu-filters {
        padding-bottom: 8px;
    }

    /* --- Cart Sidebar --- */
    .cart-sidebar {
        width: 100% !important;
        right: -100%;
        border-radius: 20px 20px 0 0;
        top: auto;
        bottom: -100%;
        height: 80vh;
        transition: bottom 0.35s cubic-bezier(0.4, 0, 0.2, 1), right 0s 0.35s;
    }

    .cart-sidebar.open {
        right: 0;
        bottom: 0;
        top: auto;
        transition: bottom 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .cart-header {
        padding: 16px 20px;
    }

    .cart-header h3 {
        font-size: 1.1rem;
    }

    .cart-header::before {
        content: '';
        display: block;
        width: 40px;
        height: 4px;
        background: var(--border-color);
        border-radius: 2px;
        position: absolute;
        top: 10px;
        left: 50%;
        transform: translateX(-50%);
    }

    .cart-header {
        position: relative;
    }

    .cart-items {
        padding: 12px 16px;
    }

    .cart-item {
        padding-bottom: 12px;
        gap: 10px;
    }

    .cart-item-actions {
        gap: 8px;
    }

    .cart-item-actions button {
        min-width: 44px;
        min-height: 44px;
        font-size: 1rem;
    }

    .cart-footer {
        padding: 16px;
    }

    .cart-total {
        font-size: 1.1rem;
    }

    #checkout-btn {
        min-height: 52px;
        font-size: 1rem;
        font-weight: 700;
        border-radius: 12px;
    }

    /* --- Cart FAB --- */
    .cart-fab {
        width: 52px;
        height: 52px;
        bottom: 85px;
        right: 16px;
        font-size: 20px;
    }

    .cart-count {
        font-size: 10px;
        width: 18px;
        height: 18px;
    }

    /* --- Hero Section --- */
    .hero-content {
        padding-top: 80px !important;
        padding-bottom: 40px !important;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: center;
        text-align: center;
        min-height: 85svh;
    }

    .hero-text-box {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        max-width: 320px !important;
        margin: 0 auto;
        flex: 1;
        justify-content: space-evenly;
    }

    .hero-buttons {
        width: 100%;
        margin-top: auto;
        padding-bottom: 20px;
    }

    .hero-line {
        text-align: center;
    }

    .hero-section {
        height: 100svh;
        min-height: -webkit-fill-available;
        align-items: stretch;
        padding-bottom: 0;
    }

    .hero-bg {
        height: 100% !important;
        transform: scale(1.1); /* Slight zoom for better fill */
        top: 0;
    }

    .hero-section h1 {
        font-size: 2.2rem !important;
        margin-bottom: 0.8rem;
    }
    
    .hero-line-1, .hero-line-2, .hero-line-3 {
        font-size: clamp(2.2rem, 10vw, 3.5rem) !important;
    }

    .hero-section p {
        font-size: 1rem !important;
        margin-bottom: 2rem;
    }

    /* --- WhatsApp Float --- */
    .whatsapp-float {
        width: 52px;
        height: 52px;
        bottom: 28px;
        right: 16px;
        font-size: 22px;
    }

    /* --- Checkout Modal --- */
    .checkout-modal {
        padding: 0;
        align-items: flex-end !important;
    }

    .checkout-modal-box {
        width: 100% !important;
        max-width: 100% !important;
        border-radius: 20px 20px 0 0;
        max-height: 92vh;
        padding: 24px 20px 30px;
        overflow-y: auto;
    }

    .checkout-modal-box h2 {
        font-size: 1.25rem;
    }

    .checkout-field-group {
        flex-direction: column;
        gap: 14px;
    }

    .checkout-field-group input,
    .checkout-field-group select {
        min-height: 48px;
        font-size: 1rem;
        border-radius: 10px;
    }

    .checkout-btn {
        min-height: 52px;
        font-size: 1rem;
        font-weight: 700;
        border-radius: 12px;
    }

    .checkout-summary-title {
        font-size: 1rem;
    }

    .checkout-summary-row {
        font-size: 0.9rem;
    }

    .checkout-summary-total {
        font-size: 1rem;
    }

    /* --- Reservation --- */
    .reservation-section {
        padding: 40px 0;
    }

    .reservation-wrapper {
        margin: 0 12px;
        border-radius: 16px;
        overflow: hidden;
    }

    .res-info {
        padding: 24px 20px;
    }

    .res-info h3 {
        font-size: 1.3rem;
    }

    .res-info p {
        font-size: 0.9rem;
    }

    .res-contact-list li {
        font-size: 0.9rem;
        margin-bottom: 10px;
    }

    .res-form-container {
        padding: 24px 20px;
    }

    .form-row {
        grid-template-columns: 1fr !important;
        gap: 14px;
    }

    .form-group label {
        font-size: 0.85rem;
        margin-bottom: 6px;
    }

    .form-control,
    select.form-control {
        min-height: 48px;
        font-size: 1rem;
        border-radius: 10px;
        padding: 12px 14px;
    }

    textarea.form-control {
        min-height: 80px;
    }

    .btn.btn-primary.btn-block {
        min-height: 52px;
        font-size: 1rem;
        font-weight: 700;
        border-radius: 12px;
    }

    /* --- Table Map --- */
    .tablemap-grid {
        gap: 16px;
    }

    .tablemap-zone {
        border-radius: 12px;
        padding: 14px 12px;
    }

    .tablemap-zone-label {
        font-size: 0.85rem;
        margin-bottom: 12px;
    }

    .tablemap-zone-tables {
        gap: 10px;
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(68px, 1fr));
    }

    .tablemap-table {
        padding: 10px 6px;
        border-radius: 10px;
        min-width: 64px;
        cursor: pointer;
        -webkit-tap-highlight-color: transparent;
    }

    .tablemap-table-icon {
        font-size: 1.2rem;
        margin-bottom: 4px;
    }

    .tablemap-table-label {
        font-size: 0.85rem;
        font-weight: 700;
    }

    .tablemap-table-cap {
        font-size: 0.7rem;
    }

    .tablemap-legend {
        gap: 12px;
        margin-bottom: 14px;
        flex-wrap: wrap;
    }

    .legend-item {
        font-size: 0.82rem;
    }

    #tablemap-selected-info {
        font-size: 0.9rem;
        padding: 10px 14px;
        border-radius: 10px;
    }

    #res-back-btn,
    #res-confirm-btn {
        min-height: 50px;
        font-size: 0.95rem;
        border-radius: 12px;
    }

    /* --- Order Status Tracking Panel --- */
    .order-status-card {
        padding: 16px;
        border-radius: 14px;
        margin-bottom: 12px;
    }

    .order-status-header {
        flex-wrap: wrap;
        gap: 8px;
    }

    .order-id-badge {
        font-size: 0.8rem;
        padding: 4px 10px;
    }

    .order-status-badge {
        font-size: 0.8rem;
        padding: 4px 10px;
    }

    .order-status-items {
        font-size: 0.85rem;
        margin: 8px 0;
    }

    .order-status-progress {
        gap: 0;
        margin: 12px 0;
    }

    .order-step-label {
        font-size: 0.7rem;
    }

    /* --- Gallery --- */
    .gallery-section {
        padding: 50px 0;
    }

    .gallery-grid {
        padding: 0 12px;
        gap: 12px;
    }

    .gallery-item {
        height: 220px;
        border-radius: 12px;
    }

    /* Fix for mobile gallery gap caused by desktop classes */
    .gallery-grid {
        display: grid;
        grid-template-columns: 1fr 1fr !important;
        grid-auto-rows: 200px !important;
    }

    .gallery-item.w-2, .gallery-item.h-2, .gallery-item.w-2.h-2 {
        grid-column: span 1 !important;
        grid-row: span 1 !important;
    }

    /* --- KVKK Modal --- */
    .kvkk-modal-overlay {
        padding: 0;
        align-items: flex-end;
    }

    .kvkk-modal-box {
        border-radius: 20px 20px 0 0;
        max-width: 100%;
    }

    .kvkk-modal-header {
        padding: 24px 20px 16px;
    }

    .kvkk-modal-body {
        padding: 16px 20px;
        max-height: 180px;
    }

    .kvkk-modal-footer {
        padding: 16px 20px 30px;
    }

    .kvkk-confirm-btn {
        min-height: 50px;
        font-size: 0.95rem;
    }

    /* --- Footer --- */
    .footer-top {
        padding: 40px 12px 20px;
    }

    .footer-desc {
        font-size: 0.875rem;
    }

    .footer-links a {
        font-size: 0.875rem;
        padding: 6px 0;
        display: block;
    }

    .social-links {
        gap: 10px;
        margin-top: 12px;
    }

    .social-icon {
        width: 38px;
        height: 38px;
        font-size: 0.9rem;
    }

    .footer-bottom {
        padding: 16px 12px;
        font-size: 0.8rem;
    }

    /* --- Story Modal --- */
    .story-modal-overlay {
        padding: 0;
    }

    .story-modal-content {
        border-radius: 0;
        height: 100svh;
        max-width: 100%;
    }

    .story-header {
        padding: 12px 16px;
    }

    .story-close {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .story-nav-prev,
    .story-nav-next {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    /* --- Scroll-to-top Button --- */
    .scroll-top-btn {
        width: 42px;
        height: 42px;
        font-size: 0.9rem;
        bottom: 140px;
        left: 16px;
        right: auto;
    }

    /* --- Testimonials --- */
    .testimonials {
        padding: 50px 0;
    }

    .testimonial-card {
        flex: 0 0 260px;
        padding: 24px;
    }

    .testimonial-text {
        font-size: 0.9rem;
    }

    /* Testimonial slider optimization */
    .testimonials-slider {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 16px;
        padding: 10px 0 20px;
        scrollbar-width: none; /* Hide scrollbar for cleaner look */
    }

    .testimonials-slider::-webkit-scrollbar {
        display: none;
    }

    .testimonial-card {
        flex: 0 0 280px !important;
        scroll-snap-align: center;
        margin: 0 !important;
    }

    /* --- Toast Notification --- */
    .admin-toast,
    [class*="toast"] {
        bottom: 80px !important;
        left: 12px !important;
        right: 12px;
        font-size: 0.9rem;
    }

    /* --- Make ALL inputs and buttons touch-friendly --- */
    input,
    select,
    textarea,
    button {
        -webkit-appearance: none;
        appearance: none;
    }

    input[type="date"]::-webkit-calendar-picker-indicator {
        cursor: pointer;
        padding: 8px;
    }
}

/* ============================================================
   LARGE PHONE AND TABLET IMPROVEMENTS (481px–768px)
   ============================================================ */
@media (min-width: 481px) and (max-width: 768px) {
    .cart-sidebar {
        width: 90% !important;
        right: -90%;
    }

    .cart-sidebar.open {
        right: 0;
    }

    .checkout-modal-box {
        max-width: 540px;
        border-radius: 20px;
    }

    .tablemap-zone-tables {
        grid-template-columns: repeat(auto-fill, minmax(72px, 1fr));
        gap: 10px;
    }

    .reservation-wrapper {
        margin: 0 20px;
    }

    .form-row {
        grid-template-columns: 1fr 1fr;
    }
}

/* ============================================================
   SAFE AREA INSETS — iPhone X+ notch/home-bar
   ============================================================ */
@supports (padding: env(safe-area-inset-bottom)) {
    .cart-sidebar.open {
        padding-bottom: env(safe-area-inset-bottom);
    }

    .checkout-modal-box {
        padding-bottom: calc(24px + env(safe-area-inset-bottom));
    }

    .cart-footer {
        padding-bottom: calc(20px + env(safe-area-inset-bottom));
    }

    .navbar {
        padding-top: env(safe-area-inset-top);
    }
}

/* ============================================================
   GLOBAL TOUCH OPTIMIZATIONS
   ============================================================ */
@media (hover: none) and (pointer: coarse) {

    /* Increase tap targets globally on touch devices */
    .btn,
    button,
    a[role="button"] {
        min-height: 44px;
    }

    .nav-link,
    .mobile-nav-links a {
        min-height: 48px;
        display: flex;
        align-items: center;
    }

    .tablemap-table {
        min-height: 60px;
    }

    .cart-item-actions button {
        min-width: 44px;
        min-height: 44px;
    }

    /* Remove hover effects that cause double-tap on mobile */
    .menu-card:hover {
        transform: none;
    }

    .gallery-item:hover .gallery-overlay {
        opacity: 0;
    }

    /* Durdur: scroll ile çakışan ağır animasyonlar — görsel etki korunur, jank kaldırılır */
    .hero-smoke-1,
    .hero-smoke-2,
    .hero-smoke-3 {
        animation: none !important;
        opacity: 0 !important;
    }

    .hero-flame-deco {
        animation: none !important;
        opacity: 0.35 !important;
    }

    .experience-badge::before {
        animation: none !important;
    }

    .promo-section {
        animation: none !important;
        will-change: auto !important;
    }

    .subtitle-text::after {
        animation: none !important;
        opacity: 0.5 !important;
    }
}
/* ==========================================================================
   CART BACKDROP & MOBILE GALLERY GRID FIX (ROUND 2)
   ========================================================================== */
.cart-overlay-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
}

.cart-overlay-backdrop.active {
    opacity: 1;
    visibility: visible;
}

/* Force 2-column grid on mobile without gaps */
@media screen and (max-width: 768px) {
    .gallery-grid {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
        padding: 0 5px !important;
    }

    .gallery-item {
        grid-column: span 1 !important;
        grid-row: span 1 !important;
        aspect-ratio: 1 / 1 !important;
        width: 100% !important;
        height: 100% !important;
        margin: 0 !important;
    }
    
    .gallery-item.w-2, .gallery-item.h-2 {
        grid-column: span 1 !important;
        grid-row: span 1 !important;
    }
}

/* ==========================================================================
   MOBİL RESPONSIVE FİX v3.1 — Hero tam kaplama, stories serbest, scroll jank
   ========================================================================== */

/* --- iOS/Android scroll jank fix: sadece mobilde — masaüstünde scroll'u engellemesin --- */

/* --- Hero arka plan tam kaplama (svh fix — Chrome mobile browser UI resize jank) --- */
@media (max-width: 768px) {
    .hero-section {
        height: 100svh !important;
        height: var(--app-height, 100svh) !important;
        min-height: var(--app-height, 100svh) !important;
    }

    /* iOS Safari parallax sorunu: background-attachment:fixed çalışmaz, scroll'a geç */
    .hero-bg {
        background-attachment: scroll !important;
        height: 100svh !important;
        height: var(--app-height, 100svh) !important;
        top: 0 !important;
        background-size: cover !important;
        background-position: center center !important;
    }


    /* Promo background fix for mobile scrolling stutter */
    .promo-bg {
        background-attachment: scroll !important;
        height: 100% !important;
        top: 0 !important;
    }

    /* Alt beyaz boşluk fix */
    body {
        min-height: 100svh;
        min-height: var(--app-height, 100svh);
    }

    /* Stories bar — Android'de kutuya hapsolma önlenir */
    .stories-bar {
        overflow: visible !important;
        width: 100% !important;
        max-width: 100vw;
    }

    .stories-container {
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
        padding: 4px 12px 8px !important;
        gap: 12px !important;
    }

    .story-item {
        scroll-snap-align: start;
        flex-shrink: 0;
        min-width: 64px !important;
    }

    .story-ring {
        width: 60px !important;
        height: 60px !important;
    }

    /* Story modal — tam ekran mobilde */
    .story-modal {
        width: 100vw !important;
        max-width: 100vw !important;
        height: 100svh !important;
        max-height: 100svh !important;
        border-radius: 0 !important;
    }

    /* Hero content dikey hizalama düzelt */
    .hero-content {
        padding-top: 65px !important;
        padding-bottom: env(safe-area-inset-bottom, 20px) !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: flex-start !important;
    }
}

/* iPhone XR ve üstü için ek safe-area fix */
@supports (padding-bottom: env(safe-area-inset-bottom)) {
    @media (max-width: 768px) {
        .hero-section {
            min-height: 100svh;
        }
    }
}

/* Tablet aralığı (769px-1024px): background-attachment:fixed mobil stutter fix */
@media (min-width: 769px) and (max-width: 1024px) {
    .hero-bg {
        background-attachment: scroll !important;
    }
    .promo-bg {
        background-attachment: scroll !important;
        height: 100% !important;
    }
}

/* ==========================================================================
   MENÜ KART Z-INDEX FIX — hover overlay içeriği örtmesin
   ========================================================================== */
.menu-card {
    position: relative !important;
}
.menu-img {
    position: relative;
    z-index: 1;
}
.menu-content {
    position: relative;
    z-index: 3;
}
.btn-add-cart {
    position: relative;
    z-index: 4;
}

/* ==========================================================================
   KEBAP & ATEŞ TEMALI ANİMASYONLAR v4.0
   ========================================================================== */

/* ── KEYFRAMES ── */
@keyframes flame-flicker {
    0%   { filter: brightness(1.1) drop-shadow(0 0 5px #ff4500) drop-shadow(0 0 15px #ff4500) drop-shadow(0 0 25px #e63946); }
    25%  { filter: brightness(1.4) drop-shadow(0 0 10px #ff6b00) drop-shadow(0 0 25px #ff4500) drop-shadow(0 0 40px #e63946); }
    50%  { filter: brightness(1.0) drop-shadow(0 0 4px #ff3000) drop-shadow(0 0 10px #e63946) drop-shadow(0 0 20px #c1121f); }
    75%  { filter: brightness(1.5) drop-shadow(0 0 12px #ff7700) drop-shadow(0 0 30px #ff4500) drop-shadow(0 0 45px #e63946); }
    100% { filter: brightness(1.1) drop-shadow(0 0 5px #ff4500) drop-shadow(0 0 15px #ff4500) drop-shadow(0 0 25px #e63946); }
}

@keyframes ember-pulse {
    0%, 100% { transform: scale(1) rotate(0deg);    filter: drop-shadow(0 0 0px rgba(230,57,70,0)); }
    50%       { transform: scale(1.3) rotate(10deg); filter: drop-shadow(0 0 8px rgba(230,57,70,0.8)); }
}

@keyframes kebab-glow-pulse {
    0%, 100% { filter: drop-shadow(0 0 7px rgba(230,57,70,0.7)) drop-shadow(0 2px 12px rgba(230,57,70,0.5)); }
    50%       { filter: drop-shadow(0 0 20px rgba(255,100,30,1)) drop-shadow(0 3px 25px rgba(230,57,70,0.8)); }
}

@keyframes btn-shine {
    0%   { transform: translateX(-200%); opacity: 0;   }
    20%  { opacity: 1;                                 }
    50%  { transform: translateX(280%);  opacity: 0.8; }
    100% { transform: translateX(280%);  opacity: 0;   }
}

@keyframes badge-ring-spin {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

@keyframes grill-sweep {
    0%   { background-position: -150% 0; }
    100% { background-position: 250% 0;  }
}

@keyframes underline-draw {
    from { width: 0;    opacity: 0; }
    to   { width: 100%; opacity: 1; }
}

@keyframes gradient-shift {
    0%   { background-position: 0% 0;   }
    100% { background-position: 200% 0; }
}

@keyframes flame-spin {
    0%   { transform: rotate(0deg)   scale(1);   color: #e63946; filter: drop-shadow(0 0 10px rgba(230,57,70,1));  }
    25%  { transform: rotate(90deg)  scale(1.4); color: #ff7730; filter: drop-shadow(0 0 20px rgba(255,119,48,1)); }
    50%  { transform: rotate(180deg) scale(1);   color: #e63946; filter: drop-shadow(0 0 10px rgba(230,57,70,1));  }
    75%  { transform: rotate(270deg) scale(1.4); color: #ff7730; filter: drop-shadow(0 0 20px rgba(255,119,48,1)); }
    100% { transform: rotate(360deg) scale(1);   color: #e63946; filter: drop-shadow(0 0 10px rgba(230,57,70,1));  }
}

@keyframes promo-fire-border {
    0%, 100% { filter: drop-shadow(0 0 12px rgba(230,57,70,0.4)); }
    50%       { filter: drop-shadow(0 0 30px rgba(255,100,30,0.8)); }
}

@keyframes social-pop {
    0%   { transform: scale(1)    rotate(0deg);   }
    40%  { transform: scale(1.35) rotate(-15deg); }
    70%  { transform: scale(1.15) rotate(8deg);   }
    100% { transform: scale(1)    rotate(0deg);   }
}

@keyframes flame-deco-float {
    0%, 100% { transform: translateY(0)     rotate(-8deg) scale(1);    opacity: 0.55; }
    50%       { transform: translateY(-20px) rotate(8deg)  scale(1.15); opacity: 0.8;  }
}

@keyframes smoke-rise {
    0%   { transform: translateY(0)      scale(0.5); opacity: 0;   }
    10%  { opacity: 0.7; }
    70%  { opacity: 0.25; }
    100% { transform: translateY(-220px) scale(2.8); opacity: 0;   }
}

/* Izgara kıvılcım */
@keyframes grill-spark-pulse {
    0%        { opacity: 0;   transform: scale(0.4) translateY(0);    }
    20%        { opacity: 1;   transform: scale(1.8) translateY(-10px); }
    60%        { opacity: 0.4; transform: scale(1.2) translateY(-18px); }
    100%       { opacity: 0;   transform: scale(0.2) translateY(-26px); }
}

@keyframes grill-line-glow {
    0%, 100% { opacity: 0.35; stroke-width: 2; }
    50%       { opacity: 1;    stroke-width: 3; }
}

/* ── 1. HERO HIGHLIGHT — ALEV ── */
.hero-section h1 .highlight {
    animation: flame-flicker 2s ease-in-out infinite !important;
    color: #ff6b35 !important;
    font-style: italic;
    will-change: filter;
}

/* ── 2. HERO ALEV + DUMAN — ARKA PLANDA, TAM GÖRÜNÜR ── */
.hero-flame-deco {
    position: absolute !important;
    bottom: 70px !important;
    right: 5% !important;
    font-size: 7rem !important;
    color: #ff4500 !important;
    opacity: 0.55 !important;        /* daha görünür */
    z-index: 3 !important;           /* overlay(2) üstünde, içerik(3) altında */
    pointer-events: none !important;
    animation: flame-deco-float 3.5s ease-in-out infinite !important;
    filter: drop-shadow(0 0 40px rgba(255,69,0,1)) drop-shadow(0 0 80px rgba(230,57,70,0.6)) !important;
}

.hero-smoke-1,
.hero-smoke-2,
.hero-smoke-3 {
    position: absolute !important;
    border-radius: 50% !important;
    pointer-events: none !important;
    z-index: 3 !important;
    background: radial-gradient(circle, rgba(255,200,150,0.35) 0%, rgba(255,255,255,0.08) 70%) !important;
    will-change: transform, opacity;
}
.hero-smoke-1 { width: 80px;  height: 80px;  bottom: 110px; right: 8.5%; animation: smoke-rise 5s  linear 0s  infinite !important; }
.hero-smoke-2 { width: 55px;  height: 55px;  bottom: 130px; right: 12%;  animation: smoke-rise 7s  linear 2s  infinite !important; }
.hero-smoke-3 { width: 100px; height: 100px; bottom: 95px;  right: 5%;   animation: smoke-rise 9s  linear 4s  infinite !important; }

/* ── 3. FEATURE İKONLARI ── */
.feature-item i {
    animation: ember-pulse 2s ease-in-out infinite !important;
    will-change: transform, filter;
}
.feature-item:nth-child(2) i { animation-delay: 0.5s !important; }
.feature-item:nth-child(3) i { animation-delay: 1s   !important; }

/* ── 4. TECRÜBE ROZETİ ── */
.experience-badge {
    position: relative;
    overflow: visible !important;
}
.experience-badge::before {
    content: '';
    position: absolute;
    inset: -5px;
    border-radius: 50%;
    background: conic-gradient(
        from 0deg,
        rgba(230,57,70,0.9)  0%,
        rgba(255,150,0,0.9)  25%,
        rgba(230,57,70,0.15) 50%,
        rgba(255,150,0,0.9)  75%,
        rgba(230,57,70,0.9)  100%
    );
    animation: badge-ring-spin 2.5s linear infinite !important;
    z-index: -1;
}

/* ── 5. CTA BUTONU ── */
.btn-glow {
    animation: kebab-glow-pulse 1.8s ease-in-out infinite !important;
    position: relative !important;
    overflow: hidden !important;
    will-change: filter;
}
.btn-glow::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important; left: 0 !important;
    width: 55% !important;
    height: 100% !important;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent) !important;
    animation: btn-shine 2.5s ease-in-out infinite !important;
    pointer-events: none !important;
    z-index: 1 !important;
}

/* ── 6. MENÜ KARTLARI — IZGARA IŞIĞI (içeriği ÖRTMEZ) ── */
.menu-card::after {
    content: '' !important;
    position: absolute !important;
    inset: 0 !important;
    border-radius: inherit !important;
    background: linear-gradient(
        105deg,
        transparent 30%,
        rgba(255,150,50,0.18) 47%,
        rgba(255,210,80,0.10) 53%,
        transparent 70%
    ) !important;
    background-size: 300% 100% !important;
    opacity: 0 !important;
    pointer-events: none !important;
    z-index: 0 !important;          /* içerik (z:3) altında */
    transition: opacity 0.3s !important;
}
.menu-card:hover::after {
    opacity: 1 !important;
    animation: grill-sweep 0.7s ease forwards !important;
}
/* Kızgın kor kenar çizgisi */
.menu-card::before {
    content: '' !important;
    position: absolute !important;
    inset: 0 !important;
    border-radius: inherit !important;
    border: 2px solid transparent !important;
    background:
        linear-gradient(var(--card-bg), var(--card-bg)) padding-box,
        linear-gradient(135deg, rgba(255,100,30,0), rgba(230,57,70,0.8), rgba(255,140,0,0.5)) border-box !important;
    opacity: 0 !important;
    transition: opacity 0.3s ease !important;
    pointer-events: none !important;
    z-index: 0 !important;          /* içerik (z:3) altında */
}
.menu-card:hover::before {
    opacity: 1 !important;
}

/* ── 7. SECTION BAŞLIKLARI ── */
.section-heading h2 {
    position: relative !important;
    display: inline-block !important;
}
.section-heading h2::after {
    content: '' !important;
    display: block !important;
    height: 4px !important;
    width: 0 !important;
    background: linear-gradient(90deg, #e63946, #ff7730, #e63946) !important;
    background-size: 200% 100% !important;
    border-radius: 3px !important;
    margin-top: 8px !important;
    opacity: 0 !important;
    will-change: width !important;
}
.section-heading.in-view h2::after {
    animation: underline-draw 0.7s cubic-bezier(0.4,0,0.2,1) forwards,
               gradient-shift 3s linear 0.7s infinite !important;
}

/* ── 8. PROMO SECTION ── */
.promo-section {
    animation: promo-fire-border 3s ease-in-out infinite !important;
    will-change: filter;
}

/* ── 9. PRELOADER ── */
.spinning-icon {
    animation: flame-spin 0.9s linear infinite !important;
    display: inline-block !important;
}

/* ── 10. SOSYAL İKONLAR ── */
.social-icon:hover {
    animation: social-pop 0.4s ease forwards !important;
}

/* ── REDUCED MOTION ── */
@media (prefers-reduced-motion: reduce) {
    .hero-section h1 .highlight,
    .feature-item i,
    .btn-glow,
    .spinning-icon,
    .hero-flame-deco,
    .hero-smoke-1, .hero-smoke-2, .hero-smoke-3,
    .experience-badge::before,
    .promo-section,
    .section-heading.in-view h2::after,
    .menu-card:hover::after,
    .social-icon:hover,
    .logo-char, .subtitle-flame-left, .subtitle-flame-right,
    .hero-line, .highlight-ember, .hero-desc-animated, .hero-buttons,
    .subtitle-text::after,
    .story-ring,
    .logo-char.logo-red,
    .cooking-author .letter,
    .cooking-author .pan {        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
        filter: none !important;
        will-change: auto !important;
    }
    .btn-glow::before { display: none !important; }
    .section-heading h2::after { width: 100% !important; opacity: 1 !important; }
    .highlight-ember { -webkit-text-fill-color: #fff; color: #fff; }
}

/* ==========================================
   CLEAN RESPONSIVE ENGINE (INDEPENDENT)
   ========================================== */

/* 1. Desktop Defaults (min-width: 769px) */
@media (min-width: 769px) {
    .hero-content {
        justify-content: center;
        padding-top: 100px;
        min-height: 100vh;
    }

    .hero-text-box {
        max-width: 850px;
        margin-top: 40px;
        text-align: left;
    }

    .hero-title-animated {
        gap: 0;
    }

    .hero-line {
        font-size: clamp(3.5rem, 6vw, 6rem);
        line-height: 1;
    }

    .stories-bar {
        display: flex !important; /* Force visibility if JS doesn't trigger early enough */
        justify-content: flex-start;
        margin-bottom: 50px;
        width: auto;
        max-width: 900px;
    }

    .stories-container {
        justify-content: flex-start;
        overflow: visible;
        padding: 10px 0;
    }

    .hero-buttons {
        flex-direction: row;
        gap: 20px;
        margin-top: 40px;
    }

    .hero-buttons .btn {
        width: auto;
        min-width: 180px;
    }
}

/* 2. Mobile Specifics (max-width: 768px) */
@media (max-width: 768px) {
    .hero-section {
        height: 100vh;
        height: 100svh;
    }

    .hero-content {
        height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        padding: 80px 20px 40px;
    }

    .hero-text-box {
        flex-grow: 1;
        display: flex;
        flex-direction: column;
        justify-content: center;
        text-align: center;
        margin-top: 20px;
    }

    .hero-line {
        font-size: 2.5rem;
        line-height: 1.2;
        margin-bottom: 5px;
    }

    .hero-desc-animated {
        font-size: 1.1rem;
        margin: 15px auto;
        max-width: 320px;
    }

    .stories-bar {
        display: flex !important;
        justify-content: center;
        margin: 10px 0 20px;
        width: 100%;
    }

    .stories-container {
        justify-content: center;
        gap: 12px;
    }

    .hero-buttons {
        width: 100%;
        display: flex;
        flex-direction: column;
        gap: 12px;
        padding-bottom: 20px;
    }

    .hero-buttons .btn {
        width: 100%;
        padding: 16px;
        font-size: 1.1rem;
        border-radius: 12px;
    }
    
    /* Logo adjustment for mobile */
    .logo {
        font-size: 1.6rem;
    }
}

/* ==================== IKRAM POPUP ==================== */
.ikram-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(5px);
    z-index: 9999;
    display: none;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.ikram-popup-overlay.show {
    opacity: 1;
}

.ikram-popup-box {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    max-width: 450px;
    width: 90%;
    position: relative;
    transform: scale(0.9);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    color: var(--text-main);
}

.ikram-popup-overlay.show .ikram-popup-box {
    transform: scale(1);
}

.ikram-popup-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 1.2rem;
    cursor: pointer;
    transition: color 0.3s;
}

.ikram-popup-close:hover {
    color: var(--primary-color);
}

.ikram-popup-icon {
    font-size: 3rem;
    margin-bottom: 15px;
    text-shadow: 0 0 20px rgba(230, 57, 70, 0.4);
}

.ikram-popup-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.ikram-popup-text {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 25px;
    color: #eee;
}

.ikram-popup-text strong {
    color: var(--gold, #d4af37);
    display: block;
    margin: 10px 0;
    font-size: 1.15rem;
}

.ikram-popup-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 12px 30px;
    font-size: 1.1rem;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 600;
    transition: transform 0.2s, box-shadow 0.2s;
}

.ikram-popup-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(230, 57, 70, 0.4);
}

@media (max-width: 500px) {
    .ikram-popup-box {
        padding: 30px 20px;
    }
    .ikram-popup-title {
        font-size: 1.6rem;
    }
    .ikram-popup-text {
        font-size: 1rem;
    }
}

/* ==========================================================================
   MODERN EXPERIENCE V5 — editorial restaurant design system
   This layer intentionally overrides presentation only. Existing CMS, API,
   menu, reservation and ordering behaviour remains owned by the core styles.
   ========================================================================== */
:root {
    --gold: #d6b06c;
    --gold-soft: #f0d6a3;
    --ink: #171512;
    --paper: #f5f0e8;
    --paper-deep: #ebe2d5;
    --glass: rgba(250, 247, 241, 0.72);
    --glass-strong: rgba(250, 247, 241, 0.9);
    --glass-border: rgba(255, 255, 255, 0.58);
    --font-heading: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --radius-md: 18px;
    --radius-lg: 30px;
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-spring: cubic-bezier(0.22, 1.25, 0.36, 1);
    --section-space: clamp(90px, 10vw, 160px);
    --shadow-sm: 0 12px 36px rgba(37, 28, 18, 0.07);
    --shadow-md: 0 24px 70px rgba(37, 28, 18, 0.12);
    --shadow-lg: 0 42px 110px rgba(22, 17, 12, 0.2);
}

[data-theme="dark"] {
    --bg-main: #0d0d0c;
    --bg-alt: #141310;
    --card-bg: #181714;
    --text-main: #f5f0e8;
    --text-muted: #aaa399;
    --border-color: rgba(255, 255, 255, 0.1);
    --paper: #0d0d0c;
    --paper-deep: #15130f;
    --ink: #f5f0e8;
    --glass: rgba(16, 15, 13, 0.72);
    --glass-strong: rgba(17, 16, 14, 0.9);
    --glass-border: rgba(255, 255, 255, 0.12);
}

[data-theme="light"] {
    --bg-main: #f8f6f1;
    --bg-alt: #eee9e1;
    --card-bg: #fffdf9;
    --text-main: #1c1915;
    --text-muted: #555b59;
    --border-color: rgba(37, 31, 24, 0.14);
    --paper: #f8f6f1;
    --paper-deep: #eee8de;
    --ink: #171512;
    --glass: rgba(255, 253, 249, 0.76);
    --glass-strong: rgba(255, 253, 249, 0.92);
    --glass-border: rgba(56, 45, 33, 0.12);
}

html {
    scroll-padding-top: 112px;
}

body {
    background:
        radial-gradient(circle at 8% 18%, color-mix(in srgb, var(--gold) 11%, transparent), transparent 34rem),
        radial-gradient(circle at 92% 42%, color-mix(in srgb, var(--primary-color) 7%, transparent), transparent 38rem),
        var(--bg-main);
    font-family: var(--font-body);
    font-weight: 450;
    letter-spacing: -0.012em;
    text-rendering: optimizeLegibility;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    opacity: 0.18;
    background-image:
        linear-gradient(rgba(120, 103, 78, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(120, 103, 78, 0.08) 1px, transparent 1px);
    background-size: 72px 72px;
    mask-image: radial-gradient(circle at center, #000 15%, transparent 78%);
}

::selection {
    background: color-mix(in srgb, var(--primary-color) 82%, black);
    color: #fff;
}

.container {
    width: min(100% - 40px, 1320px);
    max-width: 1320px;
}

.section-padding {
    padding-top: var(--section-space);
    padding-bottom: var(--section-space);
}

.bg-alt {
    position: relative;
    background:
        linear-gradient(140deg, color-mix(in srgb, var(--gold) 5%, transparent), transparent 45%),
        color-mix(in srgb, var(--bg-alt) 92%, transparent);
}

/* Floating navigation */
.navbar,
.navbar.scrolled {
    top: 16px;
    left: 50%;
    width: min(calc(100% - 32px), 1480px);
    padding: 0;
    transform: translateX(-50%);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    background: rgba(10, 10, 9, 0.42);
    box-shadow: 0 18px 65px rgba(0, 0, 0, 0.14), inset 0 1px rgba(255, 255, 255, 0.13);
    backdrop-filter: blur(28px) saturate(150%);
    -webkit-backdrop-filter: blur(28px) saturate(150%);
    transition: width 0.55s var(--ease-out-expo), top 0.55s var(--ease-out-expo), background 0.4s ease, box-shadow 0.4s ease;
}

.navbar.scrolled {
    top: 10px;
    width: min(calc(100% - 48px), 1320px);
    background: var(--glass-strong);
    border-color: var(--glass-border);
    box-shadow: 0 18px 60px rgba(28, 21, 15, 0.14), inset 0 1px rgba(255, 255, 255, 0.44);
}

.nav-container {
    max-width: none;
    min-height: 68px;
    padding: 8px 14px 8px 22px;
    gap: clamp(18px, 3vw, 42px);
}

.logo,
.navbar.scrolled .logo {
    max-width: 360px;
    color: #fff !important;
    font-family: var(--font-heading);
    font-size: clamp(1.15rem, 1.9vw, 1.62rem);
    font-weight: 700;
    letter-spacing: 0.035em;
    line-height: 1;
}

.navbar.scrolled .logo {
    color: var(--text-main) !important;
}

.logo-modern {
    display: inline-flex;
    align-items: baseline;
    gap: 0.28em;
}

.logo-word {
    display: inline-block;
}

.logo .logo-word:not(.logo-red),
.logo .logo-char:not(.logo-red) {
    color: inherit !important;
}

.logo-word-accent,
.logo .logo-word.logo-red,
.logo .logo-char.logo-red {
    color: var(--primary-color);
    font-style: italic;
}

.nav-links {
    gap: 4px;
    align-items: center;
    padding: 4px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.12);
}

.navbar.scrolled .nav-links {
    background: color-mix(in srgb, var(--bg-main) 55%, transparent);
    border-color: var(--border-color);
}

.nav-link,
.navbar.scrolled .nav-link {
    display: block;
    padding: 9px 15px;
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    transition: color 0.3s ease, background 0.3s ease, transform 0.3s var(--ease-spring);
}

.navbar.scrolled .nav-link {
    color: var(--text-muted);
}

.nav-link::after {
    display: none;
}

.nav-link:hover,
.nav-link.active,
.navbar.scrolled .nav-link:hover,
.navbar.scrolled .nav-link.active {
    color: #fff;
    background: var(--primary-color);
    transform: translateY(-1px);
}

.nav-actions {
    gap: 7px;
}

.theme-btn,
.admin-link,
.navbar.scrolled .theme-btn,
.navbar.scrolled .admin-link {
    width: 42px;
    height: 42px;
    border-color: rgba(255, 255, 255, 0.17);
    background: rgba(255, 255, 255, 0.09);
    color: #fff;
    backdrop-filter: blur(16px);
}

.navbar.scrolled .theme-btn,
.navbar.scrolled .admin-link {
    color: var(--text-main);
    border-color: var(--border-color);
    background: color-mix(in srgb, var(--card-bg) 76%, transparent);
}

/* Hero: cinematic, editorial and CMS-driven */
.hero-section {
    min-height: 100svh;
    isolation: isolate;
    overflow: hidden;
}

.hero-bg {
    inset: -4%;
    width: 108%;
    height: 108%;
    filter: saturate(0.82) contrast(1.08);
    transform: scale(1.04);
    animation: hero-breathe 18s ease-in-out infinite alternate;
}

@keyframes hero-breathe {
    to { transform: scale(1.1) translate3d(-1%, -1%, 0); }
}

.hero-overlay {
    background:
        linear-gradient(90deg, rgba(7, 7, 6, 0.88) 0%, rgba(7, 7, 6, 0.64) 42%, rgba(7, 7, 6, 0.12) 74%),
        linear-gradient(0deg, rgba(7, 7, 6, 0.78) 0%, transparent 44%);
}

.hero-ambient,
.gallery-orbit-glow {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(12px);
}

.hero-ambient {
    z-index: 1;
    width: min(42vw, 620px);
    aspect-ratio: 1;
    opacity: 0.32;
    animation: ambient-float 10s ease-in-out infinite alternate;
}

.hero-ambient-one {
    top: -26%;
    right: -8%;
    background: radial-gradient(circle, color-mix(in srgb, var(--primary-color) 58%, transparent), transparent 69%);
}

.hero-ambient-two {
    bottom: -38%;
    left: 10%;
    background: radial-gradient(circle, color-mix(in srgb, var(--gold) 46%, transparent), transparent 69%);
    animation-delay: -4s;
}

@keyframes ambient-float {
    to { transform: translate3d(7%, -5%, 0) scale(1.12); }
}

.hero-grain {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    opacity: 0.12;
    mix-blend-mode: soft-light;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
}

.hero-content {
    z-index: 3;
    padding-top: 142px;
    padding-bottom: 72px;
}

.hero-text-box {
    width: min(100%, 790px);
    max-width: 790px;
}

.hero-subtitle {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    width: auto;
    padding: 9px 15px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.19em;
}

.hero-title-animated,
.hero-section h1 {
    margin-top: 22px;
    font-family: var(--font-heading);
    font-size: clamp(4rem, 8.4vw, 8.4rem);
    font-weight: 600;
    line-height: 0.78;
    letter-spacing: -0.055em;
    text-wrap: balance;
}

.hero-line {
    padding-bottom: 0.08em;
}

.hero-line-2 {
    color: var(--gold-soft);
    font-style: italic;
    font-weight: 500;
}

.hero-line-3 {
    font-size: 0.84em;
}

.hero-desc-animated,
.hero-section p {
    max-width: 620px;
    margin-top: 30px;
    color: rgba(255, 255, 255, 0.72);
    font-size: clamp(0.98rem, 1.35vw, 1.18rem);
    line-height: 1.75;
}

.hero-buttons {
    gap: 12px;
    margin-top: 32px;
}

.hero-buttons .btn {
    min-height: 54px;
    padding: 0 25px;
    border-radius: 999px;
    font-size: 0.88rem;
    letter-spacing: -0.01em;
}

.hero-buttons .btn-primary {
    box-shadow: 0 16px 42px color-mix(in srgb, var(--primary-color) 42%, transparent);
}

.hero-proof {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-top: 34px;
    color: #fff;
}

.hero-proof-item {
    display: grid;
    gap: 2px;
}

.hero-proof-item strong {
    font-family: var(--font-heading);
    font-size: 1.85rem;
    line-height: 1;
    color: var(--gold-soft);
}

.hero-proof-item span {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.62);
}

.hero-proof-separator {
    width: 1px;
    height: 34px;
    background: rgba(255, 255, 255, 0.22);
}

.hero-scroll-cue {
    position: absolute;
    right: clamp(26px, 4vw, 64px);
    bottom: 30px;
    z-index: 4;
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.64rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    writing-mode: vertical-rl;
}

.hero-scroll-cue::after {
    content: '';
    width: 1px;
    height: 56px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.8), transparent);
    animation: scroll-cue 1.8s ease-in-out infinite;
}

@keyframes scroll-cue {
    50% { transform: scaleY(0.55); transform-origin: bottom; opacity: 0.45; }
}

/* Scroll reveals: blur resolves into sharp content */
.modern-reveal {
    opacity: 0;
    filter: blur(15px);
    transform: translate3d(0, 54px, 0) scale(0.985);
    transition:
        opacity 0.9s var(--ease-out-expo),
        filter 1.15s var(--ease-out-expo),
        transform 1.05s var(--ease-out-expo);
    transition-delay: calc(var(--reveal-index, 0) * 70ms);
    will-change: opacity, filter, transform;
}

.modern-reveal.is-revealed {
    opacity: 1;
    filter: blur(0);
    transform: translate3d(0, 0, 0) scale(1);
}

.section-heading .subtitle {
    margin-bottom: 14px;
    color: var(--primary-color);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.section-heading h2,
.reservation-content h2,
.promo-content h2 {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 5.8vw, 5.7rem);
    font-weight: 600;
    line-height: 0.94;
    letter-spacing: -0.045em;
    text-wrap: balance;
}

.section-heading h2,
.about-section,
.gallery-section,
.testimonials {
    color: var(--text-main);
}

.about-section,
.gallery-section {
    background-color: var(--bg-main);
}

.about-section {
    background-image:
        radial-gradient(circle at 8% 20%, color-mix(in srgb, var(--gold) 9%, transparent), transparent 30rem),
        linear-gradient(180deg, color-mix(in srgb, var(--bg-main) 96%, transparent), var(--bg-main));
}

[data-theme="light"] .about-text > p {
    color: #4b5351;
}

[data-theme="light"] .feature-item {
    color: #211e19;
    background: rgba(255, 253, 249, 0.9);
    border-color: rgba(38, 31, 24, 0.14);
}

[data-theme="dark"] .about-text > p {
    color: #b8b1a7;
}

.section-intro {
    max-width: 620px;
    margin: 20px auto 0;
    color: var(--text-muted);
    font-size: clamp(0.98rem, 1.3vw, 1.12rem);
    line-height: 1.78;
}

/* Glass surfaces used throughout the experience */
.feature-item,
.menu-item,
.reservation-wrapper,
.testimonial-card,
.about-images .img-main,
.about-images .img-small {
    border: 1px solid color-mix(in srgb, var(--border-color) 74%, transparent);
    box-shadow: var(--shadow-sm);
}

.about-grid {
    gap: clamp(54px, 8vw, 120px);
    align-items: center;
}

.about-text > p {
    max-width: 610px;
    color: var(--text-muted);
    font-size: 1.02rem;
    line-height: 1.85;
}

.features-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 30px;
}

.feature-item {
    min-height: 132px;
    padding: 20px 16px;
    border-radius: 22px;
    background: color-mix(in srgb, var(--card-bg) 82%, transparent);
    backdrop-filter: blur(18px);
    transition: transform 0.45s var(--ease-spring), border-color 0.3s ease, box-shadow 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-8px);
    border-color: color-mix(in srgb, var(--gold) 55%, transparent);
    box-shadow: var(--shadow-md);
}

.about-images {
    min-height: 610px;
    perspective: 1200px;
}

.about-images img {
    border-radius: 32px;
    filter: saturate(0.82) contrast(1.04);
    transition: transform 0.8s var(--ease-out-expo), filter 0.5s ease;
}

.about-images:hover img {
    filter: saturate(1) contrast(1.02);
}

.about-images .img-main:hover {
    transform: rotateY(-3deg) translateY(-7px);
}

.menu-filters {
    width: fit-content;
    max-width: 100%;
    margin: 34px auto 54px;
    padding: 6px;
    border: 1px solid var(--border-color);
    border-radius: 999px;
    background: var(--glass);
    box-shadow: var(--shadow-sm);
    backdrop-filter: blur(24px) saturate(140%);
    overflow-x: auto;
}

.filter-btn {
    min-height: 42px;
    padding: 0 18px;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 750;
}

.menu-grid {
    gap: 22px;
    transition: opacity 0.22s ease, transform 0.32s var(--ease-out-expo);
}

.menu-grid.is-switching {
    opacity: 0.2;
    transform: translateY(8px) scale(0.992);
}

.menu-item {
    border-radius: 28px;
    background: color-mix(in srgb, var(--card-bg) 94%, transparent);
    overflow: hidden;
    transition: transform 0.6s var(--ease-out-expo), box-shadow 0.45s ease, border-color 0.45s ease;
}

.menu-item:hover {
    transform: translateY(-10px);
    border-color: color-mix(in srgb, var(--gold) 45%, transparent);
    box-shadow: var(--shadow-md);
}

.menu-item-image img {
    transition: transform 1.1s var(--ease-out-expo), filter 0.5s ease;
}

.menu-item:hover .menu-item-image img {
    transform: scale(1.075);
    filter: saturate(1.08);
}

.promo-section {
    min-height: min(720px, 82vh);
    display: grid;
    align-items: center;
    isolation: isolate;
}

.promo-bg {
    filter: saturate(0.78) contrast(1.08);
}

.promo-section::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    background: linear-gradient(90deg, rgba(8, 8, 7, 0.88), rgba(8, 8, 7, 0.36) 64%, rgba(8, 8, 7, 0.16));
}

.promo-content {
    position: relative;
    z-index: 1;
    max-width: 740px;
}

/* Perspective, draggable gallery wheel */
.gallery-section {
    position: relative;
    overflow: hidden;
}

.gallery-experience {
    margin-top: clamp(46px, 7vw, 88px);
}

.gallery-orbit-shell {
    position: relative;
    height: clamp(430px, 58vw, 690px);
    perspective: 1800px;
    perspective-origin: 50% 42%;
}

.gallery-orbit-glow {
    inset: 16% 24%;
    background: radial-gradient(circle, color-mix(in srgb, var(--primary-color) 19%, transparent), color-mix(in srgb, var(--gold) 11%, transparent) 38%, transparent 72%);
    filter: blur(42px);
}

.gallery-grid {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    overflow: visible;
    cursor: grab;
    touch-action: pan-y;
    user-select: none;
    transform-style: preserve-3d;
}

.gallery-grid:active {
    cursor: grabbing;
}

.gallery-item {
    position: absolute;
    top: 50%;
    left: 50%;
    width: clamp(245px, 34vw, 485px);
    aspect-ratio: 4 / 5;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 32px;
    outline: none;
    background: transparent;
    opacity: 0.56;
    filter: saturate(0.62) brightness(0.72);
    transform:
        translate3d(calc(-50% + var(--offset, 0) * clamp(118px, 19vw, 265px)), calc(-50% + var(--abs-offset, 0) * 22px), calc(var(--abs-offset, 0) * -135px))
        rotateY(calc(var(--offset, 0) * -13deg))
        scale(calc(1 - var(--abs-offset, 0) * 0.075));
    transform-style: preserve-3d;
    z-index: calc(20 - var(--abs-offset, 0));
    transition: transform 0.85s var(--ease-out-expo), opacity 0.55s ease, filter 0.55s ease;
}

.gallery-item.is-active {
    opacity: 1;
    filter: saturate(1) brightness(1);
}

.gallery-item.is-outside {
    opacity: 0;
    pointer-events: none;
}

.gallery-item:focus-visible .gallery-frame {
    outline: 3px solid var(--gold);
    outline-offset: 6px;
}

.gallery-frame {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.36);
    border-radius: inherit;
    background: #111;
    box-shadow: 0 40px 100px rgba(20, 14, 9, 0.28), inset 0 1px rgba(255, 255, 255, 0.3);
}

.gallery-frame::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(180deg, transparent 50%, rgba(5, 5, 4, 0.82));
}

.gallery-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s var(--ease-out-expo);
}

.gallery-item.is-active:hover .gallery-frame img {
    transform: scale(1.055);
}

.gallery-frame .gallery-overlay {
    z-index: 2;
    inset: auto 0 0;
    height: auto;
    min-height: 136px;
    padding: 34px 28px 24px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
    color: #fff;
    background: transparent;
    opacity: 0;
    transform: translate3d(0, 10px, 0);
    transition: opacity 0.35s ease, transform 0.5s var(--ease-out-expo);
}

.gallery-item.is-active .gallery-overlay {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

.gallery-caption {
    width: min(76%, 340px);
    min-height: 2em;
    display: -webkit-box;
    overflow: hidden;
    overflow-wrap: anywhere;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    font-family: var(--font-heading);
    font-size: clamp(1.45rem, 2.4vw, 2.25rem);
    font-weight: 600;
    line-height: 1;
    text-align: left;
    text-wrap: balance;
}

.gallery-expand-icon {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(16px);
}

.gallery-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 22px;
    margin-top: 28px;
}

.gallery-control {
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    border: 1px solid var(--border-color);
    border-radius: 50%;
    color: var(--text-main);
    background: var(--glass);
    box-shadow: var(--shadow-sm);
    backdrop-filter: blur(20px);
    cursor: pointer;
    transition: transform 0.35s var(--ease-spring), color 0.3s ease, background 0.3s ease;
}

.gallery-control:hover {
    color: #fff;
    background: var(--primary-color);
    transform: scale(1.09);
}

.gallery-progress {
    min-width: 90px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-size: 1.15rem;
}

.gallery-progress > span {
    width: 34px;
    height: 1px;
    background: var(--border-color);
}

.gallery-current {
    color: var(--primary-color);
    font-size: 1.55rem;
}

.gallery-drag-hint {
    margin-top: 14px;
    color: var(--text-muted);
    font-size: 0.67rem;
    font-weight: 750;
    letter-spacing: 0.09em;
    text-align: center;
    text-transform: uppercase;
}

.gallery-drag-hint i {
    margin-right: 6px;
    color: var(--gold);
}

/* Reservation and testimonials */
.reservation-wrapper {
    border-radius: 36px;
    background: color-mix(in srgb, var(--card-bg) 86%, transparent);
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(28px) saturate(125%);
    overflow: hidden;
}

.reservation-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 42%, rgba(7, 7, 6, 0.5));
}

.reservation-content {
    padding: clamp(34px, 5vw, 74px);
}

.form-control {
    min-height: 52px;
    border-radius: 15px;
    background: color-mix(in srgb, var(--bg-main) 76%, transparent);
}

.form-control:focus {
    border-color: color-mix(in srgb, var(--gold) 72%, transparent);
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--gold) 13%, transparent);
}

.testimonials {
    padding-top: var(--section-space);
    padding-bottom: var(--section-space);
    background:
        radial-gradient(circle at 12% 25%, color-mix(in srgb, var(--gold) 10%, transparent), transparent 30rem),
        var(--bg-main);
}

.testimonial-card {
    border-radius: 28px;
    background: var(--glass);
    backdrop-filter: blur(22px);
    transition: transform 0.55s var(--ease-spring), box-shadow 0.4s ease;
}

.testimonial-card:hover {
    transform: translateY(-8px) rotate(-0.5deg);
    box-shadow: var(--shadow-md);
}

.footer {
    position: relative;
    background:
        radial-gradient(circle at 85% 15%, color-mix(in srgb, var(--primary-color) 18%, transparent), transparent 30rem),
        #0b0b0a;
    border-radius: 38px 38px 0 0;
    overflow: hidden;
    --text-main: #f7f1e7;
    --text-muted: #bdb6ac;
    --card-bg: rgba(255, 255, 255, 0.075);
    --border-color: rgba(255, 255, 255, 0.13);
    color: #f7f1e7;
}

.footer-logo {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 3.5vw, 3.4rem);
    letter-spacing: -0.03em;
    color: #f7f1e7;
}

.footer-desc,
.footer-bottom p,
.footer .developer-signature p {
    color: #bdb6ac;
}

.footer-col h4 {
    color: #f7f1e7;
}

.footer .footer-links a {
    color: #bdb6ac;
}

.footer .footer-links a:hover {
    color: #fff;
}

.footer .social-icon {
    color: #f7f1e7;
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(255, 255, 255, 0.13);
}

/* Motion presets editable from the admin panel */
[data-motion="cinematic"] .modern-reveal {
    transition-duration: 1.25s, 1.45s, 1.35s;
}

[data-motion="reduced"] .modern-reveal {
    filter: none;
    transform: translateY(18px);
    transition-duration: 0.35s;
}

[data-motion="reduced"] .hero-bg,
[data-motion="reduced"] .hero-ambient,
[data-motion="reduced"] .hero-scroll-cue::after {
    animation: none !important;
}

@media (max-width: 1100px) {
    .nav-links {
        gap: 1px;
    }

    .nav-link,
    .navbar.scrolled .nav-link {
        padding-inline: 10px;
        font-size: 0.74rem;
    }

    .logo,
    .navbar.scrolled .logo {
        max-width: 250px;
        font-size: 1.05rem;
    }
}

@media (max-width: 900px) {
    .navbar,
    .navbar.scrolled {
        top: 10px;
        width: calc(100% - 20px);
        border-radius: 25px;
    }

    .nav-container {
        min-height: 60px;
        padding: 7px 10px 7px 16px;
    }

    .nav-actions {
        flex: 0 0 auto;
        gap: 6px;
    }

    .nav-actions .theme-btn,
    body.mobile-view-active .nav-actions .theme-btn {
        width: 42px;
        height: 42px;
        display: grid !important;
        place-items: center;
        flex: 0 0 42px;
        border-color: rgba(255, 255, 255, 0.2);
        color: #fff;
        background: rgba(15, 14, 12, 0.34);
    }

    .navbar.scrolled .nav-actions .theme-btn {
        color: var(--text-main);
        border-color: var(--border-color);
        background: var(--card-bg);
    }

    .logo,
    .navbar.scrolled .logo,
    body.mobile-view-active .logo {
        max-width: calc(100vw - 142px);
    }

    .mobile-menu-btn,
    .navbar.scrolled .mobile-menu-btn {
        color: #fff;
    }

    .navbar.scrolled .mobile-menu-btn {
        color: var(--text-main);
    }

    .mobile-menu-overlay {
        width: min(88vw, 390px);
        padding: 110px 30px 34px;
        background: var(--glass-strong);
        border-left: 1px solid var(--glass-border);
        backdrop-filter: blur(34px) saturate(150%);
    }

    .mobile-theme-row {
        margin-top: 18px;
    }

    .mobile-theme-toggle {
        width: 100%;
        min-height: 58px;
        padding: 0 16px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        border: 1px solid var(--border-color);
        border-radius: 18px;
        color: var(--text-main);
        background: var(--glass);
        box-shadow: var(--shadow-sm);
        font: inherit;
        font-size: 0.86rem;
        font-weight: 750;
        cursor: pointer;
    }

    .mobile-theme-toggle span {
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .mobile-theme-toggle span i {
        width: 34px;
        height: 34px;
        display: grid;
        place-items: center;
        border-radius: 50%;
        color: #fff;
        background: var(--primary-color);
    }

    .hero-content {
        align-items: flex-end;
        padding-top: 120px;
        padding-bottom: 68px;
    }

    .hero-title-animated,
    .hero-section h1 {
        font-size: clamp(3.75rem, 13vw, 6.9rem);
    }

    .features-list {
        grid-template-columns: 1fr;
    }

    .feature-item {
        min-height: auto;
    }

    .about-images {
        min-height: 520px;
    }

    .gallery-orbit-shell {
        height: clamp(410px, 78vw, 600px);
    }

    .gallery-item {
        width: clamp(230px, 54vw, 420px);
        transform:
            translate3d(calc(-50% + var(--offset, 0) * clamp(90px, 21vw, 180px)), calc(-50% + var(--abs-offset, 0) * 15px), calc(var(--abs-offset, 0) * -100px))
            rotateY(calc(var(--offset, 0) * -11deg))
            scale(calc(1 - var(--abs-offset, 0) * 0.08));
    }
}

@media (max-width: 600px) {
    .container {
        width: min(100% - 28px, 1320px);
    }

    .section-padding {
        padding-top: 82px;
        padding-bottom: 82px;
    }

    .logo,
    .navbar.scrolled .logo {
        max-width: 220px;
        overflow: hidden;
        font-size: 0.96rem;
        text-overflow: ellipsis;
    }

    .admin-link {
        display: none;
    }

    .hero-overlay {
        background:
            linear-gradient(0deg, rgba(6, 6, 5, 0.92) 0%, rgba(6, 6, 5, 0.52) 64%, rgba(6, 6, 5, 0.28)),
            linear-gradient(90deg, rgba(6, 6, 5, 0.45), transparent);
    }

    .hero-content {
        padding-top: 112px;
        padding-bottom: 54px;
    }

    .hero-title-animated,
    .hero-section h1 {
        font-size: clamp(3.25rem, 16vw, 5rem);
        line-height: 0.84;
    }

    .hero-desc-animated,
    .hero-section p {
        margin-top: 22px;
        font-size: 0.92rem;
        line-height: 1.65;
    }

    .hero-buttons {
        display: grid;
        grid-template-columns: 1fr 1fr;
        width: 100%;
    }

    .hero-buttons .btn {
        min-width: 0;
        padding-inline: 13px;
        font-size: 0.76rem;
    }

    .hero-proof {
        width: 100%;
        justify-content: center;
        margin-top: 26px;
        text-align: center;
    }

    .hero-badge {
        width: 100%;
        justify-content: center;
        text-align: center;
    }

    .hero-proof-item {
        justify-items: center;
    }

    .hero-proof-item strong {
        font-size: 1.5rem;
    }

    .hero-scroll-cue {
        display: none;
    }

    .section-heading h2,
    .reservation-content h2,
    .promo-content h2 {
        font-size: clamp(2.7rem, 14vw, 4.2rem);
    }

    .about-images {
        min-height: 420px;
    }

    .menu-filters {
        justify-content: flex-start;
        width: 100%;
        margin-bottom: 38px;
    }

    .gallery-orbit-shell {
        height: 455px;
        margin-inline: -14px;
    }

    .gallery-item {
        width: min(72vw, 315px);
        border-radius: 25px;
        transform:
            translate3d(calc(-50% + var(--offset, 0) * 34vw), calc(-50% + var(--abs-offset, 0) * 12px), calc(var(--abs-offset, 0) * -90px))
            rotateY(calc(var(--offset, 0) * -10deg))
            scale(calc(1 - var(--abs-offset, 0) * 0.085));
    }

    .gallery-frame .gallery-overlay {
        min-height: 112px;
        padding: 26px 20px 20px;
    }

    .gallery-caption {
        font-size: 1.45rem;
    }

    .gallery-control {
        width: 48px;
        height: 48px;
    }

    .reservation-wrapper,
    .footer {
        border-radius: 27px 27px 0 0;
    }

    .reservation-content {
        padding: 30px 20px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .modern-reveal {
        opacity: 1;
        filter: none;
        transform: none;
        transition: none;
    }

    .hero-bg,
    .hero-ambient,
    .hero-scroll-cue::after {
        animation: none !important;
    }

    .gallery-item {
        transition-duration: 0.2s;
    }
}

/* ==========================================================================
   PREMIUM MENU CATEGORY HALF-WHEEL
   Categories stay connected to the existing filter engine; this is a purely
   presentational, draggable and keyboard-accessible navigation layer.
   ========================================================================== */
.menu-category-wheel {
    position: relative;
    height: 212px;
    margin: clamp(36px, 6vw, 76px) auto 0;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 34px;
    background:
        radial-gradient(ellipse at 50% 115%, color-mix(in srgb, var(--gold) 24%, transparent), transparent 50%),
        radial-gradient(circle at 12% 12%, rgba(255, 255, 255, 0.07), transparent 25rem),
        linear-gradient(145deg, #211e19, #0f0f0d 68%);
    box-shadow: 0 34px 90px rgba(31, 22, 13, 0.2), inset 0 1px rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(30px) saturate(135%);
    -webkit-backdrop-filter: blur(30px) saturate(135%);
    isolation: isolate;
}

.menu-category-wheel::before {
    content: 'MENÜ KOLEKSİYONU';
    position: absolute;
    top: 17px;
    left: 50%;
    z-index: 3;
    color: rgba(255, 255, 255, 0.42);
    font-size: 0.58rem;
    font-weight: 800;
    letter-spacing: 0.24em;
    transform: translateX(-50%);
}

.menu-category-wheel::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 4;
    pointer-events: none;
    border-radius: inherit;
    box-shadow: inset 62px 0 58px -52px rgba(7, 7, 6, 0.92), inset -62px 0 58px -52px rgba(7, 7, 6, 0.92);
}

.menu-category-arc {
    position: absolute;
    left: 10%;
    right: 10%;
    bottom: -188px;
    z-index: 0;
    height: 280px;
    border: 1px solid color-mix(in srgb, var(--gold) 30%, transparent);
    border-radius: 50%;
    box-shadow:
        0 -18px 54px color-mix(in srgb, var(--gold) 7%, transparent),
        inset 0 1px rgba(255, 255, 255, 0.22);
}

.menu-category-arc::before,
.menu-category-arc::after {
    content: '';
    position: absolute;
    top: -4px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--gold);
    box-shadow: 0 0 18px var(--gold);
}

.menu-category-arc::before { left: 24%; }
.menu-category-arc::after { right: 24%; }

.menu-category-wheel .menu-filters {
    position: relative;
    z-index: 2;
    display: block;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
    cursor: grab;
    touch-action: pan-y;
    user-select: none;
}

.menu-category-wheel .menu-filters:active,
.menu-category-wheel .menu-filters.is-dragging {
    cursor: grabbing;
}

.menu-category-wheel .filter-btn {
    position: absolute;
    top: 48%;
    left: 50%;
    z-index: calc(15 - var(--category-abs, 0));
    width: clamp(148px, 16vw, 206px);
    min-height: 64px;
    margin: 0;
    padding: 0 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    white-space: nowrap;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 21px;
    color: rgba(255, 255, 255, 0.67);
    background: rgba(255, 255, 255, 0.075);
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.18), inset 0 1px rgba(255, 255, 255, 0.11);
    backdrop-filter: blur(22px) saturate(135%);
    opacity: 0.48;
    filter: saturate(0.66) blur(calc(var(--category-abs, 0) * 0.35px));
    transform:
        translate3d(calc(-50% + var(--category-offset, 0) * clamp(160px, 18.5vw, 238px) + var(--category-drag-shift, 0px)), calc(-50% + var(--category-abs, 0) * 28px), calc(var(--category-abs, 0) * -90px))
        rotateZ(calc(var(--category-offset, 0) * -3.5deg))
        rotateY(calc(var(--category-offset, 0) * -7deg))
        scale(calc(1 - var(--category-abs, 0) * 0.105));
    transition:
        transform 0.58s var(--ease-out-expo),
        opacity 0.5s ease,
        filter 0.5s ease,
        color 0.35s ease,
        background 0.35s ease,
        border-color 0.35s ease,
        box-shadow 0.35s ease;
}

.menu-category-wheel .menu-filters.is-dragging .filter-btn {
    transition: none;
}

.menu-category-wheel .filter-btn i {
    color: var(--gold);
    font-size: 0.92rem;
    transition: color 0.3s ease, transform 0.45s var(--ease-spring);
}

.menu-category-wheel .filter-btn:hover {
    color: #fff;
    border-color: color-mix(in srgb, var(--gold) 40%, transparent);
}

.menu-category-wheel .filter-btn.is-category-center,
.menu-category-wheel .filter-btn.active {
    color: #fff;
    border-color: color-mix(in srgb, var(--primary-color) 72%, white 12%);
    background:
        linear-gradient(135deg, color-mix(in srgb, var(--primary-color) 96%, white 4%), color-mix(in srgb, var(--primary-color) 72%, #651b20));
    box-shadow:
        0 20px 48px color-mix(in srgb, var(--primary-color) 30%, transparent),
        inset 0 1px rgba(255, 255, 255, 0.24);
    opacity: 1;
    filter: none;
}

.menu-category-wheel .filter-btn.is-category-center i,
.menu-category-wheel .filter-btn.active i {
    color: var(--gold-soft);
    transform: scale(1.13);
}

.menu-category-wheel .filter-btn.is-category-outside {
    opacity: 0;
    pointer-events: none;
}

.menu-category-wheel .filter-btn:focus-visible {
    outline: 3px solid color-mix(in srgb, var(--gold) 78%, transparent);
    outline-offset: 5px;
}

.menu-category-control {
    position: absolute;
    top: 50%;
    z-index: 7;
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 50%;
    color: rgba(255, 255, 255, 0.78);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(20px);
    cursor: pointer;
    transform: translateY(-50%);
    transition: transform 0.35s var(--ease-spring), color 0.3s ease, background 0.3s ease, border-color 0.3s ease;
}

.menu-category-prev { left: 18px; }
.menu-category-next { right: 18px; }

.menu-category-control:hover {
    color: #fff;
    border-color: var(--primary-color);
    background: var(--primary-color);
    transform: translateY(-50%) scale(1.08);
}

.menu-category-hint {
    margin: 13px 0 50px;
    color: var(--text-muted);
    font-size: 0.64rem;
    font-weight: 750;
    letter-spacing: 0.09em;
    text-align: center;
    text-transform: uppercase;
}

.menu-category-hint i {
    margin-right: 6px;
    color: var(--gold);
}

@media (max-width: 760px) {
    .menu-category-wheel {
        height: 188px;
        margin-top: 38px;
        border-radius: 27px;
    }

    .menu-category-wheel::before {
        top: 14px;
        font-size: 0.52rem;
    }

    .menu-category-arc {
        left: 3%;
        right: 3%;
        bottom: -182px;
    }

    .menu-category-wheel .filter-btn {
        top: 49%;
        width: 142px;
        min-height: 57px;
        padding-inline: 12px;
        border-radius: 18px;
        font-size: 0.73rem;
        transform:
            translate3d(calc(-50% + var(--category-offset, 0) * 126px + var(--category-drag-shift, 0px)), calc(-50% + var(--category-abs, 0) * 22px), calc(var(--category-abs, 0) * -72px))
            rotateZ(calc(var(--category-offset, 0) * -3deg))
            rotateY(calc(var(--category-offset, 0) * -6deg))
            scale(calc(1 - var(--category-abs, 0) * 0.12));
    }

    .menu-category-control {
        top: auto;
        bottom: 12px;
        width: 40px;
        height: 40px;
        transform: none;
    }

    .menu-category-prev { left: 14px; }
    .menu-category-next { right: 14px; }

    .menu-category-control:hover {
        transform: scale(1.06);
    }

    .menu-category-hint {
        margin-bottom: 36px;
        font-size: 0.56rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .menu-category-wheel .filter-btn {
        filter: none;
        transition-duration: 0.2s;
    }
}

/* ==========================================================================
   CINEMATIC ADANA CHEF MASCOT
   Six real character poses are cross-faded as an animation sequence. The
   final annoyed pose is reserved for guest interaction.
   ========================================================================== */
.chef-mascot {
    --chef-size: clamp(205px, 19vw, 286px);
    position: fixed;
    right: clamp(8px, 1.4vw, 22px);
    bottom: 2px;
    z-index: 880;
    width: var(--chef-size);
    height: var(--chef-size);
    pointer-events: none;
    filter: drop-shadow(0 28px 28px rgba(0, 0, 0, 0.3));
    transition: opacity 0.45s ease, transform 0.6s var(--ease-out-expo);
}

.chef-mascot[hidden] {
    display: none !important;
}

.chef-mascot[data-size="compact"] {
    --chef-size: clamp(170px, 15vw, 230px);
}

.chef-mascot[data-size="large"] {
    --chef-size: clamp(240px, 23vw, 340px);
}

.chef-interaction {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    padding: 0;
    overflow: visible;
    border: 0;
    outline: none;
    background: transparent;
    cursor: pointer;
    pointer-events: auto;
    transform-origin: 70% 100%;
    transition: transform 0.45s var(--ease-spring), filter 0.35s ease;
}

.chef-interaction:hover {
    transform: translateY(-7px) scale(1.025);
    filter: brightness(1.04);
}

.chef-interaction:focus-visible {
    border-radius: 45% 45% 28% 28%;
    box-shadow: 0 0 0 4px var(--gold), 0 0 0 8px rgba(10, 10, 9, 0.55);
}

.chef-aura {
    position: absolute;
    right: 2%;
    bottom: 0;
    width: 90%;
    height: 76%;
    border-radius: 50%;
    opacity: 0.34;
    background: radial-gradient(circle at 55% 60%, color-mix(in srgb, var(--primary-color) 32%, transparent), color-mix(in srgb, var(--gold) 13%, transparent) 34%, transparent 70%);
    filter: blur(18px);
    animation: chef-aura-breathe 3.6s ease-in-out infinite;
}

.chef-figure {
    position: absolute;
    inset: 0;
    display: block;
    transform-origin: 56% 100%;
    animation: chef-body-breathe 3.4s ease-in-out infinite;
}

.chef-frame {
    position: absolute;
    inset: 0;
    display: block;
    opacity: 0;
    background-image: url('assets/chef/adana-chef-sprite-v3.webp');
    background-repeat: no-repeat;
    background-size: 300% 200%;
    will-change: opacity;
}

.chef-frame-0 {
    background-position: 0 0;
    animation: chef-frame-zero 11s ease-in-out infinite;
}

.chef-frame-1 {
    background-position: 50% 0;
    animation: chef-frame-one 11s ease-in-out infinite;
}

.chef-frame-2 {
    background-position: 100% 0;
    animation: chef-frame-two 11s ease-in-out infinite;
}

.chef-frame-3 {
    background-position: 0 100%;
    animation: chef-frame-three 11s ease-in-out infinite;
}

.chef-frame-4 {
    background-position: 50% 100%;
    animation: chef-frame-four 11s ease-in-out infinite;
}

.chef-frame-5 {
    background-position: 100% 100%;
}

@keyframes chef-frame-zero {
    0%, 11%, 96%, 100% { opacity: 1; transform: translateY(0) scale(1); }
    15%, 92% { opacity: 0; transform: translateY(3px) scale(0.99); }
}

@keyframes chef-frame-one {
    0%, 9%, 31%, 100% { opacity: 0; transform: translateY(3px) scale(0.99); }
    14%, 27% { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes chef-frame-two {
    0%, 25%, 49%, 100% { opacity: 0; transform: translateY(3px) scale(0.99); }
    30%, 45% { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes chef-frame-three {
    0%, 43%, 67%, 100% { opacity: 0; transform: translateY(3px) scale(0.99); }
    48%, 63% { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes chef-frame-four {
    0%, 61%, 98%, 100% { opacity: 0; transform: translateY(3px) scale(0.99); }
    66%, 92% { opacity: 1; transform: translateY(0) scale(1.012); }
}

@keyframes chef-body-breathe {
    0%, 100% { transform: translateY(0) rotate(0); }
    50% { transform: translateY(-3px) rotate(-0.35deg); }
}

@keyframes chef-aura-breathe {
    50% { opacity: 0.5; transform: scale(1.07); }
}

.chef-embers {
    position: absolute;
    right: 16%;
    bottom: 26%;
    width: 46%;
    height: 45%;
    overflow: hidden;
    pointer-events: none;
}

.chef-embers i {
    position: absolute;
    bottom: -8px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #ffb12b;
    box-shadow: 0 0 10px #ff5a24, 0 0 18px rgba(255, 90, 36, 0.65);
    opacity: 0;
    animation: chef-ember-rise 2.8s ease-out infinite;
}

.chef-embers i:nth-child(1) { left: 20%; animation-delay: 0.2s; }
.chef-embers i:nth-child(2) { left: 42%; animation-delay: 1.1s; transform: scale(0.65); }
.chef-embers i:nth-child(3) { left: 62%; animation-delay: 1.7s; transform: scale(0.8); }
.chef-embers i:nth-child(4) { left: 80%; animation-delay: 2.25s; transform: scale(0.5); }

@keyframes chef-ember-rise {
    0%, 54% { opacity: 0; transform: translate3d(0, 0, 0) scale(0.5); }
    62% { opacity: 0.95; }
    100% { opacity: 0; transform: translate3d(11px, -74px, 0) scale(1); }
}

.chef-whatsapp-prompt {
    position: absolute;
    right: 4px;
    bottom: calc(100% + 10px);
    z-index: 20;
    width: min(286px, calc(100vw - 28px));
    min-height: 72px;
    padding: 7px 42px 7px 7px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 22px 22px 7px 22px;
    color: #fff;
    background:
        linear-gradient(135deg, rgba(35, 31, 27, 0.96), rgba(13, 12, 11, 0.94)),
        rgba(16, 15, 13, 0.94);
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.34), inset 0 1px rgba(255, 255, 255, 0.1);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translate3d(0, 14px, 0) scale(0.96);
    transform-origin: bottom right;
    transition: opacity 0.34s ease, transform 0.48s var(--ease-spring), visibility 0s linear 0.48s;
    contain: layout paint style;
}

.chef-whatsapp-prompt::after {
    content: '';
    position: absolute;
    right: 30px;
    bottom: -9px;
    width: 18px;
    height: 18px;
    border-right: 1px solid rgba(255, 255, 255, 0.12);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    background: #141310;
    transform: rotate(45deg);
}

.chef-whatsapp-prompt.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translate3d(0, 0, 0) scale(1);
    transition-delay: 0s;
}

.chef-whatsapp-prompt > a {
    min-width: 0;
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr) 22px;
    align-items: center;
    gap: 10px;
    color: #fff;
    text-decoration: none;
}

.chef-whatsapp-icon {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border-radius: 15px;
    color: #fff;
    background: linear-gradient(145deg, #2ee775, #14ae54);
    box-shadow: 0 10px 24px rgba(37, 211, 102, 0.25);
    font-size: 1.35rem;
}

.chef-whatsapp-copy {
    min-width: 0;
    display: grid;
    gap: 2px;
    text-align: left;
}

.chef-whatsapp-copy small {
    color: var(--gold-soft);
    font-family: var(--font-ui);
    font-size: 0.55rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    line-height: 1.2;
    text-transform: uppercase;
}

.chef-whatsapp-copy strong {
    color: #fff;
    font-family: var(--font-ui);
    font-size: 0.82rem;
    font-weight: 750;
    letter-spacing: -0.015em;
    line-height: 1.25;
}

.chef-whatsapp-arrow {
    color: #42df7d;
    font-size: 0.78rem;
    transition: transform 0.3s var(--ease-spring);
}

.chef-whatsapp-prompt > a:hover .chef-whatsapp-arrow {
    transform: translateX(4px);
}

#chef-whatsapp-dismiss {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 2;
    width: 27px;
    height: 27px;
    display: grid;
    place-items: center;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 50%;
    color: rgba(255, 255, 255, 0.7);
    background: rgba(255, 255, 255, 0.07);
    cursor: pointer;
    font-size: 0.65rem;
    transition: color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

#chef-whatsapp-dismiss:hover,
#chef-whatsapp-dismiss:focus-visible {
    color: #fff;
    background: var(--primary-color);
    transform: rotate(8deg) scale(1.06);
}

.chef-mascot.is-reacting .chef-whatsapp-prompt {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translate3d(0, 10px, 0) scale(0.96);
}

.chef-speech {
    position: absolute;
    right: 72%;
    bottom: 74%;
    z-index: 5;
    width: max-content;
    max-width: min(260px, 62vw);
    padding: 13px 17px;
    display: grid;
    gap: 2px;
    border: 1px solid rgba(255, 255, 255, 0.17);
    border-radius: 18px 18px 5px 18px;
    color: #fff;
    background: rgba(15, 14, 12, 0.88);
    box-shadow: 0 20px 52px rgba(0, 0, 0, 0.27), inset 0 1px rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(22px) saturate(130%);
    opacity: 0;
    pointer-events: none;
    transform: translate3d(18px, 12px, 0) scale(0.82);
    transform-origin: bottom right;
    transition: opacity 0.35s ease, transform 0.55s var(--ease-spring);
}

.chef-speech::after {
    content: '';
    position: absolute;
    right: -8px;
    bottom: 0;
    width: 15px;
    height: 15px;
    background: inherit;
    clip-path: polygon(0 0, 0 100%, 100% 100%);
}

.chef-speech strong {
    color: var(--gold-soft);
    font-size: 0.58rem;
    font-weight: 800;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.chef-speech span {
    font-size: clamp(0.78rem, 1vw, 0.9rem);
    font-weight: 750;
    white-space: nowrap;
}

.chef-interaction-hint {
    position: absolute;
    right: 9%;
    bottom: 5%;
    z-index: 6;
    padding: 7px 11px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.74);
    background: rgba(12, 11, 10, 0.58);
    backdrop-filter: blur(16px);
    font-size: 0.54rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    opacity: 0;
    transform: translateY(5px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.chef-mascot:hover .chef-interaction-hint,
.chef-interaction:focus-visible ~ .chef-interaction-hint {
    opacity: 1;
    transform: translateY(0);
}

.chef-mascot.is-reacting .chef-frame {
    animation: none;
    opacity: 0;
}

.chef-mascot.is-reacting .chef-frame-5 {
    opacity: 1;
    animation: chef-annoyed-reaction 0.48s var(--ease-spring) both;
}

.chef-mascot.is-reacting .chef-figure {
    animation: none;
}

.chef-mascot.is-reacting .chef-speech {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
}

.chef-mascot.is-reacting .chef-embers,
.chef-mascot.is-reacting .chef-interaction-hint {
    opacity: 0;
}

.chef-mascot.is-page-hidden .chef-frame,
.chef-mascot.is-page-hidden .chef-figure,
.chef-mascot.is-page-hidden .chef-aura,
.chef-mascot.is-page-hidden .chef-embers i {
    animation-play-state: paused !important;
}

@keyframes chef-annoyed-reaction {
    0% { transform: translateX(13px) rotate(1.7deg) scale(0.95); filter: saturate(0.8); }
    38% { transform: translateX(-6px) rotate(-1deg) scale(1.045); filter: saturate(1.12); }
    68% { transform: translateX(3px) rotate(0.45deg) scale(1); }
    100% { transform: translateX(0) rotate(0) scale(1); filter: saturate(1); }
}

.chef-enabled .whatsapp-float {
    right: calc(var(--chef-size, 250px) + 20px);
}

@media (max-width: 760px) {
    .chef-mascot {
        --chef-size: clamp(148px, 42vw, 190px);
        right: 0;
        bottom: 0;
    }

    .chef-mascot[data-size="compact"] { --chef-size: clamp(124px, 35vw, 160px); }
    .chef-mascot[data-size="large"] { --chef-size: clamp(176px, 48vw, 220px); }

    .chef-whatsapp-prompt {
        right: 6px;
        bottom: calc(100% - 14px);
        width: min(232px, calc(100vw - 24px));
        min-height: 62px;
        padding: 6px 38px 6px 6px;
        border-radius: 20px 20px 7px 20px;
    }

    .chef-whatsapp-prompt > a {
        grid-template-columns: 39px minmax(0, 1fr) 16px;
        gap: 8px;
    }

    .chef-whatsapp-icon {
        width: 39px;
        height: 39px;
        border-radius: 13px;
        font-size: 1.1rem;
    }

    .chef-whatsapp-copy strong {
        font-size: 0.7rem;
    }

    .chef-speech {
        right: 58%;
        bottom: 79%;
        padding: 11px 13px;
    }

    .chef-interaction-hint {
        display: none;
    }

    .chef-enabled .whatsapp-float {
        right: clamp(132px, 39vw, 178px) !important;
        bottom: 18px !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    .chef-frame,
    .chef-figure,
    .chef-aura,
    .chef-embers i,
    .chef-whatsapp-prompt {
        animation: none !important;
    }

    .chef-frame-0 {
        opacity: 1;
    }

    .chef-mascot.is-reacting .chef-frame-0 {
        opacity: 0;
    }

    .chef-mascot.is-reacting .chef-frame-5 {
        opacity: 1;
    }
}

/* Desktop-only composition pass. Mobile rules intentionally stay untouched. */
@media (min-width: 901px) {
    .hero-content {
        padding-top: 104px;
        padding-bottom: 28px;
    }

    .hero-text-box {
        width: min(100%, 720px);
        max-width: 720px;
        margin-top: clamp(22px, 3.2vh, 42px);
        padding-bottom: 12px;
    }

    .hero-badge {
        margin-bottom: 12px;
    }

    .hero-subtitle {
        margin-bottom: 0;
        padding: 8px 14px;
        font-size: 0.66rem;
        letter-spacing: 0.17em;
    }

    .hero-title-animated,
    .hero-section h1 {
        margin-top: 18px;
        font-size: clamp(4.4rem, 6.25vw, 7.1rem);
        line-height: 0.8;
    }

    .hero-desc-animated,
    .hero-section p {
        max-width: 570px;
        margin-top: 20px;
        font-size: clamp(0.9rem, 1.06vw, 1.05rem);
        line-height: 1.65;
    }

    .hero-buttons {
        margin-top: 22px;
    }

    .hero-buttons .btn {
        min-height: 50px;
        padding-inline: 23px;
    }

    .hero-proof {
        margin-top: 21px;
    }

    .hero-proof-item strong {
        font-size: 1.62rem;
    }

    .chef-mascot:not([data-size="large"]) {
        --chef-size: clamp(190px, 15.5vw, 242px);
        right: 10px;
        bottom: -4px;
    }

    .chef-enabled .whatsapp-float {
        right: clamp(210px, 17vw, 268px);
        bottom: 22px;
    }
}

@media (min-width: 901px) and (max-height: 820px) {
    .hero-content {
        padding-top: 92px;
    }

    .hero-text-box {
        margin-top: 12px;
    }

    .hero-title-animated,
    .hero-section h1 {
        font-size: clamp(4rem, 5.7vw, 6.35rem);
    }

    .hero-desc-animated,
    .hero-section p {
        margin-top: 15px;
        line-height: 1.55;
    }

    .hero-buttons,
    .hero-proof {
        margin-top: 16px;
    }
}

/* Hero balance — story alanı kaldırıldıktan sonra içerik doğal odakta kalır. */
.hero-content {
    justify-content: center;
    padding-top: 116px;
    padding-bottom: 72px;
}

.hero-text-box {
    margin-top: 3vh;
    margin-bottom: 0;
}

@media (max-width: 900px) {
    .hero-content {
        justify-content: center;
        padding-top: 102px;
        padding-bottom: 56px;
    }

    .hero-text-box {
        margin-top: 0;
    }
}

@media (max-width: 600px) {
    .hero-content {
        justify-content: center !important;
        padding-top: 90px !important;
        padding-bottom: 38px !important;
    }
}

/* Menü besin ve alerjen bilgileri */
.menu-nutrition {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 16px;
}

.menu-nutrition-chip {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    min-height: 26px;
    padding: 5px 9px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 750;
    line-height: 1;
}

.menu-nutrition-chip.calories {
    color: #a54a12;
    background: rgba(245, 158, 11, 0.14);
    border-color: rgba(245, 158, 11, 0.28);
}

.menu-nutrition-chip.allergen {
    color: #a52828;
    background: rgba(220, 38, 38, 0.11);
    border-color: rgba(220, 38, 38, 0.24);
}

.menu-nutrition-modal {
    margin-top: -4px;
    margin-bottom: 18px;
}

[data-theme="dark"] .menu-nutrition-chip.calories {
    color: #ffd087;
    background: rgba(245, 158, 11, 0.2);
}

[data-theme="dark"] .menu-nutrition-chip.allergen {
    color: #ffaaa4;
    background: rgba(220, 38, 38, 0.2);
}
