/* style/contact.css */

/* Base styles for the contact page */
.page-contact {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Light text 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;
}

.page-contact__section-title {
    font-size: 2.5em;
    color: #FFD700; /* Gold color for titles */
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
}

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

/* Hero Section */
.page-contact__hero-section {
    position: relative;
    width: 100%;
    height: 600px; /* Fixed height for hero */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-size: cover;
    background-position: center;
    padding-top: var(--header-offset, 120px); /* Fixed header offset */
    overflow: hidden; /* Prevent background image overflow */
}

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

.page-contact__hero-content {
    position: relative;
    z-index: 2;
    color: #ffffff;
    max-width: 900px;
}

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

.page-contact__hero-description {
    font-size: 1.3em;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

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

/* Buttons */
.page-contact__btn-primary,
.page-contact__btn-secondary,
.page-contact__btn-tertiary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    cursor: pointer;
    text-align: center;
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text wrapping */
    box-sizing: border-box;
}

.page-contact__btn-primary {
    background-color: #0A2463;
    color: #ffffff;
    border: 2px solid #0A2463;
}

.page-contact__btn-primary:hover {
    background-color: #FFD700;
    color: #0A2463;
    border-color: #FFD700;
}

.page-contact__btn-secondary {
    background-color: transparent;
    color: #FFD700;
    border: 2px solid #FFD700;
}

.page-contact__btn-secondary:hover {
    background-color: #FFD700;
    color: #0A2463;
    border-color: #FFD700;
}

.page-contact__btn-tertiary {
    background-color: #FFD700;
    color: #0A2463;
    border: none;
    padding: 10px 20px;
    font-size: 0.9em;
}

.page-contact__btn-tertiary:hover {
    background-color: #e0b800;
}

/* Info Section */
.page-contact__info-section {
    padding: 80px 0;
    background-color: #0d0d0d; /* Slightly lighter dark background for contrast */
}

.page-contact__dark-bg {
    background-color: #0d0d0d;
    color: #ffffff;
}

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

.page-contact__method-card {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-contact__method-icon {
    width: 200px; /* Minimum size requirement 200x200 */
    height: 150px;
    object-fit: contain;
    margin-bottom: 20px;
    border-radius: 8px;
    min-width: 200px; /* Ensure minimum display size */
    min-height: 150px; /* Ensure minimum display size */
}

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

.page-contact__method-text {
    color: #f0f0f0;
    margin-bottom: 25px;
    flex-grow: 1; /* Pushes button to bottom */
}

/* Contact Form Section */
.page-contact__form-section {
    padding: 80px 0;
    background-color: #1a1a1a;
}

.page-contact__form-container {
    max-width: 700px;
}

.page-contact__contact-form {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 40px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

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

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

.page-contact__form-input,
.page-contact__form-textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 5px;
    background-color: rgba(0, 0, 0, 0.5);
    color: #ffffff;
    font-size: 1em;
    box-sizing: border-box;
}

.page-contact__form-input::placeholder,
.page-contact__form-textarea::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.page-contact__form-input:focus,
.page-contact__form-textarea:focus {
    border-color: #FFD700;
    outline: none;
}

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

.page-contact__form-submit-btn {
    width: auto;
    padding: 15px 40px;
    font-size: 1.1em;
    border-radius: 8px;
}

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

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

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

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

.page-contact__faq-question h3 {
    margin: 0;
    color: #FFD700;
    font-weight: normal;
}

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

.page-contact__faq-toggle {
    font-size: 1.5em;
    font-weight: bold;
    color: #FFD700;
    transition: transform 0.3s ease;
}

.page-contact__faq-item.active .page-contact__faq-toggle {
    transform: rotate(45deg); /* Plus to X for active */
}

.page-contact__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
    color: #f0f0f0;
}

.page-contact__faq-item.active .page-contact__faq-answer {
    max-height: 1000px !important; /* Ensure it expands sufficiently */
    padding: 15px 25px;
}

.page-contact__faq-answer p {
    margin-bottom: 0;
    color: #f0f0f0;
}

.page-contact__faq-answer a {
    color: #FFD700;
    text-decoration: underline;
}

.page-contact__faq-answer a:hover {
    color: #ffffff;
}

/* CTA Section */
.page-contact__cta-section {
    padding: 80px 0;
    background-color: #1a1a1a;
    text-align: center;
}

.page-contact__cta-content {
    max-width: 800px;
}

/* Responsive Styles */
@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;
    }
    .page-contact__method-title {
        font-size: 1.5em;
    }
}

@media (max-width: 768px) {
    .page-contact__hero-section {
        height: 500px;
        padding-top: var(--header-offset, 120px) !important; /* Ensure offset on mobile */
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    .page-contact__hero-title {
        font-size: 2.2em;
    }
    .page-contact__hero-description {
        font-size: 1em;
    }
    .page-contact__hero-cta {
        flex-direction: column;
        gap: 15px;
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
    .page-contact__btn-primary,
    .page-contact__btn-secondary,
    .page-contact__btn-tertiary {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding: 12px 20px !important; /* Adjust padding for mobile buttons */
    }

    .page-contact__contact-methods {
        grid-template-columns: 1fr;
    }

    .page-contact__container {
        padding-left: 15px !important; /* Adjust main container padding for mobile */
        padding-right: 15px !important;
    }

    /* Sections that should span full width */
    .page-contact__info-section,
    .page-contact__form-section,
    .page-contact__faq-section,
    .page-contact__cta-section {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    /* Elements within these sections that need horizontal padding */
    .page-contact__hero-content {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }

    .page-contact__info-section,
    .page-contact__form-section,
    .page-contact__faq-section,
    .page-contact__cta-section {
        padding-top: 60px;
        padding-bottom: 60px;
    }

    .page-contact__form-input,
    .page-contact__form-textarea {
        padding: 10px 12px;
    }

    .page-contact__contact-form {
        padding: 30px 15px !important; /* Adjust form padding */
    }

    .page-contact__faq-question {
        font-size: 1.1em;
        padding: 15px 20px !important;
    }
    .page-contact__faq-answer {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }

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

    .page-contact__section, 
    .page-contact__card, 
    .page-contact__hero-section, 
    .page-contact__info-section, 
    .page-contact__form-section, 
    .page-contact__faq-section, 
    .page-contact__cta-section, 
    .page-contact__contact-methods, 
    .page-contact__method-card, 
    .page-contact__contact-form, 
    .page-contact__faq-list, 
    .page-contact__faq-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important; /* Prevent horizontal scroll */
    }

    /* Ensure content area images are not too small */
    .page-contact__method-icon {
        min-width: 200px !important;
        min-height: 150px !important;
    }
    /* Ensure any other image in content area meets min-size */
    .page-contact img:not(.shared-header__logo, .shared-footer__social-icon, .shared-footer__payment-icon) {
        min-width: 200px !important;
        min-
    }
}

@media (max-width: 480px) {
    .page-contact__hero-section {
        height: 400px;
    }
    .page-contact__hero-title {
        font-size: 1.8em;
    }
    .page-contact__section-title {
        font-size: 1.8em;
    }
    .page-contact__method-title {
        font-size: 1.3em;
    }
    .page-contact__btn-primary,
    .page-contact__btn-secondary {
        font-size: 0.9em;
    }
}