/* =========================================================
   Özel Girbay Sürücü Kursları - Özgün Tema & Animasyon Stilleri
   Plus Jakarta Sans (latin-ext) + Kırmızı/Beyaz/Antrasit Sistem
   ========================================================= */

:root {
    --girbay-red: #d90429;
    --girbay-red-dark: #9e031d;
    --girbay-red-soft: #fff1f3;
    --girbay-bg: #f1f3f7;
    --girbay-surface: #ffffff;
    --girbay-dark: #15171e;
    --girbay-text: #272a36;
}

html, body, h1, h2, h3, h4, h5, h6, p, span, a, li, label, input, select, textarea, button, td, th, .btn {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
}

body {
    background-color: var(--girbay-bg) !important;
    color: var(--girbay-text);
    overflow-x: hidden;
}

/* Header & Horizontal Prominent Branding */
#header .header-top.bg-color-primary {
    background: linear-gradient(90deg, var(--girbay-red-dark), var(--girbay-red)) !important;
}

#header .header-body {
    background-color: #ffffff !important;
    box-shadow: 0 6px 24px rgba(17, 24, 39, 0.07);
}

.girbay-brand-horizontal {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    text-decoration: none !important;
    padding: 4px 8px;
}

.girbay-brand-horizontal img {
    height: 52px;
    width: auto;
    object-fit: contain;
}

.girbay-brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
    text-align: left;
    border-left: 3px solid var(--girbay-red);
    padding-left: 12px;
}

.girbay-brand-title {
    font-size: 1.42rem;
    font-weight: 800;
    letter-spacing: 0.3px;
    color: var(--girbay-red);
    text-transform: uppercase;
    white-space: nowrap;
}

.girbay-brand-sub {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.8px;
    color: #374151;
    text-transform: uppercase;
}

.girbay-notice-strip {
    background: linear-gradient(90deg, #1b1d26 0%, var(--girbay-red-dark) 50%, var(--girbay-red) 100%);
    color: #ffffff;
    padding: 9px 0;
    font-size: 0.84rem;
    font-weight: 600;
}

.girbay-notice-strip a {
    color: #ffffff !important;
    text-decoration: underline;
}

.header-nav-bar {
    background-color: #ffffff !important;
    border-top: 1px solid #eceef2 !important;
}

#header .header-nav-main nav > ul > li > a {
    font-weight: 700 !important;
    color: #1f2937 !important;
    font-size: 13px !important;
    letter-spacing: 0.2px;
}

#header .header-nav-main nav > ul > li > a:hover,
#header .header-nav-main nav > ul > li > a.active {
    color: var(--girbay-red) !important;
}

.btn-online-kayit-nav {
    background-color: var(--girbay-red) !important;
    color: #ffffff !important;
    border: 2px solid var(--girbay-red) !important;
    border-radius: 8px !important;
    padding: 8px 18px !important;
    font-weight: 700 !important;
    font-size: 13px !important;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    box-shadow: 0 4px 14px rgba(217, 4, 41, 0.28);
    transition: all 0.2s ease;
    white-space: nowrap;
}

.btn-online-kayit-nav:hover {
    background-color: var(--girbay-red-dark) !important;
    border-color: var(--girbay-red-dark) !important;
    color: #ffffff !important;
    transform: translateY(-1px);
}

.no-arrow .fa-chevron-down {
    display: none !important;
}

@media (max-width: 991px) {
    #header .header-body {
        top: 0 !important;
        position: relative !important;
    }
    .girbay-brand-title { font-size: 1.05rem; }
    .girbay-brand-horizontal img { height: 40px; }
}

/* =========================================================
   Özgün Hero Slider + Ken Burns Animasyonu + Alt Sekme Çubuğu
   ========================================================= */
.girbay-hero-section {
    position: relative;
    background: #101218;
    overflow: hidden;
}

.hero-slide-item {
    position: relative;
    min-height: 560px;
    height: 74vh;
    max-height: 700px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-slide-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1);
    transition: transform 7s ease-out;
    z-index: 0;
}

.owl-item.active .hero-slide-bg {
    transform: scale(1.07);
}

.hero-slide-item::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(100deg, rgba(14, 16, 22, 0.90) 0%, rgba(14, 16, 22, 0.68) 54%, rgba(164, 6, 31, 0.25) 100%);
    z-index: 1;
}

