/* ==========================================================================
   DEMEÇ EĞİTİM SEN - Kurumsal Web CSS Mimarisi
   Standartlar: Selim ÇELİK (Tek satır top-bar, nowrap başlıklar, 2 satır clamp, simetrik grid)
   ========================================================================== */

:root {
    --primary: #0B2A4A;
    --primary-dark: #071E36;
    --primary-light: #153E6B;
    --accent: #D9232D;
    --accent-hover: #B71C24;
    --gold: #C5A059;
    --bg-light: #F8FAFC;
    --card-bg: #FFFFFF;
    --text-main: #1E293B;
    --text-muted: #64748B;
    --border-color: #E2E8F0;
    --radius: 8px;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 12px rgba(11,42,74,0.08);
    --shadow-lg: 0 10px 25px rgba(11,42,74,0.12);
    --container: 1240px;
    --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font);
    color: var(--text-main);
    background-color: var(--bg-light);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--accent);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.innerContainer {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 20px;
}

/* --------------------------------------------------------------------------
   1. ÜST BİLGİ BANDI (Top Bar: Tek Satır Standardı)
   -------------------------------------------------------------------------- */
.site-topbar {
    background-color: #061525;
    color: #CBD5E1;
    font-size: 0.85rem;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.topbar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    white-space: nowrap;
}

.topbar-left, .topbar-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.tb-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.tb-item a {
    color: #E2E8F0;
}

.tb-item a:hover {
    color: #FFFFFF;
    text-decoration: underline;
}

.topbar-social {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-left: 12px;
}

.topbar-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    background: rgba(255,255,255,0.12);
    color: #FFFFFF;
    border-radius: 4px;
    font-size: 0.82rem;
    transition: all 0.2s ease;
}

.topbar-social a:hover {
    background: var(--accent);
    color: #FFFFFF;
    transform: translateY(-1px);
}

.tb-fa-icon {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.7);
    margin-right: 3px;
}

.tb-wa {
    color: #22c55e !important;
}

/* --------------------------------------------------------------------------
   2. MARKA BANDI (Header)
   -------------------------------------------------------------------------- */
.site-header {
    background-color: var(--primary);
    padding: 18px 0;
    border-bottom: 2px solid var(--accent);
}

.header-brand-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-logo-box .brand-logo {
    height: 90px;
    width: auto;
}

.header-slogan-box {
    text-align: center;
    color: #FFFFFF;
    flex: 1;
    padding: 0 20px;
}

.header-title {
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
    white-space: nowrap;
}

.header-slogan {
    font-size: 1.15rem;
    font-weight: 600;
    color: #E2E8F0;
    font-style: italic;
    white-space: nowrap;
}

.header-ata-box .ata-flag {
    height: 90px;
    width: auto;
    object-fit: contain;
}

.mobile-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.mobile-toggle span {
    display: block;
    width: 26px;
    height: 3px;
    background: #FFFFFF;
    margin: 5px 0;
    border-radius: 2px;
    transition: 0.3s;
}

/* --------------------------------------------------------------------------
   3. KURUMSAL NAVİGASYON (Nav Bar)
   -------------------------------------------------------------------------- */
.site-nav {
    background-color: var(--primary-dark);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-md);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2px;
}

.nav-item {
    position: relative;
}

.nav-item > a {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 16px 14px;
    color: #FFFFFF;
    font-size: 0.95rem;
    font-weight: 600;
    white-space: nowrap;
}

.nav-item > a:hover,
.nav-item.active > a {
    background-color: var(--accent);
    color: #FFFFFF;
}

.nav-item .arr {
    font-size: 0.8rem;
    opacity: 0.8;
}

/* Dropdown */
.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #FFFFFF;
    min-width: 240px;
    list-style: none;
    box-shadow: var(--shadow-lg);
    border-radius: 0 0 var(--radius) var(--radius);
    border-top: 3px solid var(--accent);
    z-index: 1100;
}

.dropdown-menu li a {
    display: block;
    padding: 11px 18px;
    color: var(--text-main);
    font-size: 0.9rem;
    font-weight: 500;
    border-bottom: 1px solid var(--border-color);
}

