/* ========================================
   NEVA BAHÇE - APPLE INSPIRED DESIGN
   Mobile-First, Minimalist, High-End
======================================== */

/* Import Inter Font */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

/* ========================================
   RESET & BASE
======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: #FFFFFF;
    color: #1D1D1F;
    line-height: 1.6;
    overflow-x: hidden;
}

/* ========================================
   GLASSMORPHISM HEADER (STICKY)
======================================== */
.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 0.5px solid rgba(0, 0, 0, 0.04);
    padding: 0 max(20px, env(safe-area-inset-left));
    height: 60px; /* Biraz yükseltildi */
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@media (min-width: 1024px) {
    .header {
        height: 64px; /* Desktop: daha yüksek */
    }
}

.menu-icon {
    width: 44px;
    height: 44px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.2s ease;
}

.menu-icon:active {
    background: rgba(0, 0, 0, 0.06);
    transform: scale(0.95);
}

.menu-icon i {
    font-size: 20px;
    color: #1D1D1F;
}

.logo {
    font-size: 20px; /* Mobile: büyütüldü */
    font-weight: 700; /* Daha bold */
    letter-spacing: -0.6px;
    background: linear-gradient(135deg, #5B9BD5 0%, #1C4D8D 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

@media (min-width: 768px) {
    .logo {
        font-size: 22px; /* Tablet */
    }
}

@media (min-width: 1024px) {
    .logo {
        font-size: 24px; /* Desktop */
        letter-spacing: -0.8px;
    }
}

.header-icons {
    display: flex;
    align-items: center;
    gap: 4px;
}

.header-icons i {
    font-size: 20px;
    cursor: pointer;
    color: #1C4D8D;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.header-icons i:hover {
    background: rgba(28, 77, 141, 0.08);
}

.header-icons i:active {
    background: rgba(28, 77, 141, 0.12);
    transform: scale(0.95);
}

.header-subtext {
    text-align: center;
    font-size: 13px;
    color: #6b7280;
    margin-top: 8px;
    margin-bottom: -4px;
    font-weight: 500;
}

/* ========================================
   CONTAINER & SPACING
======================================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 48px 20px 80px;
}

@media (min-width: 768px) {
    .container {
        padding: 64px 40px 96px;
    }
}

/* ========================================
   SECTION TITLES
======================================== */
.section-title {
    font-size: 21px;
    font-weight: 700;
    color: #1D1D1F;
    letter-spacing: -0.7px;
    margin-bottom: 28px;
    text-align: center;
    line-height: 1.1;
    position: relative;
    padding-bottom: 10px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 52px;
    height: 3px;
    background: linear-gradient(90deg, #5B9BD5 0%, #1C4D8D 100%);
    border-radius: 100px;
}

@media (min-width: 768px) {
    .section-title {
        font-size: 24px;
    }
}

/* Desktop */
@media (min-width: 1024px) {
    .section-title {
        font-size: 44px;
        letter-spacing: -1px;
        margin-bottom: 52px;
        padding-bottom: 16px;
    }

    .section-title::after {
        width: 84px;
        height: 4px;
    }
}

/* ========================================
   HERO SLIDER (BENTO STYLE)
======================================== */
.slider-container {
    margin-bottom: clamp(40px, 8vw, 64px);
}

/* Tek kart: görsel + noktalar aynı köşe yuvarlaklığında; alt şerit yok */
.slider-viewport {
    position: relative;
    overflow: hidden;
    border-radius: clamp(16px, 4vw, 24px);
    background: #0f0f12;
    box-shadow:
        0 4px 24px rgba(15, 23, 42, 0.08),
        0 1px 3px rgba(15, 23, 42, 0.06);
}

/* Okunabilir noktalar için altta hafif karartma (görselin üzerinde) */
.slider-viewport::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: min(42%, 140px);
    background: linear-gradient(to top, rgba(0, 0, 0, 0.62) 0%, rgba(0, 0, 0, 0.18) 45%, transparent 100%);
    pointer-events: none;
    z-index: 2;
    border-radius: inherit;
}

.slider {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.slide {
    min-width: 100%;
    position: relative;
    flex-shrink: 0;
    aspect-ratio: 16 / 9;
    max-height: min(52vw, 280px);
}

@media (min-width: 480px) {
    .slide {
        max-height: min(48vw, 320px);
    }
}

@media (min-width: 768px) {
    .slide {
        aspect-ratio: 2 / 1;
        max-height: min(42vw, 380px);
    }
}

@media (min-width: 1024px) {
    .slide {
        aspect-ratio: 21 / 9;
        max-height: min(38vw, 440px);
    }
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.slide-content {
    position: absolute;
    bottom: clamp(56px, 14vw, 88px);
    left: clamp(16px, 4vw, 36px);
    right: clamp(16px, 4vw, 36px);
    max-width: 90%;
    color: #fff;
    font-size: clamp(1.25rem, 4.2vw, 2rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.15;
    text-shadow:
        0 1px 2px rgba(0, 0, 0, 0.45),
        0 4px 24px rgba(0, 0, 0, 0.35);
    z-index: 3;
    pointer-events: none;
}

/* Tek slayt: gösterge yok, başlık daha aşağı */
.slider-viewport--single .slide-content {
    bottom: clamp(18px, 5vw, 40px);
}

.slider-viewport--single::after {
    height: min(38%, 100px);
    background: linear-gradient(to top, rgba(0, 0, 0, 0.45) 0%, transparent 100%);
}

/* Çok slayt: noktalar görselin alt bandında, ayrı şerit yok */
.slider-dots {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 4;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: clamp(6px, 1.5vw, 10px);
    padding: clamp(10px, 2.5vw, 16px) clamp(14px, 3vw, 20px) clamp(12px, 2.8vw, 18px);
    margin: 0;
    box-sizing: border-box;
}

.slider-dots--hidden {
    display: none !important;
}

.slider-dots .dot {
    flex-shrink: 0;
    width: 9px;
    height: 9px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.38);
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.12);
    cursor: pointer;
    transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
    -webkit-tap-highlight-color: transparent;
}

.slider-dots .dot:hover {
    background: rgba(255, 255, 255, 0.65);
    transform: scale(1.15);
}

.slider-dots .dot:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 3px;
}

.slider-dots .dot.active {
    background: #fff;
    transform: scale(1.25);
    box-shadow:
        0 0 0 2px rgba(91, 155, 213, 0.95),
        0 2px 8px rgba(0, 0, 0, 0.25);
}

@media (prefers-reduced-motion: reduce) {
    .slider {
        transition-duration: 0.15s;
    }

    .slider-dots .dot,
    .slider-dots .dot.active {
        transition: none;
    }
}

/* Garson çağır (ön yüz) */
.r10-waiter-fab {
    position: fixed;
    right: max(16px, env(safe-area-inset-right));
    bottom: max(20px, env(safe-area-inset-bottom));
    z-index: 950;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    border: none;
    border-radius: 999px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #fff;
    background: linear-gradient(135deg, #1c4d8d 0%, #5b9bd5 100%);
    box-shadow: 0 8px 28px rgba(28, 77, 141, 0.35);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    -webkit-touch-callout: none;
    user-select: none;
}

.r10-waiter-fab:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(28, 77, 141, 0.4);
}

.r10-waiter-fab:active {
    transform: scale(0.97);
}

.r10-waiter-fab i {
    font-size: 18px;
}

.r10-waiter-fab__text {
    line-height: 1;
}

@media (max-width: 380px) {
    .r10-waiter-fab__text {
        display: none;
    }

    .r10-waiter-fab {
        width: 52px;
        height: 52px;
        padding: 0;
        justify-content: center;
    }
}

/* Garson — tek dokunuş masa popup */
.r10-waiter-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 960;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: max(16px, env(safe-area-inset-top)) max(16px, env(safe-area-inset-right))
        max(16px, env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left));
    background: rgba(15, 23, 42, 0.45);
    animation: r10-waiter-modal-in 0.2s ease;
}