.hero-slide-content {
    position: relative;
    z-index: 2;
}

.owl-item.active .hero-anim-up {
    animation: girbayFadeUp 0.75s cubic-bezier(0.22, 1, 0.36, 1) both;
}

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

.hero-brand-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: var(--girbay-red);
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.9px;
    text-transform: uppercase;
    padding: 7px 16px;
    border-radius: 50px;
    margin-bottom: 16px;
    box-shadow: 0 4px 16px rgba(217, 4, 41, 0.4);
}

.hero-age-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 22px;
}

.hero-age-badge {
    background: rgba(255, 255, 255, 0.96);
    color: #15171e;
    border-left: 4px solid var(--girbay-red);
    padding: 8px 15px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 700;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.28);
}

.hero-age-badge span {
    color: var(--girbay-red);
}

.hero-slide-tabs {
    background: #181a22;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-tab-btn {
    background: transparent;
    border: 0;
    border-bottom: 3px solid transparent;
    color: #9ca3af;
    padding: 14px 12px;
    font-size: 0.84rem;
    font-weight: 700;
    width: 100%;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.hero-tab-btn:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.04);
}

.hero-tab-btn.active {
    color: #ffffff;
    border-bottom-color: var(--girbay-red);
    background: rgba(217, 4, 41, 0.14);
}

#girbayHeroCarousel .owl-nav button.owl-prev,
#girbayHeroCarousel .owl-nav button.owl-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(217, 4, 41, 0.88) !important;
    color: #ffffff !important;
    font-size: 20px !important;
    z-index: 5;
}

#girbayHeroCarousel .owl-nav button.owl-prev { left: 18px; }
#girbayHeroCarousel .owl-nav button.owl-next { right: 18px; }

@media (max-width: 767px) {
    .hero-slide-item {
        height: auto !important;
        min-height: 520px !important;
        max-height: none !important;
        padding: 36px 0 48px 0 !important;
    }
    #girbayHeroCarousel .owl-nav {
        display: none !important;
    }
    .girbay-float-stack {
        right: 12px;
        bottom: 12px;
        gap: 6px;
    }
    .girbay-support-float,
    .girbay-wa-float {
        padding: 7px 13px;
        font-size: 0.78rem;
    }
}

