/* 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 backgrounds */
    background-color: var(--background-color, #ffffff); /* Inherit from shared or default to white */
}

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

/* Section common styles */
.page-contact__section-title {
    font-size: 2.5em;
    color: #26A9E0;
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
}

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

/* Dark background sections */
.page-contact__dark-section {
    background-color: #26A9E0;
    color: #ffffff;
    padding: 80px 0;
}

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

/* Light background sections */
.page-contact__light-bg {
    background-color: #ffffff;
    color: #333333;
}

/* Hero Section */
.page-contact__hero-section {
    padding-top: var(--header-offset, 120px); /* Ensure content is below header */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: left;
    min-height: 500px;
}

.page-contact__hero-section .page-contact__container {
    display: flex;
    align-items: center;
    gap: 40px;
}

.page-contact__hero-content {
    flex: 1;
}

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

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

.page-contact__hero-image-wrapper {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-contact__hero-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Contact Info Section */
.page-contact__info-section {
    padding: 80px 0;
    background-color: #f5f5f5;
}

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

.page-contact__method-card {
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-contact__method-icon {
    width: 200px; /* Min size requirement */
    height: 150px; /* Min size requirement */
    object-fit: contain;
    margin-bottom: 20px;
}

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

.page-contact__method-text {
    font-size: 1em;
    color: #555555;
    margin-bottom: 20px;
}

.page-contact__method-link {
    display: inline-block;
    color: #26A9E0;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: color 0.3s ease;
}

.page-contact__method-link:hover {
    color: #1a7bb5;
}

/* Form Section */
.page-contact__form-section {
    padding: 80px 0;
}

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

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

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

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

.page-contact__form-textarea {
    resize: vertical;
}

.page-contact__form-input::placeholder,
.page-contact__form-textarea::placeholder {
    color: #999;
}

.page-contact__form-submit-btn {
    width: 100%;
    padding: 15px 25px;
    font-size: 1.2em;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

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

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

.page-contact__faq-item {
    margin-bottom: 20px;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-contact__faq-item summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-weight: bold;
    font-size: 1.2em;
    cursor: pointer;
    background-color: #ffffff;
    color: #26A9E0;
    border-bottom: 1px solid #e0e0e0;
    list-style: none; /* Remove default marker */
}

.page-contact__faq-item summary::-webkit-details-marker {
    display: none; /* Remove default marker for Webkit */
}

.page-contact__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

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

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

.page-contact__faq-item[open] .page-contact__faq-toggle {
    transform: rotate(45deg);
}

.page-contact__faq-answer {
    padding: 20px 25px;
    background-color: #f9f9f9;
    color: #555555;
    font-size: 1em;
    border-top: 1px solid #e0e0e0;
}

/* Responsible Gambling Section */
.page-contact__responsible-gambling-section {
    padding: 80px 0;
    text-align: center;
}

.page-contact__responsible-gambling-section .page-contact__btn-secondary {
    margin-top: 30px;
}

/* Buttons */
.page-contact__btn-primary {
    display: inline-block;
    background-color: #EA7C07; /* Login/Action color */
    color: #ffffff;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
    border: none;
    cursor: pointer;
}

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

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

.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.1em;
    }
    .page-contact__section-title {
        font-size: 2em;
    }
}

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

    .page-contact__hero-section .page-contact__container {
        flex-direction: column;
        text-align: center;
    }

    .page-contact__hero-content,
    .page-contact__hero-image-wrapper {
        flex: none;
        width: 100%;
    }

    .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__contact-methods {
        grid-template-columns: 1fr;
    }

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

    .page-contact__contact-form {
        padding: 30px;
    }

    .page-contact__form-submit-btn {
        width: 100%;
    }

    .page-contact__faq-item summary {
        font-size: 1.1em;
        padding: 15px 20px;
    }

    /* Mobile specific image, video, button adaptations */
    .page-contact img {
      max-width: 100% !important;
      width: 100% !important;
      height: auto !important;
      display: block !important;
    }
    
    .page-contact__section,
    .page-contact__card,
    .page-contact__container,
    .page-contact__hero-image-wrapper,
    .page-contact__contact-form,
    .page-contact__faq-list {
      max-width: 100% !important;
      width: 100% !important;
      box-sizing: border-box !important;
      padding-left: 15px;
      padding-right: 15px;
    }

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

    .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__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;
    }
}