/* Menu Plus - Ortak Tasarım Sistemi */

/* Tüm sayfalarda mobil genişlik %100, yatay taşma yok */
html {
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}
*, *::before, *::after {
    box-sizing: inherit;
}
body {
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
    margin: 0;
    position: relative;
    min-height: 100vh;
}
body > * {
    max-width: 100%;
}
img, video, iframe, embed, object {
    max-width: 100%;
    height: auto;
}

/* Site genelinde içerik genişliği */
.container {
    max-width: 1400px;
    width: 100%;
}

/* Tüm sitede font boyutları 3–4px düşük (masaüstü + mobil) */
html { font-size: 13px; }
body { font-size: 0.9rem; }
h1, .h1 { font-size: 1.65rem; }
h2, .h2 { font-size: 1.4rem; }
h3, .h3 { font-size: 1.2rem; }
h4, .h4 { font-size: 1.1rem; }
h5, .h5 { font-size: 1rem; }
h6, .h6 { font-size: 0.95rem; }
.display-1 { font-size: 2.5rem; }
.display-2 { font-size: 2.2rem; }
.display-3 { font-size: 1.9rem; }
.display-4 { font-size: 1.65rem; }
.display-5 { font-size: 1.45rem; }
.display-6 { font-size: 1.3rem; }
.lead { font-size: 1rem; }

@media (max-width: 991px) {
    html { font-size: 12px; }
    body { font-size: 0.9rem; }
    h1, .h1 { font-size: 1.5rem !important; }
    h2, .h2 { font-size: 1.3rem !important; }
    h3, .h3 { font-size: 1.15rem !important; }
    h4, .h4 { font-size: 1.05rem !important; }
}
@media (max-width: 767px) {
    html { font-size: 11px; }
    body { font-size: 0.875rem; }
    h1, .h1 { font-size: 1.35rem !important; }
    h2, .h2 { font-size: 1.2rem !important; }
    h3, .h3 { font-size: 1.05rem !important; }
    h4, .h4 { font-size: 1rem !important; }
    .display-4, .display-5, .display-6 { font-size: 1.25rem !important; }
}

/* ===== CARD HEADER STYLING ===== */
.card-header {
    background: linear-gradient(135deg, #068EFF 0%, rgb(80, 123, 158) 100%);
    border-radius: 15px 15px 0 0 !important;
    padding: 1rem;
    color: white;
    border: none !important;
}

.card-header .card-title,
.card-header h5 {
    color: black !important;
    font-size: 1.05rem; /* 2px küçültüldü */
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.card-header small,
.card-header .text-muted {
    color: black !important;
    font-size: 0.8rem; /* 2px küçültüldü */
}

.card-header .badge {
    font-size: 0.7rem; /* 2px küçültüldü */
    padding: 0.25rem 0.5rem;
}

/* ===== CARD BODY STYLING ===== */
.card-body {
    padding: 0.75rem !important; /* p-3 */
    font-size: 0.85rem; /* 2px küçültüldü */
}

.content-card {
    border-radius: 15px;
    overflow: hidden;
}

/* ===== BUTTON STYLING ===== */
.btn {
    border-radius: 8px;
    font-weight: 500;
    font-size: 0.8rem; /* 2px küçültüldü */
    padding: 0.375rem 0.75rem;
}

.btn-sm {
    padding: 0.25rem 0.5rem;
    font-size: 0.75rem; /* 2px küçültüldü */
}

.btn-lg {
    padding: 0.5rem 1rem;
    font-size: 0.9rem; /* 2px küçültüldü */
}

/* ===== FORM CONTROLS ===== */
.form-control, .form-select {
    border-radius: 8px;
    font-size: 0.8rem; /* 2px küçültüldü */
    padding: 0.375rem 0.75rem;
}

.form-label {
    font-size: 0.8rem; /* 2px küçültüldü */
    font-weight: 600;
    margin-bottom: 0.25rem;
}

/* ===== TABLES ===== */
.table {
    font-size: 0.8rem; /* 2px küçültüldü */
}

.table th {
    font-size: 0.75rem; /* 2px küçültüldü */
    font-weight: 600;
    padding: 0.5rem;
}

.table td {
    padding: 0.5rem;
    vertical-align: middle;
}

/* ===== BADGES ===== */
.badge {
    border-radius: 6px;
    font-weight: 500;
    font-size: 0.7rem; /* 2px küçültüldü */
    padding: 0.25rem 0.5rem;
}

/* ===== STATS CARDS ===== */
.stats-card {
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.stats-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1) !important;
}

.stat-card {
    border-radius: 8px;
    padding: 0.75rem;
    text-align: center;
    transition: transform 0.2s ease;
}

.stat-card:hover {
    transform: translateY(-1px);
}

.stat-card .fs-5 {
    font-size: 1rem !important; /* 2px küçültüldü */
}

/* ===== ORDER CARDS ===== */
.order-card {
    border-radius: 12px;
    transition: all 0.2s ease;
    border-left: 4px solid;
}

.order-card:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.1) !important;
}

