/* ============================================================
   BOĞAZKÖY RESTAURANT — style.css v3
   Koyu hero (eski) + yatay kayan carousel + marka renkleri
============================================================ */

/* ---------- RESET & TOKENS ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

:root {
    /* Palet */
    --c-bg:         #ffffff;
    --c-bg-alt:     #faf8f5;
    --c-paper:      #ffffff;
    --c-ink:        #101820;
    --c-ink-soft:   #3a4048;
    --c-muted:      #7a808a;
    --c-line:       rgba(16, 24, 32, 0.1);
    --c-line-soft:  rgba(16, 24, 32, 0.05);

    /* Marka vurgu renkleri (logodan) */
    --c-red:        #d22730;
    --c-red-soft:   #e85560;
    --c-green:      #249e6b;
    --c-green-soft: #4cb889;

    /* Typography */
    --f-display: 'Fraunces', 'Playfair Display', Georgia, serif;
    --f-body:    'Figtree', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Sizing */
    --container: 1280px;
    --gutter: clamp(1.25rem, 4vw, 2.5rem);

    /* Motion */
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
    --ease-out: cubic-bezier(0.33, 1, 0.68, 1);
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--f-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--c-ink);
    background: var(--c-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; }

::selection { background: var(--c-red); color: var(--c-bg); }

.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 var(--gutter);
}

/* ---------- TYPOGRAPHY ---------- */
.h-display {
    font-family: var(--f-display);
    font-weight: 400;
    font-size: clamp(2rem, 5.5vw, 4.5rem);
    line-height: 1.02;
    letter-spacing: -0.02em;
    color: var(--c-ink);
    font-variation-settings: "opsz" 144;
}

.h-display em {
    font-style: italic;
    font-weight: 400;
    color: var(--c-red);
}

.h-display--light { color: var(--c-bg); }
.h-display--light em { color: var(--c-green-soft); }

/* ---------- SECTION LABEL ---------- */
.section-label {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--c-muted);
    margin-bottom: 2.5rem;
}

.section-label__num {
    font-family: var(--f-display);
    font-style: italic;
    font-size: 0.875rem;
    color: var(--c-red);
    font-weight: 400;
}

.section-label--light { color: rgba(255, 255, 255, 0.6); }
.section-label--light .section-label__num { color: var(--c-green-soft); }

/* ---------- BUTTONS ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.95rem 1.75rem;
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    border-radius: 999px;
    transition: all 0.4s var(--ease);
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

.btn svg { transition: transform 0.4s var(--ease); }
.btn:hover svg { transform: translateX(3px); }

.btn--primary {
    background: var(--c-ink);
    color: var(--c-bg);
}
.btn--primary:hover {
    background: var(--c-red);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px -10px rgba(210, 39, 48, 0.5);
}

.btn--ghost {
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: var(--c-bg);
    backdrop-filter: blur(6px);
    background: rgba(255, 255, 255, 0.06);
}
.btn--ghost:hover {
    background: var(--c-bg);
    color: var(--c-ink);
    border-color: var(--c-bg);
}

.btn--light {
    background: var(--c-bg);
    color: var(--c-ink);
}
.btn--light:hover {
    background: var(--c-red);
    color: var(--c-bg);
    transform: translateY(-2px);
}

.btn--outline {
    border: 1px solid var(--c-ink);
    color: var(--c-ink);
}
.btn--outline:hover {
    background: var(--c-ink);
    color: var(--c-bg);
}

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--c-ink);
    padding: 0.5rem 0;
    transition: all 0.3s var(--ease);
}
.link-arrow:hover {
    color: var(--c-red);
    gap: 0.75rem;
}
.link-arrow--muted { color: var(--c-muted); }
.link-arrow--muted:hover { color: var(--c-ink); }

/* ---------- PRELOADER ---------- */
.preloader {
    position: fixed;
    inset: 0;
    background: var(--c-bg);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.8s var(--ease), visibility 0.8s;
}
.preloader.is-hidden { opacity: 0; visibility: hidden; }

