/* style/contact.css */
/* Base styles for the contact page */
.page-contact {
    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 */
}

/* Hero Section */
.page-contact__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 not hidden by fixed header */
}

.page-contact__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    min-width: 200px; /* Ensure image is not too small */
    min-height: 200px; /* Ensure image is not too small */
}

.page-contact__hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6); /* Dark overlay for text readability */
    z-index: 2;
}

.page-contact__hero-content {
    position: relative;
    z-index: 3;
    max-width: 800px;
    padding: 20px;
}

.page-contact__hero-title {
    font-size: 2.8em;
    color: #ffffff;
    margin-bottom: 20px;
    line-height: 1.2;
}

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

/* General Section Styling */
.page-contact__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    box-sizing: border-box;
}

.page-contact__section-title {
    font-size: 2.2em;
    color: #ffffff; /* Default for dark background */
    text-align: center;
    margin-bottom: 20px;
}

.page-contact__section-description {
    font-size: 1.1em;
    color: #f0f0f0; /* Default for dark background */
    text-align: center;
    max-width: 900px;
    margin: 0 auto 40px auto;
}

/* Methods Section */
.page-contact__methods-section {
    background-color: #0d0d0d; /* Slightly lighter dark background */
    padding: 60px 0;
}

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

.page-contact__method-card {
    background: rgba(255, 255, 255, 0.08); /* Semi-transparent white for cards on dark bg */
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    min-height: 350px; /* Ensure cards have similar height */
    color: #ffffff; /* Text on card */
}

.page-contact__method-icon {
    width: 200px; /* Adjusted to meet min 200x200 requirement */
    height: 200px; /* Adjusted to meet min 200x200 requirement */
    margin-bottom: 20px;
    object-fit: contain; /* Use contain to ensure the icon is fully visible */
    min-width: 200px; /* Ensure image is not too small */
    min-height: 200px; /* Ensure image is not too small */
}

.page-contact__method-title {
    font-size: 1.5em;
    color: #26A9E0; /* Brand color for titles */
    margin-bottom: 15px;
}

.page-contact__method-text {
    font-size: 1em;
    color: #f0f0f0;
    margin-bottom: 20px;
    flex-grow: 1; /* Allow text to take available space */
}

.page-contact__method-link,
.page-contact__social-icon {
    display: inline-block;
    background-color: #26A9E0;
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
    margin: 5px;
}

.page-contact__method-link:hover,
.page-contact__social-icon:hover {
    background-color: #1e87b7;
}

.page-contact__social-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 10px;
}


/* Commitment Section */
.page-contact__commitment-section {
    padding: 60px 0;
    background-color: #1a1a1a;
}

.page-contact__commitment-section .page-contact__dark-bg {
    background-color: #26A9E0; /* Use brand color for this section */
    color: #ffffff;
    border-radius: 10px;
    padding: 60px 40px;
}

.page-contact__commitment-section .page-contact__section-title,
.page-contact__commitment-section .page-contact__section-description {
    color: #ffffff;
}

.page-contact__commitment-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    margin-top: 40px;
}

.page-contact__commitment-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    flex: 1 1 calc(50% - 30px); /* Two columns on desktop */
    max-width: calc(50% - 30px);
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-contact__commitment-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    min-width: 200px; /* Ensure image is not too small */
    min-height: 200px; /* Ensure image is not too small */
}

.page-contact__commitment-heading {
    font-size: 1.8em;
    color: #ffffff;
    margin-bottom: 15px;
}

.page-contact__commitment-text {
    font-size: 1em;
    color: #f0f0f0;
}

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

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

.page-contact__faq-item {
    background: rgba(255, 255, 255, 0.08);
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    color: #ffffff; /* Text on FAQ item */
}

.page-contact__faq-item summary {
    list-style: none; /* Hide default marker */
}
.page-contact__faq-item summary::-webkit-details-marker {
    display: none; /* Hide default marker for webkit */
}

.page-contact__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.2em;
    font-weight: bold;
    color: #ffffff;
    cursor: pointer;
    background-color: rgba(255, 255, 255, 0.05);
    transition: background-color 0.3s ease;
}

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

.page-contact__faq-toggle {
    font-size: 1.5em;
    color: #26A9E0;
    margin-left: 15px;
}

.page-contact__faq-answer {
    padding: 15px 25px 20px 25px;
    font-size: 1em;
    color: #f0f0f0;
    line-height: 1.8;
}

.page-contact__faq-answer p {
    margin: 0;
}

.page-contact__faq-answer a {
    color: #26A9E0;
    text-decoration: none;
}

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

/* Responsible Gambling Section */
.page-contact__responsible-gambling-section {
    padding: 60px 0;
    background-color: #0d0d0d;
    text-align: center;
}

.page-contact__responsible-gambling-section .page-contact__section-title,
.page-contact__responsible-gambling-section .page-contact__section-description {
    color: #ffffff;
}

.page-contact__text-link {
    color: #26A9E0;
    text-decoration: underline;
}

.page-contact__text-link:hover {
    color: #1e87b7;
}

/* Call to Action Section */
.page-contact__cta-section {
    padding: 60px 0;
    background-color: #1a1a1a;
}