/* Bootstrap 5 Badge & Form Compatibility */
.badge-light { background-color: #f8f9fa !important; color: #1f2937 !important; }
.badge-dark { background-color: #1f2937 !important; color: #ffffff !important; }
.badge-danger { background-color: #d90429 !important; color: #ffffff !important; }
.badge-success { background-color: #10b981 !important; color: #ffffff !important; }
.badge-warning { background-color: #f59e0b !important; color: #111827 !important; }
.form-row { display: flex; flex-wrap: wrap; margin-right: -5px; margin-left: -5px; }
.form-row > .col, .form-row > [class*="col-"] { padding-right: 5px; padding-left: 5px; }
.form-group { margin-bottom: 1rem; }

/* Scroll Reveal Animasyonu */
.girbay-reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.55s ease, transform 0.55s ease;
}

.girbay-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Hızlı Erişim Kartları */
.anasayfa-card {
    background-color: #ffffff;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
    border-bottom: 4px solid var(--girbay-red);
    border-radius: 10px;
}

.anasayfa-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.88);
    z-index: 0;
    transition: background 0.25s ease;
}

.anasayfa-card:hover::before {
    background: rgba(255, 241, 243, 0.94);
}

.anasayfa-card > span {
    position: relative;
    z-index: 1;
}

.anasayfa-card.card1 { background-image: url("../img/banner/banner1.png"); }
.anasayfa-card.card2 { background-image: url("../img/banner/banner2.png"); }
.anasayfa-card.card3 { background-image: url("../img/banner/banner3.png"); }

/* 4 Adımda Ehliyet & Değer Önerileri */
.step-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 26px 22px;
    height: 100%;
    box-shadow: 0 8px 24px rgba(17, 24, 39, 0.05);
    border-top: 4px solid var(--girbay-red);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.step-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 32px rgba(17, 24, 39, 0.1);
}

.step-num-badge {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: var(--girbay-red);
    color: #ffffff;
    font-weight: 800;
    font-size: 1.05rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
}

/* Red Band & Contrast Cards */
.section.section-primary {
    background: linear-gradient(125deg, #a4061f 0%, #d90429 100%) !important;
    border: 0 !important;
}

.girbay-section-tinted {
    background-color: #e8ecf2;
    border-top: 1px solid #dce1ea;
    border-bottom: 1px solid #dce1ea;
}

.girbay-red-strip {
    background: linear-gradient(135deg, #a4061f 0%, #d90429 100%);
    color: #ffffff;
    border-radius: 12px;
    padding: 28px 26px;
    box-shadow: 0 12px 30px rgba(217, 4, 41, 0.22);
}

.girbay-red-strip h3,
.girbay-red-strip h4,
.girbay-red-strip h5,
.girbay-red-strip p {
    color: #ffffff !important;
}

/* Hizmet & Belge Kutuları */
.sf-icon-box-content-wrap {
    background-color: #ffffff;
    padding: 28px;
    box-shadow: 0 9px 23px 6px rgba(0, 0, 0, 0.05) !important;
    border-radius: 12px;
    border-top: 4px solid var(--girbay-red);
    height: 100%;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.sf-icon-box-content-wrap:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.09) !important;
}

.featured-box-primary .box-content {
    border-top-color: var(--girbay-red) !important;
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.06);
}

/* Girbay Portal Kartı */
.girbay-portal-card {
    background: linear-gradient(160deg, var(--girbay-red-dark) 0%, var(--girbay-red) 62%, #ef233c 100%);
    color: #ffffff;
    border-radius: 14px;
    padding: 28px 22px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 14px 30px rgba(217, 4, 41, 0.24);
    text-align: center;
}

.girbay-portal-card h3,
.girbay-portal-card p {
    color: #ffffff !important;
}

.girbay-portal-logo-box {
    background: #ffffff;
    border-radius: 10px;
    padding: 12px 16px;
    display: inline-block;
    margin: 0 auto 14px auto;
}

.girbay-portal-logo-box img {
    max-height: 46px;
    width: auto;
}

/* Google Yorumlar */
.google-rating-summary {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-left: 5px solid var(--girbay-red);
    border-radius: 12px;
    padding: 18px 22px;
    margin-bottom: 18px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
}

.google-stars {
    color: #fbbc04;
    font-size: 1rem;
    letter-spacing: 1px;
}

.google-review-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 20px 22px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
}

/* Online Kayıt Showcase + Harita */
.online-kayit-showcase {
    background: #ffffff;
    border-radius: 14px;
    padding: 32px;
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.07);
    border-top: 5px solid var(--girbay-red);
}

.btn-whatsapp-submit {
    background-color: #25d366 !important;
    border-color: #1ebe5d !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    padding: 12px 24px !important;
    border-radius: 8px !important;
    font-size: 1rem !important;
    box-shadow: 0 6px 16px rgba(37, 211, 102, 0.28);
    transition: all 0.2s ease;
}

.btn-whatsapp-submit:hover {
    background-color: #1da851 !important;
    color: #ffffff !important;
    transform: translateY(-1px);
}

.tabContent10Radio2-checked {
    display: none;
}

.tabContent10Radio2-checked.active {
    display: block;
}

/* Harita Kapsayıcısı (Bootstrap 5 uyumlu) */
.embed-responsive {
    position: relative !important;
    display: block !important;
    width: 100% !important;
    padding: 0 !important;
    overflow: hidden !important;
}

.embed-responsive::before {
    display: block;
    content: "";
}

.embed-responsive-16by9::before {
    padding-top: 56.25%;
}

.embed-responsive iframe,
.embed-responsive .embed-responsive-item {
    position: absolute !important;
    top: 0 !important;
    bottom: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    border: 0 !important;
}

/* E-Ders & E-Sınav */
.eders-tab-btn {
    border: 1px solid #dee2e6;
    background: #ffffff;
    color: #212529;
    font-weight: 700;
    border-radius: 8px;
    padding: 12px 16px;
    text-align: left;
    transition: all 0.2s ease;
    cursor: pointer;
    width: 100%;
    margin-bottom: 8px;
}

