/**
 * FAQ Page Styles for BK Pilates
 *
 * @package BK_Pilates
 */

/* --------------------------------------------------------------
# FAQ Hero Section
-------------------------------------------------------------- */
.faq-hero-section {
    position: relative;
    padding: 140px 0 80px;
    /*background-color: var(--secondary-color);*/
    text-align: center;
    color: #fff;
    overflow: hidden;
}

.section-border {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.section-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.section-background-color {
    width: 100%;
    height: 100%;
    background-color: var(--secondary-color);
}

.section-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.5s ease;
}

.faq-hero-section:hover .section-background img {
    transform: scale(1.05);
}

.section-background-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
}

.faq-hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.faq-hero-title {
    font-family: var(--font-main), sans-serif;
    font-size: 60px;
    margin-bottom: 30px;
    letter-spacing: 1px;
    font-weight: 700;
    text-transform: unset;
    animation: fadeInDown 1s ease;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.faq-hero-description {
    text-align: center;
    font-size: 22px;
    font-weight: 300;
    line-height: 40px;
    margin-bottom: 100px;
}

/* --------------------------------------------------------------
# FAQ Content Section
-------------------------------------------------------------- */
.faq-content-section {
    padding: 80px 0;
    background-color: #fff;
}

/* FAQ Tabs */
.faq-tabs {
    margin-bottom: 50px;
    overflow-x: hidden;
}

.faq-tabs-wrapper {
    display: flex;
    justify-content: center;
    /*min-width: max-content;*/
}

.faq-tab {
    padding: 10px 25px;
    margin: 0 5px;
    background-color: transparent;
    border: none;
    border-bottom: 2px solid #e0e0e0;
    cursor: pointer;
    font-size: 30px;
    font-weight: 700;
    color: #FDFCF9;
    transition: all 0.3s ease;
}

.faq-tab:hover {
    color: var(--accent-color);
}

.faq-tab.active {
    color: var(--accent-color);
    border-bottom-color: var(--accent-color);
}

/* FAQ Tab Content */
.faq-tab-content {
    display: none;
}

.faq-tab-content.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* FAQ Accordions */
.faq-accordions {
    max-width: 900px;
    margin: 0 auto;
}

.faq-accordion {
    margin-bottom: 15px;
    border: 1px solid #e0e0e0;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-accordion:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.faq-accordion.active {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border-color: var(--accent-color);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 25px;
    /*background-color: #fff;*/
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-accordion.active .faq-question {
    background-color: var(--btn-bg);
}

.faq-question h3 {
    margin: 0;
    font-size: 25px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    flex-grow: 1;
    padding-right: 20px;
}

.faq-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: var(--btn-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.faq-accordion.active .faq-icon {
    background-color: var(--accent-color);
    color: #fff;
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer-content {
    padding: 0 25px 20px;
    line-height: 1.6;
    font-size: 18px;
    color: var(--light-text);
}

.faq-additional-content {
    margin-top: 60px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    padding: 40px;
    background-color: var(--light-accent);
    border-radius: 10px;
}

/* --------------------------------------------------------------
# FAQ CTA Section
-------------------------------------------------------------- */
.faq-cta-section {
    display: flex;
    flex-direction: row;
    gap: 40px;
    padding: 80px 0;
    max-width: 1600px;
    margin: 0 auto;
    /*background-color: #f9f9f9;*/
}

.faq-cta {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 60px;
    /*background-color: var(--secondary-color);*/
    border-radius: 50px;
    color: #fff;
    background-color: rgba(221, 193, 172, 0.6);
    /* border-radius: var(--card-border-radius); */
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    /* display: flex; */
    flex-direction: column;
    /* height: 100%; */
    /* border: 1px solid rgba(255, 255, 255, 0.2); */
    backdrop-filter: blur(10px);
}

.faq-cta h2 {
    font-size: 36px;
    margin-bottom: 20px;
    font-weight: 600;
}

.faq-cta p {
    font-size: 18px;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.faq-cta .btn {
    padding: 15px 35px;
    font-size: 18px;
    /*background-color: #fff;*/
    /*color: var(--primary-color);*/
    border: none;
    transition: all 0.3s ease;
}

.faq-cta .btn:hover {
    background-color: var(--accent-color);
    color: #fff;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* --------------------------------------------------------------
# Class Promo Section
-------------------------------------------------------------- */
.faq-class-promo {
    padding: 80px 0;
    background-color: #fff;
}

.class-promo-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.class-promo-content h2 {
    font-size: 36px;
    margin-bottom: 20px;
    font-weight: 600;
    color: #625448;
}

.class-promo-content p {
    font-size: 18px;
    margin-bottom: 30px;
    color: #555;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.class-promo-buttons {
    margin-top: 30px;
}

.class-promo-buttons .btn {
    padding: 15px 35px;
    font-size: 18px;
    transition: all 0.3s ease;
}

.class-promo-buttons .btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* --------------------------------------------------------------
# Responsive Styles
-------------------------------------------------------------- */
@media (max-width: 1200px) {
    .faq-hero-title {
        font-size: 42px;
    }

    .faq-cta h2,
    .class-promo-content h2 {
        font-size: 32px;
    }
}

@media (max-width: 991px) {
    .faq-hero-section {
        padding: 120px 0 60px;
    }

    .faq-hero-title {
        font-size: 36px;
    }

    .faq-hero-description {
        font-size: 16px;
    }

    .faq-question h3 {
        font-size: 16px;
    }

    .faq-cta,
    .faq-additional-content {
        padding: 40px 30px;
    }

    .faq-cta h2,
    .class-promo-content h2 {
        font-size: 28px;
    }

    .faq-cta p,
    .class-promo-content p {
        font-size: 16px;
    }
}

@media (max-width: 767px) {
    .faq-hero-section {
        padding: 100px 0 50px;
    }

    .faq-hero-title {
        font-size: 32px;
    }

    .faq-tabs-wrapper {
        flex-wrap: wrap;
        justify-content: center;
        padding-bottom: 5px;
    }

    .faq-tab {
        padding: 10px 15px;
        font-size: 14px;
        white-space: wrap;
    }

    .faq-question {
        padding: 15px 20px;
    }

    .faq-answer-content {
        padding: 0 20px 15px;
    }

    .faq-cta,
    .faq-additional-content {
        padding: 30px 20px;
    }

    .faq-cta .btn,
    .class-promo-buttons .btn {
        padding: 12px 25px;
        font-size: 16px;
    }
}

@media (max-width: 576px) {
    .faq-hero-section {
        padding: 90px 0 40px;
    }

    .faq-hero-title {
        font-size: 28px;
    }

    .faq-content-section {
        padding: 50px 0;
    }

    .faq-question h3 {
        font-size: 15px;
    }

    .faq-cta h2,
    .class-promo-content h2 {
        font-size: 24px;
    }

    .faq-cta p,
    .class-promo-content p {
        font-size: 15px;
    }
}