/* style/contact.css */

/* Base styles for the contact page */
.page-contact {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333333; /* Default text color for light background */
    background-color: #ffffff; /* Default body background is white */
}

/* Header offset for fixed header */
.page-contact__hero-section {
    padding-top: var(--header-offset, 120px); /* Apply header offset to the first main section */
    position: relative;
    overflow: hidden;
}

/* Hero Section */
.page-contact__hero-section {
    position: relative;
    color: #ffffff;
    text-align: center;
    padding: 80px 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 500px;
}

.page-contact__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    filter: brightness(0.6); /* Darken image slightly for text contrast, not changing color */
}

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

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

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

/* 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.5em;
    color: #26A9E0; /* Brand color for titles */
    text-align: center;
    margin-bottom: 20px;
}

.page-contact__section-description {
    font-size: 1.1em;
    text-align: center;
    margin-bottom: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    color: #333333;
}

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

.page-contact__commitment-section .page-contact__section-title {
    color: #26A9E0;
}

.page-contact__commitment-section .page-contact__section-description {
    color: #555555;
    text-align: left; /* Align description to left for readability in longer blocks */
    max-width: 100%;
}

/* Contact Methods Section */
.page-contact__methods-section {
    padding: 60px 0;
    background-color: #ffffff;
}

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

.page-contact__method-card {
    background: #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;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #333333;
}

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

.page-contact__method-icon {
    width: 200px; /* Larger icons as per requirement */
    height: 150px;
    object-fit: contain;
    margin-bottom: 20px;
    border-radius: 8px; /* Slightly rounded corners for icons */
}

.page-contact__card-title {
    font-size: 1.8em;
    color: #26A9E0;
    margin-bottom: 15px;
}

.page-contact__card-text {
    font-size: 1em;
    margin-bottom: 20px;
    flex-grow: 1; /* Allows text to take available space */
}

.page-contact__card-email,
.page-contact__card-phone {
    font-size: 1.1em;
    font-weight: bold;
    margin-bottom: 10px;
}

.page-contact__email-link,
.page-contact__phone-link {
    color: #26A9E0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-contact__email-link:hover,
.page-contact__phone-link:hover {
    color: #1a7bb0;
    text-decoration: underline;
}

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

.page-contact__social-text-link {
    display: inline-block;
    padding: 10px 20px;
    background-color: #26A9E0;
    color: #ffffff;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
    min-width: 100px; /* Ensure they are not too small */
    text-align: center;
    box-sizing: border-box;
}

.page-contact__social-text-link:hover {
    background-color: #1a7bb0;
}

/* FAQ Section */
.page-contact__faq-section {
    background-color: #26A9E0; /* Brand primary color background */
    color: #ffffff;
    padding: 60px 0;
}

.page-contact__faq-section .page-contact__section-title {
    color: #ffffff;
}

.page-contact__faq-section .page-contact__section-description {
    color: #f0f0f0;
}

.page-contact__faq-list {
    max-width: 900px;
    margin: 40px auto 0 auto;
}

.page-contact__faq-item {
    background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent white for contrast */
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    color: #ffffff; /* Text color for FAQ items */
}

.page-contact__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.2em;
    font-weight: bold;
    cursor: pointer;
    user-select: none;
    transition: background-color 0.3s ease;
}

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

.page-contact__faq-item[open] .page-contact__faq-question {
    background-color: rgba(255, 255, 255, 0.25);
}

.page-contact__faq-qtext {
    flex-grow: 1;
    text-align: left;
}

.page-contact__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    margin-left: 20px;
    min-width: 20px;
    text-align: center;
}

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

.page-contact__faq-answer {
    padding: 0 25px 20px 25px;
    font-size: 1em;
    line-height: 1.7;
    text-align: left;
    color: #f0f0f0;
}

/* Feedback Section */
.page-contact__feedback-section {
    padding: 60px 0;
    background-color: #f8f8f8;
}

.page-contact__feedback-form {
    max-width: 700px;
    margin: 40px auto 0 auto;
    background: #ffffff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    box-sizing: border-box;
}

.page-contact__form-group {
    margin-bottom: 20px;
}

.page-contact__form-label {
    display: block;
    font-size: 1.1em;
    margin-bottom: 8px;
    font-weight: bold;
    color: #333333;
}