.eders-tab-btn.active,
.eders-tab-btn:hover {
    background: var(--girbay-red);
    color: #ffffff;
    border-color: var(--girbay-red);
}

.exam-option-label {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    margin-bottom: 10px;
    cursor: pointer;
    background: #ffffff;
    transition: all 0.15s ease;
}

.exam-option-label:hover {
    border-color: var(--girbay-red);
    background: var(--girbay-red-soft);
}

.exam-option-label.correct {
    border-color: #198754;
    background: #d1e7dd;
    color: #0f5132;
    font-weight: 600;
}

.exam-option-label.wrong {
    border-color: #dc3545;
    background: #f8d7da;
    color: #842029;
}

/* Floating Aksiyon Butonları (WhatsApp + Destek Talebi) */
.girbay-float-stack {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 9998;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
}

.girbay-support-float {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: var(--girbay-dark);
    color: #ffffff !important;
    border: 2px solid var(--girbay-red);
    padding: 9px 16px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.85rem;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.25);
    cursor: pointer;
    transition: transform 0.2s ease;
}

.girbay-support-float:hover {
    transform: translateY(-2px);
    background-color: var(--girbay-red);
}

.girbay-wa-float {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: #25d366;
    color: #ffffff !important;
    padding: 10px 18px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
    text-decoration: none !important;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.girbay-wa-float:hover {
    background-color: #1ebe5d;
    transform: translateY(-2px);
}

.scroll-to-top {
    bottom: 128px !important;
    right: 20px !important;
}

/* Referanslar & Footer */
.sec_referances {
    background-color: #ffffff;
    padding: 28px 0 38px 0;
    border-top: 1px solid #e5e7eb;
}

#footer {
    background: #1a1c23 !important;
    border-top: 4px solid var(--girbay-red) !important;
}

#footer a:hover {
    color: #ff4d6d !important;
}

/* Page Header Classic */
.page-header.page-header-classic {
    background: linear-gradient(120deg, #1b1c20 0%, #520515 100%) !important;
    border-bottom: 4px solid var(--girbay-red) !important;
    padding: 28px 0 !important;
    margin: 0 !important;
    position: relative !important;
    z-index: 1 !important;
}

.page-header.page-header-classic:after {
    display: none !important;
}

.page-header.page-header-classic h1 {
    color: #ffffff !important;
    font-weight: 700 !important;
}

.page-header.page-header-classic .breadcrumb li,
.page-header.page-header-classic .breadcrumb li a {
    color: rgba(255, 255, 255, 0.85) !important;
}

.page-header.page-header-classic .breadcrumb li.active {
    color: #ffccd5 !important;
    font-weight: 600;
}

/* =========================================================
   Girbay Executive Design System v2 (MEB Sınav & Sayfa Kartları)
   ========================================================= */
.mr-1 { margin-right: .25rem !important; }
.mr-2 { margin-right: .5rem !important; }
.mr-3 { margin-right: 1rem !important; }
.ml-1 { margin-left: .25rem !important; }
.ml-2 { margin-left: .5rem !important; }
.ml-3 { margin-left: 1rem !important; }
.pr-0 { padding-right: 0 !important; }
.pl-0 { padding-left: 0 !important; }
.btn-block { display: block; width: 100%; }
.text-right { text-align: right !important; }
.text-left { text-align: left !important; }
@media (min-width: 768px) {
    .text-md-right { text-align: right !important; }
}
.no-gutters { --bs-gutter-x: 0; --bs-gutter-y: 0; }
.gap-1 { gap: .25rem !important; }
.gap-2 { gap: .5rem !important; }
.gap-3 { gap: 1rem !important; }

.girbay-page-banner {
    background: radial-gradient(circle at 85% 20%, rgba(217, 4, 41, 0.35), transparent 45%),
                linear-gradient(120deg, #12141c 0%, #2b0710 60%, #5c0617 100%) !important;
    padding: 36px 0 !important;
}

.girbay-page-banner h1 {
    display: block !important;
    letter-spacing: -0.02em !important;
}

h1, h2, h3, h4, h5, h6 {
    letter-spacing: -0.015em !important;
}

.girbay-banner-eyebrow {
    display: inline-block;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #ff8fa3;
    background: rgba(255, 255, 255, 0.08);
    padding: 4px 12px;
    border-radius: 50px;
}

.girbay-surface-card {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #e6e9f0;
    box-shadow: 0 12px 32px rgba(17, 24, 39, 0.05);
}

.girbay-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.74rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.7px;
    color: var(--girbay-red);
    background: var(--girbay-red-soft);
    padding: 5px 12px;
    border-radius: 50px;
}

.girbay-red-strip {
    background: linear-gradient(135deg, #9e031d 0%, #d90429 100%);
    color: #ffffff;
    border-radius: 16px;
    padding: 26px;
    box-shadow: 0 14px 30px rgba(217, 4, 41, 0.22);
}

.girbay-kpi-card {
    background: #ffffff;
    border: 1px solid #e6e9f0;
    border-top: 4px solid var(--girbay-red);
    border-radius: 14px;
    padding: 20px 18px;
    box-shadow: 0 8px 22px rgba(17, 24, 39, 0.04);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.girbay-kpi-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 28px rgba(17, 24, 39, 0.08);
}

.girbay-kpi-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: var(--girbay-red-soft);
    color: var(--girbay-red);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    margin-bottom: 10px;
}

.girbay-kpi-value {
    font-size: 1.12rem;
    font-weight: 800;
    color: var(--girbay-dark);
    line-height: 1.25;
}

.girbay-kpi-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: #6b7280;
    margin-top: 4px;
}