.dropdown-menu li:last-child a {
    border-bottom: none;
}

.dropdown-menu li a:hover {
    background-color: #F1F5F9;
    color: var(--accent);
    padding-left: 22px;
}

.nav-item.has-dropdown:hover > .dropdown-menu {
    display: block;
}

/* Hızlı İletişim CTA Butonu */
.nav-cta .btn-fast-call {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #FFFFFF;
    color: var(--primary);
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.9rem;
    transition: 0.2s;
}

.nav-cta .btn-fast-call:hover {
    background: var(--accent);
    color: #FFFFFF;
}

/* --------------------------------------------------------------------------
   4. BÖLÜM BAŞLIKLARI (Selim ÇELİK Standart: Nowrap & Simetri)
   -------------------------------------------------------------------------- */
.section-header {
    text-align: center;
    margin: 40px 0 28px;
}

.section-title {
    font-size: 1.85rem;
    font-weight: 800;
    color: var(--primary);
    white-space: nowrap;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: "";
    display: block;
    width: 60px;
    height: 4px;
    background: var(--accent);
    margin: 8px auto 0;
    border-radius: 2px;
}

.section-desc {
    font-size: 1rem;
    color: var(--text-muted);
    margin-top: 8px;
    white-space: nowrap;
}

/* --------------------------------------------------------------------------
   5. HIZLI ERİŞİM VİTRİN KUTULARI (Özellik Kutuları: Başlıkla İkon Yan Yana)
   -------------------------------------------------------------------------- */
.hub-features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin: 30px 0;
}

.hub-card {
    background: #FFFFFF;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 14px;
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s, box-shadow 0.2s;
}

.hub-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent);
}

.hub-icon {
    font-size: 2rem;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #EFF6FF;
    border-radius: 10px;
    flex-shrink: 0;
}

.hub-info h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 2px;
    line-height: 1.3;
}

.hub-info p {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.3;
}

/* --------------------------------------------------------------------------
   6. HABER VE HİZMET KARTLARI (2 Satır Line-Clamp Standardı)
   -------------------------------------------------------------------------- */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}

.news-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-sm);
    transition: transform 0.25s, box-shadow 0.25s;
}

.news-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.news-card-img-wrap {
    position: relative;
    aspect-ratio: 16 / 10;
    background: #0B2A4A;
    overflow: hidden;
}

.news-card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-card:hover .news-card-img-wrap img {
    transform: scale(1.05);
}

.news-card-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--accent);
    color: #FFFFFF;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 4px;
    text-transform: uppercase;
}

.news-card-body {
    padding: 16px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.news-card-date {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-bottom: 6px;
}

.news-card-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1.35;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-card-desc {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 12px;
}

.news-card-footer {
    margin-top: auto;
    padding-top: 10px;
    border-top: 1px solid var(--border-color);
}

.news-card-link {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary);
}

.news-card-link:hover {
    color: var(--accent);
}

/* --------------------------------------------------------------------------
   7. HAKKIMIZDA BÖLÜMÜ (Görsel ve Metin Birebir Eşit Hizada Biter)
   -------------------------------------------------------------------------- */
.about-section-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    align-items: stretch;
    background: #FFFFFF;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    margin-bottom: 40px;
}

.about-img-box {
    position: relative;
    min-height: 380px;
}

