

/* --- KURS SAYFASI GENEL DÜZENİ (kurslar.css) --- */

/* --- KURS SAYFASI GENEL DÜZENİ (kurslar.css) --- */

/* 1. KURS BAŞLIK BÖLÜMÜNÜN YUKARI HİZALANMASI */


/* Başlık Metinlerinin Boşluklarını Sıfırla */
#kurs-baslik .section-title, 
#kurs-baslik .section-subtitle {
    margin: 0 !important;
    padding: 0 !important;
    text-align: center;
}

/* 1. KURS KATEGORİLERİ (#kurslar) - Üstten Boşluk Bırakıldı */
#kurslar {
    /* Başlık bölümünün altındaki mevcut padding'i koruyoruz, ancak kursları daha da aşağı itiyoruz. */
    
    /* Bu değeri değiştirerek kutuların başlık altından ne kadar aşağı ineceğini ayarlayabilirsiniz. */
    padding-top: 90px !important; 
    
    margin-top: 0 !important; 
    padding-bottom: 80px; 
}

/* 2. KURS KUTULARI GRID (Sadece hizalama için) */
.kurslar-grid {
    display: grid;
    /* ... diğer grid stilleri ... */
    gap: 30px; 
    margin-top: 0 !important; /* Ekstra boşluk bırakmamasını garantiler */
}

/* ... Diğer kurs kartları (.kurs-kutu, .sub-kurs-grid) stilleri buraya devam etmelidir ... */
/* ... BURADAN SONRA YALNIZCA YENİ KURS KARTI STİLLERİNİZ BAŞLAMALIDIR ... */

/* 3. KURS KATEGORİ KUTULARI (Dörtlü Grid) */
.kurslar-grid {
    display: grid;
    /* Dörtlü yan yana, küçük ekranlarda alt alta */
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px; /* Kutular arası boşluk */
    margin: 0 auto;
}

.kurs-kutu {
    background: rgba(255,255,255,0.98);
    padding: 25px 25px 15px; /* İç boşluk */
    border-radius: 18px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    height: 100%; /* Eşit yükseklik sağlar */
    border-top: 4px solid #ff0066; /* Tema rengi üst çizgi */
}

.kurs-kutu:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}

.kurs-kutu h2 {
    font-size: 22px;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 1px dashed #eee;
}

.kurs-kutu ul {
    list-style: none;
    padding-left: 0;
}

.kurs-kutu ul li {
    padding: 8px 0;
    cursor: pointer;
    font-size: 16px;
    transition: 0.2s;
    border-bottom: 1px dotted #f0f0f0;
}

.kurs-kutu ul li:hover {
    color: #ff0066;
    padding-left: 5px; /* Hafif kayma efekti */
}

/* --- KAYAR PANEL STİLİ (style.css'te çakışmaması için buraya aldık) --- */
.detay-panel {
    position: fixed;
    top: 0;
    right: -100%;
    width: 480px; 
    max-width: 90%; 
    height: 100%;
    background: #fff;
    box-shadow: -4px 0 20px rgba(0,0,0,0.15);
    transition: right 0.45s ease; 
    z-index: 9999;
    padding: 30px 40px; 
    overflow-y: auto; 
}

.detay-panel.acik {
    right: 0; 
}

.panel-close {
    position: absolute; 
    top: 15px; 
    right: 20px; 
    font-size: 32px;
    color: #333;
    border: none;
    background: none;
    cursor: pointer;
    line-height: 1;
    z-index: 10000;
}

.panel-icerik h2 {
    margin-top: 15px;
    font-size: 26px;
    color: #ff0066;
}

.panel-icerik p {
    margin-top: 15px;
    line-height: 1.6;
    font-size: 16px;
}