/* style/contact.css */

/* Base styling for the contact page */
.page-contact {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333333; /* Dark text for light body background */
    background-color: #FFFFFF; /* Page background, matching body */
    padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
}

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

/* Hero Section */
.page-contact__hero-section {
    position: relative;
    overflow: hidden;
    color: #FFFFFF; /* Light text for hero content */
    padding: 80px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 500px; /* Minimum height for hero section */
}

.page-contact__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Cover the entire hero section */
    z-index: 1;
}

.page-contact__hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 20px;
    background: rgba(0, 0, 0, 0.6); /* Semi-transparent dark overlay for readability */
    border-radius: 10px;
}

.page-contact__hero-title {
    font-size: 3em;
    margin-bottom: 20px;
    color: #FFFFFF;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

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

.page-contact__hero-cta-button {
    display: inline-block;
    background-color: #FCBC45; /* Login color for CTA */
    color: #000000; /* Dark text for login button */
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease;
}

.page-contact__hero-cta-button:hover {
    background-color: #E0A030;
}

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

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

/* Contact Methods Cards */
.page-contact__contact-methods {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    margin-bottom: 60px;
}

.page-contact__method-card {
    background-color: #F8F8F8;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 30px;
    flex: 1 1 calc(33% - 40px); /* Three cards per row on desktop */
    max-width: calc(33% - 40px);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-contact__method-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

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

.page-contact__method-icon {
    width: 250px; /* Minimum 200px, using 250px for better visual */
    height: 187px; /* Maintain aspect ratio for 800x600 -> 4:3 */
    object-fit: cover;
    margin: 0 auto 20px;
    border-radius: 8px;
    display: block;
}

.page-contact__method-description {
    font-size: 1em;
    color: #666666;
    margin-bottom: 25px;
    flex-grow: 1;
}

.page-contact__method-button {
    display: inline-block;
    background-color: #000000; /* Primary color for buttons */
    color: #FFFFFF; /* Light text for dark button */
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
    margin-top: auto;
}

.page-contact__method-button:hover {
    background-color: #333333;
}

/* Feedback Section */
.page-contact__feedback-section,
.page-contact__responsible-gaming,
.page-contact__join-us-cta {
    padding: 60px 0;
    text-align: center;
    background-color: #F0F0F0; /* Light grey background for emphasis */
    margin-top: 40px;
}

.page-contact__feedback-section:nth-of-type(even),
.page-contact__responsible-gaming:nth-of-type(even),
.page-contact__join-us-cta:nth-of-type(even) {
    background-color: #FFFFFF; /* Alternate background for sections */
}


.page-contact__feedback-button,
.page-contact__responsible-gaming-button,
.page-contact__join-us-button {
    display: inline-block;
    background-color: #000000;
    color: #FFFFFF;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    margin-top: 30px;
    transition: background-color 0.3s ease;
}

.page-contact__feedback-button:hover,
.page-contact__responsible-gaming-button:hover,
.page-contact__join-us-button:hover {
    background-color: #333333;
}

.page-contact__feedback-note,
.page-contact__responsible-gaming-note,
.page-contact__join-us-note {
    font-size: 0.9em;
    color: #777777;
    margin-top: 20px;
}

.page-contact__responsible-gaming-link {
    color: #FCBC45; /* Highlight responsible gaming link */
    text-decoration: underline;
    font-weight: bold;
}

.page-contact__responsible-gaming-link:hover {
    color: #E0A030;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-contact__method-card {
        flex: 1 1 calc(50% - 20px); /* Two cards per row */
        max-width: calc(50% - 20px);
    }

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

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

@media (max-width: 768px) {
    .page-contact {
        padding-top: var(--header-offset, 120px); /* Ensure mobile content is below header */
    }

    .page-contact__hero-section {
        padding: 60px 0;
        min-height: 400px;
    }

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

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

    .page-contact__hero-cta-button {
        padding: 12px 25px;
        font-size: 1em;
    }

    .page-contact__method-card {
        flex: 1 1 100%; /* One card per row */
        max-width: 100%;
    }

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

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

    /* Mobile content area image constraint */
    .page-contact img {
        max-width: 100%;
        height: auto;
    }
}

@media (max-width: 480px) {
    .page-contact__hero-section {
        padding: 40px 0;
        min-height: 300px;
    }

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

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

    .page-contact__hero-cta-button {
        padding: 12px 25px;
        font-size: 1em;
    }

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