.preloader__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.75rem;
}
.preloader__logo {
    width: 160px;
    height: auto;
    animation: pulse 1.8s ease-in-out infinite;
}
.preloader__line {
    width: 60px;
    height: 1px;
    background: var(--c-line);
    position: relative;
    overflow: hidden;
}
.preloader__line::after {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--c-red);
    animation: slide 1.4s ease-in-out infinite;
}
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.6; } }
@keyframes slide {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* ============================================================
   NAVIGATION — KÜÇÜK LOGO
============================================================ */
.nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    padding: 1rem 0;
    transition: all 0.4s var(--ease);
}
/* Hero üstüne gelince transparan + beyaz metin */
.nav.is-dark:not(.is-scrolled) {
    background: transparent;
    color: var(--c-bg);
}
.nav.is-dark:not(.is-scrolled) .nav__links a { color: var(--c-bg); }
.nav.is-dark:not(.is-scrolled) .nav__logo-img { filter: brightness(0) invert(1); }
.nav.is-dark:not(.is-scrolled) .nav__toggle span { background: var(--c-bg); }

/* Scroll sonrası beyaz blur */
.nav.is-scrolled {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 0.625rem 0;
    border-bottom: 1px solid var(--c-line-soft);
}

.nav__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.nav__logo {
    display: flex;
    align-items: center;
    transition: opacity 0.3s;
}
.nav__logo:hover { opacity: 0.75; }

/* === LOGO KÜÇÜLDÜ: 44px → 26px === */
.nav__logo-img {
    height: 90px;
    width: auto;
    transition: height 0.4s var(--ease);
    display: block;
}
.nav.is-scrolled .nav__logo-img { height: 80px; }

.nav__links {
    display: flex;
    gap: 2.25rem;
    font-size: 0.875rem;
    font-weight: 500;
}
.nav__links a {
    position: relative;
    padding: 0.5rem 0;
    transition: color 0.3s;
    color: var(--c-ink);
}
.nav__links a::after {
    content: '';
    position: absolute;
    bottom: 0.25rem; left: 0;
    width: 0; height: 1px;
    background: var(--c-red);
    transition: width 0.4s var(--ease);
}
.nav__links a:hover { color: var(--c-red); }
.nav__links a:hover::after { width: 100%; }

.nav__cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8125rem;
    font-weight: 500;
    padding: 0.625rem 1.25rem;
    border: 1px solid currentColor;
    border-radius: 999px;
    transition: all 0.3s var(--ease);
}
.nav__cta:hover {
    background: var(--c-red);
    color: var(--c-bg);
    border-color: var(--c-red);
}
.nav.is-dark:not(.is-scrolled) .nav__cta:hover {
    background: var(--c-bg);
    color: var(--c-ink);
    border-color: var(--c-bg);
}

.nav__toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
}
.nav__toggle span {
    display: block;
    width: 22px;
    height: 1.5px;
    background: var(--c-ink);
    transition: all 0.3s var(--ease);
}
.nav__toggle.is-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav__toggle.is-open span:nth-child(2) { opacity: 0; }
.nav__toggle.is-open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.nav__mobile {
    position: fixed;
    top: 0; right: 0;
    width: 100%;
    max-width: 380px;
    height: 100vh;
    background: var(--c-ink);
    color: var(--c-bg);
    padding: 6rem 2.5rem 2.5rem;
    transform: translateX(100%);
    transition: transform 0.5s var(--ease);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    z-index: 99;
}
.nav__mobile.is-open { transform: translateX(0); }
.nav__mobile a {
    font-family: var(--f-display);
    font-size: 1.75rem;
    font-weight: 400;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 1rem;
    transition: color 0.3s, padding-left 0.3s;
}
.nav__mobile a:hover {
    color: var(--c-red-soft);
    padding-left: 0.5rem;
}
.nav__mobile-cta {
    margin-top: auto;
    font-family: var(--f-body) !important;
    font-size: 0.875rem !important;
    border-bottom: none !important;
    padding: 1rem 1.5rem !important;
    background: var(--c-red);
    border-radius: 999px;
    text-align: center;
}
.nav__mobile-cta:hover {
    background: var(--c-red-soft);
    padding-left: 1.5rem !important;
}

