/* Custom CSS for HB Döner Website */

:root {
    /* HB Döner Kurumsal Renkleri — 2025 Brand Guide (Pantone 130 C / Pantone 2035 C) */
    --brand-yellow: #f5a800;   /* PANTONE 130 C  · RGB 245 168 2 */
    --brand-red: #db0c1f;      /* PANTONE 2035 C · RGB 220 11 30 */
    --brand-ink: #171627;      /* Logo mürekkep laciverti */
    --brand-yellow-dark: #d49400;
    --brand-red-dark: #b40a1a;
    --white: #ffffff;
    --gray-light: #f8f9fa;
    --gray-medium: #6c757d;
    --gray-dark: #343a40;

    /* Semantic tokens */
    --color-brand-primary: var(--brand-yellow);
    --color-brand-secondary: var(--brand-red);
    --color-background: #f9fafb;
    --color-surface: #ffffff;
    --color-text: #1f2937;
    --color-heading: var(--brand-ink);
    --color-muted: #6b7280;
    --color-border: #e5e7eb;
    --color-success: #059669;
    --color-warning: var(--brand-yellow);
    --color-error: var(--brand-red);
    --color-info: #2563eb;

    /* Spacing scale */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    --space-16: 4rem;

    /* Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.65rem;
    --radius-lg: 0.85rem;
    --radius-xl: 1rem;
    --radius-full: 9999px;

    /* Shadow */
    --shadow-sm: 0 1px 2px rgba(23, 22, 39, 0.05);
    --shadow-md: 0 1px 3px rgba(23, 22, 39, 0.06), 0 1px 2px rgba(23, 22, 39, 0.04);
    --shadow-lg: 0 10px 25px rgba(23, 22, 39, 0.08), 0 4px 10px rgba(23, 22, 39, 0.04);

    /* Focus ring */
    --focus-ring: 0 0 0 3px rgba(245, 168, 0, 0.28);
    --focus-ring-danger: 0 0 0 3px rgba(219, 12, 31, 0.22);

    /* Z-index */
    --z-dropdown: 1000;
    --z-sticky: 1020;
    --z-fixed: 1030;
    --z-modal-backdrop: 1040;
    --z-modal: 1050;
    --z-toast: 1080;

    /* Layout */
    --container-max: 80rem;
    --header-height: 4.5rem;

    /* Typography scale — DM Sans (2025 Brand Guide, Latin Extended: TR/DE/EN) */
    --font-family: "DM Sans", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    --font-display: "DM Sans", "Segoe UI", sans-serif;
    --text-display: clamp(2.25rem, 4vw, 3.5rem);
    --text-h1: clamp(1.875rem, 3vw, 2.75rem);
    --text-h2: clamp(1.5rem, 2.5vw, 2.25rem);
    --text-h3: clamp(1.25rem, 2vw, 1.5rem);
    --text-body-lg: 1.125rem;
    --text-body: 1rem;
    --text-body-sm: 0.875rem;
    --text-caption: 0.75rem;
    --leading-tight: 1.15;
    --leading-body: 1.6;
    --transition-fast: 150ms ease;
    --transition-base: 220ms ease;

    /* Legacy colors for compatibility */
    --primary-color: var(--brand-yellow);
    --primary-dark: var(--brand-yellow-dark);
    --secondary-color: var(--gray-medium);
    --success-color: var(--color-success);
    --danger-color: var(--brand-red);
    --warning-color: var(--brand-yellow);
    --info-color: var(--color-info);
    --light-color: var(--gray-light);
    --dark-color: var(--gray-dark);
}

/* Global Styles */
html {
    font-size: 14px;
    scroll-behavior: smooth;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

body {
    font-family: var(--font-family);
    line-height: var(--leading-body);
    color: var(--color-text);
    background-color: var(--color-background);
}

:focus-visible {
    outline: 2px solid var(--brand-yellow);
    outline-offset: 2px;
}

.site-container {
    width: 100%;
    max-width: var(--container-max);
    margin-inline: auto;
    padding-inline: var(--space-4);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: var(--leading-tight);
    color: var(--color-heading);
    letter-spacing: -0.015em;
}

.type-display {
    font-family: var(--font-display);
    font-size: var(--text-display);
    font-weight: 700;
    line-height: var(--leading-tight);
    letter-spacing: -0.01em;
}

.type-h1 {
    font-family: var(--font-display);
    font-size: var(--text-h1);
    font-weight: 700;
    line-height: var(--leading-tight);
    letter-spacing: -0.01em;
}

.type-h2 {
    font-family: var(--font-display);
    font-size: var(--text-h2);
    font-weight: 600;
    line-height: var(--leading-tight);
    letter-spacing: -0.01em;
}

.type-h3 {
    font-family: var(--font-display);
    font-size: var(--text-h3);
    font-weight: 600;
    line-height: var(--leading-tight);
}

.type-body-lg {
    font-size: var(--text-body-lg);
    line-height: var(--leading-body);
    color: var(--color-muted);
}

.type-body {
    font-size: var(--text-body);
    line-height: var(--leading-body);
}

.type-body-sm {
    font-size: var(--text-body-sm);
    line-height: var(--leading-body);
}

.type-caption {
    font-size: var(--text-caption);
    line-height: 1.4;
    letter-spacing: 0.02em;
}

.display-1, .display-2, .display-3, .display-4, .display-5, .display-6 {
    font-weight: 700;
}

/* Motion */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Navigation */
.navbar {
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
}

.navbar-nav .nav-link {
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-color) !important;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background-color: var(--primary-color);
    transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover::after {
    width: 100%;
    left: 0;
}

/* Language Selector */
.language-selector .dropdown-toggle {
    border: none;
    background: transparent;
    color: inherit;
    font-weight: 500;
}

.language-selector .dropdown-toggle:focus {
    box-shadow: none;
}

.language-selector .dropdown-menu {
    border: none;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-radius: 10px;
}

.language-selector .dropdown-item {
    padding: 10px 20px;
    transition: all 0.3s ease;
}

.language-selector .dropdown-item:hover {
    background-color: var(--primary-color);
    color: white;
}

/* Brand CTA buttons (Faz 2) */
.btn-brand-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background-color: var(--brand-yellow);
    color: #1f2937;
    font-weight: 700;
    padding: 0.875rem 2rem;
    border-radius: 9999px;
    border: 2px solid var(--brand-yellow);
    box-shadow: 0 4px 14px rgba(245, 168, 0, 0.35);
    transition: background-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
    text-decoration: none;
    min-height: 44px;
}