/* ===== PRODUCT CARDS ===== */
.product-card {
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.2s ease;
    border: 1px solid #e9ecef;
}

.product-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1) !important;
    border-color: #068EFF;
}

.product-card img {
    object-fit: cover;
    height: 120px;
    width: 100%;
}

/* ===== CATEGORY CARDS ===== */
.category-card {
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.2s ease;
    border: 1px solid #e9ecef;
}

.category-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1) !important;
    border-color: #068EFF;
}

.category-card img {
    object-fit: cover;
    height: 80px;
    width: 100%;
}

/* ===== TABLE CARDS ===== */
.table-card {
    border-radius: 12px;
    transition: all 0.2s ease;
    border: 2px solid #e9ecef;
}

.table-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1) !important;
}

.table-card.occupied {
    border-color: #ffc107;
}

.table-card.available {
    border-color: #28a745;
}

/* ===== SPACING ===== */
.row.g-3 {
    --bs-gutter-x: 0.75rem;
    --bs-gutter-y: 0.75rem;
}

.row.g-2 {
    --bs-gutter-x: 0.5rem;
    --bs-gutter-y: 0.5rem;
}

/* ===== TEXT SIZES ===== */
h1 { font-size: 1.75rem; } /* 2px küçültüldü */
h2 { font-size: 1.5rem; }  /* 2px küçültüldü */
h3 { font-size: 1.25rem; } /* 2px küçültüldü */
h4 { font-size: 1.1rem; }  /* 2px küçültüldü */
h5 { font-size: 1rem; }    /* 2px küçültüldü */
h6 { font-size: 0.9rem; }  /* 2px küçültüldü */

.fs-1 { font-size: 2rem !important; }    /* 2px küçültüldü */
.fs-2 { font-size: 1.75rem !important; } /* 2px küçültüldü */
.fs-3 { font-size: 1.5rem !important; }  /* 2px küçültüldü */
.fs-4 { font-size: 1.25rem !important; } /* 2px küçültüldü */
.fs-5 { font-size: 1rem !important; }    /* 2px küçültüldü */
.fs-6 { font-size: 0.875rem !important; } /* 2px küçültüldü */

/* ===== MARGIN/PADDING REDUCTION ===== */
.mb-4 { margin-bottom: 0.75rem !important; }
.mb-3 { margin-bottom: 0.5rem !important; }
.mb-2 { margin-bottom: 0.375rem !important; }
.mb-1 { margin-bottom: 0.25rem !important; }

.p-4 { padding: 0.75rem !important; }
.p-3 { padding: 0.5rem !important; }
.p-2 { padding: 0.375rem !important; }

.py-4 { padding-top: 0.75rem !important; padding-bottom: 0.75rem !important; }
.py-3 { padding-top: 0.5rem !important; padding-bottom: 0.5rem !important; }
.py-2 { padding-top: 0.375rem !important; padding-bottom: 0.375rem !important; }

/* ===== MODAL STYLING ===== */
.modal-content {
    border-radius: 15px;
    border: none;
}