.about-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.about-text-box {
    padding: 36px 32px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.about-text-box h2 {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 12px;
}

.about-lead {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 14px;
}

.about-text-box p {
    font-size: 0.95rem;
    color: var(--text-main);
    line-height: 1.65;
    margin-bottom: 14px;
}

.about-buttons {
    display: flex;
    gap: 14px;
    margin-top: 10px;
}

.btn-primary {
    background: var(--primary);
    color: #FFFFFF;
    padding: 10px 22px;
    border-radius: var(--radius);
    font-weight: 700;
    display: inline-block;
    transition: 0.2s;
}

.btn-primary:hover {
    background: var(--accent);
    color: #FFFFFF;
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    padding: 8px 20px;
    border-radius: var(--radius);
    font-weight: 700;
    display: inline-block;
    transition: 0.2s;
}

.btn-outline:hover {
    border-color: var(--accent);
    color: var(--accent);
}

/* --------------------------------------------------------------------------
   8. TEKİL İÇERİK & SAYFA DETAYI (Single Article & Page)
   -------------------------------------------------------------------------- */
.article-layout {
    display: grid;
    grid-template-columns: 2.8fr 1.2fr;
    gap: 32px;
    margin: 30px 0;
}

.article-content-card {
    background: #FFFFFF;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 32px;
    box-shadow: var(--shadow-sm);
}

.breadcrumbs {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 14px;
}

.breadcrumbs a {
    color: var(--primary);
}

.article-header h1 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1.3;
    margin-bottom: 12px;
}

.article-meta {
    font-size: 0.85rem;
    color: var(--text-muted);
    display: flex;
    gap: 16px;
    margin-bottom: 20px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--border-color);
}

.article-featured-img {
    margin-bottom: 24px;
    border-radius: var(--radius);
    overflow: hidden;
}

.article-featured-img img {
    width: 100%;
    max-height: 480px;
    object-fit: cover;
}

.article-body {
    font-size: 1.05rem;
    line-height: 1.75;
    color: #1E293B;
}

.article-body p {
    margin-bottom: 18px;
}

.article-body h2, .article-body h3 {
    color: var(--primary);
    margin: 28px 0 14px;
}

.article-body ul, .article-body ol {
    margin: 0 0 18px 24px;
}

.article-body li {
    margin-bottom: 6px;
}

/* Sidebar */
.sidebar-widget {
    background: #FFFFFF;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 20px;
    margin-bottom: 24px;
    box-shadow: var(--shadow-sm);
}

.widget-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 14px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--accent);
}

.widget-menu {
    list-style: none;
}

.widget-menu li a {
    display: block;
    padding: 8px 0;
    font-size: 0.92rem;
    border-bottom: 1px dashed var(--border-color);
    color: var(--text-main);
}

.widget-menu li a:hover {
    color: var(--accent);
    padding-left: 6px;
}

/* --------------------------------------------------------------------------
   9. FORM STİLLERİ (İletişim & Online Üyelik)
   -------------------------------------------------------------------------- */
.form-card {
    background: #FFFFFF;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 32px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 40px;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 16px;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 6px;
}

.form-control {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-family: inherit;
    font-size: 0.95rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(11,42,74,0.12);
}

textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

.btn-submit {
    background: var(--accent);
    color: #FFFFFF;
    border: none;
    padding: 12px 28px;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: 0.2s;
}

.btn-submit:hover {
    background: var(--accent-hover);
}

/* --------------------------------------------------------------------------
   10. FOOTER STİLİ (3 Temel Bilgi Standardı: Web | Telefon | Sosyal Medya)
   -------------------------------------------------------------------------- */
.site-footer {
    background-color: #071727;
    color: #94A3B8;
    margin-top: 60px;
    border-top: 3px solid var(--accent);
}

.footer-top {
    padding: 48px 20px 36px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1.2fr 1.4fr;
    gap: 32px;
}

.footer-logo img {
    height: 70px;
    width: auto;
    margin-bottom: 12px;
}

.footer-brand-title {
    color: #FFFFFF;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.footer-brand-desc {
    font-size: 0.88rem;
    line-height: 1.55;
    margin-bottom: 16px;
}

.footer-social-links {
    display: flex;
    gap: 8px;
    margin-top: 14px;
}

.footer-social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: rgba(255,255,255,0.08);
    color: #CBD5E1;
    border-radius: 6px;
    font-size: 0.95rem;
    transition: all 0.2s ease;
}

.footer-social-links a:hover {
    background: var(--accent);
    color: #FFFFFF;
    transform: translateY(-2px);
}

.footer-heading {
    color: #FFFFFF;
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 16px;
    position: relative;
    padding-bottom: 8px;
}