/* ============================================================
   HERO — KOYU ATMOSFERİK (eski tasarım geri)
   Hafif daraltılmış: 80svh
============================================================ */
.hero {
    position: relative;
    min-height: 80svh;
    display: flex;
    align-items: center;
    color: var(--c-bg);
    padding: 7rem 0 3.5rem;
    overflow: hidden;
}

.hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    /* Fallback premium gradient */
    background:
        radial-gradient(ellipse at 30% 20%, rgba(210, 39, 48, 0.2) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 80%, rgba(36, 158, 107, 0.15) 0%, transparent 50%),
        linear-gradient(135deg, #2a2620 0%, #1a1814 50%, #0f0d0a 100%);
}
.hero__bg-img {
    width: 100%;
    height: 110%;
    object-fit: cover;
    object-position: center;
    transform: scale(1.05);
    animation: heroZoom 20s ease-out forwards;
	opacity: 0.6;
}
@keyframes heroZoom {
    from { transform: scale(1.15); }
    to   { transform: scale(1.05); }
}
.hero__bg-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(16,24,32,0.45) 0%, rgba(16,24,32,0.65) 60%, rgba(16,24,32,0.85) 100%);
}

.hero__inner {
    position: relative;
    z-index: 1;
    width: 100%;
}

.hero__meta {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1.75rem;
    padding: 0.5rem 1rem 0.5rem 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 999px;
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.05);
}
.hero__meta-dot {
    width: 6px; height: 6px;
    background: var(--c-red);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.hero__title {
    font-family: var(--f-display);
    font-weight: 300;
    font-size: clamp(3rem, 9vw, 7rem);
    line-height: 0.98;
    letter-spacing: -0.03em;
    margin-bottom: 1.75rem;
    font-variation-settings: "opsz" 144;
}
.hero__title em {
    font-style: italic;
    font-weight: 400;
    color: var(--c-red-soft);
}

.reveal-line {
    display: block;
    overflow: hidden;
}
.reveal-line > span {
    display: block;
    transform: translateY(105%);
    opacity: 0;
    animation: lineUp 1.1s var(--ease) forwards;
}
.reveal-line:nth-child(1) > span { animation-delay: 0.2s; }
.reveal-line:nth-child(2) > span { animation-delay: 0.35s; }
.reveal-line:nth-child(3) > span { animation-delay: 0.5s; }
@keyframes lineUp {
    to { transform: translateY(0); opacity: 1; }
}

.hero__desc {
    max-width: 520px;
    font-size: clamp(1rem, 1.2vw, 1.125rem);
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 2.25rem;
    font-weight: 300;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.875rem;
}

.hero__scroll {
    position: absolute;
    bottom: 2rem;
    right: var(--gutter);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.625rem;
    font-size: 0.6875rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.3s;
}
.hero__scroll:hover { color: var(--c-red-soft); }
.hero__scroll svg {
    animation: scrollHint 2s ease-in-out infinite;
}
@keyframes scrollHint {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(4px); }
}

/* ============================================================
   DISHES CAROUSEL — Mutfağımızdan Seçmeler (yatay kayan + parallax)
============================================================ */
.dishes-carousel {
    padding: clamp(4rem, 8vw, 6.5rem) 0;
    background: var(--c-bg-alt);
    overflow: hidden;
    position: relative;
}

.dishes-carousel__head {
    max-width: 900px;
    margin-bottom: clamp(2.5rem, 5vw, 3.5rem);
}
.dishes-carousel__title {
    margin: 0;
}

/* Viewport: full bleed */
.dishes-carousel__viewport {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 1rem 0 2rem;
    /* Kenarlarda yumuşak fade maskesi */
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
}