.girbay-meb-bar .progress-bar {
    font-size: 0.7rem;
    font-weight: 700;
    line-height: 16px;
}

.girbay-meb-dist-card {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-top: 4px solid var(--girbay-red);
    border-radius: 12px;
    padding: 16px;
    height: 100%;
}

.girbay-parkur-step {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 18px;
    height: 100%;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.girbay-parkur-step:hover {
    border-color: var(--girbay-red);
    background: #ffffff;
}

.girbay-parkur-step .step-pill {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--girbay-red);
    background: var(--girbay-red-soft);
    padding: 3px 10px;
    border-radius: 50px;
    margin-bottom: 8px;
}

.girbay-subpills .nav-link {
    background: #ffffff;
    border: 1px solid #d1d5db;
    color: #374151;
    font-weight: 700;
    font-size: 0.85rem;
    border-radius: 10px;
    margin-right: 8px;
    margin-bottom: 6px;
}

.girbay-subpills .nav-link.active {
    background: var(--girbay-red) !important;
    border-color: var(--girbay-red) !important;
    color: #ffffff !important;
}

.girbay-check-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 12px 14px;
    height: 100%;
    cursor: pointer;
    transition: all 0.18s ease;
    user-select: none;
}

.girbay-check-card:hover {
    border-color: var(--girbay-red);
}

.girbay-check-box {
    width: 22px;
    height: 22px;
    min-width: 22px;
    border-radius: 6px;
    border: 2px solid #cbd5e1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    color: transparent;
    margin-top: 2px;
    transition: all 0.15s ease;
}

.girbay-check-card.is-checked {
    background: #ecfdf5;
    border-color: #10b981;
}

.girbay-check-card.is-checked .girbay-check-box {
    background: #10b981;
    border-color: #10b981;
    color: #ffffff;
}

