/* =====================================================
   SIKÇA SORULAN SORULAR (FAQ) STILLERI
   ===================================================== */

/* Hero Section */
.faq-hero {
    background: linear-gradient(0deg, #de5433 0%, #0057a6 100%);
    padding: 80px 0 60px;
    color: #fff;
}

.faq-title {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.faq-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 30px;
}

/* Arama Formu */
.faq-search-form {
    max-width: 600px;
    margin: 0 auto 20px;
}

.faq-search-wrapper {
    position: relative;
    display: flex;
    background: #fff;
    border-radius: 50px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    overflow: hidden;
}

.faq-search-input {
    flex: 1;
    border: none;
    padding: 18px 25px;
    font-size: 16px;
    outline: none;
}

.faq-search-btn {
    background: #f9a825;
    border: none;
    padding: 0 30px;
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    transition: background 0.3s;
}

.faq-search-btn:hover {
    background: #f57f17;
}

.faq-stats {
    font-size: 14px;
    opacity: 0.8;
}

/* İçerik Bölümü */
.faq-content {
    padding: 60px 0;
    background: #f8f9fa;
}

/* Sidebar */
.faq-sidebar {
    background: #fff;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
    position: sticky;
    top: 100px;
}

.faq-sidebar-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #1a5f7a;
}

.faq-categories-nav {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.faq-category-link {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    color: #333;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s;
    font-size: 14px;
}

.faq-category-link:hover,
.faq-category-link.active {
    background: #de5635;
    color: #fff;
    text-decoration: none;
}

.faq-count {
    margin-left: auto;
    background: rgba(0,0,0,0.1);
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 12px;
}

.faq-category-link.active .faq-count {
    background: rgba(255,255,255,0.2);
}

/* Kategori Bölümü */
.faq-category-section {
    margin-bottom: 40px;
}

.faq-category-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #1a5f7a;
}

.faq-category-header i {
    font-size: 24px;
    color: #1a5f7a;
}

.faq-category-header h3 {
    margin: 0;
    font-size: 22px;
    font-weight: 600;
    color: #333;
}

.faq-category-desc {
    color: #666;
    margin-bottom: 20px;
    font-size: 14px;
}

/* FAQ Accordion */
.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: box-shadow 0.3s;
}

.faq-item:hover {
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 25px;
    cursor: pointer;
    transition: background 0.3s;
}

.faq-question:hover {
    background: #f8f9fa;
}

.faq-question-text {
    font-size: 16px;
    font-weight: 500;
    color: #333;
    flex: 1;
    padding-right: 15px;
}

.faq-toggle-icon {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f0f0f0;
    border-radius: 50%;
    transition: all 0.3s;
}

.faq-toggle-icon i {
    transition: transform 0.3s;
    font-size: 12px;
    color: #666;
}

.faq-question[aria-expanded="true"] .faq-toggle-icon {
    background: #1a5f7a;
}

.faq-question[aria-expanded="true"] .faq-toggle-icon i {
    transform: rotate(180deg);
    color: #fff;
}

/* Cevap */
.faq-answer {
    border-top: 1px solid #eee;
}

.faq-answer-content {
    padding: 25px;
    color: #555;
    line-height: 1.7;
    font-size: 15px;
}

.faq-answer-content p {
    margin-bottom: 15px;
}

.faq-answer-content p:last-child {
    margin-bottom: 0;
}

.faq-answer-content ul,
.faq-answer-content ol {
    margin: 15px 0;
    padding-left: 25px;
}

.faq-answer-content li {
    margin-bottom: 8px;
}

/* Kategori Badge */
.faq-category-badge {
    display: inline-block;
    background: #e8f4f8;
    color: #1a5f7a;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    margin-top: 15px;
}

/* Faydalı mı? */
.faq-helpful {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #eee;
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 14px;
    color: #666;
}

.btn-helpful {
    background: #f5f5f5;
    border: 1px solid #ddd;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.btn-helpful:hover {
    background: #1a5f7a;
    color: #fff;
    border-color: #1a5f7a;
}

/* Arama Sonuçları */
.faq-search-results {
    max-width: 900px;
    margin: 0 auto;
}

.search-results-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 15px;
}

.search-results-header h3 {
    margin: 0;
    font-size: 18px;
    color: #333;
}

.no-results {
    text-align: center;
    padding: 60px 20px;
    background: #fff;
    border-radius: 12px;
}

.no-results p {
    color: #666;
    margin-bottom: 20px;
}

/* CTA Bölümü */
.faq-cta {
    background: #fff;
    padding: 60px 0;
    text-align: center;
}

.faq-cta h3 {
    font-size: 24px;
    margin-bottom: 10px;
    color: #333;
}

.faq-cta p {
    color: #666;
    margin-bottom: 25px;
}

/* Responsive */
@media (max-width: 991px) {
    .faq-sidebar {
        position: static;
        margin-bottom: 30px;
    }
    
    .faq-categories-nav {
        flex-direction: row;
        flex-wrap: wrap;
    }
    
    .faq-category-link {
        flex: 0 0 auto;
    }
}

@media (max-width: 767px) {
    .faq-hero {
        padding: 60px 0 40px;
    }
    
    .faq-title {
        font-size: 2rem;
    }
    
    .faq-subtitle {
        font-size: 1rem;
    }
    
    .faq-search-input {
        padding: 15px 20px;
        font-size: 14px;
    }
    
    .faq-search-btn {
        padding: 0 20px;
    }
    
    .faq-question {
        padding: 15px 20px;
    }
    
    .faq-question-text {
        font-size: 14px;
    }
    
    .faq-answer-content {
        padding: 20px;
        font-size: 14px;
    }
    
    .faq-helpful {
        flex-wrap: wrap;
    }
    
    .search-results-header {
        flex-direction: column;
        text-align: center;
    }
}