/* Track — seamless marquee */
.dishes-carousel__track {
    display: flex;
    gap: 1.75rem;
    width: max-content;
    animation: marquee 60s linear infinite;
    will-change: transform;
}
.dishes-carousel__track:hover {
    animation-play-state: paused;
}

@keyframes marquee {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); } /* 2x basıyoruz, -50% ile seamless loop */
}

/* Her kart */
.dish-card {
    flex: 0 0 auto;
    width: clamp(280px, 30vw, 400px);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    transition: transform 0.6s var(--ease);
}
.dish-card:hover {
    transform: translateY(-8px);
}

.dish-card__imgwrap {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 24px;              /* oval köşeler */
    background: var(--c-bg);
    box-shadow:
        0 20px 40px -20px rgba(16, 24, 32, 0.25),
        0 8px 20px -8px rgba(16, 24, 32, 0.1);
    transition: box-shadow 0.6s var(--ease);
}
.dish-card:hover .dish-card__imgwrap {
    box-shadow:
        0 30px 60px -20px rgba(210, 39, 48, 0.25),
        0 12px 24px -8px rgba(16, 24, 32, 0.15);
}

.dish-card__imgwrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.5s var(--ease);
    /* Parallax: image baseline scaled + shift by scroll */
    transform: scale(1.12) translateY(var(--parallax-y, 0px));
}
.dish-card:hover .dish-card__imgwrap img {
    transform: scale(1.18) translateY(var(--parallax-y, 0px));
}

.dish-card__caption {
    font-family: var(--f-display);
    font-size: 1.125rem;
    font-weight: 500;
    letter-spacing: -0.005em;
    color: var(--c-ink);
    text-align: center;
    padding: 0 0.5rem;
    line-height: 1.3;
}

.dishes-carousel__foot {
    margin-top: 1.5rem;
    display: flex;
    justify-content: center;
}

/* ---------- ABOUT ---------- */
.about {
    padding: clamp(4rem, 8vw, 7rem) 0;
    background: var(--c-bg);
}

.about__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(2rem, 6vw, 5rem);
    margin-bottom: clamp(4rem, 8vw, 6rem);
    align-items: start;
}

.about__body p {
    font-size: clamp(1rem, 1.15vw, 1.125rem);
    line-height: 1.7;
    color: var(--c-ink-soft);
    margin-bottom: 1.25rem;
    max-width: 46ch;
}

.features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    border-top: 1px solid var(--c-line);
    border-bottom: 1px solid var(--c-line);
}
.feature {
    padding: 2.5rem 2rem 2.5rem 0;
    border-right: 1px solid var(--c-line);
    position: relative;
}
.feature:last-child { border-right: none; padding-right: 0; }
.feature:not(:first-child) { padding-left: 2rem; }

.feature__num {
    font-family: var(--f-display);
    font-style: italic;
    font-size: 0.875rem;
    color: var(--c-red);
    display: block;
    margin-bottom: 1.25rem;
}
.feature__title {
    font-family: var(--f-display);
    font-size: 1.5rem;
    font-weight: 500;
    letter-spacing: -0.01em;
    margin-bottom: 0.875rem;
    color: var(--c-ink);
}
.feature__text {
    font-size: 0.9375rem;
    line-height: 1.6;
    color: var(--c-ink-soft);
    max-width: 32ch;
}

/* ---------- BRANCHES ---------- */
.branches {
    padding: clamp(4rem, 8vw, 7rem) 0;
    background: var(--c-bg-alt);
}

.branches__title {
    margin-bottom: clamp(3rem, 6vw, 5rem);
    max-width: 900px;
}