@keyframes r10-waiter-modal-in {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.r10-waiter-modal-panel {
    width: 100%;
    max-width: 400px;
    background: #fff;
    border-radius: 16px;
    padding: 22px 20px 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.22);
    margin: auto;
}

.r10-waiter-modal-panel h3 {
    margin: 0 0 8px;
    font-size: 1.1rem;
    font-weight: 700;
    color: #1d1d1f;
}

.r10-waiter-modal-panel p {
    margin: 0 0 14px;
    font-size: 13px;
    color: #6b7280;
    line-height: 1.45;
}

.r10-waiter-modal-panel input {
    width: 100%;
    box-sizing: border-box;
    padding: 12px 14px;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    font-size: 16px;
    margin-bottom: 14px;
}

.r10-waiter-modal-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

.r10-waiter-modal-actions button {
    padding: 10px 18px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    border: none;
}

.r10-waiter-modal-cancel {
    background: #f3f4f6;
    color: #374151;
}

.r10-waiter-modal-send {
    background: linear-gradient(135deg, #1c4d8d 0%, #5b9bd5 100%);
    color: #fff;
}

/* ========================================
   CATEGORIES GRID (BENTO)
======================================== */
.categories {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-top: 32px;
}

@media (min-width: 768px) {
    .categories {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
}

@media (min-width: 1024px) {
    .categories {
        grid-template-columns: repeat(5, 1fr);
        gap: 24px;
    }
}

/* Satır arası / grid sonu görsel reklam */
.categories-ad-row {
    grid-column: 1 / -1;
    margin: 8px 0;
    min-height: 80px;
    box-sizing: border-box;
}

.categories-ad-row--after-grid {
    margin-top: 16px;
    margin-bottom: 4px;
}

.r10-inline-ad-link {
    display: block;
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
}

.r10-inline-ad-link:focus-visible {
    outline: 2px solid #3b82f6;
    outline-offset: 2px;
    border-radius: 10px;
}

.r10-inline-ad {
    width: 100%;
    height: 80px;
    max-height: 80px;
    object-fit: cover;
    border-radius: 10px;
    display: block;
    border: 1px solid #eaeaea;
    background: #f5f5f7;
}

.category-page-ad--bottom {
    min-height: 80px;
    box-sizing: border-box;
    contain: layout;
}

.category-card {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 1;
    background: #F5F5F7;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
}

.category-card:active {
    transform: scale(0.96);
}

@media (hover: hover) {
    .category-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 12px 40px rgba(28, 77, 141, 0.15);
    }
}

.category-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.category-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.6) 100%);
    display: flex;
    align-items: flex-end;
    padding: 20px;
}

