/* style/support.css */

/* Base styles for the support page content */
.page-support {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Light text for dark body background */
    background-color: transparent; /* Body background is handled by shared.css */
}

/* Hero Section */
.page-support__hero-section {
    position: relative;
    width: 100%;
    height: 600px; /* Adjust height as needed */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
}

.page-support__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    filter: brightness(0.5); /* Darken image for text readability */
}

.page-support__hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6); /* Further darken overlay */
    z-index: 0;
}

.page-support__hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    padding: 20px;
}

.page-support__hero-title {
    font-size: 3.5em;
    color: #FFD700; /* Auxiliary color for prominence */
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

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

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

/* General Section Styles */
.page-support__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.page-support__section-title {
    font-size: 2.5em;
    color: #FFD700; /* Auxiliary color for headings */
    text-align: center;
    margin-bottom: 20px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

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

/* Why Choose Us Section */
.page-support__why-choose-us-section {
    background-color: rgba(255, 255, 255, 0.05); /* Slightly lighter background for contrast */
    padding: 60px 0;
}

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

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

.page-support__feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-support__feature-title {
    font-size: 1.5em;
    color: #FFD700;
    margin-bottom: 15px;
}

.page-support__feature-text {
    color: #e0e0e0;
}

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

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

.page-support__issue-card {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-support__issue-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-support__issue-title {
    font-size: 1.4em;
    color: #FFD700;
    margin-bottom: 15px;
}

.page-support__issue-text {
    color: #e0e0e0;
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-support__btn-text-link {
    color: #B80000;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.page-support__btn-text-link:hover {
    color: #FFD700;
    text-decoration: underline;
}

/* Contact Methods Section */
.page-support__contact-methods-section {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 60px 0;
}

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

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

.page-support__contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-support__contact-title {
    font-size: 1.6em;
    color: #FFD700;
    margin-bottom: 15px;
}

.page-support__contact-text {
    color: #e0e0e0;
    margin-bottom: 25px;
}

.page-support__contact-image-wrapper {
    text-align: center;
    margin-top: 40px;
}

.page-support__contact-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    min-width: 200px; /* Min size for images */
    min-height: 200px;
}

/* Responsible Gambling Section */
.page-support__responsible-gambling-section {
    padding: 60px 0;
}

.page-support__responsible-gambling-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
}

.page-support__responsible-gambling-text {
    flex: 1;
    min-width: 300px;
}

.page-support__responsible-gambling-text p {
    color: #e0e0e0;
    margin-bottom: 20px;
}

.page-support__responsible-gambling-list {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.page-support__responsible-gambling-list li {
    background-color: rgba(255, 255, 255, 0.08);
    margin-bottom: 10px;
    padding: 15px;
    border-left: 4px solid #B80000;
    border-radius: 5px;
    color: #f0f0f0;
    font-size: 1.05em;
}

.page-support__responsible-gambling-list li strong {
    color: #FFD700;
}

.page-support__responsible-gambling-image-wrapper {
    flex: 1;
    min-width: 300px;
    text-align: center;
}

.page-support__responsible-gambling-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    min-width: 200px; /* Min size for images */
    min-height: 200px;
}

/* FAQ Section */
.page-support__faq-section {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 60px 0;
}

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

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

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

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

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

.page-support__faq-toggle {
    font-size: 1.8em;
    color: #FFD700;
    font-weight: bold;
    transition: transform 0.3s ease;
}

.page-support__faq-item.active .page-support__faq-toggle {
    transform: rotate(45deg); /* Plus sign rotates to a cross */
}

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

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

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

.page-support__faq-cta {
    text-align: center;
    margin-top: 40px;
}

.page-support__faq-cta p {
    font-size: 1.1em;
    color: #f0f0f0;
    margin-bottom: 20px;
}

.page-support__faq-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    margin-top: 40px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    min-width: 200px; /* Min size for images */
    min-height: 200px;
}

/* Call to Action Section */
.page-support__call-to-action-section {
    padding: 60px 0;
    text-align: center;
    background-color: #B80000; /* Main brand color as background */
    color: #ffffff; /* White text for contrast */
}

.page-support__call-to-action-section .page-support__section-title {
    color: #FFD700; /* Auxiliary color for CTA title */
}

.page-support__call-to-action-section .page-support__section-intro {
    color: #f0f0f0;
}

.page-support__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 30px;
}

/* Buttons */
.page-support__btn-primary,
.page-support__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 5px;
    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;
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word; /* Allow long words to break */
}

.page-support__btn-primary {
    background-color: #FFD700; /* Auxiliary color for primary action */
    color: #B80000; /* Main color for text for contrast */
    border: 2px solid #FFD700;
}

.page-support__btn-primary:hover {
    background-color: #FFC107; /* Slightly darker gold on hover */
    border-color: #FFC107;
}

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

.page-support__btn-secondary:hover {
    background-color: #FFD700;
    color: #B80000;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-support__hero-title {
        font-size: 3em;
    }
    .page-support__section-title {
        font-size: 2em;
    }
    .page-support__features-grid,
    .page-support__issues-grid,
    .page-support__contact-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-support__hero-section {
        height: 500px;
        padding-top: var(--header-offset, 120px) !important; /* Ensure content is below fixed header on mobile */
    }
    .page-support__hero-title {
        font-size: 2.2em;
    }
    .page-support__hero-description {
        font-size: 1em;
    }
    .page-support__hero-buttons,
    .page-support__cta-buttons {
        flex-direction: column;
        gap: 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding: 0 15px; /* Add padding to prevent buttons from touching edges */
    }
    .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;
    }

    .page-support__container {
        padding: 30px 15px;
    }

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

    .page-support__features-grid,
    .page-support__issues-grid,
    .page-support__contact-grid {
        grid-template-columns: 1fr;
    }

    .page-support__feature-card,
    .page-support__issue-card,
    .page-support__contact-card {
        padding: 25px;
    }

    .page-support__responsible-gambling-content {
        flex-direction: column;
    }

    .page-support__faq-question {
        padding: 15px 20px;
    }
    .page-support__faq-title {
        font-size: 1.1em;
    }
    .page-support__faq-answer {
        padding: 15px 20px;
    }

    /* Mobile image responsiveness */
    .page-support img {
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    /* All containers that hold images or content */
    .page-support__section,
    .page-support__card,
    .page-support__container,
    .page-support__hero-section,
    .page-support__why-choose-us-section,
    .page-support__common-issues-section,
    .page-support__contact-methods-section,
    .page-support__responsible-gambling-section,
    .page-support__faq-section,
    .page-support__call-to-action-section,
    .page-support__contact-image-wrapper,
    .page-support__responsible-gambling-image-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        /* Add horizontal padding to main content containers */
        padding-left: 15px;
        padding-right: 15px;
    }
    /* Reset padding for specific inner containers if they already have it */
    .page-support__container {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
}