.branches__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.branch {
    background: var(--c-paper);
    padding: clamp(2rem, 4vw, 3rem);
    border-radius: 6px;
    border: 1px solid var(--c-line-soft);
    transition: all 0.5s var(--ease);
    position: relative;
    overflow: hidden;
}
.branch::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--c-red) 0%, var(--c-green) 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.6s var(--ease);
}
.branch:hover {
    transform: translateY(-4px);
    border-color: var(--c-line);
    box-shadow: 0 20px 50px -20px rgba(16, 24, 32, 0.12);
}
.branch:hover::before { transform: scaleX(1); }

.branch__head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    position: relative;
}
.branch__tag {
    font-size: 0.6875rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--c-red);
    font-weight: 500;
    padding: 0.375rem 0.75rem;
    border: 1px solid var(--c-red);
    border-radius: 999px;
}
.branch__num {
    font-family: var(--f-display);
    font-style: italic;
    font-size: 2.5rem;
    font-weight: 300;
    color: var(--c-red);
    opacity: 0.35;
    line-height: 1;
}

.branch__name {
    font-family: var(--f-display);
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 400;
    letter-spacing: -0.015em;
    margin-bottom: 1rem;
    line-height: 1.1;
    position: relative;
}

.branch__loc,
.branch__phone {
    display: flex;
    align-items: flex-start;
    gap: 0.625rem;
    font-size: 0.875rem;
    color: var(--c-ink-soft);
    margin-bottom: 0.875rem;
    position: relative;
    line-height: 1.5;
}
.branch__loc svg,
.branch__phone svg {
    color: var(--c-red);
    flex-shrink: 0;
    margin-top: 3px;
}
.branch__phone a {
    font-weight: 500;
    color: var(--c-ink);
    transition: color 0.3s;
}
.branch__phone a:hover { color: var(--c-red); }

.branch__desc {
    font-size: 0.9375rem;
    line-height: 1.65;
    color: var(--c-ink-soft);
    margin: 1.5rem 0 2rem;
    position: relative;
    max-width: 42ch;
}

.branch__actions {
    display: flex;
    gap: 1.75rem;
    flex-wrap: wrap;
    padding-top: 1.5rem;
    border-top: 1px solid var(--c-line);
    position: relative;
}

/* ---------- MENU CTA ---------- */
.menu-cta {
    padding: clamp(5rem, 10vw, 8rem) 0;
    background: var(--c-ink);
    color: var(--c-bg);
    position: relative;
    overflow: hidden;
}
.menu-cta::before {
    content: '';
    position: absolute;
    top: -30%; right: -20%;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(210, 39, 48, 0.18) 0%, transparent 65%);
    pointer-events: none;
}
.menu-cta::after {
    content: '';
    position: absolute;
    bottom: -20%; left: -10%;
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(36, 158, 107, 0.12) 0%, transparent 65%);
    pointer-events: none;
}

.menu-cta__inner {
    max-width: 720px;
    position: relative;
}
.menu-cta__desc {
    font-size: 1.0625rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.7);
    max-width: 48ch;
    margin: 1.75rem 0 2.5rem;
}

/* ---------- GALLERY ---------- */
.gallery {
    padding: clamp(4rem, 8vw, 7rem) 0 clamp(3rem, 6vw, 5rem);
    background: var(--c-bg);
}

.gallery__title { margin-bottom: clamp(3rem, 6vw, 5rem); }

.gallery__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-flow: dense;
    gap: 1rem;
    padding: 0 var(--gutter);
    max-width: calc(var(--container) + var(--gutter) * 2);
    margin: 0 auto;
}

.gallery__item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    background: var(--c-bg-alt);
    border-radius: 4px;
}
.gallery__item--tall   { grid-row: span 2; aspect-ratio: 3 / 4; }
.gallery__item--medium { aspect-ratio: 4 / 3; }
.gallery__item--short  { aspect-ratio: 1; }

.gallery__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s var(--ease), filter 0.6s;
}
.gallery__item:hover img {
    transform: scale(1.08);
    filter: brightness(0.9);
}

