/* style/contact.css */

/* Base styles for the contact page content */
.page-contact {
    color: #333333; /* Dark text for light background */
    font-family: Arial, sans-serif;
    line-height: 1.6;
    background-color: #FFFFFF; /* Matches body background */
    padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
}

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

/* Hero Section */
.page-contact__hero-section {
    position: relative;
    text-align: center;
    color: #FFFFFF; /* White text over dark/rich image */
    padding: 80px 20px 60px; /* Adjusted padding */
    overflow: hidden; /* Ensure image doesn't overflow */
}

.page-contact__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    filter: brightness(0.7); /* Darken image slightly for text readability, NO COLOR CHANGE */
    min-width: 200px; /* Enforce min image size */
    min-height: 200px; /* Enforce min image size */
}

.page-contact__hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
}

.page-contact__main-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    color: #FCBC45; /* Login button color for emphasis */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-contact__intro-description {
    font-size: 1.2em;
    margin-bottom: 40px;
    color: #F0F0F0;
}

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

.page-contact__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, transform 0.2s ease;
    min-width: 200px; /* Ensure buttons are not too small */
    text-align: center;
}

.page-contact__button--register {
    background-color: #FFFFFF; /* Register color */
    color: #000000;
    border: 2px solid #FFFFFF;
}

.page-contact__button--register:hover {
    background-color: #FCBC45;
    color: #000000;
    transform: translateY(-3px);
}

.page-contact__button--login {
    background-color: #FCBC45; /* Login color */
    color: #000000;
    border: 2px solid #FCBC45;
}

.page-contact__button--login:hover {
    background-color: #FFFFFF;
    color: #000000;
    transform: translateY(-3px);
}

/* Section Titles and Descriptions */
.page-contact__section-title {
    font-size: 2.5em;
    color: #000000;
    text-align: center;
    margin-bottom: 20px;
    padding-top: 60px;
}

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

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

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

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

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

.page-contact__method-icon {
    width: 100%; /* Ensure image fills card width */
    height: 250px; /* Fixed height for consistency */
    object-fit: cover;
    margin-bottom: 20px;
    border-radius: 5px;
    min-width: 200px; /* Enforce min image size */
    min-height: 200px; /* Enforce min image size */
}

.page-contact__method-title {
    font-size: 1.8em;
    color: #000000;
    margin-bottom: 15px;
}

.page-contact__method-text {
    color: #555555;
    margin-bottom: 25px;
}

.page-contact__button--chat,
.page-contact__button--email,
.page-contact__button--phone {
    background-color: #000000; /* Main color */
    color: #FFFFFF;
    border: 2px solid #000000;
}

.page-contact__button--chat:hover,
.page-contact__button--email:hover,
.page-contact__button--phone:hover {
    background-color: #FCBC45;
    border-color: #FCBC45;
    color: #000000;
}

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

.page-contact__faq-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 40px;
}

.page-contact__faq-item {
    background-color: #f8f8f8;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-contact__faq-question {
    font-size: 1.4em;
    color: #000000;
    margin-bottom: 10px;
    cursor: pointer;
    position: relative;
    padding-right: 30px;
}

.page-contact__faq-question::after {
    content: '+';
    position: absolute;
    right: 0;
    top: 0;
    font-size: 1.2em;
    transition: transform 0.3s ease;
}

.page-contact__faq-question.active::after {
    content: '-';
    transform: rotate(180deg);
}

.page-contact__faq-answer {
    color: #555555;
    font-size: 1em;
    display: none; /* Hidden by default */
    padding-top: 10px;
    border-top: 1px solid #eee;
    margin-top: 15px;
}

.page-contact__faq-answer a {
    color: #FCBC45; /* Link color */
    text-decoration: none;
    font-weight: bold;
}

.page-contact__faq-answer a:hover {
    text-decoration: underline;
}

/* Responsible Gambling Section */
.page-contact__responsible-gambling-promo {
    padding: 60px 0;
    background-color: #000000; /* Dark background */
    color: #FFFFFF; /* Light text */
}

.page-contact__responsible-gambling-promo .page-contact__section-title {
    color: #FCBC45; /* Highlight title */
}

.page-contact__responsible-gambling-promo .page-contact__section-description {
    color: #F0F0F0;
}

.page-contact__responsible-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
    margin-top: 40px;
}

.page-contact__responsible-image {
    flex: 1;
    min-width: 300px;
    max-width: 50%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(252, 188, 69, 0.3);
    min-height: 200px; /* Enforce min image size */
}

.page-contact__responsible-text {
    flex: 1;
    min-width: 300px;
    max-width: 50%;
}

.page-contact__responsible-subtitle {
    font-size: 1.8em;
    color: #FFFFFF;
    margin-top: 20px;
    margin-bottom: 15px;
}

.page-contact__responsible-paragraph {
    font-size: 1.1em;
    color: #E0E0E0;
    margin-bottom: 20px;
}

.page-contact__responsible-paragraph a {
    color: #FCBC45; /* Link color */
    text-decoration: none;
    font-weight: bold;
}

.page-contact__responsible-paragraph a:hover {
    text-decoration: underline;
}

/* Final Call to Action Section */
.page-contact__final-cta {
    padding: 80px 0;
    background-color: #f8f8f8;
    text-align: center;
}

.page-contact__final-cta .page-contact__section-title {
    color: #000000;
}

.page-contact__final-cta .page-contact__section-description {
    color: #555555;
    margin-bottom: 50px;
}

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

.page-contact__button--explore {
    background-color: #000000;
    color: #FFFFFF;
    border: 2px solid #000000;
}

.page-contact__button--explore:hover {
    background-color: #FCBC45;
    border-color: #FCBC45;
    color: #000000;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-contact__main-title {
        font-size: 2.8em;
    }

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

    .page-contact__responsible-image,
    .page-contact__responsible-text {
        max-width: 100%;
    }
}

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

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

    .page-contact__hero-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .page-contact__button {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }

    .page-contact__section-title {
        font-size: 1.8em;
        padding-top: 40px;
    }

    .page-contact__section-description {
        font-size: 0.95em;
        margin-bottom: 30px;
    }

    .page-contact__method-grid {
        grid-template-columns: 1fr;
    }

    .page-contact__method-card {
        padding: 25px;
    }

    .page-contact__method-icon {
        height: 200px; /* Adjust height for mobile */
    }

    .page-contact__responsible-content {
        flex-direction: column;
    }

    .page-contact__responsible-image {
        max-width: 100%;
    }

    /* Ensure content area images do not overflow */
    .page-contact img {
        max-width: 100%;
        height: auto;
    }
}

@media (max-width: 480px) {
    .page-contact__hero-section {
        padding: 60px 15px 40px;
    }
    .page-contact__main-title {
        font-size: 1.8em;
    }
    .page-contact__intro-description {
        font-size: 0.9em;
    }
    .page-contact__section-title {
        font-size: 1.5em;
    }
    .page-contact__faq-question {
        font-size: 1.2em;
    }
    .page-contact__faq-answer {
        font-size: 0.9em;
    }
    .page-contact__button {
        padding: 12px 20px;
        font-size: 1em;
    }
}