/* ============================================================
   OKUL SPORLARI - ANA CSS
   Renk Paleti: Mavi ana (#0057B8), Koyu lacivert (#0F172A)
   Yazı Tipi: Inter (Google Fonts)
   ============================================================ */

:root {
    --primary:       #0057B8;
    --primary-dark:  #003f87;
    --primary-light: #EFF6FF;
    --secondary:     #2E90FA;
    --success:       #12B76A;
    --danger:        #D92D20;
    --warning:       #F79009;
    --info:          #06AED4;
    --text:          #1D2939;
    --text-light:    #667085;
    --border:        #E4E7EC;
    --bg:            #F5F7FB;
    --card:          #ffffff;
    --shadow-sm:     0 1px 3px rgba(0,0,0,.08);
    --shadow:        0 4px 20px rgba(0,0,0,.08);
    --shadow-lg:     0 10px 40px rgba(0,0,0,.12);
    --radius-sm:     8px;
    --radius:        14px;
    --radius-lg:     20px;
}

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: 'Inter', sans-serif; background: var(--bg); color: var(--text); line-height: 1.6; }
img { max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; padding: 0; margin: 0; }
section { padding: 70px 0; }

/* ── Layout ── */
.container-custom {
    width: 100%; max-width: 1400px;
    margin: 0 auto; padding: 0 20px;
}

/* ── Typography ── */
h1, h2, h3, h4, h5, h6 { font-weight: 700; line-height: 1.3; color: var(--text); }

