:root {
    --bg-main: #F8FAFC;
    --bg-card: #FFFFFF;
    --bg-dark: #0F172A;
    --bg-dark-surface: #1E293B;

    --text-dark: #0F172A;
    --text-slate: #334155;
    --text-muted: #64748B;
    --text-light: #F8FAFC;

    --accent: #C28840;
    --accent-hover: #A66E2C;
    --accent-light: #FDF8F3;
    --accent-border: #E8D3B9;

    --border-color: #E2E8F0;
    --border-dark: #334155;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: var(--bg-main);
    color: var(--text-dark);
}

a {
    text-decoration: none;
    transition: all 0.25s ease;
}

.logo-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background-color: var(--bg-dark);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.navbar-brand .logo-icon {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    font-size: 14px;
    flex-shrink: 0;
}

.navbar-brand-title {
    font-size: 18px;
    line-height: 1.15;
}

.navbar-brand-sub {
    font-size: 8.5px;
    letter-spacing: 0.4px;
}

@media (min-width: 992px) {
    .navbar-brand .logo-icon {
        width: 42px;
        height: 42px;
        border-radius: 12px;
        font-size: 20px;
    }

    .navbar-brand-title {
        font-size: 1.5rem;
        line-height: 1.2;
    }

    .navbar-brand-sub {
        font-size: 10px;
        letter-spacing: 0.5px;
        margin-top: -3px;
    }
}

.btn-primary {
    background-color: var(--accent) !important;
    border-color: var(--accent) !important;
    color: #FFFFFF !important;
    font-weight: 700;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
    background-color: var(--accent-hover) !important;
    border-color: var(--accent-hover) !important;
    box-shadow: 0 4px 14px rgba(194, 136, 64, 0.3) !important;
}

.btn-dark {
    background-color: var(--bg-dark) !important;
    border-color: var(--bg-dark) !important;
    color: #FFFFFF !important;
    font-weight: 700;
}

.btn-dark:hover,
.btn-dark:focus,
.btn-dark:active {
    background-color: var(--bg-dark-surface) !important;
    border-color: var(--bg-dark-surface) !important;
}

.btn-outline-dark {
    border-color: var(--border-color) !important;
    color: var(--text-dark) !important;
    font-weight: 700;
}

.btn-outline-dark:hover {
    background-color: var(--bg-dark) !important;
    color: #FFFFFF !important;
    border-color: var(--bg-dark) !important;
}

.btn-outline-amber {
    border: 1px solid var(--accent-border) !important;
    background-color: var(--accent-light) !important;
    color: var(--accent) !important;
    font-weight: 700;
}

.btn-outline-amber:hover {
    background-color: var(--accent) !important;
    color: #FFFFFF !important;
    border-color: var(--accent) !important;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--accent) !important;
    box-shadow: 0 0 0 0.25rem rgba(194, 136, 64, 0.2) !important;
}

.nav-pills .nav-link {
    color: var(--text-muted);
    font-weight: 700;
    font-size: 13px;
    padding: 10px 16px;
    border-radius: 12px;
    transition: all 0.2s ease;
}

.nav-pills .nav-link.active {
    background-color: var(--accent) !important;
    color: #FFFFFF !important;
    box-shadow: 0 4px 12px rgba(194, 136, 64, 0.25);
}

.nav-tabs .nav-link {
    color: var(--text-muted);
    font-weight: 700;
    font-size: 14px;
    border: none;
    border-bottom: 2px solid transparent;
}

.nav-tabs .nav-link.active {
    color: var(--accent) !important;
    border-bottom-color: var(--accent) !important;
    background-color: transparent !important;
}

.account-menu {
    position: relative;
}

.account-menu-trigger {
    display: flex;
    align-items: center;
    gap: 7px;
    max-width: 260px;
    height: 34px;
    padding: 0 10px;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    background: #fff;
    color: var(--text-dark);
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    list-style: none;
    line-height: 1;
}

@media (min-width: 992px) {
    .account-menu-trigger {
        height: 42px;
        padding: 0 14px;
        font-size: 14px;
        gap: 9px;
        border-radius: 12px;
    }
}

.account-menu-trigger::-webkit-details-marker {
    display: none;
}