.gallery__cap {
    position: absolute;
    inset: 0;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding: 1.5rem;
    color: var(--c-bg);
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    background: linear-gradient(180deg, transparent 40%, rgba(16, 24, 32, 0.65) 100%);
    opacity: 0;
    transition: opacity 0.5s var(--ease);
}
.gallery__item:hover .gallery__cap { opacity: 1; }

/* Lightbox */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(16, 24, 32, 0.96);
    z-index: 200;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    backdrop-filter: blur(10px);
}
.lightbox.is-open {
    display: flex;
    animation: fadeIn 0.3s var(--ease);
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.lightbox img {
    max-width: 90%;
    max-height: 85vh;
    object-fit: contain;
    animation: zoomIn 0.4s var(--ease);
}
@keyframes zoomIn {
    from { transform: scale(0.9); opacity: 0; }
    to   { transform: scale(1); opacity: 1; }
}

.lightbox__close,
.lightbox__prev,
.lightbox__next {
    position: absolute;
    width: 48px; height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    font-weight: 300;
    color: var(--c-bg);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    transition: all 0.3s var(--ease);
}
.lightbox__close:hover,
.lightbox__prev:hover,
.lightbox__next:hover {
    background: var(--c-red);
    border-color: var(--c-red);
}
.lightbox__close { top: 2rem; right: 2rem; }
.lightbox__prev  { left: 2rem;  top: 50%; transform: translateY(-50%); }
.lightbox__next  { right: 2rem; top: 50%; transform: translateY(-50%); }

.lightbox__caption {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
    padding: 0.5rem 1.25rem;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 999px;
}

/* ---------- REVIEWS ---------- */
.reviews {
    padding: clamp(4rem, 8vw, 7rem) 0;
    background: var(--c-bg-alt);
}

.reviews__head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 2rem;
    margin-bottom: clamp(3rem, 6vw, 4.5rem);
    flex-wrap: wrap;
}

.reviews__rating {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: flex-start;
}
.reviews__stars {
    display: flex;
    gap: 0.25rem;
    color: var(--c-red);
}
.reviews__rating span {
    font-size: 0.8125rem;
    color: var(--c-muted);
    letter-spacing: 0.05em;
}

.reviews__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 3.5rem;
}

.review {
    background: var(--c-paper);
    padding: 2rem;
    border-radius: 6px;
    border: 1px solid var(--c-line-soft);
    transition: all 0.4s var(--ease);
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}
.review::before {
    content: '"';
    position: absolute;
    top: 1rem; right: 1.5rem;
    font-family: var(--f-display);
    font-size: 4rem;
    color: var(--c-red);
    opacity: 0.12;
    line-height: 1;
    font-style: italic;
}
.review:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px -15px rgba(16, 24, 32, 0.12);
    border-color: var(--c-line);
}

.review__stars {
    display: flex;
    gap: 0.1875rem;
    color: var(--c-red);
}

.review__text {
    font-family: var(--f-display);
    font-size: 1.0625rem;
    line-height: 1.55;
    font-weight: 400;
    color: var(--c-ink);
    font-style: italic;
    flex: 1;
    letter-spacing: -0.005em;
}

.review__foot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid var(--c-line);
}
.review__name {
    font-weight: 500;
    font-size: 0.875rem;
    color: var(--c-ink);
}
.review__date {
    font-size: 0.75rem;
    color: var(--c-muted);
    letter-spacing: 0.04em;
}

.reviews__cta { text-align: center; }

/* ============================================================
   FOOTER — BEYAZ LOGO (kart yok)
============================================================ */
.footer {
    padding: clamp(4rem, 8vw, 6rem) 0 2rem;
    background: var(--c-ink);
    color: var(--c-bg);
    position: relative;
    overflow: hidden;
}

.footer__top {
    display: grid;
    grid-template-columns: 1fr 2.5fr;
    gap: 4rem;
    padding-bottom: 3.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer__brand { max-width: 320px; }

/* === Beyaz logo doğrudan koyu zeminde === */
.footer__logo {
    width: 220px;
    height: auto;
    display: block;
    margin-bottom: 1.5rem;
}

.footer__slogan {
    font-size: 0.9375rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.6);
    font-style: italic;
    font-family: var(--f-display);
}

