/* Akordeon Gövdesi Animasyon (CSS'inizde yoksa ekleyin) */
.accordion-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
}

.accordion.active .accordion-body {
    max-height: 500px; /* Cevabın rahatça sığacağı yükseklik */
    padding-bottom: 20px;
}

/* =========================================
   BABARVY - SSS (SIKÇA SORULAN SORULAR) BÖLÜMÜ CSS KODLARI
   ========================================= */

/* 1. Üst Başlıklar ve Hizalamalar */
.padding-large {
    padding: 80px 0;
    font-family: 'Plus Jakarta Sans', Tahoma, Geneva, Verdana, sans-serif;
}

.text-center {
    text-align: center;
}

.mb-16 {
    margin-bottom: 60px;
}

.mb-4 {
    margin-bottom: 15px;
}

.section-title {
    font-size: 36px;
    font-weight: 900;
    color: #333;
    margin: 0;
}

.light-text {
    color: #f26522; /* Babarvy Turuncusu */
    font-weight: 400;
}

.section-description {
    font-size: 18px;
    color: #666;
    max-width: 600px;
    margin: 15px auto 0;
}

/* 2. Ana Kapsayıcı (Sol Menü ve Sağ İçerik) */
.accordion-container {
    display: flex;
    flex-direction: column;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Masaüstü ekranlarda yan yana dizilim */
@media (min-width: 800px) {
    .accordion-container {
        flex-direction: row;
        align-items: flex-start;
    }
}

/* 3. SOL TARAF: Sekmeler (Tabs) */
.accordion-tabs {
    flex: 1; /* Sol taraf 1 birim yer kaplar */
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.accordion-tab-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background-color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
}

    /* Sekme Hover ve Aktif Durumu */
    .accordion-tab-item:hover {
        border-color: #fbd6c6; /* Açık turuncu hover */
    }

    .accordion-tab-item.active-tab {
        border-color: #f26522; /* Aktif sekme Babarvy turuncusu */
        box-shadow: 0 10px 30px rgba(242, 101, 34, 0.1); /* Hafif turuncu gölge */
    }

/* Sekme İçindeki İkon ve Metinler */
.tab-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 8px;
    background-color: #fffaf7;
}

.tab-text h3 {
    margin: 0 0 5px 0;
    font-size: 18px;
    color: #333;
}

.tab-text p {
    margin: 0;
    font-size: 14px;
    color: #777;
}

/* 4. SAĞ TARAF: Soru-Cevap Akordeon Listesi */
.accordion-list {
    flex: 2; /* Sağ taraf 2 birim yer kaplar (daha geniştir) */
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* Başlangıçta tüm sorular gizlidir, JS ile gösterilir */
.accordion {
    display: none;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background: #fff;
    overflow: hidden;
}

    /* JS tarafından aktif sekmeye ait sorular gösterilir */
    .accordion.show-accordion {
        display: block;
    }

    /* Yumuşak giriş efekti (Fade-in) */
    .accordion.fade-in {
        animation: slideUpFade 0.4s ease forwards;
    }

@keyframes slideUpFade {
    from {
        opacity: 0;
        transform: translateY(15px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 5. Soruların Başlık Kısmı (Tıklanabilir Alan) */
.accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    background: #fff;
    transition: background 0.3s;
}

    .accordion-header:hover {
        background: #fafafa;
    }

    .accordion-header h4 {
        margin: 0;
        font-size: 16px;
        font-weight: 600;
        color: #333;
        line-height: 1.5;
    }

/* Artı (+) İkonunun Animasyonu */
.accordion-icon {
    color: #999;
    transition: transform 0.4s ease;
    display: flex;
    align-items: center;
}

/* Soru açıldığında artı (+) ikonu çarpı (x) ikonuna dönüşür */
.accordion.active .accordion-icon {
    transform: rotate(45deg);
    color: #f26522;
}

/* 6. Cevap Kısmı (Aşağı Doğru Kayarak Açılma Efekti) */
.accordion-body {
    max-height: 0;
    padding: 0 25px; /* Kapalıyken dikey padding 0 olmalı */
    overflow: hidden;
    color: #555;
    line-height: 1.8;
    font-size: 15px;
    transition: max-height 0.4s ease, padding 0.4s ease;
}

/* Tıklandığında cevabın açılması */
.accordion.active .accordion-body {
    max-height: 800px; /* Cevabın sığacağı maksimum yükseklik */
    padding: 5px 25px 25px 25px; /* Alt boşluk verilir */
    border-top: 1px solid #f9f9f9;
}