/**
 * FAQ Page Specific Styles
 */

/* ===== FAQ CONTAINER ===== */
.faq-container {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 20px 60px;
}

.faq-header {
    text-align: center;
    margin-bottom: 24px;
}

.faq-title {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 8px;
}

.faq-subtitle {
    font-size: 18px;
    color: var(--muted);
}

/* ===== SEARCH BAR ===== */
.search-container {
    margin: 24px 0 34px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.search-box {
    width: 100%;
    max-width: 600px;
    position: relative;
}

.search-input {
    width: 100%;
    padding: 16px 50px 16px 20px;
    border: 2px solid #ddd;
    border-radius: 12px;
    font-size: 16px;
    outline: none;
    transition: border-color 0.3s ease;
    cursor: text;
}

.search-input:focus {
    border-color: var(--brand);
}

.search-icon {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--muted);
    font-size: 20px;
    cursor: pointer;
}

.search-results-info {
    font-size: 14px;
    color: var(--muted);
    text-align: center;
}

.highlight {
    background: var(--cream);
    font-weight: 600;
    padding: 1px 3px;
    border-radius: 3px;
}

.no-results {
    text-align: center;
    padding: 40px 20px;
    color: var(--muted);
    font-size: 16px;
    display: none;
}

/* ===== FAQ ACCORDION ===== */
.faq {
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    border: 1px solid #eee;
}

.faq-item {
    border-bottom: 1px solid #eee;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-item.hidden {
    display: none;
}

.faq-question {
    width: 100%;
    text-align: left;
    padding: 18px 20px;
    background: #fafafa;
    border: none;
    font-size: 18px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.faq-question:hover {
    background: #f0f0f0;
}

.faq-question .chevron {
    transition: transform 0.2s ease;
}

.faq-item.open .chevron {
    transform: rotate(90deg);
}

.faq-answer {
    padding: 0 20px 0;
    background: var(--white);
    color: var(--dark);
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.3s ease-in-out;
}

.faq-answer .answer-inner {
    padding: 14px 0 18px;
}

.faq-answer p {
    margin-bottom: 10px;
}

/* ===== FOOTER ===== */
.faq-footer {
    text-align: center;
    color: #999;
    font-size: 14px;
    margin-top: 30px;
}

/* ===== MOBILE RESPONSIVE ===== */
@media (max-width: 768px) {
    .faq-container {
        padding: 30px 15px 50px;
    }

    .faq-title {
        font-size: 28px;
    }

    .faq-subtitle {
        font-size: 16px;
    }

    .search-input {
        padding: 14px 45px 14px 16px;
        font-size: 15px;
    }

    .faq-question {
        font-size: 16px;
        padding: 16px 18px;
    }
}

@media (max-width: 600px) {
    .faq-title {
        font-size: 24px;
    }

    .search-box {
        max-width: 100%;
    }
}
