/* 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 */
}

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

.page-contact__dark-bg {
    background-color: #0a0a0a; /* Ensure dark background sections */
    color: #ffffff;
}

.page-contact__light-bg {
    background-color: #ffffff;
    color: #333333;
}

/* Hero Section */
.page-contact__hero-section {
    position: relative;
    padding: 120px 0 80px; /* Adjust padding-top to account for header offset */
    text-align: center;
    background-image: url('[GALLERY:contact_hero:1920x1080:customer_support,contact_us,online_betting_platform,professional,dynamic]');
    background-size: cover;
    background-position: center;
    color: #ffffff;
}

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

.page-contact__hero-description {
    font-size: 1.2em;
    max-width: 800px;
    margin: 0 auto 40px;
    color: #f0f0f0;
}

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

/* General Section Styling */
.page-contact__section-title {
    font-size: 2.5em;
    text-align: center;
    margin-bottom: 40px;
    padding-top: 60px;
    color: #26A9E0;
}

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

/* Grid for info cards */
.page-contact__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    padding-bottom: 60px;
}

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

.page-contact__card:hover {
    transform: translateY(-5px);
}

.page-contact__card-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

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

.page-contact__card-text {
    font-size: 1em;
    line-height: 1.7;
}

/* Contact Methods Section */
.page-contact__methods-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    padding-bottom: 60px;
}

.page-contact__method-card {
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

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

.page-contact__method-text {
    font-size: 1em;
    margin-bottom: 25px;
}

.page-contact__method-btn {
    display: inline-block;
    width: 100%;
}

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

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

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

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

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

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

.page-contact__form-submit-btn {
    width: auto;
    padding: 12px 30px;
    font-size: 1.1em;
    cursor: pointer;
}

/* FAQ Section */
.page-contact__faq-section {
    padding-bottom: 80px;
}

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

.page-contact__faq-item {
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

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

.page-contact__faq-question:hover {
    background-color: rgba(38, 169, 224, 0.4);
}

.page-contact__faq-title {
    margin: 0;
    color: #ffffff;
}

.page-contact__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    transition: transform 0.3s ease;
    color: #ffffff;
}

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

.page-contact__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    background-color: rgba(255, 255, 255, 0.05);
    color: #f0f0f0;
}

.page-contact__faq-item.active .page-contact__faq-answer {
    max-height: 1000px !important; /* Sufficiently large to show content */
    padding: 20px 25px;
}

.page-contact__faq-answer p {
    margin: 0;
    color: #f0f0f0; /* Ensure text color is light on dark background */
}

/* Commitment Section */
.page-contact__commitment-section {
    padding-bottom: 80px;
}

.page-contact__commitment-text {
    font-size: 1.1em;
    max-width: 900px;
    margin: 0 auto 40px;
    text-align: center;
    color: #333333;
}

.page-contact__cta-final {
    text-align: center;
}

/* Buttons */
.page-contact__btn-primary {
    display: inline-block;
    background-color: #26A9E0;
    color: #ffffff;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
    border: 2px solid transparent;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-contact__btn-primary:hover {
    background-color: #1a8cc4;
}

.page-contact__btn-secondary {
    display: inline-block;
    background-color: transparent;
    color: #26A9E0;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    border: 2px solid #26A9E0;
    transition: background-color 0.3s ease, color 0.3s ease;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-contact__btn-secondary:hover {
    background-color: #26A9E0;
    color: #ffffff;
}

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

@media (max-width: 768px) {
    .page-contact__hero-section {
        padding-top: var(--header-offset, 120px) !important;
        padding-bottom: 60px;
    }
    .page-contact__hero-title {
        font-size: 2.2em;
    }
    .page-contact__hero-description {
        font-size: 1em;
    }
    .page-contact__hero-cta {
        flex-direction: column;
        gap: 15px;
    }
    .page-contact__btn-primary,
    .page-contact__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        padding: 12px 15px !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
    .page-contact__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
        padding-top: 40px;
    }
    .page-contact__section-description {
        font-size: 0.95em;
        margin-bottom: 40px;
    }
    .page-contact__grid,
    .page-contact__methods-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding-bottom: 40px;
    }
    .page-contact__card,
    .page-contact__method-card {
        padding: 20px;
    }
    .page-contact__card-image {
        height: 200px;
    }
    .page-contact__card-title,
    .page-contact__method-title {
        font-size: 1.5em;
    }
    .page-contact__contact-form {
        padding: 25px;
    }
    .page-contact__form-input,
    .page-contact__form-textarea {
        padding: 10px;
    }
    .page-contact__faq-question {
        font-size: 1.1em;
        padding: 15px 20px;
    }
    .page-contact__faq-answer {
        padding: 15px 20px;
    }
    .page-contact__faq-item.active .page-contact__faq-answer {
        padding: 15px 20px !important;
    }
    .page-contact__commitment-text {
        font-size: 1em;
    }
    /* Ensure all images are responsive */
    .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 {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-contact__hero-section .page-contact__container {
        padding-left: 15px;
        padding-right: 15px;
    }
}

@media (max-width: 480px) {
    .page-contact__hero-title {
        font-size: 1.8em;
    }
    .page-contact__section-title {
        font-size: 1.5em;
    }
    .page-contact__card-title,
    .page-contact__method-title {
        font-size: 1.3em;
    }
    .page-contact__faq-question {
        font-size: 1em;
    }
}