.footer-heading::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 32px;
    height: 2px;
    background: var(--accent);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: #94A3B8;
    font-size: 0.88rem;
}

.footer-links a:hover {
    color: #FFFFFF;
    padding-left: 4px;
}

.footer-contact-item {
    font-size: 0.88rem;
    line-height: 1.6;
    margin-bottom: 12px;
}

.footer-contact-item strong {
    color: #E2E8F0;
}

.footer-contact-item a {
    color: #E2E8F0;
}

.footer-contact-item a:hover {
    color: var(--accent);
}

.btn-footer-join {
    display: inline-block;
    background: var(--accent);
    color: #FFFFFF;
    padding: 8px 18px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 0.88rem;
    margin-top: 6px;
}

.btn-footer-join:hover {
    background: var(--accent-hover);
    color: #FFFFFF;
}

.footer-bottom {
    background: #040D17;
    padding: 16px 0;
    border-top: 1px solid rgba(255,255,255,0.06);
    font-size: 0.85rem;
}

.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-info-strip {
    color: #E2E8F0;
    font-weight: 600;
}

.footer-info-strip .sep {
    color: var(--accent);
    margin: 0 8px;
}

.footer-copyright {
    color: #64748B;
}

/* --------------------------------------------------------------------------
   11. RESPONSIVE DÜZENLEME (Mobile-First Kuralları)
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
    .cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .hub-features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    .header-title {
        font-size: 1.3rem;
    }
    .header-slogan {
        font-size: 0.95rem;
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 1.35rem !important;
        white-space: normal !important;
        word-break: break-word;
    }
    .section-desc {
        white-space: normal !important;
        font-size: 0.88rem;
    }
    .header-brand-wrap {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 8px;
    }
    .header-logo-box .brand-logo {
        height: 52px;
        width: auto;
    }
    .header-slogan-box {
        text-align: left;
        padding: 0 6px;
    }
    .header-title {
        font-size: 0.95rem !important;
        white-space: normal !important;
        line-height: 1.2;
    }
    .header-slogan {
        font-size: 0.75rem !important;
        white-space: normal !important;
    }
    .mobile-toggle {
        display: block;
        flex-shrink: 0;
    }
    .site-topbar {
        display: none;
    }
    .header-brand-wrap {
        position: relative;
    }
    .header-logo-box .brand-logo {
        height: 60px;
    }
    .header-ata-box {
        display: none;
    }
    .header-slogan-box {
        padding: 0 10px;
    }
    .header-title {
        font-size: 1rem;
        white-space: normal;
    }
    .header-slogan {
        font-size: 0.8rem;
        white-space: normal;
    }
    .mobile-toggle {
        display: block;
    }
    .site-nav {
        display: none;
    }
    .site-nav.nav-open {
        display: block;
    }
    .nav-container {
        flex-direction: column;
        align-items: stretch;
        padding: 10px 0;
    }
    .nav-menu {
        flex-direction: column;
        gap: 0;
    }
    .nav-item > a {
        padding: 12px 20px;
        border-bottom: 1px solid rgba(255,255,255,0.06);
    }
    .dropdown-menu {
        position: static;
        display: none;
        box-shadow: none;
        border-radius: 0;
        background: #0B2A4A;
    }
    .dropdown-menu li a {
        color: #E2E8F0;
        padding-left: 32px;
        border-bottom: 1px solid rgba(255,255,255,0.04);
    }
    .nav-item.show-dropdown > .dropdown-menu {
        display: block;
    }
    .nav-cta {
        padding: 12px 20px;
    }
    .section-title, .section-desc {
        white-space: normal;
    }
    .cards-grid {
        grid-template-columns: 1fr;
    }
    .hub-features-grid {
        grid-template-columns: 1fr;
    }
    .about-section-grid {
        grid-template-columns: 1fr;
    }
    .about-img-box {
        min-height: 240px;
    }
    .article-layout {
        grid-template-columns: 1fr;
    }
    .form-grid {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .footer-bottom-inner {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
}

/* ==========================================================================
   TAM EKRAN MANSET SLAYTI (10 HABER: KORE SAVASI STANDARDI)
   ========================================================================== */