.girbay-fault-card {
    border-radius: 12px;
    padding: 18px 20px;
    border: 1px solid #e5e7eb;
}
.girbay-fault-card.fault-red { background: #fff1f2; border-left: 5px solid #dc2626; }
.girbay-fault-card.fault-yellow { background: #fffbeb; border-left: 5px solid #f59e0b; }
.girbay-fault-card.fault-blue { background: #eff6ff; border-left: 5px solid #2563eb; }

.girbay-sign-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.girbay-sign-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(17, 24, 39, 0.08);
    border-color: var(--girbay-red);
}

.girbay-sign-svg {
    width: 96px;
    height: 96px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.girbay-sign-svg svg {
    max-width: 100%;
    max-height: 100%;
}

/* E-Sınav Simülatör Detay Stilleri */
.es-legend-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin-right: 4px;
    vertical-align: middle;
}

.es-palette-grid {
    gap: 5px;
    max-height: 310px;
    overflow-y: auto;
    padding: 2px;
}

.es-pal-btn {
    min-width: 38px;
    height: 34px;
    padding: 0 6px;
    font-size: 0.78rem;
}

.es-question-img-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 16px;
}

.es-opt-letter {
    width: 28px;
    height: 28px;
    min-width: 28px;
    border-radius: 8px;
    background: var(--girbay-red-soft);
    color: var(--girbay-red);
    font-weight: 800;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.exam-option-label.is-selected {
    border-color: var(--girbay-red);
    background: var(--girbay-red-soft);
    font-weight: 600;
}

.exam-option-label.is-selected .es-opt-letter {
    background: var(--girbay-red);
    color: #ffffff;
}

/* Hesaplayıcı, Kadro, Galeri & Sayfa Kartları */
.girbay-calc-card {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #e6e9f0;
    border-top: 5px solid var(--girbay-red);
    box-shadow: 0 14px 36px rgba(17, 24, 39, 0.06);
}

.girbay-spec-mini {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 10px 12px;
}

.girbay-kadro-card {
    background: #ffffff;
    border: 1px solid #e6e9f0;
    border-radius: 14px;
    overflow: hidden;
    height: 100%;
    box-shadow: 0 8px 24px rgba(17, 24, 39, 0.05);
    transition: transform 0.2s ease;
}

.girbay-kadro-card:hover {
    transform: translateY(-4px);
}

.girbay-kadro-avatar {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--girbay-red-dark), var(--girbay-red));
    color: #ffffff;
    font-size: 1.45rem;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.girbay-gallery-item {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    box-shadow: 0 8px 22px rgba(17, 24, 39, 0.06);
    cursor: pointer;
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.girbay-gallery-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 32px rgba(17, 24, 39, 0.12);
}

.girbay-gallery-item img {
    width: 100%;
    height: 230px;
    object-fit: cover;
    display: block;
}

.girbay-doc-card {
    background: #ffffff;
    border: 1px solid #e6e9f0;
    border-left: 5px solid var(--girbay-red);
    border-radius: 12px;
    padding: 22px;
    height: 100%;
    box-shadow: 0 6px 20px rgba(17, 24, 39, 0.04);
}

.girbay-sube-card {
    background: #ffffff;
    border: 1px solid #e6e9f0;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 12px 32px rgba(17, 24, 39, 0.06);
    height: 100%;
}

/* Header dropdown şık görünüm */
#header .header-nav-main nav > ul > li.dropdown .dropdown-menu {
    border-radius: 12px !important;
    border-top: 3px solid var(--girbay-red) !important;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.14) !important;
    padding: 8px !important;
}

#header .header-nav-main nav > ul > li.dropdown .dropdown-menu li a {
    border-radius: 8px !important;
    padding: 9px 14px !important;
    font-weight: 600 !important;
}

#header .header-nav-main nav > ul > li.dropdown .dropdown-menu li a:hover {
    background: var(--girbay-red-soft) !important;
    color: var(--girbay-red) !important;
}

/* Birleşik Kursiyer Eğitim Portalı Sekmeleri */
.girbay-portal-nav .nav-link {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: #1e293b;
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.girbay-portal-nav .nav-link:hover {
    border-color: var(--girbay-red);
    background: var(--girbay-red-soft);
}

.girbay-portal-nav .nav-link.active {
    background: linear-gradient(120deg, #9e031d, #d90429) !important;
    border-color: var(--girbay-red) !important;
    color: #ffffff !important;
    box-shadow: 0 8px 20px rgba(217, 4, 41, 0.24);
}

.girbay-portal-nav .nav-link.active .badge {
    background: rgba(255, 255, 255, 0.22) !important;
    color: #ffffff !important;
}

/* =========================================================
   Anasayfa Güven Bandı, Araç Vitrin Kartları & 6'lı Avantaj Grid
   ========================================================= */
.girbay-trust-bar {
    background: #141720;
    color: #ffffff;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 16px 0;
}

.girbay-trust-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.girbay-trust-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    border-radius: 10px;
    background: rgba(217, 4, 41, 0.2);
    color: #ff4d6d;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
}

.girbay-vehicle-card {
    background: #ffffff;
    border: 1px solid #e6e9f0;
    border-radius: 16px;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 28px rgba(17, 24, 39, 0.05);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.girbay-vehicle-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 38px rgba(17, 24, 39, 0.12);
    border-color: var(--girbay-red);
}

.girbay-vehicle-thumb {
    position: relative;
    height: 175px;
    overflow: hidden;
    background: #15171e;
}

.girbay-vehicle-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
}