.modal-header {
    background: linear-gradient(135deg, #068EFF 0%, rgb(80, 123, 158) 100%);
    color: white;
    border-radius: 15px 15px 0 0;
    padding: 1rem;
}

.modal-title {
    font-size: 1.05rem; /* 2px küçültüldü */
    font-weight: 600;
}

.modal-body {
    padding: 1rem;
    font-size: 0.85rem; /* 2px küçültüldü */
}

.modal-footer {
    padding: 0.75rem 1rem;
}

/* ===== ALERT STYLING ===== */
.alert {
    border-radius: 8px;
    font-size: 0.8rem; /* 2px küçültüldü */
    padding: 0.5rem 0.75rem;
}

/* ===== NAVIGATION ===== */
.navbar-brand {
    font-size: 1.25rem; /* 2px küçültüldü */
    font-weight: 600;
}

.nav-link {
    font-size: 0.85rem; /* 2px küçültüldü */
    font-weight: 500;
}

/* ===== SIDEBAR ===== */
.sidebar {
    font-size: 0.85rem; /* 2px küçültüldü */
}

.sidebar .nav-link {
    padding: 0.5rem 1rem;
    font-size: 0.8rem; /* 2px küçültüldü */
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .card-header .d-flex {
        flex-direction: column;
        align-items: flex-start !important;
        gap: 0.5rem;
    }

    .card-header .btn {
        align-self: stretch;
    }

    .order-card,
    .product-card,
    .category-card,
    .table-card {
        margin-bottom: 0.75rem;
    }

    .btn {
        font-size: 0.75rem; /* Mobilde daha küçük */
    }

    .form-control, .form-select {
        font-size: 0.75rem; /* Mobilde daha küçük */
    }
}

/* ===== UTILITY CLASSES ===== */
.text-truncate-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.shadow-sm-custom {
    box-shadow: 0 2px 8px rgba(0,0,0,0.08) !important;
}

.border-radius-custom {
    border-radius: 12px !important;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* ===== FOCUS STATES ===== */
.btn:focus,
.form-control:focus,
.form-select:focus {
    box-shadow: 0 0 0 0.2rem rgba(6, 142, 255, 0.25);
    border-color: #068EFF;
}

/* ===== LOADING STATES ===== */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

.spinner-border-sm {
    width: 1rem;
    height: 1rem;
}

/* ===== STATUS COLORS ===== */
.status-pending { color: #ffc107; }
.status-preparing { color: #17a2b8; }
.status-ready { color: #28a745; }
.status-delivered { color: #6c757d; }
.status-cancelled { color: #dc3545; }

.bg-pending { background-color: #fff3cd; }
.bg-preparing { background-color: #d1ecf1; }
.bg-ready { background-color: #d4edda; }
.bg-delivered { background-color: #f8f9fa; }
.bg-cancelled { background-color: #f8d7da; }

/* ===== WELCOME SECTION STYLING ===== */
.welcome-section {
    padding: 2rem 1.5rem !important;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 15px;

    border: 1px solid #dee2e6;
}

.welcome-section h3 {
    color: #495057;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.welcome-section p {
    color: #6c757d;
    margin-bottom: 0;
}

.welcome-section .btn {
    border-radius: 8px;
    font-weight: 500;
    padding: 0.5rem 1rem;
}

/* ===== SITE HEADER / NAV - Modern ===== */
:root {
    --header-primary: #068EFF;
    --header-secondary: rgb(80, 123, 158);
    --header-gradient: linear-gradient(135deg, #068EFF 0%, rgb(80, 123, 158) 100%);
    --header-dark: #212529;
    --header-dropdown-bg: #fff;
    --header-dropdown-hover: rgba(6, 142, 255, 0.06);
    --header-dropdown-border: rgba(0,0,0,0.06);
    --header-shadow: 0 4px 24px rgba(0,0,0,0.08);
    --header-shadow-dropdown: 0 20px 50px rgba(0,0,0,0.12), 0 0 0 1px rgba(0,0,0,0.04);
}

body .navbar.site-header {
    background: var(--header-dropdown-bg) !important;
    box-shadow: var(--header-shadow);
    padding: 0.6rem 0;
    transition: box-shadow 0.25s ease, padding 0.25s ease;
}

body .navbar.site-header.scrolled {
    box-shadow: 0 6px 28px rgba(0,0,0,0.1);
    padding: 0.5rem 0;
}

body .navbar.site-header .site-header__logo {
    height: 42px;
    transition: transform 0.2s ease;
}

body .navbar.site-header .navbar-brand:hover .site-header__logo {
    transform: scale(1.02);
}

/* Toggler - hamburger iOS tarzı, yuvarlak ve hoş */
body .navbar.site-header .site-header__toggler {
    border: none;
    border-radius: 12px;
    padding: 0.6rem 0.75rem;
    background: linear-gradient(145deg, #f8f9fa 0%, #e9ecef 100%);
    box-shadow: 0 2px 8px rgba(0,0,0,0.06), inset 0 1px 0 rgba(255,255,255,0.8);
    transition: all 0.25s ease;
}

body .navbar.site-header .site-header__toggler:hover {
    background: linear-gradient(145deg, #e9ecef 0%, #dee2e6 100%);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08), inset 0 1px 0 rgba(255,255,255,0.9);
    transform: scale(1.02);
}

body .navbar.site-header .site-header__toggler:focus {
    box-shadow: 0 0 0 3px rgba(6, 142, 255, 0.25), 0 2px 8px rgba(0,0,0,0.06);
}

body .navbar.site-header .site-header__toggler .navbar-toggler-icon {
    
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(33, 37, 41, 0.8)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    opacity: 0.9;
    color:white;
}

/* Nav links */
body .navbar.site-header .site-header__link {
    color: var(--header-dark) !important;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.5rem 0.75rem !important;
    border-radius: 10px;
    transition: color 0.2s ease, background 0.2s ease;
}

body .navbar.site-header .site-header__link:hover {
    color: var(--header-primary) !important;
    background: var(--header-dropdown-hover);
}

body .navbar.site-header .site-header__link.dropdown-toggle::after {
    transition: transform 0.2s ease;
}

body .navbar.site-header .dropdown.show .site-header__link.dropdown-toggle {
    color: var(--header-primary) !important;
    background: var(--header-dropdown-hover);
}

body .navbar.site-header .dropdown.show .site-header__link.dropdown-toggle::after {
    transform: rotate(180deg);
}

/* Dropdown menu - modern card style, boşluksuz (hover kaymasın diye) */
body .navbar.site-header .site-header__dropdown {
    min-width: 260px;
    padding: 0.5rem;
    padding-top: 0.75rem;
    margin-top: -6px !important;
    border: none;
    border-radius: 16px;
    box-shadow: var(--header-shadow-dropdown);
    background: var(--header-dropdown-bg);
    animation: headerDropdownFade 0.2s ease;
}

@keyframes headerDropdownFade {
    from { opacity: 0; transform: translateY(-6px); }
    to { opacity: 1; transform: translateY(0); }
}

body .navbar.site-header .site-header__dropdown::before {
    content: '';
    position: absolute;
    top: -5px;
    right: 20px;
    width: 12px;
    height: 12px;
    background: var(--header-dropdown-bg);
    transform: rotate(45deg);
    box-shadow: -2px -2px 4px rgba(0,0,0,0.04);
}

body .navbar.site-header .site-header__dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.65rem 1rem;
    border-radius: 12px;
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--header-dark);
    transition: background 0.2s ease, color 0.2s ease, transform 0.15s ease;
}

body .navbar.site-header .site-header__dropdown-item:hover {
    background: var(--header-dropdown-hover);
    color: var(--header-primary);
    transform: translateX(4px);
}

body .navbar.site-header .site-header__dropdown-item:active {
    background: rgba(6, 142, 255, 0.12);
}

body .navbar.site-header .site-header__dropdown-icon {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(6, 142, 255, 0.1) 0%, rgba(80, 123, 158, 0.1) 100%);
    color: var(--header-primary);
    border-radius: 10px;
    font-size: 1.1rem;
    flex-shrink: 0;
    transition: background 0.2s ease, transform 0.2s ease;
}

body .navbar.site-header .site-header__dropdown-item:hover .site-header__dropdown-icon {
    background: var(--header-gradient);
    color: #fff;
    transform: scale(1.05);
}

/* CTA button in header */
body .navbar.site-header .site-header__cta {
    background: var(--header-gradient);
    border: none;
    color: #fff !important;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.6rem 1.35rem;
    border-radius: 12px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    white-space: nowrap;
}

body .navbar.site-header .site-header__cta:hover {
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(6, 142, 255, 0.35);
}

/* Mobile */
@media (max-width: 991.98px) {
    body .navbar.site-header {
        padding: 0.6rem 0;
    }

    body .navbar.site-header .navbar-collapse.site-header__collapse {
        margin-top: 1rem;
        padding: 1rem 0 0.5rem;
        border-top: 1px solid var(--header-dropdown-border);
    }

    body .navbar.site-header .site-header__link {
        padding: 0.75rem 0.6rem !important;
        font-size: 1rem;
        border-radius: 12px;
    }

    body .navbar.site-header .site-header__dropdown-item {
        font-size: 1.05rem;
    }

    body .navbar.site-header .site-header__dropdown {
        margin-top: 0.5rem !important;
        margin-bottom: 0.5rem;
        box-shadow: 0 8px 24px rgba(0,0,0,0.08);
        border: 1px solid var(--header-dropdown-border);
    }

    body .navbar.site-header .site-header__dropdown::before {
        display: none;
    }

    body .navbar.site-header .site-header__dropdown-item {
        padding: 0.75rem 1rem;
    }

    body .navbar.site-header .site-header__cta {
        width: 100%;
        justify-content: center;
        padding: 0.85rem 1.25rem;
        font-size: 1.1rem;
    }
}

/* ===== DARK HEADER + HERO (anasayfa ve program sayfaları) ===== */
.page-dark-hero .navbar.site-header {
    background: #212529 !important;
    box-shadow: none;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.page-dark-hero .site-header__logo--light {
    display: none !important;
}

.page-dark-hero .site-header__logo--dark {
    display: inline-block !important;
}

.page-dark-hero .navbar.site-header .site-header__link,
.page-dark-hero .navbar.site-header .site-header__login {
    color: #fff !important;
}

.page-dark-hero .navbar.site-header .site-header__link:hover,
.page-dark-hero .navbar.site-header .site-header__login:hover {
    color: var(--header-primary) !important;
    background: rgba(255,255,255,0.06);
}

.page-dark-hero .navbar.site-header .site-header__cta {
    background: transparent !important;
    color: #fff !important;
    border: 1.5px solid rgba(255,255,255,0.8);
    border-radius: 50px;
}

.page-dark-hero .navbar.site-header .site-header__cta:hover {
    background: rgba(255,255,255,0.08) !important;
    color: #fff !important;
    box-shadow: none;
}

.page-dark-hero .navbar.site-header .site-header__toggler {
    background: rgba(255,255,255,0.1);
    box-shadow: none;
}

.page-dark-hero .navbar.site-header .site-header__toggler .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255,255,255,0.95)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

/* Mobilde tüm sayfalarda menü (hamburger) tuşu görünsün */
@media (max-width: 991.98px) {
    .navbar.site-header .navbar-toggler {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
}

.page-dark-hero .navbar.site-header .navbar-collapse.site-header__collapse {
    border-top-color: rgba(255,255,255,0.1);
}

.page-dark-hero .navbar.site-header .site-header__dropdown {
    background: #2a2e33;
    border: 1px solid rgba(255,255,255,0.08);
}

.page-dark-hero .navbar.site-header .site-header__dropdown::before {
    background: #2a2e33;
}

.page-dark-hero .navbar.site-header .site-header__dropdown-item {
    color: rgba(255,255,255,0.9);
}

.page-dark-hero .navbar.site-header .site-header__dropdown-item:hover {
    background: rgba(255,255,255,0.08);
    color: var(--header-primary);
}

.page-dark-hero .navbar.site-header .site-header__dropdown-icon {
    background: rgba(6, 142, 255, 0.2);
}

/* Sayfa başlık alanı - koyu (header ile arasında boşluk yok, tüm iç sayfalar) */
.page-title-dark {
    background: #212529 !important;
    color: #fff !important;
    margin-top: 0 !important;
    padding-top: 80px !important;
    padding-bottom: 60px !important;
    min-height: 260px;
    display: flex;
    align-items: center;
}
.page-title-dark h1,
.page-title-dark .display-4,
.page-title-dark .display-5,
.page-title-dark .display-6,
.page-title-dark .lead,
.page-title-dark p,
.page-title-dark a:not(.btn) {
    color: #fff !important;
}
.page-title-dark .opacity-90,
.page-title-dark .opacity-75 { opacity: 0.9; }
.page-title-dark .text-muted { color: rgba(255,255,255,0.8) !important; }
@media (max-width: 768px) {
    .page-title-dark { padding-top: 72px !important; padding-bottom: 40px !important; min-height: 220px; }
}

/* Hero dark - ortak koyu hero bölümü */
.hero-dark {
    background: #212529;
    min-height: auto;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 80px 0 40px;
}

/* İç sayfa koyu hero'lar için daha fazla yükseklik */
.page-dark-hero .hero-dark {
    min-height: 30vh;
}

.hero-dark::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse 80% 50% at 85% 50%, rgba(6, 142, 255, 0.08) 0%, transparent 50%),
                radial-gradient(ellipse 60% 40% at 90% 60%, rgba(80, 123, 158, 0.06) 0%, transparent 45%);
    pointer-events: none;
}

@media (min-width: 992px) {
    .hero-dark {
        padding: 80px 0 40px;
        min-height: auto;
    }
    .hero-dark .row {
        min-height: 65vh;
    }
}

.hero-dark .container {
    max-width: 1400px;
}

.hero-dark .row {
    align-items: center;
}

.hero-dark .hero-content {
    position: relative;
    z-index: 1;
    color: #fff;
}

.hero-dark .hero-label {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
    font-size: clamp(0.9rem, 1.2vw, 1rem);
    color: rgba(255,255,255,0.85);
}

.hero-dark .hero-tag {
    display: inline-block;
    background: var(--header-primary);
    color: #fff;
    padding: 0.35rem 0.85rem;
    border-radius: 0 12px 12px 0;
    font-weight: 600;
    font-size: 0.9rem;
}

.hero-dark h1 {
    font-size: clamp(3rem, 6.75vw, 5.625rem);
    font-weight: 800;
    margin-top: 70px;
    margin-bottom: 1rem;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: #fff;
}

.hero-dark h1 .hero-highlight {
    color: var(--header-primary);
    font-size: 1.05em;
}

.hero-dark .hero-content p {
    font-size: clamp(0.95rem, 1.3vw, 1.2rem);
    margin-bottom: 1.25rem;
    color: rgba(255,255,255,0.9);
    max-width: 720px;
    line-height: 1.65;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.hero-dark .text-light {
    font-size: 1.5em;
}

/* Hero butonları: aynı yükseklik, ince */
.hero-dark .hero-cta,
.hero-dark .hero-content .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.5rem 1.15rem;
    font-size: 0.9rem;
    line-height: 1.35;
    border-radius: 50px;
    min-height: 38px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hero-dark .hero-buttons .hero-cta,
.hero-dark .hero-buttons .btn {
    transform: scale(1.2);
    margin: 0 1rem;
}

.hero-dark .hero-cta {
    background: var(--header-primary);
    color: #fff !important;
    font-weight: 600;
    border: none;
    text-decoration: none;
}

.hero-dark .hero-cta:hover {
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(6, 142, 255, 0.4);
}

.hero-dark .hero-image {
    position: relative;
    z-index: 1;
    padding: 1rem 0;
}

.hero-dark .hero-image > div {
    padding: 0 0.5rem;
}

.hero-dark .hero-image img {
    max-width: 100%;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.4));
    transition: transform 0.3s ease;
    border-radius: 20px;
}

@media (min-width: 992px) {
    .hero-dark .container {
        overflow: visible;
    }
    .hero-dark .row {
        display: flex !important;
        flex-wrap: wrap;
        flex-direction: row !important;
        
    }
    /* Masaüstü: metin solda, görsel sağda - kesin sıra */
    .hero-dark .hero-content {
        order: 1 !important;
    }
    .hero-dark .hero-image {
        order: 2 !important;
        display: flex;
        justify-content: flex-end;
        align-items: center;
        overflow: visible;
        padding: 1.5rem 0;
    }
    .hero-dark .hero-image > div {
        padding: 0 1rem;
    }
    .hero-dark .hero-image img {
        width: auto;
        max-width: 100%;
        margin-left: auto;
        margin-right: 0;
        object-fit: contain;
    }
}

.hero-dark .hero-image:hover img {
    transform: scale(1.02);
}

@media (max-width: 991px) {
    .hero-dark .hero-label {
        justify-content: center;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .hero-dark {
        padding: 100px 0 60px;
    }
    .hero-dark h1 {
        font-size: 2.1rem;
    }
    .hero-dark .hero-content p {
        font-size: 0.875rem;
    }
    .hero-dark .hero-label {
        font-size: 0.85rem;
    }
    .hero-dark .hero-tag {
        font-size: 0.8rem;
    }
    .hero-dark .hero-image {
        padding: 1.5rem 0.5rem;
    }
    .hero-dark .hero-image img {
        max-width: 90%;
        margin: 0 auto;
        display: block;
    }
    /* Mobil: hero butonları ortada, 2'şerli */
    .hero-dark .hero-buttons {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
        justify-items: center;
        max-width: 320px;
        margin-left: auto;
        margin-right: auto;
    }
    .hero-dark .hero-buttons .hero-cta,
    .hero-dark .hero-buttons .btn {
        width: 100%;
        min-width: 0;
        text-align: center;
        justify-content: center;
    }
}