.demec-hero-slider-wrap {
    width: 100%;
    margin: 8px 0 32px 0;
}

.demec-hero-slider {
    position: relative;
    width: 100%;
    height: 520px;
    border-radius: 14px;
    overflow: hidden;
    background: #071727;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.demec-slides-viewport {
    position: relative;
    flex: 1 1 auto;
    width: 100%;
    height: 456px;
    overflow: hidden;
}

.demec-slide-item {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.45s ease, visibility 0.45s ease;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    text-decoration: none;
    color: #ffffff;
}

.demec-slide-item.is-active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

.demec-slide-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 6s ease;
    filter: brightness(0.92);
}

.demec-slide-item.is-active .demec-slide-bg {
    transform: scale(1.04);
}

.demec-slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(7, 23, 39, 0.15) 0%,
        rgba(7, 23, 39, 0.35) 45%,
        rgba(7, 23, 39, 0.88) 75%,
        rgba(7, 23, 39, 0.98) 100%
    );
    z-index: 1;
}

.demec-slide-topbar {
    position: absolute;
    top: 20px;
    left: 24px;
    right: 24px;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.demec-slide-badges {
    display: flex;
    align-items: center;
    gap: 8px;
}

.demec-badge-manset {
    background: var(--accent);
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 800;
    padding: 5px 12px;
    border-radius: 4px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.demec-badge-cat {
    background: rgba(11, 42, 74, 0.85);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 4px;
}

.demec-slide-counter {
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: 800;
    padding: 5px 12px;
    border-radius: 20px;
}

.demec-slide-caption {
    position: relative;
    z-index: 3;
    padding: 24px 28px 30px;
    max-width: 900px;
}

.demec-slide-date {
    display: inline-block;
    color: #E2E8F0;
    font-size: 0.82rem;
    font-weight: 600;
    margin-bottom: 6px;
}

.demec-slide-title {
    font-size: 1.85rem;
    font-weight: 800;
    line-height: 1.25;
    color: #ffffff;
    margin-bottom: 8px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.demec-slide-desc {
    font-size: 0.95rem;
    color: #CBD5E1;
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Slider Controls Bar */
.demec-slider-controls {
    position: relative;
    z-index: 4;
    height: 58px;
    background: #05101B;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
}

.demec-slider-nums {
    display: flex;
    align-items: center;
    gap: 6px;
    flex: 1;
    overflow-x: auto;
    scrollbar-width: none;
}
.demec-slider-nums::-webkit-scrollbar { display: none; }

.demec-slider-num-btn {
    width: 36px;
    height: 36px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.07);
    color: #CBD5E1;
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.demec-slider-num-btn:hover {
    background: rgba(255, 255, 255, 0.18);
    color: #ffffff;
}

.demec-slider-num-btn.is-active {
    background: var(--accent);
    color: #ffffff;
    border-color: var(--accent);
    box-shadow: 0 0 10px rgba(217, 35, 45, 0.5);
    transform: scale(1.05);
}

.demec-slider-arrows {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: 12px;
}

.demec-slider-arrow {
    width: 36px;
    height: 36px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border: none;
    font-size: 1.3rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.demec-slider-arrow:hover {
    background: var(--accent);
}

@media (max-width: 1024px) {
    .demec-hero-slider { height: 440px; }
    .demec-slides-viewport { height: 382px; }
    .demec-slide-title { font-size: 1.45rem; }
}

@media (max-width: 768px) {
    .demec-hero-slider { height: 360px; }
    .demec-slides-viewport { height: 304px; }
    .demec-slide-topbar { top: 12px; left: 14px; right: 14px; }
    .demec-slide-caption { padding: 14px 16px 20px; }
    .demec-slide-title { font-size: 1.15rem; -webkit-line-clamp: 2; }
    .demec-slide-desc { display: none; }
    .demec-slider-controls { height: 50px; padding: 0 10px; }
    .demec-slider-num-btn { width: 28px; height: 28px; font-size: 0.78rem; }
    .demec-slider-arrow { width: 30px; height: 30px; font-size: 1.1rem; }
}

/* ==========================================================================
   İNTERAKTİF TÜRKİYE HARİTASI & ŞUBE TEŞKİLATLARI STİLLERİ
   ========================================================================== */
.subeler-page-wrapper {
    margin-bottom: 40px;
}

.map-card-wrapper {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
    overflow: hidden;
    position: relative;
    margin-bottom: 24px;
}

.map-card-header {
    background: #f8fafc;
    border-bottom: 1px solid var(--border);
    padding: 18px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.map-header-left {
    display: flex;
    align-items: center;
    gap: 14px;
}

.map-header-icon {
    width: 44px;
    height: 44px;
    background: var(--primary);
    color: #ffffff;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.map-header-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--primary);
    margin: 0 0 2px 0;
    line-height: 1.3;
}

.map-header-subtitle {
    font-size: 0.82rem;
    color: var(--text-muted);
}

.map-header-controls {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.map-select-box {
    position: relative;
    display: flex;
    align-items: center;
}

.map-select-box label {
    position: absolute;
    left: 12px;
    color: var(--text-muted);
    font-size: 0.85rem;
    pointer-events: none;
}

.map-select-box select {
    padding-left: 34px;
    min-width: 240px;
    height: 40px;
    border-radius: 8px;
    font-size: 0.88rem;
    font-weight: 600;
    border: 1px solid var(--border);
    background-color: #ffffff;
    color: var(--text);
    cursor: pointer;
}

.map-legend {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text);
}

.legend-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.legend-dot {
    width: 12px;
    height: 12px;
    border-radius: 3px;
    display: inline-block;
}

.dot-hq {
    background: #1a2958;
    border: 1px solid #eab308;
}

.dot-network {
    background: #cbd5e1;
}

.dot-active {
    background: #d42b2b;
}

/* Harita Sahnesi */
.demec-map-stage {
    position: relative;
    background: #f1f5f9;
    padding: 24px;
    overflow: hidden;
}

.demec-svg-viewport {
    width: 100%;
    max-width: 1060px;
    margin: 0 auto;
}

.demec-svg-viewport svg {
    width: 100%;
    height: auto;
    display: block;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.05));
}

/* SVG Yolları */
#svg-turkiye-haritasi path {
    fill: #cbd5e1;
    stroke: #ffffff;
    stroke-width: 1.1px;
    stroke-linejoin: round;
    cursor: pointer;
    transition: fill 0.18s ease, stroke 0.18s ease, filter 0.18s ease;
}

/* Hover Efekti */
#svg-turkiye-haritasi g:not(#turkiye):not(#guney-kibris):hover path {
    fill: #d42b2b !important;
    filter: drop-shadow(0 2px 5px rgba(212, 43, 43, 0.45));
}

/* Genel Merkez ve Şube (Bursa) Özel Vurgusu */
#svg-turkiye-haritasi g#bursa path {
    fill: #1a2958;
    stroke: #eab308;
    stroke-width: 1.5px;
}

#svg-turkiye-haritasi g#bursa:hover path {
    fill: #d42b2b !important;
}