.btn-brand-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    color: #111827;
    box-shadow: 0 6px 18px rgba(245, 168, 0, 0.45);
}

.btn-brand-primary:focus-visible {
    outline: 3px solid rgba(245, 168, 0, 0.45);
    outline-offset: 2px;
}

.btn-brand-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background-color: var(--brand-red);
    color: #ffffff;
    font-weight: 700;
    padding: 0.875rem 2rem;
    border-radius: 9999px;
    border: 2px solid var(--brand-red);
    transition: background-color 0.2s ease, box-shadow 0.2s ease;
    text-decoration: none;
    min-height: 44px;
}

.btn-brand-secondary:hover {
    background-color: var(--brand-red-dark);
    border-color: var(--brand-red-dark);
    color: #ffffff;
}

.btn-brand-secondary:focus-visible {
    outline: 3px solid rgba(219, 12, 31, 0.4);
    outline-offset: 2px;
}

.btn-brand-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background-color: transparent;
    color: #ffffff;
    font-weight: 600;
    padding: 0.875rem 2rem;
    border-radius: 9999px;
    border: 2px solid #ffffff;
    transition: background-color 0.2s ease, color 0.2s ease;
    text-decoration: none;
    min-height: 44px;
}

.btn-brand-outline:hover {
    background-color: #ffffff;
    color: var(--brand-red);
}

.btn-brand-outline:focus-visible {
    outline: 3px solid rgba(255, 255, 255, 0.5);
    outline-offset: 2px;
}

.btn-brand-outline-dark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background-color: #ffffff;
    color: #1f2937;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: 9999px;
    border: 2px solid #e5e7eb;
    transition: border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
    text-decoration: none;
    min-height: 44px;
    width: 100%;
}

.btn-brand-outline-dark:hover {
    border-color: var(--brand-yellow);
    color: #111827;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.btn-brand-block {
    width: 100%;
}

/* Buttons */
.btn {
    border-radius: 25px;
    font-weight: 500;
    padding: 10px 25px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-lg {
    padding: 12px 30px;
    font-size: 1.1rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,123,255,0.3);
}

