/* ========================================================================== */
/* KRATOS CONNECT — SIKÇA SORULAN SORULAR (FAQ) STİLLERİ                      */
/* ========================================================================== */

.faq-page {
    padding: 3rem 0 5rem;
    min-height: 80vh;
}

/* 1. HERO & ARAMA BÖLÜMÜ */
.faq-hero {
    text-align: center;
    max-width: 780px;
    margin: 0 auto 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.faq-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.3rem 0.85rem;
    border-radius: 20px;
    background: #E8F2EE;
    color: #2F5D50;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.faq-title {
    font-family: var(--font-serif, "Playfair Display", Georgia, serif);
    font-size: clamp(2.2rem, 5vw, 3.2rem);
    line-height: 1.15;
    color: var(--ink, #1C1917);
    margin: 0;
}

.faq-title em {
    font-style: italic;
    color: var(--sage, #2F5D50);
}

.faq-lead {
    font-size: 1.1rem;
    color: #57534E;
    line-height: 1.6;
    margin: 0;
    max-width: 640px;
}

/* Canlı Arama Kutusu */
.faq-search-wrap {
    width: 100%;
    max-width: 580px;
    margin-top: 1rem;
    position: relative;
}

.faq-search-input {
    width: 100%;
    padding: 0.95rem 1.25rem 0.95rem 3.2rem;
    border: 1.5px solid #E7E1D8;
    border-radius: 16px;
    background: #FFFFFF;
    font-size: 1rem;
    color: #1C1917;
    box-shadow: 0 4px 16px rgba(28, 25, 23, 0.04);
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.faq-search-input:focus {
    outline: none;
    border-color: #2F5D50;
    box-shadow: 0 6px 22px rgba(47, 93, 80, 0.12);
}

.faq-search-icon {
    position: absolute;
    left: 1.15rem;
    top: 50%;
    transform: translateY(-50%);
    color: #A8A29E;
    pointer-events: none;
    display: flex;
    align-items: center;
}

.faq-search-clear {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    background: #F3F4F6;
    border: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6B7280;
    font-size: 12px;
    cursor: pointer;
    transition: background 0.15s ease;
}

.faq-search-clear:hover {
    background: #E5E7EB;
    color: #111827;
}

/* 2. KATEGORİ FİLTRE HAPLARI */
.faq-filter-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
}

.faq-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.55rem 1.15rem;
    border-radius: 24px;
    background: #FFFFFF;
    border: 1px solid #E7E1D8;
    color: #57534E;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.faq-pill:hover {
    border-color: #2F5D50;
    color: #2F5D50;
    background: #F8FAFC;
}

.faq-pill.is-active {
    background: #2F5D50;
    border-color: #2F5D50;
    color: #FFFFFF;
    box-shadow: 0 4px 12px rgba(47, 93, 80, 0.25);
}

.faq-pill-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.1rem 0.45rem;
    border-radius: 10px;
    font-size: 0.72rem;
    background: rgba(0, 0, 0, 0.06);
}

.faq-pill.is-active .faq-pill-count {
    background: rgba(255, 255, 255, 0.25);
    color: #FFF;
}

/* 3. AKORDEON LİSTESİ */
.faq-container {
    max-width: 860px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: #FFFFFF;
    border: 1px solid #E7E1D8;
    border-radius: 18px;
    box-shadow: 0 2px 10px rgba(28, 25, 23, 0.02);
    transition: all 0.25s ease;
    overflow: hidden;
}

.faq-item:hover {
    border-color: #CBD5E1;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.04);
}

.faq-item.is-open {
    border-color: #2F5D50;
    box-shadow: 0 8px 24px rgba(47, 93, 80, 0.07);
}

.faq-question-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    width: 100%;
    padding: 1.25rem 1.6rem;
    border: none;
    background: none;
    cursor: pointer;
    text-align: left;
    transition: background 0.15s ease;
}

.faq-question-content {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    flex: 1;
}

.faq-category-tag {
    font-size: 0.74rem;
    font-weight: 700;
    color: #2F5D50;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.faq-question-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #1C1917;
    line-height: 1.35;
    margin: 0;
}

.faq-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #F4EFE6;
    color: #2F5D50;
    flex-shrink: 0;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), background 0.2s ease, color 0.2s ease;
}

.faq-item.is-open .faq-arrow {
    transform: rotate(180deg);
    background: #2F5D50;
    color: #FFFFFF;
}

.faq-answer-panel {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease;
    opacity: 0;
    padding: 0 1.6rem;
    box-sizing: border-box;
}

.faq-item.is-open .faq-answer-panel {
    max-height: 600px;
    opacity: 1;
    padding-bottom: 1.4rem;
}

.faq-answer-text {
    font-size: 0.96rem;
    color: #4B5563;
    line-height: 1.65;
    margin: 0;
    border-top: 1px solid #F3EFEA;
    padding-top: 1rem;
}

/* Boş Sonuç Durumu */
.faq-empty-state {
    text-align: center;
    padding: 3rem 1.5rem;
    background: #FFFFFF;
    border: 1px dashed #CBD5E1;
    border-radius: 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
}

.faq-empty-icon {
    font-size: 2.5rem;
}

.faq-empty-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #1F2937;
    margin: 0;
}

.faq-empty-desc {
    font-size: 0.9rem;
    color: #6B7280;
    margin: 0;
}

/* 4. DESTEK / İLETİŞİM KARTI (BOTTOM CTA) */
.faq-support-card {
    max-width: 860px;
    margin: 4rem auto 0;
    background: linear-gradient(135deg, #1C1917 0%, #292524 100%);
    border-radius: 24px;
    padding: 2.5rem;
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.12);
}

.faq-support-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    max-width: 520px;
}

.faq-support-title {
    font-family: var(--font-serif, "Playfair Display", Georgia, serif);
    font-size: 1.55rem;
    margin: 0;
    color: #FFFFFF;
}

.faq-support-desc {
    font-size: 0.95rem;
    color: #D6D3D1;
    line-height: 1.55;
    margin: 0;
}

.faq-support-actions {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    flex-shrink: 0;
}

.btn-faq-consult {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.45rem;
    background: #2F5D50;
    color: #FFFFFF;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.92rem;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(47, 93, 80, 0.35);
    transition: all 0.2s ease;
}

.btn-faq-consult:hover {
    background: #3B7464;
    transform: translateY(-2px);
    color: #FFFFFF;
}

.btn-faq-contact {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.35rem;
    background: rgba(255, 255, 255, 0.1);
    color: #FFFFFF;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.92rem;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-faq-contact:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
}

/* RESPONSIVE DÜZEN */
@media (max-width: 800px) {
    .faq-support-card {
        flex-direction: column;
        align-items: flex-start;
        padding: 2rem 1.5rem;
    }
    .faq-support-actions {
        width: 100%;
        flex-direction: column;
    }
    .btn-faq-consult, .btn-faq-contact {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 640px) {
    .faq-page {
        padding: 2rem 0 3.5rem;
    }
    .faq-question-btn {
        padding: 1.1rem 1.2rem;
    }
    .faq-answer-panel {
        padding: 0 1.2rem;
    }
    .faq-item.is-open .faq-answer-panel {
        padding-bottom: 1.2rem;
    }
    .faq-filter-bar {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 0.5rem;
        -webkit-overflow-scrolling: touch;
    }
}