/* Aktif / Seçili İl */
#svg-turkiye-haritasi g.is-active-province path {
    fill: #d42b2b !important;
    stroke: #0f172a !important;
    stroke-width: 1.6px !important;
    filter: drop-shadow(0 3px 8px rgba(212, 43, 43, 0.5));
}

/* Tooltip */
.demec-map-tooltip {
    display: none;
    position: absolute;
    z-index: 99;
    background: rgba(15, 23, 42, 0.92);
    backdrop-filter: blur(4px);
    color: #ffffff;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.82rem;
    font-weight: 600;
    pointer-events: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    white-space: nowrap;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

/* Dinamik Bilgi Kartı */
.branch-dynamic-card {
    background: #ffffff;
    border-top: 1px solid var(--border);
    padding: 24px;
    animation: fadeInBranch 0.3s ease;
}

@keyframes fadeInBranch {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}

.branch-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 20px;
    padding-bottom: 14px;
    border-bottom: 1px solid #f1f5f9;
}

.branch-title-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
}

.branch-plate-badge {
    background: var(--primary);
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 800;
    padding: 4px 12px;
    border-radius: 6px;
    letter-spacing: 0.5px;
}

.branch-name {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--primary);
    margin: 0;
}

.branch-status-badge {
    font-size: 0.82rem;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.badge-hq {
    background: #eff6ff;
    color: #1e40af;
    border: 1px solid #bfdbfe;
}

.badge-pending {
    background: #fef2f2;
    color: #b91c1c;
    border: 1px solid #fecaca;
}

.branch-columns-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 22px;
}

