/* style/faq.css */
.page-faq {
    font-family: Arial, sans-serif;
    color: #FFFFFF; /* Default text color for dark backgrounds */
    background-color: #1A1A1A;
}

.page-faq__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-faq__hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(135deg, #1A1A1A 0%, #333333 100%);
    padding: 80px 20px;
    position: relative;
    overflow: hidden;
    border-bottom: 3px solid #FFD700;
}

.page-faq__hero-content {
    position: relative;
    z-index: 10;
    max-width: 800px;
}

.page-faq__title {
    font-size: 3.5em;
    color: #FFD700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-faq__subtitle {
    font-size: 1.3em;
    color: #E0E0E0;
    margin-bottom: 40px;
    line-height: 1.6;
}

.page-faq__cta-button {
    display: inline-block;
    background-color: #FFD700;
    color: #1A1A1A;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}

.page-faq__cta-button:hover {
    background-color: #e6c200;
    transform: translateY(-3px);
}

.page-faq__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    opacity: 0.15;
}

.page-faq__hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.page-faq__accordion-section {
    padding: 60px 0;
    background-color: #1A1A1A;
}

.page-faq__section-title {
    font-size: 2.5em;
    color: #FFD700;
    text-align: center;
    margin-bottom: 50px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.page-faq__accordion {
    border: 1px solid #333333;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-faq__accordion-item {
    border-bottom: 1px solid #333333;
}

.page-faq__accordion-item:last-child {
    border-bottom: none;
}

.page-faq__accordion-question {
    background-color: #282828;
    color: #FFD700;
    padding: 20px 30px;
    font-size: 1.2em;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
    position: relative;
}

.page-faq__accordion-question::after {
    content: '+';
    font-size: 1.5em;
    color: #FFD700;
    transition: transform 0.3s ease;
}

.page-faq__accordion-item.active .page-faq__accordion-question::after {
    transform: rotate(45deg);
    content: 'x';
}

.page-faq__accordion-question:hover {
    background-color: #3a3a3a;
}

.page-faq__accordion-answer {
    background-color: #1A1A1A;
    color: #E0E0E0;
    padding: 0 30px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out, padding 0.5s ease-out;
}

.page-faq__accordion-item.active .page-faq__accordion-answer {
    max-height: 500px; /* Adjust based on content */
    padding: 20px 30px;
}

.page-faq__accordion-answer p {
    margin-bottom: 15px;
    line-height: 1.7;
}

.page-faq__inline-cta {
    color: #FFD700;
    text-decoration: underline;
    font-weight: bold;
    transition: color 0.3s ease;
}

.page-faq__inline-cta:hover {
    color: #e6c200;
}

.page-faq__answer-image {
    max-width: 100%;
    height: auto;
    margin-top: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-faq__cta-bottom {
    background-color: #282828;
    padding: 80px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
    border-top: 3px solid #FFD700;
}

.page-faq__cta-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0.1;
    z-index: 1;
}

.page-faq__cta-content {
    position: relative;
    z-index: 2;
}

.page-faq__cta-title {
    font-size: 2.8em;
    color: #FFD700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-faq__cta-text {
    font-size: 1.2em;
    color: #E0E0E0;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.page-faq__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.page-faq__cta-button--primary {
    background-color: #FFD700;
    color: #1A1A1A;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}

.page-faq__cta-button--primary:hover {
    background-color: #e6c200;
    transform: translateY(-3px);
}

.page-faq__cta-button--secondary {
    background-color: #1A1A1A;
    color: #FFD700;
    border: 2px solid #FFD700;
    box-shadow: 0 4px 10px rgba(255, 215, 0, 0.2);
}

.page-faq__cta-button--secondary:hover {
    background-color: #333333;
    color: #FFD700;
    transform: translateY(-3px);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .page-faq__title {
        font-size: 2.5em;
    }

    .page-faq__subtitle,
    .page-faq__cta-text {
        font-size: 1em;
    }

    .page-faq__section-title,
    .page-faq__cta-title {
        font-size: 2em;
    }

    .page-faq__accordion-question {
        font-size: 1.1em;
        padding: 15px 20px;
    }

    .page-faq__accordion-answer {
        padding: 15px 20px;
    }

    .page-faq__cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .page-faq__cta-button {
        width: 80%;
    }
}

@media (max-width: 480px) {
    .page-faq__title {
        font-size: 2em;
    }

    .page-faq__section-title,
    .page-faq__cta-title {
        font-size: 1.8em;
    }

    .page-faq__hero,
    .page-faq__accordion-section,
    .page-faq__cta-bottom {
        padding: 40px 15px;
    }
}