.girbay-vehicle-card:hover .girbay-vehicle-thumb img {
    transform: scale(1.06);
}

.girbay-vehicle-age {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(217, 4, 41, 0.94);
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 50px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.girbay-adv-card {
    background: #ffffff;
    border: 1px solid #e6e9f0;
    border-radius: 14px;
    padding: 22px;
    height: 100%;
    box-shadow: 0 6px 20px rgba(17, 24, 39, 0.04);
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.girbay-adv-card:hover {
    transform: translateY(-3px);
    border-color: var(--girbay-red);
}

/* =========================================================
   Tema Değiştirici & Tam SİYAH ARKA PLAN (Dark Mode) Sistemi
   ========================================================= */
.girbay-theme-toggle {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.16);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 50px;
    padding: 3px 12px;
    font-size: 0.75rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.18s ease;
    white-space: nowrap;
}

.girbay-theme-toggle:hover {
    background: #ffffff;
    color: var(--girbay-red);
}

html[data-theme="dark"],
html[data-theme="dark"] body {
    background-color: #0b0d13 !important;
    color: #e2e8f0 !important;
}

html[data-theme="dark"] #header .header-body,
html[data-theme="dark"] .header-nav-bar,
html[data-theme="dark"] .portal-app-header {
    background-color: #131620 !important;
    border-color: #252a3b !important;
}

html[data-theme="dark"] .girbay-brand-horizontal img,
html[data-theme="dark"] .portal-app-logo {
    background: #ffffff;
    padding: 4px 8px;
    border-radius: 8px;
}

html[data-theme="dark"] .girbay-brand-sub,
html[data-theme="dark"] #header .header-extra-info p,
html[data-theme="dark"] #header .header-extra-info a.text-dark,
html[data-theme="dark"] #header .header-nav-main nav > ul > li > a {
    color: #e2e8f0 !important;
}

html[data-theme="dark"] #header .header-nav-main nav > ul > li > a:hover,
html[data-theme="dark"] #header .header-nav-main nav > ul > li > a.active {
    color: #ff4d6d !important;
}

html[data-theme="dark"] #header .header-nav-main nav > ul > li.dropdown .dropdown-menu {
    background: #171b26 !important;
    border-color: #2a3042 !important;
}

html[data-theme="dark"] #header .header-nav-main nav > ul > li.dropdown .dropdown-menu li a {
    color: #e2e8f0 !important;
}

html[data-theme="dark"] #header .header-nav-main nav > ul > li.dropdown .dropdown-menu li a:hover {
    background: rgba(217, 4, 41, 0.22) !important;
    color: #ff8fa3 !important;
}

html[data-theme="dark"] .girbay-section-tinted {
    background-color: #10131c !important;
    border-color: #1f2433 !important;
}

html[data-theme="dark"] .sec_referances {
    background-color: #12151f !important;
    border-top-color: #252a3b !important;
}

html[data-theme="dark"] .girbay-surface-card,
html[data-theme="dark"] .girbay-calc-card,
html[data-theme="dark"] .girbay-kpi-card,
html[data-theme="dark"] .girbay-vehicle-card,
html[data-theme="dark"] .girbay-adv-card,
html[data-theme="dark"] .girbay-kadro-card,
html[data-theme="dark"] .girbay-sube-card,
html[data-theme="dark"] .girbay-doc-card,
html[data-theme="dark"] .girbay-sign-card,
html[data-theme="dark"] .girbay-gallery-item,
html[data-theme="dark"] .online-kayit-showcase,
html[data-theme="dark"] .step-card,
html[data-theme="dark"] .google-rating-summary,
html[data-theme="dark"] .google-review-card,
html[data-theme="dark"] .featured-box .box-content,
html[data-theme="dark"] .card,
html[data-theme="dark"] .modal-content {
    background-color: #151924 !important;
    border-color: #262b3d !important;
    color: #e2e8f0 !important;
}

html[data-theme="dark"] .anasayfa-card::before {
    background: rgba(21, 25, 36, 0.90) !important;
}