.branch-col-box {
    background: #f8fafc;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 18px;
}

.branch-col-tag {
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--primary);
    letter-spacing: 0.6px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.branch-person-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text);
    margin: 0 0 12px 0;
}

.branch-person-title span {
    color: var(--primary);
}

.branch-info-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 8px;
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.45;
}

.branch-info-row i {
    color: var(--primary);
    margin-top: 3px;
    font-size: 0.95rem;
    flex-shrink: 0;
}

.branch-info-row a {
    color: var(--text);
    font-weight: 600;
    text-decoration: none;
}

.branch-info-row a:hover {
    color: var(--accent);
}

.branch-rep-banner {
    background: #f8fafc;
    border-left: 4px solid var(--accent);
    padding: 18px 20px;
    border-radius: 0 8px 8px 0;
    margin-bottom: 20px;
}

.rep-banner-title {
    font-size: 1.08rem;
    font-weight: 700;
    color: var(--primary);
    margin: 0 0 8px 0;
}

.rep-banner-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.55;
    margin: 0;
}

.branch-card-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.btn-action-wa {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #10b981;
    color: #ffffff;
    font-size: 0.88rem;
    font-weight: 700;
    padding: 10px 18px;
    border-radius: 6px;
    text-decoration: none;
    transition: background 0.2s ease, transform 0.15s ease;
}

.btn-action-wa:hover {
    background: #059669;
    color: #ffffff;
    transform: translateY(-1px);
}

/* Sabit Kartlar */
.branch-summary-grid {
    grid-template-columns: repeat(3, 1fr);
}

.branch-info-card {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.branch-card-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #f1f5f9;
    color: var(--primary);
    font-size: 0.76rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 4px;
    margin-bottom: 12px;
}

@media (max-width: 900px) {
    .section-title {
        white-space: normal !important;
        font-size: 1.45rem !important;
        line-height: 1.3 !important;
        text-align: center;
    }
    .section-desc {
        white-space: normal !important;
        font-size: 0.88rem !important;
        text-align: center;
        line-height: 1.45 !important;
        padding: 0 10px;
    }
    .branch-summary-grid {
        grid-template-columns: 1fr;
    }
    .map-card-header {
        flex-direction: column;
        align-items: stretch;
    }
    .map-header-controls {
        flex-direction: column;
        align-items: stretch;
    }
    .map-select-box select {
        width: 100%;
        min-width: 100%;
    }
    .map-legend {
        flex-wrap: wrap;
        gap: 8px 12px;
        font-size: 0.76rem;
    }
}

@media (max-width: 600px) {
    .section-title {
        font-size: 1.25rem !important;
    }
    .map-header-left {
        gap: 10px;
    }
    .map-header-title {
        font-size: 1.05rem;
    }
    .map-header-subtitle {
        font-size: 0.76rem;
    }
    .demec-map-stage {
        padding: 12px 6px;
    }
    .branch-dynamic-card {
        padding: 16px;
    }
    .branch-title-wrap {
        gap: 8px;
    }
    .branch-name {
        font-size: 1.15rem;
    }
    .branch-plate-badge {
        font-size: 0.95rem;
        padding: 3px 8px;
    }
    .branch-card-actions {
        flex-direction: column;
    }
    .branch-card-actions a {
        text-align: center;
        justify-content: center;
    }
}
