/* style/support.css */

/* Base styles for the support page */
.page-support {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Default text color for dark body background */
    background-color: var(--black-color); /* Inherited from shared.css */
}

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

.page-support__section-title {
    font-size: 2.5em;
    color: #ffffff;
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
}

.page-support__paragraph {
    font-size: 1.1em;
    margin-bottom: 20px;
    text-align: justify;
    color: #f0f0f0;
}

/* Specific section styles */
.page-support__hero-section {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    height: 600px; /* Adjust as needed */
    overflow: hidden;
    padding-top: var(--header-offset, 120px); /* Fixed header spacing */
    background-color: #1a1a1a; /* Dark background for hero */
}

.page-support__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    opacity: 0.6; /* Slightly dim the background image */
}

.page-support__hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent overlay */
    border-radius: 10px;
}

.page-support__hero-title {
    font-size: 3.5em;
    color: #ffffff;
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
}

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

.page-support__btn-primary,
.page-support__btn-secondary,
.page-support__hero-button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    cursor: pointer;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
    text-align: center;
}

.page-support__btn-primary,
.page-support__hero-button {
    background-color: #26A9E0;
    color: #ffffff;
    border: 2px solid #26A9E0;
}

.page-support__btn-primary:hover,
.page-support__hero-button:hover {
    background-color: #1e87b7;
    border-color: #1e87b7;
}

.page-support__btn-secondary {
    background-color: #ffffff;
    color: #26A9E0;
    border: 2px solid #26A9E0;
}

.page-support__btn-secondary:hover {
    background-color: #e0e0e0;
    color: #1e87b7;
    border-color: #1e87b7;
}

.page-support__intro-section,
.page-support__faq-section,
.page-support__cta-section {
    padding: 80px 0;
    background-color: #1a1a1a; /* Dark background for these sections */
    color: #ffffff;
}

.page-support__contact-methods,
.page-support__responsible-gambling {
    padding: 80px 0;
    background-color: #ffffff; /* Light background for these sections */
    color: #333333;
}

.page-support__text-dark {
    color: #333333;
}

.page-support__text-primary {
    color: #26A9E0;
}

.page-support__image {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 40px auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-support__image--center {
    margin-left: auto;
    margin-right: auto;
}

/* Contact Methods Grid */
.page-support__contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
    margin-bottom: 40px;
}

.page-support__contact-card {
    background-color: #f8f8f8;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    color: #333333;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-support__contact-card .page-support__card-title {
    font-size: 1.8em;
    color: #26A9E0;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-support__contact-card .page-support__card-text {
    font-size: 1em;
    color: #555555;
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-support__contact-card .page-support__card-info {
    font-size: 1.1em;
    font-weight: bold;
    color: #333333;
    margin-bottom: 20px;
}

/* FAQ Section */
.page-support__faq-list {
    margin-top: 40px;
}

.page-support__faq-item {
    background-color: #2a2a2a;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-support__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    background-color: #26A9E0;
    color: #ffffff;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.page-support__faq-question:hover {
    background-color: #1e87b7;
}

.page-support__faq-title {
    font-size: 1.2em;
    margin: 0;
    color: #ffffff;
}

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

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

.page-support__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    background-color: #3a3a3a;
    color: #f0f0f0;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

.page-support__faq-item.active .page-support__faq-answer {
    max-height: 1000px !important; /* Sufficiently large to show content */
    padding: 15px 25px;
}

.page-support__faq-answer .page-support__faq-text {
    margin-bottom: 10px;
    font-size: 1em;
    text-align: justify;
}

.page-support__faq-answer .page-support__faq-text:last-child {
    margin-bottom: 0;
}

/* Responsible Gambling Section */
.page-support__responsible-gambling .page-support__btn-primary {
    margin-top: 30px;
}

/* Call to Action Section */
.page-support__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

.page-support__inline-link {
    color: #26A9E0;
    text-decoration: none;
    font-weight: bold;
}

.page-support__inline-link:hover {
    text-decoration: underline;
    color: #1e87b7;
}

/* Responsive styles */
@media (max-width: 1024px) {
    .page-support__hero-title {
        font-size: 2.8em;
    }
    .page-support__hero-description {
        font-size: 1.1em;
    }
    .page-support__section-title {
        font-size: 2em;
    }
    .page-support__paragraph {
        font-size: 1em;
    }
}

@media (max-width: 768px) {
    .page-support__hero-section {
        height: 500px;
        padding-top: var(--header-offset, 120px) !important; /* Ensure mobile header offset */
    }
    .page-support__hero-title {
        font-size: 2.2em;
    }
    .page-support__hero-description {
        font-size: 1em;
    }
    .page-support__section-title {
        font-size: 1.8em;
    }
    .page-support__intro-section,
    .page-support__contact-methods,
    .page-support__faq-section,
    .page-support__responsible-gambling,
    .page-support__cta-section {
        padding: 60px 0;
    }
    .page-support__container {
        padding: 0 15px;
    }
    .page-support__image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-support__contact-grid {
        grid-template-columns: 1fr;
    }
    .page-support__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-support__btn-primary,
    .page-support__btn-secondary,
    .page-support__hero-button,
    .page-support a[class*="button"],
    .page-support a[class*="btn"] {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-support__cta-buttons,
    .page-support__button-group,
    .page-support__btn-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        flex-wrap: wrap !important;
        gap: 10px;
    }
    .page-support__faq-item {
        margin-left: 0;
        margin-right: 0;
    }
    .page-support__faq-question {
        padding: 15px 20px;
    }
    .page-support__faq-title {
        font-size: 1.1em;
    }
    .page-support__faq-answer {
        padding: 0 20px;
    }
    .page-support__faq-item.active .page-support__faq-answer {
        padding: 15px 20px;
    }
}

/* Ensure content area images are not too small */
.page-support__intro-section img,
.page-support__contact-methods img,
.page-support__faq-section img,
.page-support__responsible-gambling img {
    min-width: 200px; /* Minimum size requirement */
    min-height: 200px;
}

/* Contrast fixes for light sections */
.page-support__contact-methods .page-support__section-title,
.page-support__responsible-gambling .page-support__section-title {
    color: #333333; /* Dark text for light background */
}
.page-support__contact-methods .page-support__paragraph,
.page-support__responsible-gambling .page-support__paragraph {
    color: #555555; /* Slightly lighter dark text */
}
.page-support__contact-methods .page-support__inline-link,
.page-support__responsible-gambling .page-support__inline-link {
    color: #26A9E0; /* Brand color for links */
}

/* Ensure inline links in dark sections are visible */
.page-support__intro-section .page-support__inline-link,
.page-support__faq-section .page-support__inline-link,
.page-support__cta-section .page-support__inline-link {
    color: #ffffff; /* White for links on dark background */
    text-decoration: underline; /* Add underline for better visibility on dark */
}
.page-support__intro-section .page-support__inline-link:hover,
.page-support__faq-section .page-support__inline-link:hover,
.page-support__cta-section .page-support__inline-link:hover {
    color: #e0e0e0; /* Lighter white on hover */
}