/* 2026 Premium Design System - BursaBalık */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Outfit:wght@300;400;500;700;900&display=swap');

:root {
    /* Color Palette - Deep Ocean Premium */
    --primary: #2563eb;
    --primary-light: #60a5fa;
    --primary-dark: #1d4ed8;
    --secondary: #0ea5e9;
    --accent: #f59e0b;
    --surface: #ffffff;
    --background: #f8fafc;
    --text-main: #0f172a;
    --text-light: #64748b;
    --border: #e2e8f0;

    /* Cinematic Gradients */
    --gradient-ocean: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
    --gradient-glass: linear-gradient(135deg, rgba(255, 255, 255, 0.4) 0%, rgba(255, 255, 255, 0.1) 100%);
    --gradient-gold: linear-gradient(135deg, #fbbf24 0%, #d97706 100%);
    --gradient-dark: linear-gradient(180deg, rgba(15, 23, 42, 0) 0%, rgba(15, 23, 42, 0.8) 100%);

    /* Premium Effects */
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 12px 20px -5px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 25px 50px -12px rgba(0, 0, 0, 0.12);
    --glass: blur(16px) saturate(180%);

    /* Spacing & Radius */
    --radius-sm: 12px;
    --radius-md: 24px;
    --radius-lg: 40px;
    --container: 1200px;
}

/* Base Reset */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    -webkit-tap-highlight-color: transparent;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

@media (max-width: 768px) {
    html {
        font-size: 14px;
    }
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: var(--background);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    color: #334155;
}

h1,
h2,
h3,
h4,
.outfit {
    font-family: 'Outfit', sans-serif;
    letter-spacing: -0.02em;
    color: var(--text-main);
    font-weight: 700;
}

a {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Premium Layout Utilities --- */
.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}

.section-padding {
    padding: 100px 0;
}

@media (max-width: 768px) {
    .section-padding {
        padding: 60px 0;
    }

    .container {
        padding: 0 16px;
    }
}

.glass-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: var(--glass);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-md);
}

/* --- Components --- */

/* Buttons */
.btn-primary {
    background: var(--gradient-ocean);
    color: white !important;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 10px 25px -5px rgba(37, 99, 235, 0.4);
    border: none;
    cursor: pointer;
    font-size: 0.95rem;
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 35px -5px rgba(37, 99, 235, 0.5);
}

.btn-secondary {
    background: white;
    color: var(--primary);
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 700;
    border: 1px solid rgba(37, 99, 235, 0.2);
}

/* Featured Badge */
.badge-featured {
    background: var(--gradient-gold);
    color: white;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Cards */
.restaurant-card {
    background: white;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.restaurant-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-lg);
}

.card-img {
    position: relative;
    height: 240px;
    overflow: hidden;
}

.card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.restaurant-card:hover .card-img img {
    transform: scale(1.1);
}

/* --- Page Specifics --- */

/* Search Result Highlight */
.search-highlight-card {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 0;
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(37, 99, 235, 0.1);
    margin-bottom: 60px;
}

.search-highlight-img {
    height: 100%;
    min-height: 450px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.search-highlight-content {
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Responsive Grid */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 24px;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
}

.restaurant-card .card-body {
    padding: 30px;
}

/* Footers & Navs */
.header-premium {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: var(--glass);
    padding: 16px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.02);
}

.logo-svg {
    width: 42px;
    height: 42px;
    filter: drop-shadow(0 4px 8px rgba(37, 99, 235, 0.2));
    transition: transform 0.3s ease;
}

