/* style/faq.css */

/* Base Styles & Typography */
.page-faq {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Default text color for dark body background */
    background-color: #000; /* Ensuring consistency with body background */
}

.page-faq h1, .page-faq h2, .page-faq h3 {
    color: #FFD700; /* Gold for headings */
    margin-bottom: 15px;
}

.page-faq h1 {
    font-size: 2.8em;
    text-align: center;
}

.page-faq h2 {
    font-size: 2.2em;
    text-align: center;
    color: #CC0000;
}

.page-faq h3 {
    font-size: 1.5em;
}

.page-faq p {
    margin-bottom: 1em;
    color: #f0f0f0;
}

/* Hero Section */
.page-faq__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 20px 40px;
    padding-top: var(--header-offset, 120px);
    background: linear-gradient(135deg, #CC0000, #990000);
    color: #ffffff;
    text-align: center;
    overflow: hidden;
}

.page-faq__hero-content {
    max-width: 900px;
    z-index: 2;
}

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

.page-faq__hero-description {
    font-size: 1.3em;
    margin-bottom: 30px;
    color: #f0f0f0;
}

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

.page-faq__btn-primary,
.page-faq__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-faq__btn-primary {
    background-color: #FFD700;
    color: #CC0000;
    border: 2px solid #FFD700;
}

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

.page-faq__btn-secondary {
    background-color: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
}

.page-faq__btn-secondary:hover {
    background-color: #ffffff;
    color: #CC0000;
    transform: translateY(-3px);
}

.page-faq__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.page-faq__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.2;
    filter: brightness(0.8);
}

/* Content Area */
.page-faq__content-area {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
    background-color: #1a1a1a; /* Dark background for content */
    color: #f0f0f0;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.page-faq__section-title {
    color: #CC0000;
    margin-bottom: 30px;
    font-size: 2.5em;
    font-weight: bold;
}

.page-faq__section-intro {
    font-size: 1.1em;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
    color: #cccccc;
}

/* FAQ List */
.page-faq__faq-list {
    margin-top: 40px;
}

.page-faq__faq-item {
    background-color: #2a2a2a;
    border: 1px solid #3a3a3a;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.page-faq__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    background-color: #3a3a3a;
    color: #FFD700;
    font-weight: bold;
    font-size: 1.2em;
    transition: background-color 0.3s ease;
}

.page-faq__faq-question:hover {
    background-color: #4a4a4a;
}

.page-faq__question-title {
    margin: 0;
    color: #FFD700;
}

.page-faq__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    transition: transform 0.3s ease;
}

.page-faq__faq-item.active .page-faq__faq-toggle {
    transform: rotate(45deg);
}

.page-faq__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    background-color: #2a2a2a;
    color: #f0f0f0;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.page-faq__faq-item.active .page-faq__faq-answer {
    max-height: 1000px !important; /* Sufficiently large */
    padding: 20px 25px;
}

.page-faq__faq-image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 20px 0;
    border-radius: 8px;
}

/* CTA Section */
.page-faq__cta-section {
    text-align: center;
    background-color: #CC0000;
    padding: 50px 30px;
    border-radius: 10px;
    margin-top: 60px;
    color: #ffffff;
}

.page-faq__cta-title {
    color: #FFD700;
    font-size: 2.2em;
    margin-bottom: 20px;
}

.page-faq__cta-description {
    font-size: 1.1em;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-faq__cta-section .page-faq__btn-primary,
.page-faq__cta-section .page-faq__btn-secondary {
    background-color: #FFD700;
    color: #CC0000;
    border: 2px solid #FFD700;
}

.page-faq__cta-section .page-faq__btn-primary:hover,
.page-faq__cta-section .page-faq__btn-secondary:hover {
    background-color: #e6c200;
    color: #990000;
}

/* Related Info Section */
.page-faq__related-info {
    background-color: #0d0d0d;
    padding: 60px 20px;
    text-align: center;
    color: #f0f0f0;
}

.page-faq__related-title {
    color: #FFD700;
    font-size: 2.5em;
    margin-bottom: 40px;
}

.page-faq__info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.page-faq__info-card {
    background-color: #1a1a1a;
    border-radius: 10px;
    overflow: hidden;
    text-decoration: none;
    color: #f0f0f0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border: 1px solid #3a3a3a;
}

.page-faq__info-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
}

.page-faq__info-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.page-faq__info-card-title {
    font-size: 1.3em;
    color: #FFD700;
    padding: 15px 20px 0;
    margin: 0;
}

.page-faq__info-card-text {
    padding: 0 20px 20px;
    font-size: 0.95em;
    color: #cccccc;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-faq__main-title {
        font-size: 2.8em;
    }
    .page-faq__hero-description {
        font-size: 1.1em;
    }
}

@media (max-width: 768px) {
    .page-faq__hero-section {
        padding: 60px 15px 30px;
        padding-top: var(--header-offset, 120px) !important;
    }
    .page-faq__main-title {
        font-size: 2.2em;
    }
    .page-faq__hero-description {
        font-size: 1em;
    }
    .page-faq__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-faq__btn-primary,
    .page-faq__btn-secondary {
        width: 100%;
        padding: 12px 20px;
        font-size: 1em;
        max-width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
    .page-faq__content-area,
    .page-faq__cta-section,
    .page-faq__related-info {
        padding: 40px 15px;
    }
    .page-faq__section-title,
    .page-faq__cta-title,
    .page-faq__related-title {
        font-size: 1.8em;
    }
    .page-faq__section-intro,
    .page-faq__cta-description {
        font-size: 0.95em;
    }
    .page-faq__faq-question {
        padding: 15px 20px;
        font-size: 1.1em;
    }
    .page-faq__faq-answer {
        padding: 15px 20px;
    }
    .page-faq__faq-image,
    .page-faq__info-image {
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-faq__info-grid {
        grid-template-columns: 1fr;
    }
    .page-faq__faq-item,
    .page-faq__cta-section,
    .page-faq__info-card {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
}

@media (max-width: 480px) {
    .page-faq__main-title {
        font-size: 1.8em;
    }
    .page-faq__hero-description {
        font-size: 0.9em;
    }
    .page-faq__section-title,
    .page-faq__cta-title,
    .page-faq__related-title {
        font-size: 1.5em;
    }
    .page-faq__faq-question {
        font-size: 1em;
    }
}