/* 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: transparent; /* Body background is handled by shared.css (#000000) */
}

/* Container for consistent spacing */
.page-support__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

/* Section titles */
.page-support__section-title {
    font-size: 2.5em;
    color: #26A9E0;
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
}

/* Main title (H1) */
.page-support__main-title {
    font-size: 3.5em;
    font-weight: bold;
    color: #ffffff;
    text-align: center;
    margin-bottom: 20px;
    line-height: 1.2;
}

/* Intro description */
.page-support__intro-description {
    font-size: 1.2em;
    color: #f0f0f0;
    text-align: center;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Buttons */
.page-support__btn-primary,
.page-support__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, border-color 0.3s ease;
    box-sizing: border-box;
    max-width: 100%; /* Ensure buttons are responsive */
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word; /* Break long words */
}

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

.page-support__btn-primary:hover {
    background-color: #1a7fb3;
    border-color: #1a7fb3;
}

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

.page-support__btn-secondary:hover {
    background-color: #26A9E0;
    color: #ffffff;
}

.page-support__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

/* Hero section */
.page-support__hero-section {
    position: relative;
    padding: 120px 0 80px; /* Adjusted padding to accommodate header offset */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    min-height: 600px; /* Minimum height for hero */
    padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
}

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

.page-support__hero-section .page-support__container {
    position: relative;
    z-index: 1;
}

/* Features section */
.page-support__features-section {
    padding: 80px 0;
}

.page-support__feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-support__feature-card {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    color: #333333; /* Dark text for light background */
    transition: transform 0.3s ease;
}

.page-support__feature-card:hover {
    transform: translateY(-5px);
}

.page-support__feature-title {
    font-size: 1.5em;
    color: #26A9E0;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-support__feature-text {
    font-size: 1em;
    color: #555555;
}

/* Common issues section */
.page-support__common-issues-section {
    padding: 80px 0;
}

.page-support__issue-category {
    margin-bottom: 40px;
    background-color: rgba(255, 255, 255, 0.05); /* Slightly visible on dark bg */
    padding: 30px;
    border-radius: 10px;
    color: #ffffff;
}

.page-support__issue-title {
    font-size: 1.8em;
    color: #26A9E0;
    margin-bottom: 20px;
    font-weight: bold;
}

.page-support__issue-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.page-support__issue-list li {
    font-size: 1.1em;
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
}

.page-support__issue-list li::before {
    content: '•';
    color: #26A9E0;
    font-size: 1.2em;
    position: absolute;
    left: 0;
    top: -2px;
}

/* Contact methods section */
.page-support__contact-methods-section {
    padding: 80px 0;
}

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

.page-support__contact-card {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    color: #333333; /* Dark text for light background */
}

.page-support__contact-icon {
    width: 100px;
    height: auto;
    margin-bottom: 20px;
    object-fit: contain;
    max-width: 100%;
    display: block;
    margin-left: auto;
    margin-right: auto;
    border-radius: 8px;
}

.page-support__contact-title {
    font-size: 1.6em;
    color: #26A9E0;
    margin-bottom: 10px;
    font-weight: bold;
}

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

/* FAQ section */
.page-support__faq-section {
    padding: 80px 0;
}

.page-support__faq-list {
    margin-top: 40px;
}

.page-support__faq-item {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    color: #ffffff;
}

.page-support__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    cursor: pointer;
    background-color: rgba(255, 255, 255, 0.1);
    transition: background-color 0.3s ease;
}

.page-support__faq-question:hover {
    background-color: rgba(255, 255, 255, 0.15);
}

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

.page-support__faq-toggle {
    font-size: 1.8em;
    color: #26A9E0;
    font-weight: bold;
    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 30px;
    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: 20px 30px;
}

.page-support__faq-answer p {
    margin: 0;
    color: #f0f0f0;
}

/* Responsible gambling section */
.page-support__responsible-gambling-section {
    padding: 80px 0;
    text-align: center;
}

.page-support__responsible-gambling-section .page-support__content-text {
    font-size: 1.1em;
    color: #555555;
    max-width: 800px;
    margin: 0 auto 30px;
}

.page-support__responsible-gambling-image {
    margin-top: 40px;
    width: 100%;
    height: auto;
    max-width: 800px; /* Constrain image size */
    border-radius: 10px;
    object-fit: cover;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* Final CTA section */
.page-support__cta-final-section {
    padding: 80px 0;
    text-align: center;
}

/* Background color classes for contrast */
.page-support__dark-bg {
    background-color: #000000; /* Body background is black */
    color: #ffffff;
}

.page-support__light-bg {
    background-color: #ffffff;
    color: #333333;
}

/* Ensure all links within content inherit color or have defined contrast */
.page-support a {
    color: #26A9E0;
    text-decoration: none;
}
.page-support a:hover {
    text-decoration: underline;
}

/* General content text for light background */
.page-support__content-text {
    color: #333333;
    font-size: 1.1em;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .page-support__main-title {
        font-size: 3em;
    }

    .page-support__section-title {
        font-size: 2em;
    }
}

@media (max-width: 768px) {
    .page-support__main-title {
        font-size: 2.5em;
    }

    .page-support__intro-description {
        font-size: 1em;
    }

    .page-support__section-title {
        font-size: 1.8em;
    }

    .page-support__hero-section {
        padding: 100px 0 60px;
        min-height: 500px;
        padding-top: var(--header-offset, 120px) !important; /* Ensure space for fixed header */
    }

    .page-support__cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .page-support__btn-primary,
    .page-support__btn-secondary {
        width: 100%;
        max-width: 300px !important; /* Constrain button width on mobile */
        padding: 12px 20px;
        font-size: 1em;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-support__feature-card,
    .page-support__contact-card,
    .page-support__issue-category,
    .page-support__faq-item {
        padding: 20px;
    }

    .page-support__feature-title,
    .page-support__issue-title,
    .page-support__contact-title,
    .page-support__faq-title {
        font-size: 1.3em;
    }

    .page-support__faq-question {
        padding: 15px 20px;
    }

    .page-support__faq-answer {
        padding: 0 20px;
    }

    .page-support__faq-item.active .page-support__faq-answer {
        padding: 15px 20px;
    }

    /* Mobile image responsiveness */
    .page-support img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    .page-support__section,
    .page-support__card,
    .page-support__container,
    .page-support__feature-card,
    .page-support__contact-card,
    .page-support__issue-category,
    .page-support__faq-item,
    .page-support__cta-buttons {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-support__hero-section .page-support__container {
        padding-left: 0;
        padding-right: 0;
    }
}