.account-menu-trigger > i:first-child {
    color: var(--accent);
    font-size: 16px;
}

.account-menu-avatar {
    width: 22px;
    height: 22px;
    flex: 0 0 22px;
    border-radius: 50%;
    object-fit: cover;
}

.account-menu-trigger span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.account-menu-chevron {
    flex: 0 0 auto;
    color: var(--text-muted);
    font-size: 10px;
    transition: transform 0.2s ease;
}

.hero-search-form {
    position: relative;
    z-index: 5;
    background: #fff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.16) !important;
}

.hero-search-label {
    margin-bottom: 9px;
    color: #334155;
    font-size: 11px;
    letter-spacing: 0.045em;
}

.hero-search-autocomplete {
    position: relative;
}

.hero-search-autocomplete .form-control {
    min-height: 52px;
    padding-right: 42px;
    border-color: #dbe2ea;
    border-radius: 10px;
    background-color: #fff;
    color: #172334;
    box-shadow: none;
}

.hero-search-autocomplete .form-control:focus {
    border-color: #d49b54;
    box-shadow: 0 0 0 3px rgba(210, 153, 78, 0.2);
}

.hero-search-autocomplete .form-control::placeholder {
    color: #64748b;
    opacity: 1;
}

.hero-search-chevron {
    position: absolute;
    top: 50%;
    right: 16px;
    color: #64748b;
    font-size: 12px;
    pointer-events: none;
    transform: translateY(-50%);
}

.hero-search-options {
    position: absolute;
    z-index: 20;
    top: calc(100% + 8px);
    right: 0;
    left: 0;
    max-height: 280px;
    overflow-y: auto;
    padding: 6px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 14px 32px rgba(15, 23, 42, 0.2);
}

.hero-search-options[hidden] {
    display: none;
}

.hero-search-option {
    display: block;
    width: 100%;
    padding: 10px 12px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: #263548;
    font: inherit;
    text-align: left;
    cursor: pointer;
}

.hero-search-option:hover,
.hero-search-option.active {
    background: #f5eee5;
    color: #784c1e;
}

@media (max-width: 767.98px) {
    .hero-search-form {
        padding: 20px !important;
    }
}

.account-menu[open] .account-menu-chevron {
    transform: rotate(180deg);
}

.account-menu-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    z-index: 1100;
    min-width: 220px;
    padding: 6px;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.14);
}

.account-menu-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 12px;
    border-radius: 8px;
    color: var(--text-dark);
    font-size: 13px;
    font-weight: 700;
}

.account-menu-item i {
    width: 18px;
    color: var(--accent);
    text-align: center;
}

.account-menu-item:hover,
.account-menu-item:focus-visible {
    background: var(--accent-light);
    color: var(--accent-hover);
}

.account-menu-item.account-menu-logout {
    border-top: 1px solid var(--border-color);
    border-radius: 0 0 8px 8px;
    color: #B91C1C;
}

.account-menu-item.account-menu-logout i {
    color: #DC2626;
}

.account-menu-item.account-menu-logout:hover,
.account-menu-item.account-menu-logout:focus-visible {
    background: #FEF2F2;
    color: #991B1B;
}

.account-menu-item:not(.account-menu-logout) + .account-menu-item {
    border-top: 1px solid var(--border-color);
}

/* ==========================================================================
   Header Notification Popup / Dropdown
   ========================================================================== */
.notification-menu {
    position: relative;
}

.notification-menu-trigger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 34px;
    height: 34px;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    background: #fff;
    color: var(--text-dark);
    font-size: 15px;
    cursor: pointer;
    list-style: none;
    line-height: 1;
    transition: all 0.2s ease;
}

@media (min-width: 992px) {
    .notification-menu-trigger {
        width: 42px;
        height: 42px;
        font-size: 16px;
        border-radius: 12px;
    }
}

.notification-menu-trigger::-webkit-details-marker {
    display: none;
}

.notification-menu-trigger:hover,
.notification-menu[open] .notification-menu-trigger {
    background: var(--accent-light);
    color: var(--accent-hover);
    border-color: var(--accent-border);
}