.category-title {
    color: white;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: -0.3px;
    line-height: 1.2;
}

@media (min-width: 768px) {
    .category-title {
        font-size: 17px;
    }
}

@media (min-width: 1024px) {
    .category-title {
        font-size: 20px; /* Desktop: büyütüldü */
        font-weight: 700;
    }
}

/* ========================================
   POPUPS (APPLE MODAL STYLE)
======================================== */
.popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    padding: 20px;
}

.popup-overlay.active {
    display: flex;
    animation: fadeIn 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.popup {
    background: white;
    border-radius: 24px;
    padding: 32px;
    max-width: 420px;
    width: 100%;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    animation: scaleIn 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.popup-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 32px;
    height: 32px;
    border: none;
    background: rgba(0, 0, 0, 0.04);
    border-radius: 50%;
    cursor: pointer;
    color: #1D1D1F;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.popup-close:hover {
    background: rgba(0, 0, 0, 0.08);
}

.popup h2 {
    font-size: 24px;
    font-weight: 700;
    color: #1D1D1F;
    margin-bottom: 24px;
    text-align: center;
    letter-spacing: -0.5px;
}

/* Geri bildirim popup — vurgu ve düzen */
.popup--feedback {
    position: relative;
    border: 1px solid rgba(28, 77, 141, 0.12);
    background: linear-gradient(180deg, #fafbfd 0%, #ffffff 48%);
    box-shadow:
        0 24px 64px rgba(15, 23, 42, 0.12),
        0 0 0 1px rgba(255, 255, 255, 0.8) inset;
}

.popup--feedback::before {
    content: '';
    position: absolute;
    top: 0;
    left: 24px;
    right: 24px;
    height: 4px;
    border-radius: 0 0 8px 8px;
    background: linear-gradient(90deg, #1c4d8d 0%, #5b9bd5 50%, #7eb8e8 100%);
    opacity: 0.95;
}

.popup--feedback__title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 10px !important;
    font-size: 22px !important;
}

.popup--feedback__icon {
    font-size: 1.35em;
    line-height: 1;
    filter: drop-shadow(0 2px 4px rgba(28, 77, 141, 0.15));
}

.popup--feedback__lead {
    text-align: center;
    font-size: 14px;
    line-height: 1.45;
    color: #6b7280;
    margin: 0 0 22px;
    padding: 0 8px;
}

.wifi-info {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
    padding: 16px;
    background: #F5F5F7;
    border-radius: 12px;
}

.wifi-info strong {
    color: #86868B;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 4px;
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.wifi-info span {
    color: #1D1D1F;
    font-size: 17px;
    font-weight: 600;
}

.wifi-qr {
    width: 160px;
    height: 160px;
    background: #fff;
    border-radius: 12px;
    padding: 10px;
    margin: 10px auto 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.wifi-hint {
    text-align: center;
    font-size: 12px;
    color: #86868B;
    margin-bottom: 8px;
}

.btn-copy {
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    background: linear-gradient(135deg, #5B9BD5 0%, #1C4D8D 100%);
    color: white;
    transition: all 0.3s ease;
    margin-top: 8px;
    box-shadow: 0 4px 12px rgba(28, 77, 141, 0.2);
}

.btn-copy:hover {
    background: linear-gradient(135deg, #4A8AC4 0%, #15437C 100%);
    box-shadow: 0 6px 16px rgba(28, 77, 141, 0.3);
}

.btn-copy:active {
    transform: scale(0.98);
}

/* Announcement modal (günde 1 kez) — qrmenu_popup_blue yapısı, site mavileri */
@keyframes r10AnnPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.45; }
}

.r10-modal-overlay {
    --r10-ann-navy: #0c2f5c;
    --r10-ann-deep: #1c4d8d;
    --r10-ann-sky: #5b9bd5;
    --r10-ann-ice: #b8d9f5;
    position: fixed;
    inset: 0;
    background: rgba(8, 18, 42, 0.72);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    z-index: 1200;
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, sans-serif;
}
.r10-modal-overlay.active {
    display: flex;
    animation: r10FadeIn 0.28s ease;
}
.r10-modal-card {
    width: 100%;
    max-width: 420px;
    border-radius: 24px;
    overflow: hidden;
    background: #fff;
    box-shadow:
        0 24px 64px rgba(28, 77, 141, 0.22),
        0 0 0 1px rgba(255, 255, 255, 0.06) inset;
    animation: r10CardIn 0.45s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.r10-modal-top {
    background: linear-gradient(135deg, var(--r10-ann-navy) 0%, var(--r10-ann-deep) 52%, var(--r10-ann-sky) 100%);
    padding: 32px 28px 26px;
    position: relative;
    overflow: hidden;
}
.r10-modal-top::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.07);
    top: -100px;
    right: -80px;
}
.r10-modal-top::after {
    content: '';
    position: absolute;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    bottom: -56px;
    left: 18px;
}
.r10-modal-badge {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.1px;
    text-transform: uppercase;
    padding: 5px 12px;
    border-radius: 100px;
    margin-bottom: 14px;
}
.r10-modal-badge-dot {
    width: 6px;
    height: 6px;
    background: var(--r10-ann-ice);
    border-radius: 50%;
    animation: r10AnnPulse 1.6s ease-in-out infinite;
}
.r10-modal-headline {
    position: relative;
    z-index: 1;
    font-size: clamp(1.4rem, 4.5vw, 1.85rem);
    font-weight: 700;
    color: #fff;
    line-height: 1.18;
    letter-spacing: -0.4px;
    margin: 0;
}
.r10-modal-headline-accent {
    font-weight: 700;
    color: var(--r10-ann-ice);
}
.r10-modal-sub {
    position: relative;
    z-index: 1;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.68);
    line-height: 1.55;
    margin: 10px 0 0;
}
.r10-modal-body {
    padding: 22px 26px 24px;
    background: #fff;
}
.r10-modal-desc {
    font-size: 14px;
    color: #4a5568;
    line-height: 1.75;
    padding-bottom: 18px;
    margin-bottom: 18px;
    border-bottom: 1px solid #eef2f8;
}
.r10-modal-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}
.r10-modal-tag {
    display: inline-flex;
    align-items: center;
    background: rgba(91, 155, 213, 0.12);
    color: var(--r10-ann-deep);
    font-size: 12px;
    font-weight: 500;
    padding: 6px 12px;
    border-radius: 100px;
    border: 1px solid rgba(28, 77, 141, 0.2);
}
.r10-modal-cta {
    width: 100%;
    padding: 14px 16px;
    border: none;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    cursor: pointer;
    letter-spacing: 0.02em;
    background: linear-gradient(135deg, var(--r10-ann-deep) 0%, var(--r10-ann-sky) 100%);
    box-shadow: 0 4px 16px rgba(28, 77, 141, 0.32);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.r10-modal-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(28, 77, 141, 0.38);
}
.r10-modal-cta:active {
    transform: scale(0.98);
}
.r10-modal-skip {
    display: block;
    width: 100%;
    margin-top: 12px;
    padding: 0;
    border: none;
    background: none;
    text-align: center;
    font-size: 12px;
    color: #a0aec0;
    cursor: pointer;
    transition: color 0.2s ease;
}
.r10-modal-skip:hover {
    color: #718096;
}
.r10-modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.16);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.88);
    font-size: 18px;
    line-height: 1;
    transition: background 0.2s ease, transform 0.2s ease;
}
.r10-modal-close:hover {
    background: rgba(255, 255, 255, 0.28);
}
.r10-modal-close:active {
    transform: scale(0.95);
}