.page-contact__form-input,
.page-contact__form-textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    font-size: 1em;
    box-sizing: border-box;
    color: #333333;
    background-color: #ffffff;
}

.page-contact__form-input:focus,
.page-contact__form-textarea:focus {
    border-color: #26A9E0;
    outline: none;
    box-shadow: 0 0 0 3px rgba(38, 169, 224, 0.2);
}

.page-contact__form-textarea {
    resize: vertical;
    min-height: 120px;
}

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

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

.page-contact__responsible-gambling-section .page-contact__section-description {
    color: #f0f0f0;
    text-align: left; /* Align description to left for readability in longer blocks */
    max-width: 100%;
    margin-bottom: 30px;
}

/* Buttons */
.page-contact__btn-primary {
    display: inline-block;
    background-color: #EA7C07; /* Login color */
    color: #ffffff;
    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;
    border: none;
    cursor: pointer;
    text-align: center;
    box-sizing: border-box; /* Ensure padding doesn't push width */
}

.page-contact__btn-primary:hover {
    background-color: #d16e06;
    transform: translateY(-2px);
}

.page-contact__btn-secondary {
    display: inline-block;
    background-color: #ffffff;
    color: #26A9E0;
    padding: 12px 25px;
    border: 2px solid #26A9E0;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1em;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
    cursor: pointer;
    text-align: center;
    box-sizing: border-box;
}

.page-contact__btn-secondary:hover {
    background-color: #26A9E0;
    color: #ffffff;
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-contact__hero-title {
        font-size: 2.8em;
    }
    .page-contact__hero-description {
        font-size: 1.2em;
    }
    .page-contact__section-title {
        font-size: 2em;
    }
    .page-contact__method-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-contact__hero-section {
        padding: 60px 15px;
        padding-top: var(--header-offset, 120px) !important; /* Mobile header offset */
        min-height: 400px;
    }
    .page-contact__hero-title {
        font-size: 2.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__method-grid {
        grid-template-columns: 1fr;
    }
    .page-contact__method-card {
        padding: 25px;
    }
    .page-contact__method-icon {
        width: 200px !important; /* Enforce min size 200px for content images */
        height: auto !important;
        min-width: 200px !important;
        min-height: 200px !important;
        object-fit: contain;
    }
    .page-contact__card-title {
        font-size: 1.5em;
    }
    .page-contact__card-text {
        font-size: 0.95em;
    }
    .page-contact__faq-question {
        font-size: 1.1em;
        padding: 15px 20px;
    }
    .page-contact__faq-answer {
        padding: 0 20px 15px 20px;
        font-size: 0.9em;
    }
    .page-contact__feedback-form {
        padding: 30px 20px;
    }
    .page-contact__form-label {
        font-size: 1em;
    }
    .page-contact__form-input,
    .page-contact__form-textarea {
        padding: 10px 12px;
        font-size: 0.95em;
    }

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

    /* Mobile button responsiveness */
    .page-contact__btn-primary,
    .page-contact__btn-secondary,
    .page-contact a[class*="button"],
    .page-contact 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-contact__hero-section .page-contact__btn-primary {
        max-width: 300px !important;
        width: 100% !important;
        margin-left: auto;
        margin-right: auto;
    }

    .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;
        flex-wrap: wrap !important;
        gap: 10px;
    }
    .page-contact__social-links {
        padding-left: 15px;
        padding-right: 15px;
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
    .page-contact__social-text-link {
        width: 100%;
        max-width: 250px;
    }

    /* General container padding for mobile */
    .page-contact__container {
        padding-left: 15px;
        padding-right: 15px;
    }

    /* Content area image size enforcement */
    /* Selectors that can select .page-contact down to img */
    .page-contact__method-card img,
    .page-contact__feedback-section img,
    .page-contact__responsible-gambling-section img {
      min-width: 200px !important; /* Enforce min size 200px for content images */
      min-height: 200px !important;
      width: 100% !important;
      height: auto !important;
      object-fit: contain; /* or cover, depending on desired effect */
    }
}

/* Dark background for sections where specified */
.page-contact__dark-bg {
    background-color: #26A9E0;
    color: #ffffff;
}
.page-contact__dark-bg .page-contact__section-title {
    color: #ffffff;
}