/* ── TOPBAR ── */
.topbar {
    background: #0F172A; color: #94A3B8; font-size: 13px; font-weight: 500;
}
.topbar .container-custom {
    display: flex; justify-content: space-between;
    align-items: center; height: 40px;
}
.topbar-left { display: flex; align-items: center; gap: 8px; color: #CBD5E1; }
.topbar-right { display: flex; align-items: center; gap: 20px; }
.topbar-right a { color: #94A3B8; transition: color .2s; }
.topbar-right a:hover { color: #fff; }
.topbar-right i { margin-right: 4px; }

/* ── NAVBAR ── */
.main-navbar {
    background: #fff;
    box-shadow: 0 2px 16px rgba(0,0,0,.06);
    position: sticky; top: 0; z-index: 999;
}
.nav-wrapper {
    height: 80px;
    display: flex; align-items: center; justify-content: space-between;
    gap: 20px;
}

/* Brand */
.brand { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.brand-logo {
    width: 50px; height: 50px; border-radius: 14px;
    background: var(--primary); color: #fff;
    display: flex; justify-content: center; align-items: center;
    font-size: 22px;
}
.brand h3 { margin: 0; font-size: 20px; font-weight: 800; color: var(--primary); line-height: 1.2; }
.brand small { color: var(--text-light); font-size: 12px; font-weight: 500; }

/* Menu */
.menu { display: flex; gap: 4px; align-items: center; }
.menu a {
    color: var(--text); font-weight: 600; font-size: 14px;
    padding: 8px 14px; border-radius: var(--radius-sm);
    transition: all .2s; position: relative; white-space: nowrap;
}
.menu a:hover { color: var(--primary); background: var(--primary-light); }
.menu a.active { color: var(--primary); }
.menu a.active::after {
    content: ''; position: absolute; bottom: -28px; left: 0;
    width: 100%; height: 3px; border-radius: 10px;
    background: var(--primary);
}

/* Nav right */
.nav-right { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.icon-btn {
    position: relative; width: 40px; height: 40px; border: none;
    border-radius: 50%; background: var(--bg);
    display: flex; align-items: center; justify-content: center;
    font-size: 18px; cursor: pointer; color: var(--text);
    transition: all .2s;
}
.icon-btn:hover { background: var(--primary); color: #fff; }
.notif-badge {
    position: absolute; top: -2px; right: -2px;
    width: 18px; height: 18px; border-radius: 50%;
    background: var(--danger); color: #fff;
    font-size: 10px; font-weight: 700;
    display: flex; align-items: center; justify-content: center;
}
.login-btn {
    background: var(--primary); color: #fff;
    padding: 9px 18px; border-radius: var(--radius-sm);
    font-weight: 700; font-size: 14px;
    display: flex; align-items: center; gap: 6px;
    transition: all .2s; white-space: nowrap;
}
.login-btn:hover { background: var(--primary-dark); color: #fff; }

/* Mobile menu */
.mobile-menu {
    display: none; padding: 16px 0;
    border-top: 1px solid var(--border);
}
.mobile-menu.open { display: block; }
.mobile-menu a {
    display: block; padding: 12px 16px;
    color: var(--text); font-weight: 600; font-size: 15px;
    border-radius: var(--radius-sm);
}
.mobile-menu a:hover { color: var(--primary); background: var(--primary-light); }

/* ── CARDS ── */
.os-card {
    background: var(--card);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 24px;
    transition: transform .2s, box-shadow .2s;
}
.os-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }

/* Stat Cards */
.stat-card {
    text-align: center; padding: 28px 20px;
}
.stat-card i { font-size: 32px; color: var(--primary); margin-bottom: 10px; display: block; }
.stat-card h2 { font-size: 38px; font-weight: 800; color: var(--text); margin: 6px 0; }
.stat-card span { font-size: 14px; color: var(--text-light); font-weight: 600; }

/* Stat row (hero area) */
.stat-row { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 10px; }
.stat-item {
    display: flex; align-items: center; gap: 14px;
    background: var(--card); border-radius: var(--radius);
    padding: 16px 20px; flex: 1; min-width: 160px;
    box-shadow: var(--shadow-sm);
}
.stat-item-icon {
    width: 48px; height: 48px; border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 22px;
}
.stat-item-icon.green  { background: #ECFDF3; color: var(--success); }
.stat-item-icon.blue   { background: var(--primary-light); color: var(--primary); }
.stat-item-icon.orange { background: #FFF7ED; color: var(--warning); }
.stat-item-icon.purple { background: #F5F3FF; color: #7C3AED; }
.stat-item h3 { font-size: 26px; font-weight: 800; margin: 0; }
.stat-item p  { font-size: 13px; color: var(--text-light); margin: 0; font-weight: 500; }

/* ── HERO ── */
.hero { background: #fff; padding: 0; }
.hero-inner {
    display: grid; grid-template-columns: 1fr 380px;
    gap: 0; min-height: 280px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}
.hero-carousel {
    position: relative;
    background: linear-gradient(135deg, #0F172A 0%, #0057B8 100%);
    overflow: hidden; padding: 36px 44px;
    display: flex; flex-direction: column; justify-content: center;
    color: #fff;
}
.hero-carousel::before {
    content: ''; position: absolute; inset: 0;
    background: url('/images/hero-bg.svg') right center / contain no-repeat;
    opacity: .15;
}
.hero-badge {
    display: inline-block; background: rgba(255,255,255,.15);
    color: #fff; padding: 5px 14px; border-radius: 20px;
    font-size: 12px; font-weight: 600; margin-bottom: 12px;
    backdrop-filter: blur(4px); width: fit-content;
}
.hero-carousel h1 { font-size: 30px; font-weight: 800; line-height: 1.2; margin-bottom: 10px; }
.hero-carousel p { font-size: 14px; color: rgba(255,255,255,.85); margin-bottom: 18px; max-width: 460px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-hero {
    padding: 12px 24px; border-radius: var(--radius-sm);
    font-weight: 700; font-size: 14px;
    display: inline-flex; align-items: center; gap: 8px;
    transition: all .2s;
}
.btn-hero-primary { background: #fff; color: var(--primary); }
.btn-hero-primary:hover { background: var(--primary-light); color: var(--primary); }
.btn-hero-outline { background: rgba(255,255,255,.15); color: #fff; border: 2px solid rgba(255,255,255,.4); }
.btn-hero-outline:hover { background: rgba(255,255,255,.25); color: #fff; }

/* Carousel nav */
.carousel-nav { position: absolute; bottom: 20px; left: 50px; display: flex; gap: 8px; }
.carousel-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.4); cursor: pointer; transition: all .2s; }
.carousel-dot.active { background: #fff; width: 24px; border-radius: 4px; }
.carousel-btn {
    position: absolute; top: 50%; transform: translateY(-50%);
    width: 40px; height: 40px; border-radius: 50%;
    background: rgba(255,255,255,.2); border: none; color: #fff;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; font-size: 20px; transition: all .2s;
    backdrop-filter: blur(4px);
}
.carousel-btn:hover { background: rgba(255,255,255,.35); }
.carousel-btn.prev { left: 16px; }
.carousel-btn.next { right: 16px; }

/* Upcoming matches sidebar */
.matches-sidebar {
    background: var(--card);
    border-left: 1px solid var(--border);
    overflow: hidden;
    display: flex; flex-direction: column;
}
.sidebar-header {
    padding: 12px 16px; border-bottom: 1px solid var(--border);
    display: flex; justify-content: space-between; align-items: center;
}
.sidebar-header h5 { font-size: 15px; font-weight: 700; margin: 0; }
.sidebar-header a { font-size: 13px; color: var(--primary); font-weight: 600; }
.match-item {
    padding: 10px 16px; border-bottom: 1px solid var(--border);
    display: grid; grid-template-columns: 46px 1fr;
    gap: 10px; align-items: center;
    transition: background .15s;
}
.match-item:hover { background: var(--bg); }
.match-item:last-child { border-bottom: none; }
.match-date-badge {
    background: var(--danger); color: #fff;
    border-radius: 7px; text-align: center;
    padding: 4px 3px; line-height: 1.2;
}
.match-date-badge .day { font-size: 18px; font-weight: 800; display: block; }
.match-date-badge .month { font-size: 10px; font-weight: 600; display: block; }
.match-teams { font-size: 13px; }
.match-teams strong { display: block; font-weight: 700; }
.match-meta { font-size: 11px; color: var(--text-light); margin-top: 3px; }
.match-meta i { margin-right: 3px; }
.sidebar-footer {
    padding: 10px 16px; border-top: 1px solid var(--border);
    text-align: center;
}
.sidebar-footer a { font-size: 13px; color: var(--primary); font-weight: 600; }

/* ── SECTION HEADERS ── */
.section-header {
    display: flex; justify-content: space-between; align-items: center;
    margin-bottom: 24px;
}
.section-header h2 { font-size: 22px; font-weight: 800; }
.section-header a { font-size: 14px; color: var(--primary); font-weight: 600; }
.section-badge {
    display: inline-flex; align-items: center; gap: 6px;
    background: var(--primary-light); color: var(--primary);
    padding: 4px 12px; border-radius: 20px; font-size: 12px; font-weight: 700;
    margin-bottom: 8px;
}

/* ── MATCH CARDS ── */
.match-card-full {
    background: var(--card); border-radius: var(--radius);
    box-shadow: var(--shadow); overflow: hidden;
}
.match-card-header {
    padding: 10px 16px;
    display: flex; justify-content: space-between; align-items: center;
    font-size: 12px; font-weight: 700;
}
.match-card-body { padding: 20px 16px; }
.match-teams-row {
    display: grid; grid-template-columns: 1fr 80px 1fr;
    align-items: center; gap: 8px; text-align: center;
}
.match-teams-row .team-name { font-weight: 700; font-size: 15px; }
.match-vs {
    font-size: 20px; font-weight: 900; color: var(--text-light);
    text-align: center;
}
.match-score {
    font-size: 28px; font-weight: 900; color: var(--primary);
    text-align: center;
}
.match-card-footer {
    padding: 10px 16px; border-top: 1px solid var(--border);
    font-size: 12px; color: var(--text-light);
    display: flex; align-items: center; gap: 6px;
}

/* ── PUAN DURUMU TABLE ── */
.pd-table { width: 100%; border-collapse: collapse; }
.pd-table th {
    padding: 10px 12px; text-align: left;
    font-size: 12px; font-weight: 700; color: var(--text-light);
    border-bottom: 2px solid var(--border); white-space: nowrap;
}
.pd-table td {
    padding: 12px; font-size: 14px;
    border-bottom: 1px solid var(--border);
}
.pd-table tr:last-child td { border-bottom: none; }
.pd-table tr:hover td { background: var(--bg); }
.pd-table .sira {
    width: 32px; height: 32px; border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    font-weight: 800; font-size: 14px;
}
.pd-table .sira-1 { background: #FEF3C7; color: #92400E; }
.pd-table .sira-2 { background: #F1F5F9; color: #475569; }
.pd-table .sira-3 { background: #FEF3C7; color: #78350F; }
.pd-table .sira-n { background: var(--bg); color: var(--text-light); }
.pd-table .puan-col { font-weight: 800; color: var(--primary); font-size: 15px; }

/* ── DUYURULAR ── */
.announcement-item {
    display: flex; justify-content: space-between; align-items: center;
    padding: 16px 0; border-bottom: 1px solid var(--border); gap: 12px;
}
.announcement-item:last-child { border-bottom: none; }
.announcement-icon {
    width: 40px; height: 40px; border-radius: 10px; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center; font-size: 18px;
}
.announcement-icon.onemli  { background: #FEF3C7; color: var(--warning); }
.announcement-icon.acil    { background: #FEE2E2; color: var(--danger); }
.announcement-icon.normal  { background: var(--primary-light); color: var(--primary); }
.announcement-info h5 { font-size: 14px; font-weight: 700; margin-bottom: 2px; }
.announcement-info small { font-size: 12px; color: var(--text-light); }
.btn-sm-primary {
    background: var(--primary); color: #fff;
    padding: 7px 14px; border-radius: 8px; font-size: 13px; font-weight: 600;
    white-space: nowrap; transition: all .2s; flex-shrink: 0;
}
.btn-sm-primary:hover { background: var(--primary-dark); color: #fff; }

/* ── TAKVİM ── */
.calendar-grid {
    display: grid; grid-template-columns: repeat(7, 1fr); gap: 1px;
    background: var(--border); border-radius: var(--radius); overflow: hidden;
}
.calendar-header { background: var(--bg); }
.calendar-day-header {
    background: #fff; padding: 10px 6px;
    text-align: center; font-size: 12px; font-weight: 700; color: var(--text-light);
}
.calendar-cell {
    background: #fff; padding: 8px 6px; min-height: 80px;
    font-size: 13px; cursor: pointer; transition: background .15s;
    position: relative;
}
.calendar-cell:hover { background: var(--primary-light); }
.calendar-cell.other-month { background: #FAFAFA; }
.calendar-cell.other-month .day-num { color: #D1D5DB; }
.calendar-cell.today .day-num {
    background: var(--primary); color: #fff;
    width: 28px; height: 28px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-weight: 800;
}
.day-num { font-weight: 600; font-size: 14px; margin-bottom: 4px; display: inline-block; }
.cal-event {
    font-size: 10px; font-weight: 600; padding: 2px 5px;
    border-radius: 4px; margin-top: 2px;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    display: block;
}

/* ── SONUÇLAR ── */
.result-item {
    display: flex; align-items: center; gap: 12px;
    padding: 12px 0; border-bottom: 1px solid var(--border);
    font-size: 14px;
}
.result-item:last-child { border-bottom: none; }
.result-sport-icon {
    width: 36px; height: 36px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 16px; flex-shrink: 0;
}
.result-teams { flex: 1; }
.result-teams strong { font-size: 14px; }
.result-score {
    font-size: 20px; font-weight: 900;
    color: var(--primary); text-align: center; min-width: 60px;
}
.result-date { font-size: 12px; color: var(--text-light); }

/* ── EN AKTİF OKULLAR ── */
.active-school-item {
    display: flex; justify-content: space-between; align-items: center;
    padding: 12px 0; border-bottom: 1px solid var(--border);
}
.active-school-item:last-child { border-bottom: none; }
.school-icon {
    width: 36px; height: 36px; border-radius: 8px;
    background: var(--primary-light); color: var(--primary);
    display: flex; align-items: center; justify-content: center;
    font-size: 16px; flex-shrink: 0;
}
.school-info { flex: 1; margin-left: 10px; }
.school-info strong { font-size: 14px; font-weight: 700; display: block; }
.school-info small { font-size: 12px; color: var(--text-light); }

/* ── BRANŞ DAĞILIMI ── */
.branch-item {
    display: flex; align-items: center; gap: 10px; margin-bottom: 12px;
}
.branch-dot { width: 12px; height: 12px; border-radius: 50%; flex-shrink: 0; }
.branch-name { font-size: 14px; font-weight: 600; flex: 1; }
.branch-pct { font-size: 13px; font-weight: 700; color: var(--text-light); }

/* ── HIZLI ERİŞİM ── */
.quick-access-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.quick-access-item {
    background: var(--bg); border-radius: var(--radius-sm);
    padding: 14px 10px; text-align: center; cursor: pointer;
    transition: all .2s; display: flex; flex-direction: column;
    align-items: center; justify-content: center;
}
.quick-access-item:hover { background: var(--primary-light); }
.quick-access-item i { font-size: 24px; display: block; margin-bottom: 6px; }
.quick-access-item span { font-size: 12px; font-weight: 700; line-height: 1.3; }

/* ── BADGES & STATUS ── */
.status-badge {
    display: inline-flex; align-items: center; gap: 4px;
    padding: 3px 10px; border-radius: 20px;
    font-size: 12px; font-weight: 600;
}
.status-planlandi  { background: #F0F9FF; color: #0369A1; }
.status-devam      { background: #ECFDF3; color: #065F46; }
.status-tamamlandi { background: #F1F5F9; color: #475569; }
.status-iptal      { background: #FEF2F2; color: #991B1B; }

/* ── BUTTONS ── */
.os-btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 10px 20px; border-radius: var(--radius-sm);
    font-weight: 600; font-size: 14px; transition: all .2s; cursor: pointer;
}
.os-btn-primary { background: var(--primary); color: #fff; }
.os-btn-primary:hover { background: var(--primary-dark); color: #fff; }
.os-btn-outline {
    background: transparent; color: var(--primary);
    border: 2px solid var(--primary);
}
.os-btn-outline:hover { background: var(--primary-light); }

/* ── TOAST ── */
.alert-toast {
    position: fixed; top: 20px; right: 20px; z-index: 9999;
    padding: 14px 20px; border-radius: var(--radius);
    box-shadow: var(--shadow-lg); font-weight: 600;
    display: flex; align-items: center; gap: 10px;
    transition: opacity .4s; animation: slideIn .3s ease;
}
.alert-toast.success { background: #ECFDF3; color: #065F46; border: 1px solid #A7F3D0; }
.alert-toast.hide { opacity: 0; pointer-events: none; }
@keyframes slideIn { from { transform: translateX(40px); opacity: 0; } to { transform: translateX(0); opacity: 1; } }

/* ── PAGE HEADER ── */
.page-header {
    background: linear-gradient(135deg, #0F172A 0%, var(--primary) 100%);
    color: #fff; padding: 50px 0;
}
.page-header h1 { font-size: 32px; font-weight: 800; }
.page-header .breadcrumb a { color: rgba(255,255,255,.7); }
.page-header .breadcrumb-item.active { color: rgba(255,255,255,.9); }
.page-header .breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,.5); }

/* ── FOOTER ── */
.footer { background: #0F172A; color: #CBD5E1; margin-top: 80px; }
.footer .container-custom { padding: 60px 20px; }
.footer .row { --bs-gutter-x: 40px; }
.footer h5 { color: #fff; font-weight: 700; margin-bottom: 20px; font-size: 15px; }
.footer ul li { margin-bottom: 12px; }
.footer ul li a { color: #94A3B8; transition: all .2s; }
.footer ul li a:hover { color: #fff; padding-left: 4px; }
.footer-brand h4 { color: #fff; margin: 14px 0 10px; font-size: 18px; }
.footer-brand p { color: #94A3B8; line-height: 1.7; font-size: 14px; }
.social-icons { display: flex; gap: 10px; margin-top: 20px; }
.social-icons a {
    width: 40px; height: 40px; border-radius: 50%;
    background: #1E293B; color: #94A3B8;
    display: flex; align-items: center; justify-content: center;
    font-size: 18px; transition: all .2s;
}
.social-icons a:hover { background: var(--primary); color: #fff; }
.contact-list li { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 14px; }
.contact-list li i { margin-top: 3px; color: var(--primary); flex-shrink: 0; }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.07);
    padding: 20px; display: flex;
    justify-content: space-between; align-items: center;
    color: #64748B; font-size: 13px;
}
.footer-bottom a { color: #64748B; margin-left: 20px; }
.footer-bottom a:hover { color: #fff; }

/* ── DONUT CHART ── */
.donut-wrapper { position: relative; display: flex; justify-content: center; }
.donut-center {
    position: absolute; top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}
.donut-center .big { font-size: 24px; font-weight: 800; }
.donut-center small { font-size: 12px; color: var(--text-light); }

/* ── RESPONSIVE ── */
@media (max-width: 1200px) {
    .hero-inner { grid-template-columns: 1fr; }
    .matches-sidebar { display: none; }
}
@media (max-width: 992px) {
    .topbar { display: none; }
    .menu { display: none !important; }
    .nav-wrapper { height: 70px; }
    .stat-row { flex-direction: column; }
    .hero-carousel h1 { font-size: 28px; }
    section { padding: 50px 0; }
    .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }
    .footer-bottom a:first-child { margin-left: 0; }
    .quick-access-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 576px) {
    .hero-carousel { padding: 30px 24px; }
    .hero-carousel h1 { font-size: 24px; }
    .stat-item { min-width: 100%; }
    .quick-access-grid { grid-template-columns: 1fr 1fr; }
}

/* Bootstrap grid yardımcıları */
.row { display: flex; flex-wrap: wrap; margin: 0 -10px; }
.col-lg-4 { flex: 0 0 33.333%; max-width: 33.333%; padding: 0 10px; }
.col-lg-6 { flex: 0 0 50%; max-width: 50%; padding: 0 10px; }
.col-lg-8 { flex: 0 0 66.666%; max-width: 66.666%; padding: 0 10px; }
.col-lg-3 { flex: 0 0 25%; max-width: 25%; padding: 0 10px; }
.col-md-4 { flex: 0 0 33.333%; max-width: 33.333%; padding: 0 10px; }
.col-md-6 { flex: 0 0 50%; max-width: 50%; padding: 0 10px; }
.col-md-3 { flex: 0 0 25%; max-width: 25%; padding: 0 10px; }
.g-4 > * { padding: 10px; }
@media (max-width: 768px) {
    .col-lg-4, .col-lg-6, .col-lg-8, .col-lg-3 { flex: 0 0 100%; max-width: 100%; }
    .col-md-4 { flex: 0 0 100%; max-width: 100%; }
}
.d-none { display: none !important; }
.d-lg-flex { display: flex !important; }
.d-lg-none { display: none !important; }
@media (min-width: 992px) { .d-lg-flex { display: flex !important; } .d-lg-none { display: none !important; } }
@media (max-width: 991px) { .d-lg-flex { display: none !important; } .d-lg-none { display: flex !important; } }

/* ── DİL DEĞİŞTİRİCİ ── */
.lang-switcher form { display: flex; align-items: center; gap: 4px; }
.lang-btn {
    background: none; border: 1px solid rgba(255,255,255,.25);
    color: #94A3B8; padding: 3px 8px; border-radius: 6px;
    font-size: 11px; font-weight: 700; cursor: pointer;
    transition: all .2s; line-height: 1.4;
}
.lang-btn:hover { border-color: rgba(255,255,255,.6); color: #fff; }
.lang-btn.active { background: var(--primary); border-color: var(--primary); color: #fff; }

/* ── HERO SLIDE (Dinamik) ── */
.hero-carousel {
    position: relative;
    overflow: hidden;
    min-height: 320px;
}

.hero-slide {
    display: none;
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-color: #0057B8;
    animation: heroFadeIn .5s ease;
}

    .hero-slide.active {
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

@keyframes heroFadeIn {
    from {
        opacity: 0;
        transform: scale(1.02);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
}

.hero-slide-content {
    position: relative;
    z-index: 2;
    padding: 36px 48px 36px; /* üst ve alt eşit — butonlar ortada kalır */
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

    .hero-slide-content h1 {
        color: #fff !important;
        text-shadow: 0 2px 8px rgba(0,0,0,.5);
        font-size: clamp(22px, 3vw, 34px);
        font-weight: 800;
        margin-bottom: 10px;
        line-height: 1.2;
    }

    .hero-slide-content p {
        color: rgba(255,255,255,.9) !important;
        text-shadow: 0 1px 4px rgba(0,0,0,.4);
        font-size: 14px;
        margin-bottom: 20px;
        max-width: 480px;
    }

    .hero-slide-content .hero-badge {
        color: #fff;
        border-color: rgba(255,255,255,.4);
        background: rgba(255,255,255,.15);
        width: fit-content;
        margin-bottom: 14px;
    }

    .hero-slide-content .hero-actions {
        margin-bottom: 0;
    }