/* =========================================================
   FİLTRE STİLLERİ - Bölüm Sayfaları için
   ========================================================= */

/* Filtre Ana Bölümü */
.filter-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 16px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 10px 40px rgba(102, 126, 234, 0.3);
}

.filter-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.25rem;
}

.filter-header h3 {
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0;
}

.btn-reset {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.btn-reset:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* Filtre Grid */
.filter-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.25rem;
}

.filter-group {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.filter-group label {
    display: block;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.filter-group label i {
    font-size: 0.9rem;
}

/* Filtre Butonları */
.filter-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.filter-btn {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 0.5rem 0.9rem;
    border-radius: 20px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.25s ease;
    font-weight: 500;
}

.filter-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-1px);
}

.filter-btn.active {
    background: white;
    color: #667eea;
    border-color: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

/* Renkli Butonlar */
.filter-btn.devlet.active {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    border-color: #10b981;
}

.filter-btn.vakif.active {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
    border-color: #f59e0b;
}

.filter-btn.turkce.active {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
    border-color: #ef4444;
}

.filter-btn.ingilizce.active {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
    border-color: #3b82f6;
}

.filter-btn.burslu.active {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
    color: white;
    border-color: #8b5cf6;
}

.filter-btn.indirimli.active {
    background: linear-gradient(135deg, #ec4899 0%, #db2777 100%);
    color: white;
    border-color: #ec4899;
}

.filter-btn.ucretli.active {
    background: linear-gradient(135deg, #6b7280 0%, #4b5563 100%);
    color: white;
    border-color: #6b7280;
}

/* Arama Kutusu */
.search-group {
    grid-column: 1 / -1;
}

.uni-search-input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.15);
    color: white;
    font-size: 0.95rem;
    transition: all 0.2s;
}

.uni-search-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.uni-search-input:focus {
    outline: none;
    border-color: white;
    background: rgba(255, 255, 255, 0.25);
}

/* Filtre İstatistik */
.filter-stats {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
}

.filter-stats span {
    font-weight: 700;
    font-size: 1.1rem;
}

/* =========================================================
   BÖLÜM HEADER GELİŞTİRİLMİŞ
   ========================================================= */

.bolum-header-enhanced {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    border-radius: 16px;
    padding: 2rem;
    display: grid;
    grid-template-columns: 1fr auto;
    /* Başlık ve Yıl Yan Yana */
    gap: 1.5rem;
    align-items: center;
    margin-bottom: 2rem;
    color: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.header-main h1 {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.header-main h1 i {
    color: #fbbf24;
    /* Altın rengi ikon */
}

.year-badge {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.3rem 0.8rem;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #e2e8f0;
    display: inline-block;
}

.bolum-description-text {
    color: #94a3b8;
    line-height: 1.6;
    max-width: 800px;
    font-size: 0.95rem;
    grid-column: 1 / -1;
    /* Tam genişlik */
}

.bolum-stats-enhanced {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: transform 0.2s;
}

.stat-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.stat-card i {
    font-size: 1.25rem;
    padding: 0.6rem;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
}

.stat-card.total i {
    color: #60a5fa;
    background: rgba(96, 165, 250, 0.2);
}

.stat-card.devlet i {
    color: #34d399;
    background: rgba(52, 211, 153, 0.2);
}

.stat-card.vakif i {
    color: #fbbf24;
    background: rgba(251, 191, 36, 0.2);
}

.stat-card.ing i {
    color: #f472b6;
    background: rgba(244, 114, 182, 0.2);
}

.stat-card.burs i {
    color: #a78bfa;
    background: rgba(167, 139, 250, 0.2);
}

.stat-info {
    display: flex;
    flex-direction: column;
}

.stat-value {
    font-size: 1.1rem;
    font-weight: 700;
    color: white;
}

.stat-label {
    font-size: 0.75rem;
    color: #cbd5e1;
}

/* Mobil için */
@media (max-width: 768px) {
    .bolum-header-enhanced {
        grid-template-columns: 1fr;
        padding: 1.25rem;
        gap: 1rem;
    }

    .header-main h1 {
        font-size: 1.4rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.3rem;
    }

    .year-badge {
        font-size: 0.8rem;
    }

    .bolum-stats-enhanced {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }

    .stat-card {
        padding: 0.75rem;
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }

    .stat-info {
        align-items: center;
    }
}