@keyframes r10FadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
@keyframes r10CardIn {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ========================================
   SIDEBAR MENU (APPLE DRAWER)
======================================== */
.sidebar {
    position: fixed;
    top: 0;
    left: -100%;
    width: min(380px, 85vw);
    height: 100%;
    background: white;
    z-index: 2000;
    transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 60px rgba(0, 0, 0, 0.15);
    overflow-y: auto;
}

.sidebar.active,
.sidebar.open {
    left: 0;
}

.sidebar-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 1500;
    display: none;
    transition: opacity 0.3s ease;
}

.sidebar-overlay.active {
    display: block;
}

.sidebar-header {
    padding: 24px 24px 20px;
    border-bottom: 0.5px solid rgba(0, 0, 0, 0.06);
}

.sidebar-title {
    font-size: 13px;
    color: #86868B;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sidebar-title .close-btn {
    width: 32px;
    height: 32px;
    border: none;
    background: rgba(0, 0, 0, 0.04);
    border-radius: 50%;
    cursor: pointer;
    color: #1D1D1F;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
}

.sidebar-title .close-btn:hover {
    background: rgba(0, 0, 0, 0.08);
}

.sidebar-logo {
    font-size: 28px;
    font-weight: 700;
    background: linear-gradient(135deg, #5B9BD5 0%, #1C4D8D 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 12px;
    letter-spacing: -0.8px;
}

.restaurant-name {
    font-size: 17px;
    color: #1D1D1F;
    font-weight: 600;
    margin-bottom: 24px;
}

.restaurant-info {
    display: flex;
    align-items: flex-start;
    margin-bottom: 16px;
    color: #86868B;
    font-size: 15px;
    text-decoration: none;
    transition: color 0.2s ease;
    line-height: 1.5;
}

.restaurant-info:hover {
    color: #1C4D8D;
}

.restaurant-info i {
    margin-right: 12px;
    width: 20px;
    color: #86868B;
    flex-shrink: 0;
}

.social-section {
    padding: 24px;
    border-bottom: 0.5px solid rgba(0, 0, 0, 0.06);
}

.social-title {
    font-size: 13px;
    font-weight: 600;
    color: #86868B;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.social-link {
    display: flex;
    align-items: center;
    margin-bottom: 14px;
    color: #1D1D1F;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: opacity 0.2s ease;
}

.social-link:hover {
    color: #1C4D8D;
}

.social-link i {
    margin-right: 12px;
    width: 20px;
    color: #1D1D1F;
}

.sidebar-buttons {
    padding: 24px;
}

.sidebar-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 14px 20px;
    margin-bottom: 12px;
    border: none;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    color: white;
}