.btn-outline-primary {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

/* Cards */
.card {
    border: none;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.card-header {
    border-bottom: none;
    font-weight: 600;
}

/* Forms */
.form-control, .form-select {
    border-radius: 10px;
    border: 2px solid #e9ecef;
    padding: 12px 15px;
    transition: all 0.3s ease;
}

.form-control:focus, .form-select:focus {
    border-color: var(--brand-yellow);
    box-shadow: var(--focus-ring);
}

.form-label {
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 8px;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.1"/><circle cx="50" cy="10" r="1" fill="white" opacity="0.1"/><circle cx="10" cy="60" r="1" fill="white" opacity="0.1"/><circle cx="90" cy="40" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
}

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

/* Sections */
section {
    padding: 80px 0;
}

/* Reset padding for legal pages and documents */
.legal-doc section,
.legal-content section,
.legal-page section,
.legal-article,
.legal-block {
    padding: 0 !important;
}
/* home-band: global 80px yerine kontrollü dikey ritim */
section.home-band {
    padding: 4rem 0;
}

section.home-location {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

section.home-favorites {
    padding: 1.75rem 0 2.25rem;
}

@media (min-width: 768px) {
    section.home-band {
        padding: 5rem 0;
    }

    section.home-location {
        padding-top: 0 !important;
        padding-bottom: 0 !important;
    }

    section.home-favorites {
        padding: 2rem 0 2.75rem;
    }
}

/* Location banner — Pantone 130 C band, tek kompozisyon (cam kart / çift başlık yok) */
.home-location__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    align-items: center;
    padding: 0;
}

@media (min-width: 1024px) {
    .home-location__grid {
        grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.2fr);
        gap: 1.75rem;
        padding: 0;
    }
}

.home-location__eyebrow {
    display: inline-block;
    margin: 0 0 0.75rem;
    padding: 0.35rem 0.9rem;
    border-radius: 9999px;
    background: var(--brand-ink);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.home-location__title {
    margin: 0 0 0.85rem;
    color: var(--brand-ink);
    font-size: clamp(1.75rem, 3.2vw, 2.75rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    text-transform: none;
}

.home-location__desc {
    margin: 0 0 1.5rem;
    max-width: 36rem;
    color: rgba(23, 22, 39, 0.82);
    font-size: 1.05rem;
    line-height: 1.6;
}

.home-location__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.home-location__aside {
    min-width: 0;
}

.home-location__photo {
    display: block;
    width: 100%;
    height: auto;
    max-height: 280px;
    object-fit: cover;
    border-radius: 1rem;
    border: 3px solid var(--brand-ink);
}

/* Şube haritası paneli: solda gerçek Almanya haritası, sağda sayı + şehirler */
.home-location__mapboard {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.15rem;
    border-radius: 1.5rem;
    background:
        radial-gradient(120% 90% at 15% 0%, rgba(245, 168, 0, 0.16) 0%, transparent 60%),
        var(--brand-ink);
    box-shadow: 0 18px 40px rgba(23, 22, 39, 0.28);
}

.home-location__map-figure {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
}

.home-location__map-svg {
    width: 100%;
    max-height: 420px;
    height: auto;
    overflow: visible;
    filter: drop-shadow(0 0 18px rgba(245, 168, 0, 0.18));
}

.home-location__map-land {
    fill: rgba(245, 168, 0, 0.12);
    stroke: rgba(245, 168, 0, 0.55);
    stroke-width: 1.5;
    stroke-linejoin: round;
}

.home-location__pin {
    fill: var(--brand-red);
    stroke: #fff;
    stroke-width: 1.8;
    transform-origin: center;
    transform-box: fill-box;
    transition: transform 0.2s ease;
}

.home-location__pin-pulse {
    fill: var(--brand-red);
    opacity: 0.55;
    transform-origin: center;
    transform-box: fill-box;
    animation: home-location-pin-pulse 2.6s ease-out infinite;
}

/* Pinler sırayla nabız atsın */
.home-location__pin-group:nth-child(3) .home-location__pin-pulse { animation-delay: 0.4s; }
.home-location__pin-group:nth-child(4) .home-location__pin-pulse { animation-delay: 0.8s; }
.home-location__pin-group:nth-child(5) .home-location__pin-pulse { animation-delay: 1.2s; }
.home-location__pin-group:nth-child(6) .home-location__pin-pulse { animation-delay: 1.6s; }
.home-location__pin-group:nth-child(7) .home-location__pin-pulse { animation-delay: 2s; }

.home-location__pin-group.is-active .home-location__pin {
    fill: var(--brand-yellow);
    transform: scale(1.7);
}

.home-location__pin-group.is-active .home-location__pin-pulse {
    fill: var(--brand-yellow);
}

.home-location__map-panel {
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
    min-width: 0;
}

.home-location__badge {
    display: inline-flex;
    align-items: baseline;
    gap: 0.5rem;
    width: fit-content;
    padding: 0.5rem 1rem 0.55rem;
    border-radius: 9999px;
    background: var(--brand-yellow);
    color: var(--brand-ink);
    box-shadow: 0 8px 20px rgba(245, 168, 0, 0.3);
}

.home-location__badge-num {
    font-size: 2.1rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.04em;
    color: var(--brand-red);
}

.home-location__badge-label {
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.home-location__cities-label {
    display: block;
    margin-bottom: 0.55rem;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
}

.home-location__city-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.home-location__city-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.4rem 0.75rem;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.home-location__city-chip i {
    color: var(--brand-yellow);
    font-size: 0.7rem;
    transition: color 0.2s ease;
}

.home-location__city-count {
    padding: 0 0.35rem;
    border-radius: 9999px;
    background: var(--brand-red);
    color: #fff;
    font-size: 0.65rem;
    font-weight: 700;
}

.home-location__city-chip:hover,
.home-location__city-chip:focus-visible {
    background: var(--brand-yellow);
    border-color: var(--brand-yellow);
    color: var(--brand-ink);
    transform: translateY(-1px);
}

.home-location__city-chip:hover i,
.home-location__city-chip:focus-visible i {
    color: var(--brand-red);
}

.home-location__city-chip:focus-visible {
    outline: 3px solid rgba(245, 168, 0, 0.55);
    outline-offset: 2px;
}

@keyframes home-location-pin-pulse {
    0% { opacity: 0.55; transform: scale(1); }
    100% { opacity: 0; transform: scale(3.4); }
}

@media (prefers-reduced-motion: reduce) {
    .home-location__pin-pulse {
        animation: none;
        opacity: 0.35;
    }
}

@media (max-width: 1023px) {
    .home-location__copy {
        text-align: center;
    }

    .home-location__desc {
        margin-left: auto;
        margin-right: auto;
    }

    .home-location__actions {
        justify-content: center;
    }

    .home-location__mapboard {
        max-width: 30rem;
        margin: 0 auto;
    }
}

.home-location__kpi-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.home-location__badge--ghost {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    box-shadow: none;
}
.home-location__badge--ghost .home-location__badge-num {
    color: var(--brand-yellow);
}

.home-location__pin-link {
    cursor: pointer;
    outline: none;
}
.home-location__pin-link:focus-visible .home-location__pin {
    fill: var(--brand-yellow);
    transform: scale(1.7);
}

.home-location__city-chip.is-active {
    background: var(--brand-yellow);
    border-color: var(--brand-yellow);
    color: var(--brand-ink);
}

.home-location__cities-more {
    margin-top: 0.65rem;
    padding: 0.35rem 0.75rem;
    border-radius: var(--radius-full, 9999px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: transparent;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
}
.home-location__cities-more:hover,
.home-location__cities-more:focus-visible {
    background: rgba(255, 255, 255, 0.1);
    outline: none;
}

@media (max-width: 767px) {
    .home-location__mapboard {
        grid-template-columns: 1fr;
        justify-items: stretch;
        text-align: left;
    }
    .home-location__map-panel {
        order: -1;
    }
    .home-location__map-svg {
        max-height: 220px;
    }
}

/* Online sipariş — arka plan admin/GitHub bgStyle ile gelir; burada zorlanmaz */
section.home-order {
    /* py-16 Tailwind ile; ekstra arka plan yok */
}

/* Ana sayfa hero: full-bleed, franchise tarzı şube görseli */
section.home-hero {
    padding: 0;
    margin: 0;
    position: relative;
    display: flex;
    align-items: flex-end;
}

section.home-hero .slide {
    transition: opacity 0.7s ease;
}

.home-hero__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center center;
    background-image: var(--bg-desktop, inherit);
    transform: scale(1.02);
    transition: transform 8s ease;
}

@media (max-width: 640px) {
    .home-hero__bg {
        background-image: var(--bg-mobile, var(--bg-desktop, inherit)) !important;
        background-position: center center !important;
    }
}

section.home-hero:hover .home-hero__bg {
    transform: scale(1.04);
}

.home-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(23, 22, 39, 0.55) 0%,
        rgba(23, 22, 39, 0.75) 55%,
        rgba(23, 22, 39, 0.92) 100%
    );
}

.home-hero__overlay--subtle {
    background: linear-gradient(180deg, rgba(23, 22, 39, 0.02) 0%, rgba(23, 22, 39, 0.12) 62%, rgba(23, 22, 39, 0.52) 100%);
}

.home-hero__content {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 4rem 0 5rem;
}

/* Restoranlar page intro: kompakt band; global 80px padding uygulanmaz */
section.restaurants-page-hero {
    padding: 0;
    margin: 0;
    min-height: 0;
}

@media (max-width: 768px) {
    section {
        padding: 60px 0;
    }

    section.home-hero,
    section.restaurants-page-hero {
        padding: 0;
    }
}

/* ==========================================================================
   Ana sayfa bant sistemi (Zater tarzı sıralı geçişler — HB renkleri)
   ========================================================================== */
:root {
    --home-cream: #fff8e6;
    --home-cream-deep: #fdf1d6;
}

.home-band {
    --band-bg: var(--home-cream);
    --edge-color: var(--band-bg);
    position: relative;
    background: var(--band-bg);
    z-index: 1;
}

.home-band--cream {
    --band-bg: var(--home-cream);
}

.home-band--white {
    --band-bg: #ffffff;
}

.home-band--soft {
    --band-bg: #fffaf0;
}

.home-band__inner {
    position: relative;
    z-index: 2;
}

/* Üst testere (hero → krem) */
.home-edge-zigzag {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 22px;
    margin-top: -21px;
    background:
        linear-gradient(-45deg, var(--band-bg) 16px, transparent 0),
        linear-gradient(45deg, var(--band-bg) 16px, transparent 0);
    background-position: left bottom;
    background-repeat: repeat-x;
    background-size: 28px 22px;
    pointer-events: none;
    z-index: 4;
}

.home-section-kicker {
    margin: 0 auto 0.35rem;
    max-width: 42rem;
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #6b7280;
}

/* Franchise / Why kartları — açık sarı kutu */
.home-feature-card {
    background: var(--home-cream);
    border: 1.5px solid rgba(245, 168, 0, 0.55);
    border-radius: 1rem;
    padding: 1.5rem 1.25rem;
    text-align: center;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.home-feature-card:hover {
    border-color: #f5a800;
    box-shadow: 0 6px 18px rgba(245, 168, 0, 0.12);
}

.home-feature-card__icon {
    width: 3rem;
    height: 3rem;
    margin: 0 auto 0.85rem;
    border-radius: 9999px;
    background: #f5a800;
    color: #111;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

/* Favori ürünler — Modern Göz Alıcı Kart Tasarımı (Dikişsiz Beyaz Arka Plan) */
.home-favorites {
    --band-bg: linear-gradient(180deg, #faf5eb 0%, #f3ebe0 100%);
    --home-cream: #fff8e6;
    --fav-gap: 1.5rem;
    background: var(--band-bg);
    overflow: hidden;
    padding: 4rem 0;
    border-top: 1px solid rgba(23, 22, 39, 0.05);
    border-bottom: 1px solid rgba(23, 22, 39, 0.05);
}

.home-favorites__header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.25rem 1.5rem;
    margin-bottom: 2.25rem;
    flex-wrap: wrap;
}

.home-favorites__heading {
    min-width: 0;
    flex: 1 1 14rem;
}

.home-favorites__title {
    margin: 0 0 0.4rem;
    font-family: var(--font-display);
    font-size: clamp(1.85rem, 3.2vw, 2.5rem);
    font-weight: 900;
    line-height: 1.15;
    color: #111827;
    letter-spacing: -0.025em;
}

/* Ana sayfa bölüm başlıkları — display font */
.home-band h2,
.home-band .type-h2,
section.home-favorites h2 {
    font-family: var(--font-display);
}

.home-favorites__subtitle {
    margin: 0;
    max-width: 36rem;
    font-size: 0.825rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #9ca3af;
}

.home-favorites__view-all {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    flex-shrink: 0;
    font-size: 0.875rem;
    font-weight: 800;
    color: #111827;
    text-decoration: none;
    padding: 0.7rem 1.5rem;
    border-radius: 9999px;
    border: 2px solid #111827;
    background: #ffffff;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.06);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.home-favorites__view-all:hover {
    background: var(--brand-yellow, #f5a800);
    border-color: var(--brand-yellow, #f5a800);
    color: #111827;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(245, 168, 0, 0.4);
}

.home-favorites__view-all i {
    font-size: 0.75rem;
    transition: transform 0.2s ease;
}

.home-favorites__view-all:hover i {
    transform: translateX(3px);
}

.home-favorites__carousel {
    position: relative;
    margin-bottom: 0.5rem;
}

.home-favorites__track {
    display: flex;
    gap: var(--fav-gap);
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding: 1rem 0.25rem 2rem;
    scrollbar-width: none;
}

.home-favorites__track::-webkit-scrollbar {
    display: none;
}

/* Premium Product Card — 100% Dikişsiz Beyaz Zemin */
.home-favorites__card {
    flex: 0 0 calc((100% - (3 * var(--fav-gap))) / 4);
    max-width: calc((100% - (3 * var(--fav-gap))) / 4);
    scroll-snap-align: start;
    min-width: 0;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    background: #ffffff !important;
    border: 2px solid #f0f0f4;
    border-radius: 24px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
    transition: all 0.35s cubic-bezier(0.25, 1, 0.5, 1);
    overflow: hidden;
    position: relative;
}

.home-favorites__card:hover,
.home-favorites__card:focus-visible {
    transform: translateY(-8px);
    border-color: #f5a800;
    box-shadow: 0 25px 50px -10px rgba(245, 168, 0, 0.28), 0 10px 20px -5px rgba(219, 12, 31, 0.08);
    opacity: 1;
}

.home-favorites__card:focus-visible {
    outline: 2px solid var(--brand-yellow);
    outline-offset: 4px;
}

/* Media Box — Resim ve Kart Arka Planı BİREBİR AYNI (Beyaz) */
.home-favorites__media {
    position: relative;
    width: 100%;
    background: #ffffff !important;
    padding: 0.5rem 0.5rem 0;
    display: flex;
    flex-direction: column;
}

/* Resim Kutusu — Büyütülmüş, Dikkat Çekici Görsel Alanı */
.home-favorites__img-wrap {
    width: 100%;
    height: 205px;
    background: #ffffff !important;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.2rem;
    overflow: visible;
}

.home-favorites__img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    mix-blend-mode: multiply;
    transform: scale(1.18);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.home-favorites__card:hover .home-favorites__img-wrap img,
.home-favorites__card:focus-visible .home-favorites__img-wrap img {
    transform: scale(1.24) translateY(-3px);
}

.home-favorites__media-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: rgba(245, 168, 0, 0.75);
    font-size: 2.5rem;
}

/* Meta Area — Aynı Beyaz Zemin, Boşluklar Daraltılmış ve Uyumlu */
.home-favorites__meta {
    display: flex;
    flex-direction: column;
    padding: 0.25rem 1.25rem 1.15rem;
    background: #ffffff !important;
}

.home-favorites__meta-body {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    margin-bottom: 0.4rem;
}

.home-favorites__tag-row {
    display: flex;
    align-items: center;
    gap: 6px;
}

.home-favorites__tag {
    font-size: 0.68rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #d97706;
}

.home-favorites__special-tag {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #059669;
    background: #ecfdf5;
    padding: 2px 7px;
    border-radius: 6px;
    border: 1px solid #a7f3d0;
}

.home-favorites__name {
    margin: 0;
    font-family: inherit;
    font-size: 1.22rem;
    font-weight: 900;
    line-height: 1.25;
    color: #111827;
    letter-spacing: -0.02em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.2s ease;
}

.home-favorites__card:hover .home-favorites__name {
    color: #db0c1f;
    text-decoration: none;
}

/* Footer with Price & Button — Başlığın Hemen Altında */
.home-favorites__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 0.35rem;
    padding-top: 0.65rem;
    border-top: 1px dashed rgba(0, 0, 0, 0.08);
}

.home-favorites__price-box {
    display: flex;
    flex-direction: column;
}

.home-favorites__price-lbl {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #9ca3af;
    letter-spacing: 0.06em;
    line-height: 1;
    margin-bottom: 2px;
}

.home-favorites__price {
    font-size: 1.3rem;
    font-weight: 900;
    color: #db0c1f;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

/* Göz Alıcı Aksiyon Butonu */
.home-favorites__action-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 9999px;
    background: linear-gradient(135deg, #f5a800 0%, #ffc107 100%);
    color: #1a1a1a;
    font-weight: 800;
    font-size: 0.8rem;
    box-shadow: 0 4px 12px rgba(245, 168, 0, 0.35);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
}

.home-favorites__action-pill i {
    font-size: 0.72rem;
    transition: transform 0.2s ease;
}

.home-favorites__card:hover .home-favorites__action-pill {
    background: linear-gradient(135deg, #db0c1f 0%, #ef4444 100%);
    color: #ffffff;
    box-shadow: 0 6px 18px rgba(219, 12, 31, 0.4);
    transform: translateX(2px);
}

.home-favorites__card:hover .home-favorites__action-pill i {
    transform: translateX(3px);
}

.home-favorites__dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.55rem;
    margin-top: 1.35rem;
    min-height: 1rem;
}

.home-favorites__dot {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 9999px;
    border: none;
    padding: 0;
    background: rgba(23, 22, 39, 0.22);
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.2s ease, width 0.2s ease;
}

.home-favorites__dot.is-active {
    background: var(--brand-yellow);
    width: 1.15rem;
    border-radius: 9999px;
    transform: none;
}

.home-favorites__dot:focus-visible {
    outline: 2px solid var(--brand-yellow);
    outline-offset: 2px;
}

@media (max-width: 1023px) {
    .home-favorites__card {
        flex-basis: calc((100% - (2 * var(--fav-gap))) / 3);
        max-width: calc((100% - (2 * var(--fav-gap))) / 3);
    }
}

@media (max-width: 767px) {
    .home-favorites {
        --fav-gap: 1rem;
    }

    .home-favorites__card {
        flex-basis: calc((100% - var(--fav-gap)) / 2);
        max-width: calc((100% - var(--fav-gap)) / 2);
    }

    .home-favorites__header {
        align-items: flex-start;
    }

    .home-favorites__view-all {
        padding: 0.45rem 0.85rem;
        font-size: 0.8125rem;
    }
}

@media (max-width: 479px) {
    .home-favorites__card {
        flex-basis: 78%;
        max-width: 78%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-favorites__card,
    .home-feature-card,
    .home-favorites__dot,
    .home-favorites__media img {
        transition: none;
    }

    .home-favorites__card:hover .home-favorites__media img,
    .home-favorites__card:focus-visible .home-favorites__media img {
        transform: none;
    }

    .home-favorites__track {
        scroll-behavior: auto;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeIn 0.8s ease-out forwards;
}

/* Scrollbar Hide Utility */
.scrollbar-hide {
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}

.scrollbar-hide::-webkit-scrollbar {
    display: none;  /* Chrome, Safari, Opera */
}

/* Custom Scrollbar (for visible scrollbars) */
.custom-scrollbar::-webkit-scrollbar {
    height: 8px;
}

.custom-scrollbar::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
    background: linear-gradient(to right, #f5a800, #f5a800);
    border-radius: 10px;
}

.custom-scrollbar::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(to right, #f5a800, #f5a800);
}

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

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Progress Steps */
.step-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    position: relative;
}

.step-item {
    text-align: center;
    flex: 1;
    position: relative;
}

.step-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #e9ecef;
    color: #6c757d;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-weight: bold;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.step-item.active .step-circle {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    box-shadow: 0 5px 15px rgba(0,123,255,0.3);
}

.step-label {
    font-size: 0.9rem;
    color: #6c757d;
    font-weight: 500;
}

.step-item.active .step-label {
    color: var(--primary-color);
    font-weight: 600;
}

.step-line {
    position: absolute;
    top: 25px;
    left: 50%;
    right: -50%;
    height: 3px;
    background-color: #e9ecef;
    z-index: 1;
    transition: all 0.3s ease;
}

.step-line.active {
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--primary-dark) 100%);
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #343a40 0%, #212529 100%);
    color: white;
    padding: 60px 0 20px;
}

.footer h5 {
    color: var(--primary-color);
    margin-bottom: 20px;
}

.footer a {
    color: #adb5bd;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: var(--primary-color);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        text-align: center;
    }
    
    .hero-section .btn {
        display: block;
        width: 100%;
        margin-bottom: 10px;
    }
    
    .step-container {
        flex-direction: column;
        gap: 20px;
    }
    
    .step-line {
        display: none;
    }
    
    .navbar-nav {
        text-align: center;
    }
    
    .language-selector {
        margin-top: 15px;
    }
}

@media (max-width: 576px) {
    .display-4 {
        font-size: 2rem;
    }
    
    .display-5 {
        font-size: 1.5rem;
    }
    
    .btn-lg {
        padding: 10px 20px;
        font-size: 1rem;
    }
    
    section {
        padding: 40px 0;
    }

    section.home-hero {
        padding: 0;
    }
}

/* Utility Classes */
.text-gradient {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.shadow-custom {
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.border-radius-custom {
    border-radius: 15px;
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255,255,255,.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

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

/* Success Animation */
.success-animation {
    animation: successBounce 0.6s ease-out;
}

@keyframes successBounce {
    0% { transform: scale(0); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

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

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

/* Restaurant Page Specific Styles */
.restaurant-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.restaurant-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

/* Skeleton Loading Animation */
@keyframes skeleton-loading {
    0% {
        background-position: -200px 0;
    }
    100% {
        background-position: calc(200px + 100%) 0;
    }
}

.skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200px 100%;
    animation: skeleton-loading 1.5s infinite;
}

.skeleton-card {
    background: white;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 16px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.skeleton-image {
    height: 128px;
    border-radius: 8px;
    margin-bottom: 12px;
}

.skeleton-text {
    height: 16px;
    border-radius: 4px;
    margin-bottom: 8px;
}

.skeleton-text.short {
    width: 60%;
}

.skeleton-text.medium {
    width: 80%;
}

.skeleton-text.long {
    width: 100%;
}

/* Empty State Styles */
.empty-state {
    text-align: center;
    padding: 48px 24px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.empty-state-icon {
    font-size: 64px;
    color: var(--gray-medium);
    margin-bottom: 16px;
}

.empty-state-title {
    font-size: 24px;
    font-weight: 600;
    color: var(--gray-dark);
    margin-bottom: 8px;
}

.empty-state-description {
    font-size: 16px;
    color: var(--gray-medium);
    margin-bottom: 24px;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

/* Loading Overlay */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.loading-spinner {
    width: 48px;
    height: 48px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid var(--brand-yellow);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Notification Styles */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10000;
    max-width: 400px;
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.notification-content {
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    padding: 16px;
    border-left: 4px solid;
}

.notification-success {
    border-left-color: #10b981;
}

.notification-error {
    border-left-color: var(--brand-red);
}

.notification-warning {
    border-left-color: var(--brand-yellow);
}

.notification-info {
    border-left-color: #3b82f6;
}

/* ========================================
   HB DÖNER RESTAURANT PAGE - BRAND STYLES
   ======================================== */

/* Restaurant Cards - Brand Identity */
.restaurant-card {
    border: 2px solid #f5a800 !important;
    background: white;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.restaurant-card:hover {
    border-color: #db0c1f !important;
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(219, 12, 31, 0.15) !important;
}

/* Restaurant Name - Brand Colors */
.restaurant-card h3 {
    color: #db0c1f;
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

/* Status Badges - Brand Colors */
.restaurant-card .status-open {
    background: linear-gradient(135deg, #f5a800, #f5a800) !important;
    color: white !important;
    border: 2px solid white;
    font-weight: bold;
    box-shadow: 0 2px 8px rgba(245, 168, 0, 0.4);
}

.restaurant-card .status-closed {
    background: linear-gradient(135deg, #db0c1f, #b40a1a) !important;
    color: white !important;
    border: 2px solid white;
    font-weight: bold;
    box-shadow: 0 2px 8px rgba(219, 12, 31, 0.4);
}

.restaurant-card .status-featured {
    background: linear-gradient(135deg, #f5a800, #db0c1f) !important;
    color: white !important;
    border: 2px solid white;
    font-weight: bold;
    box-shadow: 0 2px 8px rgba(245, 168, 0, 0.4);
}

/* Restaurant Image Placeholder - Brand Gradient */
.restaurant-placeholder {
    background: linear-gradient(135deg, #f5a800, #db0c1f);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 160px;
}

/* Service Badges - Brand Colors */
.service-badge-delivery {
    background: rgba(245, 168, 0, 0.15) !important;
    color: #f5a800 !important;
    border: 1px solid #f5a800;
    font-weight: 600;
}

.service-badge-reservation {
    background: rgba(219, 12, 31, 0.15) !important;
    color: #db0c1f !important;
    border: 1px solid #db0c1f;
    font-weight: 600;
}

.service-badge-drivethru {
    background: rgba(245, 168, 0, 0.15) !important;
    color: #db0c1f !important;
    border: 1px solid #db0c1f;
    font-weight: 600;
}

/* Action Buttons - Brand Gradient */
.btn-brand-yellow {
    background: linear-gradient(135deg, #f5a800, #d49400) !important;
    color: #343a40 !important;
    border: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-brand-yellow:hover {
    background: linear-gradient(135deg, #d49400, #f5a800) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(245, 168, 0, 0.4);
    color: #343a40 !important;
}

.btn-brand-red {
    background: linear-gradient(135deg, #db0c1f, #b40a1a) !important;
    color: white !important;
    border: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-brand-red:hover {
    background: linear-gradient(135deg, #b40a1a, #8f0815) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(219, 12, 31, 0.4);
    color: white !important;
}

/* Search and Filter Section */
.search-filter-section {
    background: linear-gradient(to bottom, #f5a800, #f5a800);
    border-bottom: 3px solid #db0c1f;
    position: sticky;
    top: calc(var(--is-header-sticky, 0) * var(--header-height, 0px));
    z-index: 30; /* Header menü açılır pencerelerinin veya header alanının altında kalması için z-index 30 olarak ayarlandı */
}

.search-input, .filter-select {
    background-color: #f9fafb;
    border: 2px solid #f5a800;
    transition: all 0.3s ease;
}

.search-input:focus, .filter-select:focus {
    border-color: #db0c1f;
    box-shadow: 0 0 0 4px rgba(219, 12, 31, 0.2);
    outline: none;
}

/* Map and List Headers */
.map-header, .list-header {
    background: white;
    border-bottom: 3px solid #f5a800;
}

.map-header h2, .list-header h2 {
    color: #db0c1f;
    font-weight: 700;
}

.map-header h2 i, .list-header h2 i {
    color: #f5a800;
}

/* Icons with Brand Colors */
.icon-brand-yellow {
    color: #f5a800;
}

.icon-brand-red {
    color: #db0c1f;
}

/* Responsive adjustments for mobile */
@media (max-width: 768px) {
    .restaurant-card {
        border-radius: 12px;
        margin-bottom: 1rem;
    }
    
    .search-filter-section {
        padding: 1rem 0;
    }
}

/* Countdown Hero (Diagonal Split) */
.countdown-hero {
    position: relative;
    background-color: var(--brand-red);
}
.countdown-hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 180px;
    background: linear-gradient(135deg, rgba(255,255,255,0.08), rgba(255,255,255,0));
    clip-path: polygon(0 0, 100% 0, 100% 60%, 0 85%);
    pointer-events: none;
}
.countdown-hero::after {
    content: "";
    position: absolute;
    right: -80px;
    bottom: -80px;
    width: 420px;
    height: 420px;
    background: radial-gradient(circle at center, rgba(245,168,0,0.28), rgba(245,168,0,0));
    filter: blur(6px);
    pointer-events: none;
}

.count-box {
    background: rgba(255,255,255,0.09);
    border: 2px solid var(--brand-yellow);
    border-radius: 14px;
    padding: 18px 20px;
    min-width: 120px;
    box-shadow: 0 8px 22px rgba(0,0,0,0.28);
    backdrop-filter: blur(4px);
}
.count-digit {
    color: var(--brand-yellow);
    letter-spacing: 0.02em;
}

.count-label {
    display: inline-block;
    margin-bottom: 8px;
    padding: 2px 10px;
    border-radius: 999px;
    color: #ffffff;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(245,168,0,0.55);
    font-size: 0.85rem;
    font-weight: 600;
}

.count-row {
    align-items: flex-end;
}

.count-sep {
    color: var(--brand-yellow);
    font-size: 2.75rem;
    line-height: 1;
    text-shadow: 0 0 10px rgba(245,168,0,0.55);
}

/* Flip animation for digits */
.count-digit.flip {
    animation: flipIn 0.18s ease-out;
    transform-origin: bottom;
    display: inline-block;
}
@keyframes flipIn {
    0% { transform: rotateX(-90deg); opacity: 0; }
    100% { transform: rotateX(0); opacity: 1; }
}

/* Subtle pulse for seconds */
.count-digit[data-unit="seconds"] {
    animation: pulseSec 1s ease-in-out infinite;
}
@keyframes pulseSec {
    0% { transform: scale(1); }
    50% { transform: scale(1.06); }
    100% { transform: scale(1); }
}

/* Favori Ürünler Carousel Scrollbar Styles */
#productsCarousel {
    scrollbar-width: thin;
    scrollbar-color: #db0c1f #f1f1f1;
}

#productsCarousel::-webkit-scrollbar {
    height: 8px;
}

#productsCarousel::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

#productsCarousel::-webkit-scrollbar-thumb {
    background: #db0c1f;
    border-radius: 10px;
    transition: background 0.3s ease;
}

#productsCarousel::-webkit-scrollbar-thumb:hover {
    background: #b40a1a;
}

/* Hide scrollbar but keep functionality */
.scrollbar-hide {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.scrollbar-hide::-webkit-scrollbar {
    display: none;
}

/* ==========================================================================
   YAKINDA AÇILACAK ŞUBELER (COMING SOON) — sakin marka stili
   ========================================================================== */

.coming-soon-hero {
    position: relative;
    background: linear-gradient(135deg, #1a1a1a 0%, #2a0a0c 55%, #3d1012 100%);
    color: #ffffff;
    overflow: hidden;
}

.coming-soon-hero .countdown-container .count-box {
    min-width: 4.25rem;
    padding: 0.75rem 0.5rem;
    border-radius: 0.5rem;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(245, 168, 0, 0.35);
}

.badge-coming-soon {
    background: var(--brand-yellow);
    color: #111111;
    font-weight: 700;
    padding: 0.35rem 0.75rem;
    border-radius: 0.375rem;
    font-size: 0.75rem;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.map-pulse-marker {
    background: var(--brand-yellow);
    border: 2px solid var(--brand-red);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 0 0 0 rgba(245, 168, 0, 0.35);
    animation: mapPulse 2s ease-out infinite;
}

@keyframes mapPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(245, 168, 0, 0.45);
    }
    70% {
        box-shadow: 0 0 0 12px rgba(245, 168, 0, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(245, 168, 0, 0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .map-pulse-marker {
        animation: none;
    }
}

/* Shared public page hero — Brand Ink, equal height across pages */
.page-hero,
.restaurants-hero {
    position: relative;
    overflow: hidden;
    background: var(--brand-ink);
    color: #fff;
    min-height: 260px;
}

.page-hero__inner,
.restaurants-hero > .max-w-7xl {
    padding-top: 28px;
    padding-bottom: 28px;
}

.restaurants-list-panel {
    background: var(--color-background);
}

.restaurants-filters .search-input,
.restaurants-filters .filter-select {
    background-color: var(--color-background);
    border-color: var(--brand-yellow);
}

/* Ürün Görselleri: Büyük/Küçük veya Farklı Boyutlarda Kesilmeden Çerçeveye Tam Sığdırma */
.menu-item__media {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #ffffff !important;
    overflow: hidden !important;
}

.menu-item__media img {
    max-width: 100% !important;
    max-height: 100% !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    display: block !important;
    margin: auto !important;
}

/* Ana Sayfa Kategoriler Bölümü — Sıcak Fildişi/Kemik Gurme Arka Plan */
section.home-categories {
    background: #faf8f5 !important;
    position: relative;
}

/* Ana Sayfa Kategori Kartları — Gastronomi Lüks Tasarım */
.home-category-card {
    display: flex;
    flex-direction: column;
    background: #ffffff !important;
    border: 1px solid #ede8e1;
    border-radius: 1.25rem;
    overflow: hidden;
    box-shadow: 0 4px 18px rgba(35, 25, 15, 0.05);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    text-decoration: none;
    position: relative;
}
.home-category-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 36px rgba(217, 119, 6, 0.16);
    border-color: rgba(245, 158, 11, 0.5);
}
.home-category-card__media {
    width: 100%;
    height: 170px;
    background: #ffffff !important;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem;
    position: relative;
    overflow: hidden;
}
.home-category-card__media img {
    width: 100%;
    height: 100%;
    object-fit: contain !important;
    mix-blend-mode: multiply;
    transform: scale(1.05);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.home-category-card:hover .home-category-card__media img {
    transform: scale(1.15) translateY(-3px);
}
.home-category-card__fallback {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 1rem;
}
.home-category-card__fallback i {
    font-size: 2.75rem;
    color: #f59e0b;
    opacity: 0.85;
    transition: transform 0.35s ease;
}
.home-category-card:hover .home-category-card__fallback i {
    transform: scale(1.1) rotate(5deg);
}
.home-category-card__content {
    padding: 1rem 1.25rem 1.25rem;
    display: flex;
    flex-direction: column;
    flex: 1;
    background: #ffffff;
    border-top: 1px solid #f8fafc;
}
.home-category-card__title {
    font-size: 1.15rem;
    font-weight: 800;
    color: #171627;
    margin: 0;
    line-height: 1.3;
    transition: color 0.25s ease;
}
.home-category-card:hover .home-category-card__title {
    color: #d97706;
}
.home-category-card__desc {
    font-size: 0.8125rem;
    color: #64748b;
    margin-top: 0.35rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.home-category-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 0.875rem;
}
.home-category-card__badge {
    font-size: 0.75rem;
    font-weight: 700;
    color: #78350f;
    background: #fef3c7;
    border: 1px solid #fde68a;
    padding: 0.3rem 0.65rem;
    border-radius: 9999px;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}
.home-category-card__badge i {
    font-size: 0.7rem;
    color: #d97706;
}
.home-category-card__arrow {
    width: 2rem;
    height: 2rem;
    border-radius: 9999px;
    background: #f1f5f9;
    color: #334155;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    transition: all 0.25s ease;
}
.home-category-card:hover .home-category-card__arrow {
    background: #f59e0b;
    color: #ffffff;
    transform: translateX(3px);
}
/* HB modern gastronomic refresh: preserve brand tokens, improve hierarchy and mobile comfort. */
body {
    background: #fffdf9;
}

.header-top-bar {
    /* Arka plan admin ayarından gelir (Üst Çubuk Arka Plan); burada renk ezilmez. */
    box-shadow: none !important;
}

.header-main {
    /* Kenar rengi admin ayarından gelir (Kenar Rengi); burada renk ezilmez. */
    box-shadow: 0 8px 24px rgba(23, 22, 39, 0.06) !important;
}

.home-hero {
    min-height: min(720px, calc(100dvh - 122px));
    background: var(--brand-ink);
}

.home-hero__bg {
    /* Fotoğraf altı hazır slogan şeridi kadraj dışı kalsın diye üste yasla. */
    background-position: center 22%;
    transform: scale(1.01);
}
.home-hero__overlay {
    background:
        linear-gradient(90deg, rgba(23, 22, 39, 0.76) 0%, rgba(23, 22, 39, 0.46) 46%, rgba(23, 22, 39, 0.14) 100%),
        linear-gradient(180deg, rgba(23, 22, 39, 0.08) 0%, rgba(23, 22, 39, 0.58) 100%);
}

.home-hero__content {
    max-width: var(--container-max);
    padding: clamp(3rem, 8vw, 6.5rem) 1rem 4.5rem;
}

.home-hero__content h1 {
    max-width: 12ch;
    font-size: clamp(2.75rem, 6vw, 5.75rem) !important;
    line-height: 0.98 !important;
    letter-spacing: -0.045em;
    text-wrap: balance;
}

.home-hero__content p {
    max-width: 34rem;
    font-size: clamp(1rem, 1.6vw, 1.25rem) !important;
    line-height: 1.55;
}

.home-hero .btn-brand-primary,
.home-hero .btn-brand-outline {
    min-height: 3.25rem;
    padding: 0.85rem 1.4rem;
    border-radius: 0.65rem;
    font-weight: 700;
    transition: transform var(--transition-base), background-color var(--transition-base), border-color var(--transition-base);
}

.home-hero .btn-brand-primary:hover,
.home-hero .btn-brand-outline:hover {
    transform: translateY(-2px);
}

section.home-categories {
    background: #fffdf9 !important;
}

.home-category-card {
    border-radius: 0.75rem;
    border-color: rgba(23, 22, 39, 0.1);
    box-shadow: 0 10px 30px rgba(23, 22, 39, 0.06);
}

.home-category-card:hover {
    border-color: var(--brand-yellow);
    box-shadow: 0 18px 34px rgba(23, 22, 39, 0.11);
}

.home-category-card__media {
    height: 190px;
    background: #f7f3eb !important;
}

.home-category-card__content {
    padding: 1.15rem 1.25rem 1.3rem;
}

.home-category-card__title {
    letter-spacing: -0.02em;
}
@media (max-width: 1300px) {
    .home-hero__bg {
        /* Kırmızı tabela kadrajda kalsın: hafif zoom, tabelaya çıpa. */
        background-position: center 32%;
        transform: scale(1.15);
    }

    section.home-hero:hover .home-hero__bg {
        transform: scale(1.19);
    }

    .home-hero__overlay {
        background:
            linear-gradient(90deg, rgba(23, 22, 39, 0.68) 0%, rgba(23, 22, 39, 0.38) 46%, rgba(23, 22, 39, 0.10) 100%),
            linear-gradient(180deg, rgba(23, 22, 39, 0.06) 0%, rgba(23, 22, 39, 0.42) 50%, rgba(23, 22, 39, 0.94) 78%, #171627 100%);
    }
}

@media (max-width: 767px) {
    .home-hero__overlay {
        background:
            linear-gradient(180deg, rgba(23, 22, 39, 0.16) 0%, rgba(23, 22, 39, 0.55) 52%, rgba(23, 22, 39, 0.94) 78%, #171627 100%),
            linear-gradient(90deg, rgba(23, 22, 39, 0.28), rgba(23, 22, 39, 0.18));
    }

    .home-hero__content {
        padding: 2rem 1rem 2.75rem;
    }

    .home-hero__content h1 {
        max-width: 10ch;
        font-size: clamp(2.35rem, 12vw, 3.5rem) !important;
    }

    .home-hero__content p {
        margin-bottom: 1.35rem !important;
        font-size: 1rem !important;
    }

    .home-hero .btn-brand-primary,
    .home-hero .btn-brand-outline {
        width: 100%;
        min-height: 3rem;
    }

    .home-category-card__media {
        height: 160px;
    }
}
/* Slider kabı section yüksekliğini miras almalı; aksi halde bg yüksekliği sıfır kalır. */
.home-hero .slider-container {
    position: absolute;
    inset: 0;
    height: auto;
}

.home-hero .slide {
    position: absolute;
    inset: 0;
}
/* Yapışkan başlık çıpa hedefini örtmesin. */
#order {
    scroll-margin-top: 96px;
}

@media (max-width: 480px) {
    .header-top-bar .contact-info-item[href^="mailto:"] {
        display: none;
    }

    .header-top-bar .social-link {
        width: 1.75rem;
        height: 1.75rem;
        font-size: 0.95rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    section.home-hero .slide {
        transition: none;
    }

    .home-hero__bg,
    .home-category-card,
    .home-category-card__media img {
        transition: none;
    }
}

/* Playlist görsellerindeki menü metni okunur kalmalı; dar ekran kuralları bu katmanı koyulaştırmaz. */
.home-hero__overlay.home-hero__overlay--subtle {
    background: linear-gradient(180deg, rgba(23, 22, 39, 0.02) 0%, rgba(23, 22, 39, 0.12) 62%, rgba(23, 22, 39, 0.52) 100%);
}