.logo:hover .logo-svg {
    transform: rotate(-10deg) scale(1.1);
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.brand {
    font-size: 1.5rem;
    letter-spacing: -1px;
    font-weight: 800;
    font-family: 'Outfit';
}

.brand span {
    color: var(--primary);
}

.subline {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 4px;
    opacity: 0.8;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 600;
    font-size: 0.95rem;
    position: relative;
    padding: 8px 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-links a.active {
    color: var(--primary);
}

header.scrolled {
    padding: 8px 0;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

/* Animations */
.fade-in-up {
    animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile Nav Styles - App-Like Bottom Bar */
.mobile-nav {
    display: none;
}

@media (max-width: 992px) {
    .search-highlight-card {
        grid-template-columns: 1fr;
    }

    .search-highlight-img {
        height: 300px;
        min-height: auto;
    }

    .search-highlight-content {
        padding: 40px 24px;
    }
}

/* --- Drawer Menu --- */
.side-drawer {
    position: fixed;
    top: 0;
    left: -300px;
    width: 280px;
    height: 100%;
    background: white;
    z-index: 4000;
    transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 20px 0 40px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
}

.side-drawer.active {
    left: 0;
}

.drawer-header {
    padding: 40px 24px;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.drawer-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.drawer-content a {
    text-decoration: none;
    color: var(--text-main);
    font-size: 1.1rem;
    font-weight: 600;
    padding: 14px 20px;
    border-radius: 12px;
    transition: all 0.2s ease;
}

.drawer-content a:hover {
    background: #f1f5f9;
    color: var(--primary);
}

.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(8px);
    z-index: 3500;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.6rem;
    color: var(--text-main);
    cursor: pointer;
    padding: 8px;
}

@media (max-width: 768px) {

    html,
    body {
        overflow-x: hidden;
        width: 100%;
        position: relative;
    }

    .desktop-nav,
    .mobile-hide {
        display: none !important;
    }

    .mobile-menu-toggle {
        display: block;
        position: absolute;
        left: 15px;
        top: 50%;
        transform: translateY(-50%);
    }

    .header-premium {
        padding: 12px 0;
    }

    .navbar {
        min-height: 44px;
    }

    .logo {
        margin: 0 auto;
    }

    .logo-svg {
        width: 36px;
        height: 36px;
    }

    .brand {
        font-size: 1.3rem;
    }

    .subline {
        font-size: 0.6rem;
    }

    .container {
        padding: 0 20px;
        max-width: 100% !important;
        overflow: hidden;
    }

    /* Fixed Hero Scroll Issue */
    .hero {
        height: auto !important;
        padding: 120px 0 80px !important;
        border-radius: 0 0 40px 40px !important;
    }

    .hero h1 {
        font-size: 2.2rem !important;
        line-height: 1.15 !important;
    }

    .hero p {
        font-size: 1rem !important;
        margin-bottom: 30px !important;
    }

    .section-padding {
        padding: 60px 0;
    }

    /* Modern App Bottom Nav */
    .mobile-nav {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        background: rgba(255, 255, 255, 0.9);
        backdrop-filter: blur(25px);
        -webkit-backdrop-filter: blur(25px);
        padding: 12px 8px calc(15px + env(safe-area-inset-bottom));
        box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.08);
        justify-content: space-between;
        align-items: center;
        z-index: 5000;
        border-top: 1px solid rgba(0, 0, 0, 0.03);
    }

    .nav-item {
        flex: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 5px;
        text-decoration: none;
        color: var(--text-light);
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        min-width: 0;
        /* Prevents overflow in flexbox */
        padding: 5px 0;
    }

    .nav-item i {
        font-size: 1.4rem;
        transition: transform 0.3s ease;
    }

    .nav-item span {
        font-size: 0.65rem;
        font-weight: 700;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        width: 100%;
        text-align: center;
    }

    .nav-item.active {
        color: var(--primary);
    }

    .nav-item.active i {
        transform: translateY(-3px);
    }

    /* Bento Grid Mobile Reset */
    .bento-grid {
        display: flex;
        flex-direction: column;
        gap: 24px;
    }

    .restaurant-card {
        width: 100% !important;
        margin: 0 !important;
    }

    .card-img {
        height: 220px !important;
    }

    /* Form & Input Optimizations */
    input,
    button,
    a {
        min-height: 48px;
    }
}

/* --- Blog & Content Systems --- */
.blog-content {
    font-size: 1.15rem;
    line-height: 1.9;
    color: #334155;
}

.blog-content h2,
.blog-content h3 {
    margin: 40px 0 20px;
    color: var(--text-main);
    font-family: 'Outfit', sans-serif;
    line-height: 1.3;
}

.blog-content p {
    margin-bottom: 24px;
}

.blog-content strong {
    color: var(--text-main);
    font-weight: 800;
}

.cta-premium {
    position: relative;
    overflow: hidden;
    padding: 60px 40px;
    text-align: center;
    border-radius: var(--radius-md);
    background-size: cover;
    background-position: center;
    margin-top: 60px;
    box-shadow: var(--shadow-lg);
}

.cta-premium::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.6) 0%, rgba(15, 23, 42, 0.9) 100%);
    z-index: 1;
}

.cta-premium-content {
    position: relative;
    z-index: 5;
    color: white !important;
}

.cta-premium-content h3 {
    color: white !important;
    font-size: 2.5rem;
    margin-bottom: 16px;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.cta-premium-content p {
    color: rgba(255, 255, 255, 0.9) !important;
    font-size: 1.2rem;
    margin-bottom: 32px;
}

/* Touch Active States & Mobile Resets */
@media (max-width: 768px) {
    .blog-content {
        font-size: 1.1rem;
        line-height: 1.7;
    }

    .cta-premium {
        padding: 40px 20px;
    }

    .cta-premium-content h3 {
        font-size: 1.8rem;
    }
}

/* Fix horizontal scroll issues */
* {
    max-width: 100%;
}

/* Touch Active States */
@media (hover: none) {
    .restaurant-card:active {
        transform: scale(0.98);
        background: #f1f5f9;
    }

    .btn-primary:active {
        transform: scale(0.95);
        opacity: 0.9;
    }
}