/* =========================================
   FAQ PAGE STYLES (faq.css)
   ========================================= */

#faq-page {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.faq-header {
    text-align: center;
    margin-bottom: 20px;
}

.faq-header .page-title {
    color: var(--logo-color);
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.faq-header .page-subtitle {
    color: var(--black-color);
    font-size: 1.2rem;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-item {
    background: var(--white-color);
    border: 2px solid var(--black-color);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-question {
    width: 100%;
    text-align: left;
    background: transparent;
    border: none;
    padding: 20px;
    font-size: 1rem;
    font-weight: 600;
    color: var(--black-color);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    transition: color 0.3s ease;
}

.faq-question:hover {
    color: var(--logo-color);
}

.faq-icon {
    color: var(--logo-color);
    transition: transform 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* --- THE ACCORDION ANIMATION TRICK --- */
.faq-answer-wrapper {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.3s ease;
}

.faq-answer-inner {
    overflow: hidden;
}

.faq-answer-inner p {
    padding: 0 20px 20px 20px;
    margin: 0;
    color: var(--black-color);
    line-height: 1.6;
}

.faq-answer-inner p+p {
    margin-top: 10px;
}

/* --- ACTIVE STATE --- */
.faq-item.active .faq-answer-wrapper {
    grid-template-rows: 1fr;
}

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

.faq-item.active .faq-question {
    color: var(--logo-color);
}


/* --- HEART ICONS --- */
.faq-heart-icon {
    color: #000;
    margin-left: 3px;
}

.faq-heart-inline {
    color: #000;
}

/* =========================================
   FAQ PAGE - MOBILE RESPONSIVE DESIGN
   ========================================= */
@media (max-width: 768px) {
    #faq-page {
        padding: 30px 15px !important;
    }

    .faq-header {
        margin-bottom: 20px;
    }

    .faq-header .page-title {
        font-size: 1.2rem;
        margin: 10px;
    }

    .faq-header .page-subtitle {
        font-size: 1rem;
    }

    .faq-question {
        padding: 15px;
        font-size: 0.75rem;
        gap: 15px;
    }

    .faq-answer-inner p {
        padding: 0 15px 15px 15px;
        font-size: 0.75rem;
    }

    .faq-item {
        border: 1px solid var(--black-color);
    }
}