/* ==========================================
   SSS SAYFASI STİLLERİ
   ========================================== */

.faq-page {
    padding: 80px 60px;
    background: #f5f5f5;
    min-height: 100vh;
}

.faq-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* ==========================================
   INTRO
   ========================================== */
.faq-intro {
    text-align: center;
    margin-bottom: 60px;
    animation: fadeInUp 0.8s ease;
}

.faq-intro h2 {
    font-size: 42px;
    color: #0E300E;
    margin-bottom: 20px;
}

.faq-intro p {
    font-size: 18px;
    color: #666;
    line-height: 1.8;
    max-width: 700px;
    margin: 0 auto;
}

/* ==========================================
   KATEGORİ FİLTRELERİ
   ========================================== */
.category-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 40px;
    animation: fadeInUp 1s ease;
}

.filter-btn {
    padding: 12px 28px;
    border: 2px solid #e0e0e0;
    background: white;
    color: #666;
    border-radius: 30px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    border-color: #0E300E;
    color: #0E300E;
    transform: translateY(-2px);
}

.filter-btn.active {
    background: #0E300E;
    color: white;
    border-color: #0E300E;
}

/* ==========================================
   ARAMA KUTUSU
   ========================================== */
.search-box {
    position: relative;
    max-width: 600px;
    margin: 0 auto 50px;
    animation: fadeInUp 1.2s ease;
}

.search-box input {
    width: 100%;
    padding: 18px 60px 18px 25px;
    border: 2px solid #e0e0e0;
    border-radius: 50px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: white;
}

.search-box input:focus {
    outline: none;
    border-color: #0E300E;
    box-shadow: 0 0 0 4px rgba(14, 48, 14, 0.1);
}

.search-icon {
    position: absolute;
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
    color: #999;
    pointer-events: none;
}

/* ==========================================
   FAQ LİSTESİ
   ========================================== */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 80px;
}

.faq-item {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    overflow: hidden;
    transition: all 0.3s ease;
    animation: fadeInUp 1.4s ease;
}

.faq-item:hover {
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.faq-item.hidden {
    display: none;
}

.faq-question {
    padding: 25px 30px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: #f8f9fa;
}

.faq-question h3 {
    font-size: 18px;
    color: #1f232b;
    margin: 0;
    padding-right: 20px;
    flex: 1;
}

.faq-icon {
    font-size: 28px;
    color: #0E300E;
    font-weight: bold;
    min-width: 30px;
    text-align: center;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    padding: 0 30px;
}

.faq-item.active .faq-answer {
    max-height: 1000px;
    padding: 0 30px 25px;
}

.faq-answer p {
    font-size: 16px;
    line-height: 1.8;
    color: #666;
    margin: 0;
}

/* ==========================================
   CONTACT CTA
   ========================================== */
.contact-cta {
    background: linear-gradient(135deg, #0E300E 0%, #1a4d1a 100%);
    padding: 60px 50px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(14, 48, 14, 0.3);
    animation: fadeInUp 1.6s ease;
}

.cta-content h2 {
    font-size: 36px;
    color: white;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 35px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.cta-btn {
    padding: 16px 40px;
    border-radius: 12px;
    text-decoration: none;
    font-size: 17px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

.cta-btn.primary {
    background: white;
    color: #0E300E;
}

.cta-btn.primary:hover {
    background: #f0f0f0;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 255, 255, 0.3);
}

.cta-btn.secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.cta-btn.secondary:hover {
    background: white;
    color: #0E300E;
    transform: translateY(-3px);
}

/* ==========================================
   NO RESULTS
   ========================================== */
.no-results {
    text-align: center;
    padding: 60px 20px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    display: none;
}

.no-results.show {
    display: block;
}

.no-results-icon {
    font-size: 80px;
    margin-bottom: 20px;
}

.no-results h3 {
    font-size: 28px;
    color: #1f232b;
    margin-bottom: 15px;
}

.no-results p {
    font-size: 16px;
    color: #666;
    margin-bottom: 25px;
}

/* ==========================================
   ANIMATIONS
   ========================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================
   RESPONSIVE DESIGN
   ========================================== */
@media (max-width: 768px) {
    .faq-page {
        padding: 40px 20px;
    }

    .faq-intro h2 {
        font-size: 32px;
    }

    .faq-intro p {
        font-size: 16px;
    }

    .category-filters {
        gap: 10px;
    }

    .filter-btn {
        padding: 10px 20px;
        font-size: 14px;
    }

    .search-box {
        margin-bottom: 40px;
    }

    .search-box input {
        padding: 16px 50px 16px 20px;
        font-size: 15px;
    }

    .faq-question {
        padding: 20px;
    }

    .faq-question h3 {
        font-size: 16px;
    }

    .faq-icon {
        font-size: 24px;
    }

    .faq-answer {
        padding: 0 20px;
    }

    .faq-item.active .faq-answer {
        padding: 0 20px 20px;
    }

    .faq-answer p {
        font-size: 15px;
    }

    .contact-cta {
        padding: 40px 30px;
    }

    .cta-content h2 {
        font-size: 28px;
    }

    .cta-content p {
        font-size: 16px;
    }

    .cta-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .cta-btn {
        width: 100%;
        padding: 14px 30px;
    }
}

/* ==========================================
   PRINT STİLLERİ
   ========================================== */
@media print {
    .navbar,
    .page-header,
    .category-filters,
    .search-box,
    .contact-cta,
    .footer {
        display: none;
    }

    .faq-item {
        page-break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ddd;
    }

    .faq-answer {
        max-height: none !important;
        padding: 10px 20px !important;
    }

    .faq-icon {
        display: none;
    }
}