.notification-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: #DC2626;
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    line-height: 1;
    min-width: 17px;
    height: 17px;
    padding: 0 4px;
    border-radius: 9px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #fff;
    box-shadow: 0 2px 5px rgba(220, 38, 38, 0.4);
}

.notification-menu-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    z-index: 1100;
    width: 320px;
    max-width: calc(100vw - 32px);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 14px 35px rgba(15, 23, 42, 0.14);
    overflow: hidden;
}

@media (min-width: 576px) {
    .notification-menu-dropdown {
        width: 340px;
    }
}

.notification-dropdown-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: #F8FAFC;
    border-bottom: 1px solid var(--border-color);
}

.notification-dropdown-title {
    font-size: 14px;
    font-weight: 800;
    color: var(--text-dark);
}

.notification-dropdown-list {
    max-height: 300px;
    overflow-y: auto;
}

.notification-dropdown-list::-webkit-scrollbar {
    width: 5px;
}
.notification-dropdown-list::-webkit-scrollbar-thumb {
    background: #CBD5E1;
    border-radius: 4px;
}

.notification-empty {
    padding: 28px 16px;
    text-align: center;
    color: #94A3B8;
}

.notification-empty i {
    font-size: 26px;
    margin-bottom: 8px;
    display: block;
}

.notification-empty p {
    font-size: 13px;
    margin: 0;
}

.notification-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 11px 14px;
    text-decoration: none;
    color: var(--text-dark);
    border-bottom: 1px solid #F1F5F9;
    position: relative;
    transition: background 0.15s ease;
}

.notification-item:hover {
    background: #F8FAFC;
}

.notification-item.is-unread {
    background: #FFFDF7;
}

.notification-item.is-unread:hover {
    background: #FFFBEB;
}

.notification-item-icon {
    font-size: 16px;
    margin-top: 2px;
    flex-shrink: 0;
}

.notification-item-content {
    flex: 1;
    min-width: 0;
}

.notification-item-title {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: #0F172A;
    margin-bottom: 2px;
    line-height: 1.3;
}

.notification-item-desc {
    font-size: 12px;
    color: #64748B;
    margin: 0 0 4px;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.notification-item-time {
    font-size: 11px;
    color: #94A3B8;
    display: block;
}

.notification-unread-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
    margin-top: 6px;
    flex-shrink: 0;
}

.notification-dropdown-footer {
    padding: 10px 14px;
    background: #F8FAFC;
    border-top: 1px solid var(--border-color);
    text-align: center;
}

.notification-view-all {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 700;
    color: var(--accent);
    text-decoration: none;
    transition: color 0.15s ease;
}

.notification-view-all:hover {
    color: var(--accent-hover);
}

.card {
    transition: all 0.3s ease;
    background-color: var(--bg-card);
}

.card-hover:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.12) !important;
}

.badge-dark-custom {
    background-color: rgba(15, 23, 42, 0.9);
    color: var(--accent);
    border: 1px solid var(--border-dark);
}

.pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--accent);
    display: inline-block;
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.5;
        transform: scale(0.85);
    }
}

.toast-container-custom {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1080;
    max-width: 380px;
    width: 100%;
}

                                                                             
                        
                                                                                
#hero {
    position: relative;
    overflow: hidden;
    min-height: calc(100vh - 110px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
    pointer-events: none;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    opacity: 0;
    transform: scale(1.04);
    transition: opacity 0.8s ease-in-out, transform 2s ease-out;
}

.hero-slide.active {
    opacity: 1;
    transform: scale(1);
}

.hero-slider-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.60) 0%, rgba(15, 23, 42, 0.74) 100%);
    backdrop-filter: blur(0.5px);
    -webkit-backdrop-filter: blur(0.5px);
    z-index: 2;
}

