/* style/support.css */

/* Base styles for the support page */
.page-support {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333333; /* Dark text for light body background */
    background-color: #FFFFFF; /* Ensure explicit white background for content area if body default is not white */
    padding-top: 0; /* Body handles padding-top: var(--header-offset) */
}

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

/* Hero Section */
.page-support__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column; /* Image above text */
    align-items: center;
    padding: 10px 0 60px 0; /* Small top padding, more bottom padding */
    background-color: #f0f8ff; /* Light background for hero */
    overflow: hidden; /* Ensure no overflow */
}

.page-support__hero-image {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    margin-bottom: 30px; /* Space between image and content */
}

.page-support__hero-content {
    max-width: 900px;
    text-align: center;
    padding: 0 20px;
}

.page-support__main-title {
    font-size: clamp(2em, 4vw, 3em); /* Responsive font size for H1 */
    color: #26A9E0;
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
}

.page-support__description {
    font-size: 1.1em;
    margin-bottom: 30px;
    color: #555555;
}

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

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

/* Contact Methods Section */
.page-support__contact-methods {
    padding: 60px 0;
    background-color: #f9f9f9; /* Light background */
}

.page-support__method-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    padding: 0 20px;
}

.page-support__method-card {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease;
}

.page-support__method-card:hover {
    transform: translateY(-10px);
}

.page-support__method-icon {
    width: 100%; /* Ensure images are responsive within card */
    max-width: 200px; /* Max width for icons */
    height: auto;
    margin-bottom: 20px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

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

.page-support__card-text {
    font-size: 1em;
    color: #666666;
    margin-bottom: 25px;
}

/* FAQ Section */
.page-support__faq-section {
    padding: 60px 0;
    background-color: #ffffff;
}

.page-support__faq-list {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-support__faq-item {
    background-color: #f0f8ff; /* Light blue background for FAQ item */
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    border: 1px solid #e0e0e0;
}

.page-support__faq-item summary {
    list-style: none; /* Hide default marker */
    cursor: pointer;
    padding: 20px 25px;
    background-color: #26A9E0; /* Primary color for summary background */
    color: #ffffff;
    font-weight: bold;
    font-size: 1.1em;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

.page-support__faq-item summary:hover {
    background-color: #1e87c0; /* Slightly darker blue on hover */
}

.page-support__faq-item summary::-webkit-details-marker {
    display: none; /* Hide marker for Webkit browsers */
}

.page-support__faq-qtext {
    flex-grow: 1;
}

.page-support__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    margin-left: 15px;
}

.page-support__faq-item[open] .page-support__faq-toggle {
    content: "−";
}

.page-support__faq-answer {
    padding: 20px 25px;
    background-color: #ffffff;
    color: #555555;
    font-size: 1em;
    border-top: 1px solid #e0e0e0;
}

.page-support__faq-answer p {
    margin-bottom: 15px;
}

.page-support__text-link {
    color: #26A9E0;
    text-decoration: underline;
    font-weight: bold;
    transition: color 0.3s ease;
}

.page-support__text-link:hover {
    color: #EA7C07; /* Login orange on hover for links */
}

/* Responsible Gaming Section */
.page-support__responsible-gaming-section {
    padding: 60px 0;
    background-color: #26A9E0; /* Brand primary color for dark section */
    color: #ffffff; /* White text for dark background */
    text-align: center;
}

.page-support__responsible-gaming-section .page-support__section-title,
.page-support__responsible-gaming-section .page-support__section-intro {
    color: #ffffff; /* Ensure white text */
}

/* Feedback Section */
.page-support__feedback-section {
    padding: 60px 0;
    background-color: #f9f9f9;
    text-align: center;
}

/* Buttons */
.page-support__cta-button {
    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;
    cursor: pointer;
    text-align: center;
    max-width: 100%; /* Ensure responsive */
    box-sizing: border-box; /* Include padding in width */
    white-space: normal; /* Allow text 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: #1e87c0;
    border-color: #1e87c0;
}

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

.page-support__btn-secondary:hover {
    background-color: #f0f8ff;
    color: #1e87c0;
    border-color: #1e87c0;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .page-support {
        font-size: 16px;
        line-height: 1.6;
    }

    .page-support__container,
    .page-support__hero-content,
    .page-support__method-grid,
    .page-support__faq-list {
        padding-left: 15px !important;
        padding-right: 15px !important;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-support__hero-section {
        padding: 10px 0 40px 0;
    }

    .page-support__main-title {
        font-size: clamp(1.8em, 7vw, 2.5em); /* Adjust H1 for mobile */
    }

    .page-support__description {
        font-size: 1em;
    }

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

    .page-support__section-intro {
        font-size: 1em;
    }

    .page-support__method-grid {
        grid-template-columns: 1fr; /* Stack cards on mobile */
    }

    .page-support__method-card {
        padding: 20px;
    }

    .page-support__faq-item summary {
        padding: 15px 20px;
        font-size: 1em;
    }

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

    /* Images responsiveness */
    .page-support img {
        max-width: 100% !important;
        width: 100% !important; /* Ensure images take full width of their container */
        height: auto !important;
        display: block !important;
    }

    /* Buttons responsiveness */
    .page-support__cta-button,
    .page-support__btn-primary,
    .page-support__btn-secondary,
    .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__hero-content .page-support__cta-button {
        padding-left: 30px;
        padding-right: 30px;
    }

    .page-support__method-card .page-support__btn-secondary {
        padding-left: 20px;
        padding-right: 20px;
    }
}