/* style/faq.css */
.page-faq {
    color: #333333; /* Dark text for light body background */
    padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
}

.page-faq__hero-section {
    position: relative;
    width: 100%;
    overflow: hidden;
    margin-bottom: 40px;
}

.page-faq__hero-container {
    position: relative;
    width: 100%;
    max-width: 1920px;
    margin: 0 auto;
}

.page-faq__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    filter: brightness(0.6); /* Slightly darken image for text readability */
}

.page-faq__hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.6));
}

.page-faq__hero-title {
    font-size: 3.2em;
    color: #FFD700;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    max-width: 900px;
}

.page-faq__hero-description {
    font-size: 1.2em;
    color: #f0f0f0;
    margin-bottom: 30px;
    max-width: 800px;
    line-height: 1.5;
}

.page-faq__hero-button {
    display: inline-block;
    background-color: #FFD700;
    color: #1A202C;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.2s ease;
    border: none;
    cursor: pointer;
}

.page-faq__hero-button:hover {
    background-color: #e5c100;
    transform: translateY(-2px);
}

.page-faq__content-area {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    line-height: 1.6;
}

.page-faq__section-title {
    font-size: 2.5em;
    color: #1A202C;
    text-align: center;
    margin-bottom: 30px;
    position: relative;
}

.page-faq__section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: #FFD700;
    margin: 15px auto 0;
    border-radius: 2px;
}

.page-faq__categories {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
}

.page-faq__category-link {
    background-color: #1A202C;
    color: #FFD700;
    padding: 12px 25px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease;
    white-space: nowrap;
}

.page-faq__category-link:hover {
    background-color: #FFD700;
    color: #1A202C;
}

.page-faq__category-section {
    margin-bottom: 60px;
    padding: 20px;
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.page-faq__category-heading {
    font-size: 2em;
    color: #1A202C;
    margin-bottom: 30px;
    text-align: center;
}

.page-faq__accordion-item {
    border-bottom: 1px solid #eee;
    padding: 15px 0;
}

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

.page-faq__accordion-summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.2em;
    font-weight: bold;
    color: #1A202C;
    cursor: pointer;
    padding: 10px 0;
    outline: none;
    list-style: none;
}

.page-faq__accordion-summary::-webkit-details-marker {
    display: none;
}

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

.page-faq__accordion-item[open] .page-faq__accordion-summary::after {
    content: '-';
    transform: rotate(0deg); /* No rotation needed for simple plus/minus */
}

.page-faq__accordion-content {
    padding: 15px 0 5px 20px;
    font-size: 1.05em;
    color: #555;
}

.page-faq__accordion-content p {
    margin-bottom: 15px;
}

.page-faq__accordion-button {
    display: inline-block;
    background-color: #FFD700;
    color: #1A202C;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.95em;
    transition: background-color 0.3s ease, transform 0.2s ease;
    margin-top: 10px;
    border: none;
    cursor: pointer;
}

.page-faq__accordion-button:hover {
    background-color: #e5c100;
    transform: translateY(-1px);
}

.page-faq__image-content {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-top: 20px;
    display: block;
    object-fit: cover;
}

.page-faq__contact-section {
    text-align: center;
    padding: 60px 20px;
    background-color: #1A202C;
    color: #f0f0f0;
    border-radius: 12px;
    margin-top: 60px;
}

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

.page-faq__contact-description {
    font-size: 1.2em;
    max-width: 800px;
    margin: 0 auto 30px;
    line-height: 1.5;
}

.page-faq__contact-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.page-faq__contact-button {
    display: inline-block;
    background-color: #FFD700;
    color: #1A202C;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.2s ease;
    border: none;
    cursor: pointer;
}

.page-faq__contact-button:hover {
    background-color: #e5c100;
    transform: translateY(-2px);
}

.page-faq__explore-gopub {
    text-align: center;
    padding: 60px 20px;
    margin-top: 60px;
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.page-faq__explore-title {
    font-size: 2.5em;
    color: #1A202C;
    margin-bottom: 20px;
}

.page-faq__explore-description {
    font-size: 1.1em;
    max-width: 700px;
    margin: 0 auto 30px;
    color: #555;
}

.page-faq__explore-button {
    display: inline-block;
    background-color: #FFD700;
    color: #1A202C;
    padding: 18px 35px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.2em;
    transition: background-color 0.3s ease, transform 0.2s ease;
    border: none;
    cursor: pointer;
}

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

/* Responsive adjustments */
@media (max-width: 1024px) {
    .page-faq__hero-title {
        font-size: 2.8em;
    }
    .page-faq__hero-description {
        font-size: 1.1em;
    }
    .page-faq__section-title {
        font-size: 2.2em;
    }
    .page-faq__category-heading {
        font-size: 1.8em;
    }
    .page-faq__accordion-summary {
        font-size: 1.1em;
    }
    .page-faq__contact-title {
        font-size: 2.4em;
    }
    .page-faq__explore-title {
        font-size: 2.2em;
    }
}

@media (max-width: 768px) {
    .page-faq {
        padding-top: var(--header-offset, 80px); /* Adjust for smaller header on mobile */
    }
    .page-faq__hero-title {
        font-size: 2.2em;
        margin-bottom: 15px;
    }
    .page-faq__hero-description {
        font-size: 1em;
        margin-bottom: 20px;
    }
    .page-faq__hero-button {
        padding: 12px 25px;
        font-size: 1em;
    }
    .page-faq__content-area {
        padding: 30px 15px;
    }
    .page-faq__section-title {
        font-size: 2em;
        margin-bottom: 25px;
    }
    .page-faq__categories {
        flex-direction: column;
        align-items: center;
        gap: 10px;
        margin-bottom: 40px;
    }
    .page-faq__category-link {
        width: 100%;
        text-align: center;
        padding: 10px 15px;
    }
    .page-faq__category-heading {
        font-size: 1.6em;
        margin-bottom: 20px;
    }
    .page-faq__accordion-summary {
        font-size: 1em;
        padding: 8px 0;
    }
    .page-faq__accordion-content {
        padding: 10px 0 5px 15px;
        font-size: 0.95em;
    }
    .page-faq__accordion-button {
        padding: 8px 15px;
        font-size: 0.9em;
    }
    .page-faq__image-content {
        max-width: 100%;
        height: auto;
    }
    .page-faq__contact-section {
        padding: 40px 15px;
    }
    .page-faq__contact-title {
        font-size: 2em;
    }
    .page-faq__contact-description {
        font-size: 1em;
        margin-bottom: 25px;
    }
    .page-faq__contact-buttons {
        flex-direction: column;
        gap: 15px;
        margin-bottom: 25px;
    }
    .page-faq__contact-button {
        width: 100%;
        max-width: 300px;
        padding: 12px 20px;
        font-size: 1em;
    }
    .page-faq__explore-gopub {
        padding: 40px 15px;
    }
    .page-faq__explore-title {
        font-size: 2em;
    }
    .page-faq__explore-description {
        font-size: 1em;
        margin-bottom: 25px;
    }
    .page-faq__explore-button {
        padding: 15px 30px;
        font-size: 1.1em;
    }
    /* Mobile content area overflow prevention */
    .page-faq {
        max-width: 100%;
        overflow-x: hidden;
    }
    .page-faq__content-area {
        max-width: 100%;
        overflow-x: hidden;
    }
    .page-faq__content-area img {
        max-width: 100%;
        height: auto;
    }
}