#hero .container {
    position: relative;
    z-index: 3;
    width: 100%;
}

                                                                             
                                                             
                                                                                
.bitiras-toast-container {
    position: fixed;
    top: 88px;
    right: 24px;
    z-index: 99999;
    pointer-events: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.bitiras-toast {
    pointer-events: auto;
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    min-width: 320px;
    max-width: 420px;
    padding: 16px 18px 16px 16px;
    background: #FFFFFF;
    border-radius: 16px;
    box-shadow: 0 20px 45px -10px rgba(15, 23, 42, 0.22), 0 6px 18px -3px rgba(15, 23, 42, 0.08);
    border: 1px solid #E2E8F0;
    overflow: hidden;
    animation: toastSlideIn 0.45s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    transition: transform 0.25s ease, opacity 0.25s ease, box-shadow 0.25s ease;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.bitiras-toast:hover {
    box-shadow: 0 26px 54px -10px rgba(15, 23, 42, 0.28), 0 8px 22px -3px rgba(15, 23, 42, 0.12);
    transform: translateY(-2px);
}

.bitiras-toast.toast-hiding {
    animation: toastSlideOut 0.35s cubic-bezier(0.7, 0, 0.84, 0) forwards;
}

                          
.toast-icon-wrapper {
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
}

                      
.toast-content {
    flex: 1;
    min-width: 0;
    padding-top: 1px;
}

.toast-title {
    display: block;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: -0.2px;
    margin-bottom: 3px;
    line-height: 1.25;
}

.toast-message {
    display: block;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.45;
    color: #475569;
    word-break: break-word;
}

                  
.toast-close-btn {
    flex-shrink: 0;
    background: transparent;
    border: none;
    color: #94A3B8;
    cursor: pointer;
    width: 28px;
    height: 28px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: all 0.2s ease;
    margin-top: -2px;
    margin-right: -4px;
    padding: 0;
}

.toast-close-btn:hover {
    background: #F1F5F9;
    color: #0F172A;
}

                                             
.toast-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    width: 100%;
    background: rgba(0, 0, 0, 0.05);
}

.toast-progress-bar {
    height: 100%;
    width: 100%;
    transform-origin: left;
    animation: toastProgress 5s linear forwards;
}

.bitiras-toast:hover .toast-progress-bar {
    animation-play-state: paused;
}

                      
             
.bitiras-toast.toast-success {
    border-left: 4px solid #10B981;
}
.bitiras-toast.toast-success .toast-icon-wrapper {
    background: #ECFDF5;
    color: #059669;
}
.bitiras-toast.toast-success .toast-title {
    color: #065F46;
}
.bitiras-toast.toast-success .toast-progress-bar {
    background: #10B981;
}

                    
.bitiras-toast.toast-danger {
    border-left: 4px solid #EF4444;
}
.bitiras-toast.toast-danger .toast-icon-wrapper {
    background: #FEF2F2;
    color: #DC2626;
}
.bitiras-toast.toast-danger .toast-title {
    color: #991B1B;
}
.bitiras-toast.toast-danger .toast-progress-bar {
    background: #EF4444;
}

             
.bitiras-toast.toast-warning {
    border-left: 4px solid #F59E0B;
}
.bitiras-toast.toast-warning .toast-icon-wrapper {
    background: #FFFBEB;
    color: #D97706;
}
.bitiras-toast.toast-warning .toast-title {
    color: #92400E;
}
.bitiras-toast.toast-warning .toast-progress-bar {
    background: #F59E0B;
}

          
.bitiras-toast.toast-info {
    border-left: 4px solid #3B82F6;
}
.bitiras-toast.toast-info .toast-icon-wrapper {
    background: #EFF6FF;
    color: #2563EB;
}
.bitiras-toast.toast-info .toast-title {
    color: #1E40AF;
}
.bitiras-toast.toast-info .toast-progress-bar {
    background: #3B82F6;
}

                  
@keyframes toastSlideIn {
    0% {
        opacity: 0;
        transform: translateX(115%) scale(0.94);
    }
    70% {
        transform: translateX(-6px) scale(1.01);
    }
    100% {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

@keyframes toastSlideOut {
    0% {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
    100% {
        opacity: 0;
        transform: translateX(115%) scale(0.92);
    }
}

@keyframes toastProgress {
    from {
        transform: scaleX(1);
    }
    to {
        transform: scaleX(0);
    }
}

                     
@media (max-width: 576px) {
    .bitiras-toast-container {
        top: 16px;
        right: 16px;
        left: 16px;
    }
    .bitiras-toast {
        min-width: 100%;
        max-width: 100%;
    }
}

/* ── Müşteri Kayıt Şehir Combobox / Autocomplete ── */
.cust-city-combobox {
    position: relative;
    width: 100%;
}

.cust-city-combobox .cust-city-toggle {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    padding: 8px 10px;
    cursor: pointer;
    color: var(--text-muted);
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    transition: color 0.2s ease, background-color 0.2s ease;
    z-index: 5;
}

.cust-city-combobox .cust-city-toggle:hover {
    color: var(--accent);
    background-color: rgba(194, 136, 64, 0.08);
}

.cust-city-combobox .cust-city-toggle i {
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.cust-city-combobox.open .cust-city-toggle i {
    transform: rotate(180deg);
}

.cust-city-dropdown {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    z-index: 1065;
    background: #ffffff;
    border: 1px solid var(--border-color, #e2e8f0);
    border-radius: 12px;
    box-shadow: 0 12px 30px -4px rgba(15, 23, 42, 0.16), 0 4px 12px -2px rgba(15, 23, 42, 0.08);
    max-height: 230px;
    overflow-y: auto;
    padding: 6px;
    scroll-behavior: smooth;
}

.cust-city-dropdown[hidden] {
    display: none !important;
}

.cust-city-dropdown::-webkit-scrollbar {
    width: 6px;
}
.cust-city-dropdown::-webkit-scrollbar-track {
    background: #f8fafc;
    border-radius: 8px;
}
.cust-city-dropdown::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 8px;
}
.cust-city-dropdown::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

.cust-city-option {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 10px 14px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: var(--text-dark, #0f172a);
    font-size: 0.935rem;
    font-weight: 500;
    text-align: left;
    cursor: pointer;
    transition: background-color 0.15s ease, color 0.15s ease, padding-left 0.15s ease;
}

.cust-city-option:hover,
.cust-city-option.active,
.cust-city-option[aria-selected="true"] {
    background-color: var(--accent-light, #fdf8f3);
    color: var(--accent-hover, #a66e2c);
    font-weight: 600;
    padding-left: 18px;
}

.cust-city-option .city-icon {
    font-size: 0.75rem;
    color: var(--accent);
    margin-right: 10px;
    opacity: 0.75;
    transition: transform 0.15s ease;
}

.cust-city-option:hover .city-icon,
.cust-city-option.active .city-icon {
    transform: scale(1.2);
    opacity: 1;
}

.cust-city-empty {
    padding: 14px 12px;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
    line-height: 1.4;
}

/* ==========================================================================
   Mobil ve Responsive İyileştirmeler (BiTıraş)
   ========================================================================== */

/* 1. Hero İstatistik Sayaçları (3'lü Yan Yana, 4+ olunca 2x2) */
.hero-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    width: 100%;
}

/* 4 veya daha fazla eleman varsa mobilde 2x2 düzen */
.hero-stats-grid:has(> :nth-child(4)) {
    grid-template-columns: repeat(2, 1fr);
}

.hero-stat-card {
    background: #FFFFFF;
    border: 1px solid var(--border-color, #E2E8F0);
    border-radius: 14px;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05);
    padding: 10px 6px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 72px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hero-stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
}

.hero-stat-card .stat-number {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--text-dark, #0F172A);
    line-height: 1.15;
    letter-spacing: -0.5px;
}

.hero-stat-card .stat-suffix {
    color: var(--accent, #C28840);
    font-size: 12px;
    font-weight: 700;
}

.hero-stat-card .stat-label {
    color: var(--text-muted, #64748B);
    font-weight: 600;
    font-size: 10.5px;
    line-height: 1.2;
    margin-top: 3px;
    word-break: break-word;
}

@media (min-width: 576px) {
    .hero-stats-grid {
        gap: 12px;
    }
    .hero-stat-card {
        padding: 14px 10px;
        min-height: 84px;
    }
    .hero-stat-card .stat-number {
        font-size: 1.65rem;
    }
    .hero-stat-card .stat-suffix {
        font-size: 14px;
    }
    .hero-stat-card .stat-label {
        font-size: 12px;
    }
}

@media (min-width: 768px) {
    .hero-stats-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }
    .hero-stats-grid:has(> :nth-child(4)) {
        grid-template-columns: repeat(4, 1fr);
    }
    .hero-stat-card {
        padding: 18px 14px;
        border-radius: 16px;
    }
    .hero-stat-card .stat-number {
        font-size: 2rem;
    }
    .hero-stat-card .stat-suffix {
        font-size: 16px;
    }
}

/* 2. Öne Çıkan Berberler Filtre Barı & Yatay Kaydırma (Slider / Carousel) */
/* Başlık Grubu: Alttaki [Tümü] butonunun sol kenarıyla kusursuz hizalama */
.featured-title-group {
    padding-left: 5px;
}

@media (min-width: 768px) {
    .featured-title-group {
        padding-left: 6px;
    }
}

.featured-filter-bar {
    display: flex;
    gap: 4px;
    background: #F1F5F9;
    padding: 4px;
    border-radius: 12px;
    width: 100%;
    border: 1px solid var(--border-color, #E2E8F0);
}

.featured-filter-pill {
    flex: 1 1 0;
    text-align: center;
    padding: 8px 4px;
    font-size: 11.5px;
    font-weight: 700;
    color: var(--text-muted, #64748B);
    background: transparent;
    border-radius: 8px;
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.featured-filter-pill:hover {
    color: var(--text-dark, #0F172A);
    background: rgba(255, 255, 255, 0.7);
}

.featured-filter-pill.active {
    background: #0F172A !important;
    color: #FFFFFF !important;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.15);
}

@media (min-width: 768px) {
    .featured-filter-bar {
        width: auto;
        gap: 6px;
        padding: 6px;
    }
    .featured-filter-pill {
        flex: 0 0 auto;
        padding: 8px 20px;
        font-size: 13px;
    }
}

.featured-slider-wrapper {
    position: relative;
    width: 100%;
}

/* Sol ve Sağ Floating Navigasyon Okları (Berber Kartlarına Göre Dikey Ortalanmış) */
.slider-nav-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    border-radius: 50% !important;
    background: #FFFFFF !important;
    border: 1px solid var(--border-color, #CBD5E1) !important;
    color: var(--text-dark, #0F172A) !important;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.22) !important;
    z-index: 30;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.slider-nav-arrow.slider-nav-prev {
    left: -12px;
}

.slider-nav-arrow.slider-nav-next {
    right: -12px;
}

@media (max-width: 768px) {
    .slider-nav-arrow {
        width: 38px;
        height: 38px;
        font-size: 14px;
        box-shadow: 0 4px 14px rgba(15, 23, 42, 0.28) !important;
    }
    .slider-nav-arrow.slider-nav-prev {
        left: 2px;
    }
    .slider-nav-arrow.slider-nav-next {
        right: 2px;
    }
}

.slider-nav-arrow:hover {
    background: var(--bg-dark, #0F172A) !important;
    color: #FFFFFF !important;
    border-color: var(--bg-dark, #0F172A) !important;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(15, 23, 42, 0.35) !important;
}

.slider-nav-arrow:active {
    transform: translateY(-50%) scale(0.92);
}

.slider-nav-arrow.is-disabled {
    opacity: 0.35;
    cursor: pointer;
}

/* En Sona Gelince Gösterilen "Tümünü Gör" Kartı */
.featured-see-all-card {
    border: 2px dashed var(--accent, #C28840) !important;
    background: linear-gradient(180deg, #FDF8F3 0%, #FFFFFF 100%) !important;
    min-height: 100%;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.featured-see-all-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(194, 136, 64, 0.15) !important;
}

.see-all-icon-box {
    width: 58px;
    height: 58px;
    background: rgba(194, 136, 64, 0.12);
    color: var(--accent, #C28840);
    font-size: 22px;
    transition: transform 0.2s ease, background 0.2s ease;
}

.featured-see-all-card:hover .see-all-icon-box {
    transform: scale(1.12);
    background: var(--accent, #C28840);
    color: #FFFFFF;
}

.featured-see-all-col {
    display: flex;
}

.featured-see-all-col a {
    width: 100%;
    display: flex;
}

@media (max-width: 991.98px) {
    .featured-see-all-col {
        flex: 0 0 84% !important;
        max-width: 320px !important;
        min-width: 270px !important;
        width: 84% !important;
        scroll-snap-align: start;
    }
}

@media (max-width: 991.98px) {
    #featured-cards-grid {
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scroll-behavior: smooth;
        scroll-padding-left: 6px;
        gap: 16px !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding: 4px 6px 14px 6px !important;
        scrollbar-width: none; /* Firefox */
        -ms-overflow-style: none; /* IE/Edge */
        cursor: grab;
    }

    #featured-cards-grid:active {
        cursor: grabbing;
    }

    #featured-cards-grid::-webkit-scrollbar {
        display: none; /* Chrome/Safari */
    }

    #featured-cards-grid > [class*="col-"] {
        flex: 0 0 84% !important;
        max-width: 320px !important;
        min-width: 270px !important;
        width: 84% !important;
        scroll-snap-align: start;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    #featured-cards-grid article.card {
        height: 100%;
    }
}

/* 3. 3 Adımda Randevunu Tamamla (Küçültülmüş ve Yan Yana) */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    width: 100%;
}

.step-card {
    background: #FFFFFF;
    border: 1px solid var(--border-color, #E2E8F0);
    border-radius: 14px;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05);
    padding: 12px 6px;
    text-align: center;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.step-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.08);
}

.step-card .step-badge {
    position: absolute;
    top: 6px;
    left: 8px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: rgba(194, 136, 64, 0.12);
    color: var(--accent, #C28840);
    font-size: 11px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-card .step-illustration-box {
    width: 44px;
    height: 44px;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-card .step-illustration-box svg {
    width: 100%;
    height: 100%;
    display: block;
}

.step-card .step-title {
    font-size: 11.5px;
    font-weight: 700;
    color: var(--text-dark, #0F172A);
    line-height: 1.25;
    margin-bottom: 4px;
    min-height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-card .step-desc {
    font-size: 9.5px;
    color: var(--text-muted, #64748B);
    line-height: 1.35;
    margin-bottom: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

@media (min-width: 768px) {
    .steps-grid {
        gap: 24px;
    }

    .step-card {
        padding: 28px 20px;
        border-radius: 20px;
    }

    .step-card .step-badge {
        top: 14px;
        left: 16px;
        width: 28px;
        height: 28px;
        font-size: 14px;
    }

    .step-card .step-illustration-box {
        width: 100px;
        height: 100px;
        margin-bottom: 20px;
    }

    .step-card .step-title {
        font-size: 1.25rem;
        margin-bottom: 10px;
        min-height: unset;
    }

    .step-card .step-desc {
        font-size: 0.875rem;
        line-height: 1.5;
        -webkit-line-clamp: unset;
        display: block;
    }
}

/* 4. Footer Kompakt Görünüm */
@media (max-width: 991.98px) {
    .site-footer,
    footer.bg-dark {
        padding-top: 1.75rem !important;
        padding-bottom: 1.25rem !important;
    }

    .site-footer .footer-brand-text,
    footer.bg-dark .text-secondary.text-sm {
        font-size: 12px;
        line-height: 1.4;
        margin-bottom: 12px !important;
    }

    .site-footer .footer-col-title,
    footer.bg-dark h5 {
        font-size: 11.5px !important;
        letter-spacing: 0.5px;
        margin-bottom: 6px !important;
    }

    .site-footer .footer-nav-list li,
    footer.bg-dark ul li {
        margin-bottom: 3px !important;
    }

    .site-footer .footer-nav-list a,
    footer.bg-dark ul a {
        font-size: 12px !important;
        color: #94A3B8 !important;
        line-height: 1.4;
    }

    .site-footer .footer-nav-list a:hover,
    footer.bg-dark ul a:hover {
        color: #FFFFFF !important;
    }

    .site-footer .footer-contact-info,
    footer.bg-dark .col-12.col-lg-3 p {
        font-size: 11.5px !important;
        line-height: 1.4;
    }

    .site-footer .footer-contact-info a {
        color: #94A3B8 !important;
    }

    .site-footer .footer-contact-info a:hover {
        color: #FFFFFF !important;
    }
}