html[data-theme="dark"] .anasayfa-card:hover::before {
    background: rgba(38, 18, 28, 0.94) !important;
}

html[data-theme="dark"] .bg-white,
html[data-theme="dark"] .bg-light,
html[data-theme="dark"] .girbay-calc-result,
html[data-theme="dark"] .girbay-spec-mini,
html[data-theme="dark"] .girbay-meb-dist-card,
html[data-theme="dark"] .girbay-parkur-step,
html[data-theme="dark"] .girbay-check-card,
html[data-theme="dark"] .es-question-img-card,
html[data-theme="dark"] .exam-option-label,
html[data-theme="dark"] .eders-tab-btn,
html[data-theme="dark"] .girbay-portal-nav .nav-link:not(.active),
html[data-theme="dark"] .girbay-subpills .nav-link:not(.active) {
    background-color: #1b202e !important;
    border-color: #2c3347 !important;
    color: #e2e8f0 !important;
}

html[data-theme="dark"] .girbay-check-card.is-checked {
    background-color: #064e3b !important;
    border-color: #10b981 !important;
}

html[data-theme="dark"] .exam-option-label.is-selected {
    background-color: rgba(217, 4, 41, 0.22) !important;
    border-color: var(--girbay-red) !important;
}

html[data-theme="dark"] .girbay-fault-card.fault-red { background: rgba(220, 38, 38, 0.14) !important; border-color: #7f1d1d !important; }
html[data-theme="dark"] .girbay-fault-card.fault-yellow { background: rgba(245, 158, 11, 0.14) !important; border-color: #78350f !important; }
html[data-theme="dark"] .girbay-fault-card.fault-blue { background: rgba(37, 99, 235, 0.14) !important; border-color: #1e3a8a !important; }

html[data-theme="dark"] h1, html[data-theme="dark"] h2, html[data-theme="dark"] h3,
html[data-theme="dark"] h4, html[data-theme="dark"] h5, html[data-theme="dark"] h6,
html[data-theme="dark"] .text-dark,
html[data-theme="dark"] strong:not(.text-danger):not(.text-success):not(.text-warning) {
    color: #f8fafc !important;
}

html[data-theme="dark"] .text-muted,
html[data-theme="dark"] p,
html[data-theme="dark"] small,
html[data-theme="dark"] li {
    color: #cbd5e1 !important;
}

html[data-theme="dark"] .girbay-eyebrow {
    background: rgba(217, 4, 41, 0.22) !important;
    color: #ff8fa3 !important;
}

html[data-theme="dark"] .form-control,
html[data-theme="dark"] .form-select,
html[data-theme="dark"] .input-group-text {
    background-color: #10131c !important;
    border-color: #2f374f !important;
    color: #f8fafc !important;
}

html[data-theme="dark"] .table,
html[data-theme="dark"] .table td,
html[data-theme="dark"] .table th {
    color: #e2e8f0 !important;
    border-color: #2c3347 !important;
}

html[data-theme="dark"] .table-striped > tbody > tr:nth-of-type(odd) > * {
    background-color: rgba(255, 255, 255, 0.03) !important;
    color: #f1f5f9 !important;
}

html[data-theme="dark"] .btn-outline-dark {
    color: #e2e8f0 !important;
    border-color: #475569 !important;
}

html[data-theme="dark"] .btn-outline-dark:hover {
    background-color: #334155 !important;
    color: #ffffff !important;
}

html[data-theme="dark"] .portal-theme-btn,
html[data-theme="dark"] #portalThemeToggle {
    background: #1e293b !important;
    color: #ffffff !important;
    border-color: #475569 !important;
}

html[data-theme="dark"] .section.section-primary p,
html[data-theme="dark"] .section.section-primary .lead {
    color: #ffffff !important;
}

html[data-theme="dark"] .btn-outline-success {
    color: #4ade80 !important;
    border-color: #22c55e !important;
}

html[data-theme="dark"] .btn-outline-success:hover {
    background-color: #16a34a !important;
    color: #ffffff !important;
}

@media (max-width: 767px) {
    #header .header-top .header-social-icons {
        display: inline-flex !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        gap: 2px;
    }
    .girbay-theme-toggle {
        margin-right: 8px !important;
        padding: 3px 9px !important;
        font-size: 0.7rem !important;
    }
}
