/* =========================================
   1. GENEL AYARLAR VE SIFIRLAMA
   ========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    -webkit-font-smoothing: antialiased;
    background-color: #ffffff;
    color: #0f172a;
    overflow-x: hidden;
    line-height: 1.6;
}

/* =========================================
   2. NAVBAR VE INTRO (YÜKLEME EKRANI)
   ========================================= */
#intro-overlay {
    position: fixed;
    inset: 0;
    background: #ffffff;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
}

.intro-logo-img {
    filter: brightness(0);
    width: 200px;
    height: auto;
}

/* Navigasyon Scroll Efekti */
.nav-scrolled {
    background: rgba(255, 255, 255, 0.9) !important;
    backdrop-filter: blur(20px) !important;
    padding: 12px 40px !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

/* =========================================
   3. SSS (FAQ) HERO BÖLÜMÜ
   ========================================= */
.faq-hero {
    background-color: #ffffff;
    background-image: 
        radial-gradient(at 0% 0%, rgba(224, 23, 23, 0.05) 0, transparent 50%), 
        radial-gradient(at 100% 0%, rgba(15, 23, 42, 0.02) 0, transparent 50%);
}

.search-container input {
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.search-container input:focus {
    transform: scale(1.02);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

/* =========================================
   4. KATEGORİ FİLTRELEME BUTONLARI
   ========================================= */
.category-btn {
    padding: 12px 28px;
    background: white;
    border: 1px solid #f1f5f9;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    color: #64748b;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.category-btn:hover {
    border-color: #e01717;
    color: #e01717;
}

.category-btn.active {
    background: #e01717;
    color: white;
    border-color: #e01717;
    box-shadow: 0 10px 20px rgba(224, 23, 23, 0.2);
}

/* =========================================
   5. SSS AKORDİYON (SORU & CEVAP)
   ========================================= */
.faq-item {
    background: white;
    border: 1px solid #f1f5f9;
    border-radius: 1.5rem;
    overflow: hidden;
    transition: all 0.4s ease;
}

.faq-question {
    padding: 24px 32px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question h3 {
    transition: color 0.3s ease;
}

.faq-item:hover {
    border-color: rgba(224, 23, 23, 0.2);
}

.faq-icon {
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    color: #94a3b8;
}

/* Aktif Soru Durumu */
.faq-item.active {
    border-color: #e01717;
    box-shadow: 0 15px 35px rgba(0,0,0,0.03);
}

.faq-item.active .faq-question h3 {
    color: #e01717;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
    color: #e01717;
}

/* Cevap Alanı Animasyonu */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 32px;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    background: #fff;
}

.faq-item.active .faq-answer {
    max-height: 1000px; /* Dinamik olarak açılması için yüksek değer */
    padding: 0 32px 32px;
}

/* =========================================
   6. İLETİŞİM KARTLARI
   ========================================= */
.contact-card {
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.contact-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0,0,0,0.1);
}

/* =========================================
   7. MOBİL MENÜ
   ========================================= */
#mobile-menu {
    transform: translateX(100%);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

#mobile-menu.active {
    transform: translateX(0);
}

/* =========================================
   8. MOBİL UYUMLULUK (RESPONSIVE)
   ========================================= */
@media (max-width: 1024px) {
    #faq-title {
        font-size: 4rem;
    }
}

@media (max-width: 768px) {
    #main-nav {
        padding: 20px !important;
    }
    
    #faq-title {
        font-size: 3rem;
        line-height: 1.1;
    }

    .faq-question {
        padding: 20px;
    }

    .faq-answer {
        padding: 0 20px;
    }

    .faq-item.active .faq-answer {
        padding: 0 20px 20px;
    }
    
    .category-filter {
        gap: 8px;
    }
    
    .category-btn {
        padding: 10px 20px;
        font-size: 11px;
    }
}

/* Metin Gradient Efekti */
.text-gradient {
    background: linear-gradient(135deg, #e01717 0%, #8b0000 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Alt Çizgi Efekti */
.underline-faq {
    position: relative;
    display: inline-block;
}

.underline-faq::after {
    content: '';
    position: absolute;
    bottom: 10px;
    left: 0;
    width: 100%;
    height: 12px;
    background: rgba(224, 23, 23, 0.1);
    z-index: -1;
    transform: skewX(-15deg);
}