.page-contact__cta-section .page-contact__dark-bg {
    background-color: #26A9E0; /* Use brand color for this section */
    color: #ffffff;
    border-radius: 10px;
    padding: 60px 40px;
}

.page-contact__cta-section .page-contact__section-title,
.page-contact__cta-section .page-contact__section-description {
    color: #ffffff;
}

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

.page-contact__cta-button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    text-align: center;
    box-sizing: border-box;
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word; /* Allow long words to break */
    max-width: 100%; /* Ensure button doesn't overflow */
}

.page-contact__btn-primary {
    background-color: #ffffff; /* White background for primary CTA */
    color: #26A9E0; /* Brand color text */
    border: 2px solid #ffffff;
}

.page-contact__btn-primary:hover {
    background-color: transparent;
    color: #ffffff;
    border-color: #ffffff;
}

.page-contact__btn-secondary {
    background-color: #EA7C07; /* Login color for secondary CTA */
    color: #ffffff;
    border: 2px solid #EA7C07;
}

.page-contact__btn-secondary:hover {
    background-color: transparent;
    color: #EA7C07;
    border-color: #EA7C07;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-contact__hero-title {
        font-size: 2.4em;
    }
    .page-contact__section-title {
        font-size: 2em;
    }
    .page-contact__commitment-item {
        flex: 1 1 calc(100% - 30px); /* Single column on tablet */
        max-width: calc(100% - 30px);
    }
}

@media (max-width: 768px) {
    .page-contact {
        font-size: 16px;
        line-height: 1.6;
    }

    .page-contact__hero-section {
        height: 500px;
        padding-top: var(--header-offset, 120px) !important; /* Mobile header offset */
    }

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

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

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

    .page-contact__section-description {
        font-size: 0.95em;
    }

    .page-contact__methods-grid {
        grid-template-columns: 1fr; /* Single column for methods on mobile */
    }

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

    .page-contact__commitment-section .page-contact__dark-bg,
    .page-contact__cta-section .page-contact__dark-bg {
        padding: 40px 20px;
    }

    .page-contact__faq-question {
        font-size: 1.1em;
        padding: 18px 20px;
    }

    .page-contact__faq-answer {
        padding: 12px 20px 15px 20px;
        font-size: 0.95em;
    }

    .page-contact__cta-buttons {
        flex-direction: column; /* Stack buttons vertically on mobile */
        gap: 15px;
    }

    .page-contact__cta-button {
        width: 100% !important; /* Full width for buttons on mobile */
        max-width: 100% !important;
        padding: 12px 20px;
        font-size: 1em;
    }

    /* Mobile image and video responsive adaptation */
    .page-contact img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .page-contact video,
    .page-contact__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    .page-contact__section,
    .page-contact__card,
    .page-contact__container,
    .page-contact__video-section,
    .page-contact__video-container,
    .page-contact__video-wrapper,
    .page-contact__cta-buttons,
    .page-contact__button-group,
    .page-contact__btn-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important; /* Prevent horizontal scroll */
    }

    .page-contact__hero-section {
        padding-top: var(--header-offset, 120px) !important;
    }
}

/* Content area images CSS dimensions lower bound */
/* This ensures that no image within the main content area (selected by .page-contact img) will be displayed smaller than 200px. */
.page-contact img {
    min-width: 200px;
    min-height: 200px;
}

/* Color contrast enforcement (body background is #0a0a0a - dark) */
.page-contact {
    color: #ffffff; /* Light text for dark body background */
}

.page-contact__methods-section {
    background-color: #0d0d0d;
}

.page-contact__method-card {
    background: rgba(255, 255, 255, 0.08); /* Light background for cards */
    color: #ffffff;
}

.page-contact__method-title {
    color: #26A9E0; /* Brand color */
}

.page-contact__method-link,
.page-contact__social-icon {
    background-color: #26A9E0;
    color: #ffffff;
}

.page-contact__commitment-section {
    background-color: #1a1a1a;
}

.page-contact__commitment-section .page-contact__dark-bg {
    background-color: #26A9E0; /* Brand color background */
    color: #ffffff;
}

.page-contact__commitment-item {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

.page-contact__faq-section {
    background-color: #0a0a0a;
}

.page-contact__faq-item {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
}

.page-contact__faq-question {
    color: #ffffff;
    background-color: rgba(255, 255, 255, 0.05);
}

.page-contact__faq-toggle {
    color: #26A9E0;
}

.page-contact__faq-answer {
    color: #f0f0f0;
}

.page-contact__faq-answer a {
    color: #26A9E0;
}

.page-contact__responsible-gambling-section {
    background-color: #0d0d0d;
}

.page-contact__text-link {
    color: #26A9E0;
}

.page-contact__cta-section {
    background-color: #1a1a1a;
}

.page-contact__cta-section .page-contact__dark-bg {
    background-color: #26A9E0;
    color: #ffffff;
}

.page-contact__btn-primary {
    background-color: #ffffff;
    color: #26A9E0;
    border-color: #ffffff;
}

.page-contact__btn-secondary {
    background-color: #EA7C07; /* Login color */
    color: #ffffff;
    border-color: #EA7C07;
}