.footer__cols {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.footer__col h4 {
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--c-red-soft);
    margin-bottom: 1.25rem;
}
.footer__col ul { display: flex; flex-direction: column; gap: 0.625rem; }
.footer__col li {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
}
.footer__col a {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.75);
    transition: color 0.3s;
}
.footer__col a:hover { color: var(--c-red-soft); }

.footer__wordmark {
    font-family: var(--f-display);
    font-weight: 300;
    font-style: italic;
    font-size: clamp(4rem, 18vw, 16rem);
    line-height: 0.9;
    letter-spacing: -0.04em;
    color: rgba(255, 255, 255, 0.04);
    text-align: center;
    margin: 3rem 0 2rem;
    pointer-events: none;
    user-select: none;
    font-variation-settings: "opsz" 144;
}

.footer__bottom {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.4);
    letter-spacing: 0.03em;
}

/* ---------- SCROLL PROGRESS ---------- */
.scroll-progress {
    position: fixed;
    top: 0; left: 0;
    width: 0%;
    height: 2px;
    background: var(--c-red);
    z-index: 101;
    transition: width 0.1s linear;
}

/* ---------- REVEAL ANIMATIONS ---------- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.9s var(--ease) var(--d, 0s),
                transform 0.9s var(--ease) var(--d, 0s);
}
.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================================
   RESPONSIVE
============================================================ */
@media (max-width: 1024px) {
    .nav__links { gap: 1.5rem; }
    .about__grid { grid-template-columns: 1fr; gap: 2rem; }
    .gallery__grid { grid-template-columns: repeat(3, 1fr); }
    .reviews__grid { grid-template-columns: repeat(2, 1fr); }
    .footer__top { grid-template-columns: 1fr; gap: 3rem; }
    .footer__cols { grid-template-columns: repeat(2, 1fr); }
    .dish-card { width: 300px; }
}

@media (max-width: 768px) {
    .nav__links, .nav__cta { display: none; }
    .nav__toggle { display: flex; }

    .hero {
        min-height: 85svh;
        padding: 6rem 0 3rem;
    }
    .hero__scroll { display: none; }

    .features { grid-template-columns: 1fr; }
    .feature {
        padding: 2rem 0 !important;
        border-right: none !important;
        border-bottom: 1px solid var(--c-line);
    }
    .feature:last-child { border-bottom: none; }

    .dish-card { width: 260px; }
    .dishes-carousel__track { gap: 1.25rem; }

    .branches__grid { grid-template-columns: 1fr; }
    .gallery__grid { grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
    .gallery__item--tall { grid-row: span 2; }

    .reviews__grid { grid-template-columns: 1fr; }
    .reviews__head { align-items: flex-start; }

    .footer__cols { grid-template-columns: 1fr; gap: 2rem; }
    .footer__bottom { flex-direction: column; gap: 0.5rem; text-align: left; }

    .lightbox__prev { left: 1rem; }
    .lightbox__next { right: 1rem; }
    .lightbox__close { top: 1rem; right: 1rem; }
}

@media (max-width: 480px) {
    .btn { padding: 0.875rem 1.5rem; font-size: 0.8125rem; }
    .hero__meta { font-size: 0.6875rem; }
    .nav__logo-img { height: 50px; }
    .nav.is-scrolled .nav__logo-img { height: 42px; }

    .gallery__grid { grid-template-columns: 1fr; }
    .gallery__item--tall, .gallery__item--medium, .gallery__item--short {
        aspect-ratio: 4 / 3;
        grid-row: auto;
    }

    .dish-card { width: 240px; }
    .footer__logo { width: 180px; }
}

/* ---------- REDUCED MOTION ---------- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
    .reveal { opacity: 1; transform: none; }
    .reveal-line > span { opacity: 1; transform: none; }
    .dishes-carousel__track { animation: none; }
}