.sidebar-btn:active {
    transform: scale(0.98);
}

.sidebar-btn i {
    margin-right: 8px;
    font-size: 16px;
}

.btn-wifi {
    background: linear-gradient(135deg, #5B9BD5 0%, #1C4D8D 100%);
    box-shadow: 0 4px 12px rgba(28, 77, 141, 0.2);
}

.btn-wifi:hover {
    background: linear-gradient(135deg, #4A8AC4 0%, #15437C 100%);
    box-shadow: 0 6px 16px rgba(28, 77, 141, 0.3);
}

.btn-whatsapp {
    background: #25D366;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.25);
}

.btn-whatsapp:hover {
    background: #20BA5A;
    box-shadow: 0 6px 16px rgba(37, 211, 102, 0.35);
}

.btn-feedback {
    background: #86868B;
    box-shadow: 0 4px 12px rgba(134, 134, 139, 0.25);
}

.btn-feedback:hover {
    background: #6B6B70;
    box-shadow: 0 6px 16px rgba(134, 134, 139, 0.35);
}

/* ========================================
   FORM STYLES (FEEDBACK)
======================================== */
.popup--feedback .form-group {
    margin-bottom: 18px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group__head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 8px;
}

.form-group label {
    display: block;
    color: #1D1D1F;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.popup--feedback .form-group label {
    margin-bottom: 0;
    text-transform: none;
    letter-spacing: 0;
    font-size: 14px;
    font-weight: 600;
    color: #1d1d1f;
}

.label-optional {
    font-weight: 500;
    color: #86868b;
    font-size: 12px;
}

.feedback-char-meta {
    font-size: 11px;
    font-weight: 600;
    color: #9ca3af;
    text-transform: lowercase;
    letter-spacing: 0;
    white-space: nowrap;
}

.feedback-hint {
    font-size: 12px;
    line-height: 1.4;
    color: #86868b;
    margin: 8px 0 0;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    font-size: 15px;
    font-family: 'Inter', sans-serif;
    color: #1D1D1F;
    background: #F5F5F7;
    transition: all 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #1C4D8D;
    background: white;
    box-shadow: 0 0 0 3px rgba(28, 77, 141, 0.1);
}

.form-group textarea {
    height: 100px;
    max-height: 140px;
    resize: none;
    line-height: 1.6;
}

.feedback-phone-wrap {
    display: flex;
    align-items: stretch;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.08);
    background: #f5f5f7;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.feedback-phone-wrap:focus-within {
    border-color: #1c4d8d;
    box-shadow: 0 0 0 3px rgba(28, 77, 141, 0.12);
    background: #fff;
}

.feedback-phone-prefix {
    flex: 0 0 auto;
    padding: 14px 12px;
    font-weight: 700;
    font-size: 15px;
    color: #1d1d1f;
    background: #e8e8ed;
    border-right: 1px solid rgba(0, 0, 0, 0.08);
    align-self: center;
}

.feedback-phone-wrap input {
    flex: 1;
    min-width: 0;
    border: none !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

.feedback-phone-wrap input:focus {
    box-shadow: none !important;
    outline: none !important;
}

.popup--feedback .form-group input::placeholder,
.popup--feedback .form-group textarea::placeholder {
    color: #b4b4b8;
    opacity: 1;
}

.btn-send {
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    background: linear-gradient(135deg, #5B9BD5 0%, #1C4D8D 100%);
    color: white;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(28, 77, 141, 0.2);
}

.btn-send:hover {
    background: linear-gradient(135deg, #4A8AC4 0%, #15437C 100%);
    box-shadow: 0 6px 16px rgba(28, 77, 141, 0.3);
}

.btn-send:active {
    transform: scale(0.98);
}

/* ========================================
   FOOTER (MINIMALIST)
======================================== */
.footer {
    background: #F5F5F7;
    color: #86868B;
    text-align: center;
    padding: 32px 20px;
    margin-top: 80px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer p {
    margin: 0;
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0.3px;
}

/* ========================================
   ANIMATIONS
======================================== */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* ========================================
   SKELETON LOADING
======================================== */
.skeleton {
    background: linear-gradient(
        90deg,
        #F5F5F7 0%,
        #E5E5EA 50%,
        #F5F5F7 100%
    );
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s ease-in-out infinite;
    border-radius: 12px;
}

@keyframes skeleton-loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

.skeleton-card {
    aspect-ratio: 1;
    border-radius: 24px;
}

/* ========================================
   UTILITY CLASSES
======================================== */
.text-primary {
    color: #1D1D1F;
}

.text-secondary {
    color: #86868B;
}

.bg-subtle {
    background: #F5F5F7;
}

/* ========================================
   RESPONSIVE REFINEMENTS
======================================== */
@media (max-width: 768px) {
    .sidebar {
        width: min(340px, 85vw);
    }
    
    .slide-content {
        font-size: 24px;
        bottom: 24px;
        left: 24px;
    }
}

/* Safe area insets for iPhone notch */
@supports (padding: env(safe-area-inset-left)) {
    .header {
        padding-left: max(20px, env(safe-area-inset-left));
        padding-right: max(20px, env(safe-area-inset-right));
    }
    
    .container {
        padding-left: max(20px, env(safe-area-inset-left));
        padding-right: max(20px, env(safe-area-inset-right));
    }
}

/* Smooth scrolling for iOS */
body {
    -webkit-overflow-scrolling: touch;
}

/* Logo görseli (PHP ile img enjekte edildiğinde) */
.logo img,
.sidebar-logo img {
    max-height: 40px;
    width: auto;
    object-fit: contain;
    display: block;
    margin: 0 auto;
    -webkit-text-fill-color: initial;
}

.sidebar-logo img {
    max-height: 52px;
    margin: 0;
}

.sidebar-btn.is-hidden {
    display: none !important;
}

/* ========================================
   404 — sade düzen + kurumsal mavi (Neva / menü teması)
======================================== */
.page-404-body--minimal {
    --404-navy: #1c4d8d;
    --404-sky: #5b9bd5;
    --404-deep: #0f3a6b;
    --404-ice: #e8f2fc;
    --404-mist: #f4f8fd;
    margin: 0;
    min-height: 100vh;
    min-height: 100dvh;
    background: linear-gradient(180deg, #ffffff 0%, var(--404-mist) 55%, #eef4fb 100%);
}

.page-404--minimal {
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: max(32px, env(safe-area-inset-top)) max(20px, env(safe-area-inset-right)) max(32px, env(safe-area-inset-bottom)) max(20px, env(safe-area-inset-left));
}

.page-404-inner {
    width: 100%;
    max-width: 440px;
    text-align: center;
    animation: page404MinimalIn 0.45s ease both;
}

@keyframes page404MinimalIn {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}

.page-404-brand {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 28px;
    text-decoration: none;
    color: var(--404-navy);
}

.page-404-brand:hover {
    opacity: 0.88;
}

.page-404-brand-img {
    max-height: 36px;
    width: auto;
    object-fit: contain;
    display: block;
}

.page-404-brand-mark {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: linear-gradient(145deg, var(--404-sky) 0%, var(--404-navy) 100%);
    color: #fff;
    font-size: 14px;
    box-shadow: 0 4px 12px rgba(28, 77, 141, 0.22);
}

.page-404-brand-text {
    font-size: 1.125rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    background: linear-gradient(135deg, var(--404-sky) 0%, var(--404-navy) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-404-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 14px;
    border-radius: 100px;
    background: var(--404-ice);
    color: var(--404-navy);
    font-size: 12px;
    font-weight: 500;
    margin: 0 0 24px;
    border: 1px solid rgba(91, 155, 213, 0.35);
}

.page-404-pill span {
    font-weight: 700;
    color: var(--404-deep);
}

.page-404-headline {
    margin: 0 0 16px;
    font-size: clamp(1.75rem, 5vw, 2.125rem);
    font-weight: 700;
    letter-spacing: -0.045em;
    line-height: 1.12;
}

.page-404-headline-strong {
    display: block;
    color: var(--404-deep);
}

.page-404-headline-muted {
    display: block;
    color: var(--404-sky);
    font-weight: 700;
}

.page-404-lead {
    margin: 0 0 32px;
    font-size: 15px;
    line-height: 1.6;
    color: #4a667d;
    max-width: 380px;
    margin-left: auto;
    margin-right: auto;
}

.page-404-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-bottom: 20px;
}

.page-404-row--single {
    margin-bottom: 8px;
}

.page-404-btn-min {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 18px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    transition: opacity 0.2s ease, transform 0.15s ease, background 0.2s ease;
}

.page-404-btn-min:active {
    transform: scale(0.98);
}

.page-404-btn-min--dark {
    background: linear-gradient(135deg, var(--404-sky) 0%, var(--404-navy) 100%);
    color: #fff;
    box-shadow: 0 4px 16px rgba(28, 77, 141, 0.28);
}

.page-404-btn-min--dark:hover {
    opacity: 0.94;
    box-shadow: 0 6px 20px rgba(28, 77, 141, 0.34);
}

.page-404-btn-min--outline {
    background: #fff;
    color: var(--404-navy);
    border: 1px solid rgba(28, 77, 141, 0.22);
}

.page-404-btn-min--outline:hover {
    background: var(--404-ice);
    border-color: rgba(91, 155, 213, 0.45);
}

.page-404-sad {
    margin: 16px 0 0;
    font-size: clamp(2.5rem, 10vw, 3.25rem);
    font-weight: 700;
    line-height: 1;
    color: var(--404-sky);
    opacity: 0.75;
    transform: rotate(90deg);
    user-select: none;
}

@media (max-width: 380px) {
    .page-404-btn-min {
        width: 100%;
        max-width: 280px;
    }
}

/* Bakım sayfası — ortalanmış, kaydırılabilir, mobilde kırılım */
.page-maint-body {
    overflow-x: hidden;
}

.page-maint-body .page-maint {
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    min-height: 100dvh;
    min-height: 100svh;
    padding: max(16px, env(safe-area-inset-top)) max(18px, env(safe-area-inset-right)) max(20px, env(safe-area-inset-bottom)) max(18px, env(safe-area-inset-left));
    box-sizing: border-box;
}

.page-maint-inner {
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
    padding-bottom: max(16px, env(safe-area-inset-bottom));
    max-height: min(100dvh - 32px, 100%);
    max-height: min(100svh - 32px, 100%);
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    box-sizing: border-box;
}

.page-maint-top {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px 14px;
    margin-bottom: 20px;
    width: 100%;
}

.page-maint-top .page-404-brand {
    margin-bottom: 0;
}

.page-maint-pill {
    margin: 0 !important;
}

.page-maint-brand {
    text-decoration: none;
    color: inherit;
    cursor: default;
    max-width: 100%;
}

.page-maint-brand-inner {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    max-width: 100%;
    flex-wrap: wrap;
}

.page-maint-brand .page-404-brand-text {
    text-align: center;
    word-break: break-word;
    overflow-wrap: anywhere;
    max-width: 100%;
}

.page-maint-brand .page-404-brand-img {
    max-height: clamp(28px, 8vw, 36px);
}

.page-maint-body .page-404-headline {
    word-break: break-word;
    overflow-wrap: anywhere;
    hyphens: auto;
    padding: 0 2px;
}

.page-maint-body .page-404-lead {
    max-width: 100%;
    padding: 0 4px;
    word-break: break-word;
    overflow-wrap: anywhere;
}

.page-maint-body .page-404-sad {
    margin: 12px 0 8px;
    font-size: clamp(2rem, 12vw, 3rem);
}

.page-maint-icon {
    margin-top: 4px;
}

.page-maint-footer {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid rgba(28, 77, 141, 0.12);
    text-align: center;
    width: 100%;
    box-sizing: border-box;
}

.page-maint-line {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    margin: 0 0 12px;
    font-size: clamp(12px, 3.4vw, 13px);
    color: #4a667d;
    line-height: 1.55;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.page-maint-line:last-of-type {
    margin-bottom: 14px;
}

.page-maint-meta-link,
.page-maint-static-line {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    width: 100%;
    max-width: 100%;
    text-align: left;
    box-sizing: border-box;
}

.page-maint-static-line {
    color: inherit;
}

.page-maint-meta-link i,
.page-maint-static-line > i,
.page-maint-hours > i {
    flex-shrink: 0;
    width: 1em;
    margin-top: 0.2em;
    color: var(--404-navy, #1c4d8d);
}

.page-maint-line-text {
    flex: 1;
    min-width: 0;
    word-break: break-word;
    overflow-wrap: anywhere;
    hyphens: auto;
}

.page-maint-hours {
    display: flex !important;
    align-items: flex-start;
    justify-content: center;
    gap: 10px;
    text-align: left;
    color: #5c6b78;
}

.page-maint-hours .page-maint-line-text {
    flex: 1;
    min-width: 0;
}

.page-maint-meta-link {
    color: var(--404-navy, #1c4d8d);
    text-decoration: none;
}

.page-maint-meta-link:hover {
    text-decoration: underline;
}

.page-maint-social {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    align-items: center;
    margin-top: 6px;
    padding-bottom: 4px;
}

.page-maint-social-btn {
    width: clamp(40px, 11vw, 44px);
    height: clamp(40px, 11vw, 44px);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(91, 155, 213, 0.15);
    color: var(--404-navy, #1c4d8d);
    border: 1px solid rgba(28, 77, 141, 0.15);
    text-decoration: none;
    font-size: clamp(16px, 4.5vw, 18px);
    transition: background 0.2s ease, transform 0.15s ease;
}

.page-maint-social-btn:hover {
    background: rgba(91, 155, 213, 0.28);
    transform: translateY(-1px);
}

@media (max-width: 360px) {
    .page-maint-top {
        flex-direction: column;
        gap: 12px;
    }

    .page-maint-brand-inner {
        flex-direction: column;
        text-align: center;
    }
}

@media (min-height: 680px) {
    .page-maint-inner {
        max-height: none;
        overflow-y: visible;
    }
}

