/* style/contact.css */

/* --- General Page Styles --- */
.page-contact {
    color: #ffffff; /* Light text for dark body background #0a0a0a */
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    background-color: #0a0a0a; /* Ensure consistency with body background */
}

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

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

.page-contact__section-description {
    font-size: 1.1rem;
    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;
    padding-top: var(--header-offset, 120px); /* Fixed header spacing */
    padding-bottom: 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden; /* Prevent image overflow */
    background-color: #000080; /* Dark blue background for hero */
}

.page-contact__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    opacity: 0.3; /* Subtle background image */
}

.page-contact__hero-section .page-contact__container {
    position: relative;
    z-index: 1;
    padding-top: 50px;
    padding-bottom: 50px;
}

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

.page-contact__hero-description {
    font-size: 1.2rem;
    color: #f0f0f0;
    margin-bottom: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-contact__cta-button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: bold;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    max-width: 100%; /* Ensure responsiveness */
    box-sizing: border-box; /* Include padding in width */
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Break long words */
}

.page-contact__btn-primary {
    background-color: #FFD700; /* Gold button */
    color: #000080; /* Dark blue text for contrast */
    border: none;
}

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

.page-contact__btn-secondary {
    background-color: #000080; /* Dark blue button */
    color: #FFD700; /* Gold text for contrast */
    border: 2px solid #FFD700;
}

.page-contact__btn-secondary:hover {
    background-color: #FFD700;
    color: #000080;
    transform: translateY(-3px);
}

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

.page-contact__methods-grid {
    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); /* Slightly transparent white */
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, background-color 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-contact__method-card:hover {
    transform: translateY(-8px);
    background-color: rgba(255, 255, 255, 0.1);
}

.page-contact__method-icon {
    width: 100%; /* Ensure full width within card */
    max-width: 200px; /* Max size for the icon itself */
    height: auto;
    margin-bottom: 20px;
    object-fit: contain;
    border-radius: 8px; /* Slightly rounded corners for images */
}

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

.page-contact__method-text {
    font-size: 1rem;
    color: #e0e0e0;
    margin-bottom: 25px;
}

.page-contact__method-button {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: bold;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.3s ease;
    max-width: 100%; /* Ensure responsiveness */
    box-sizing: border-box; /* Include padding in width */
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Break long words */
}

/* --- Contact Form Section --- */
.page-contact__form-section {
    padding: 80px 0;
    background-color: #f8f8f8; /* Light background for form */
    color: #333333; /* Dark text for light background */
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-contact__form-section .page-contact__section-title,
.page-contact__form-section .page-contact__section-description {
    color: #000080; /* Dark blue for titles/descriptions on light background */
}

.page-contact__contact-form {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    max-width: 700px;
    width: 100%;
    margin-top: 40px;
    margin-bottom: 40px;
    box-sizing: border-box;
}

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

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

.page-contact__form-input,
.page-contact__form-textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #cccccc;
    border-radius: 8px;
    font-size: 1rem;
    color: #333333;
    background-color: #f9f9f9;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    box-sizing: border-box;
}

.page-contact__form-input:focus,
.page-contact__form-textarea:focus {
    border-color: #FFD700;
    box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.2);
    outline: none;
}

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

.page-contact__form-submit-button {
    width: 100%;
    padding: 15px 20px;
    background-color: #FFD700;
    color: #000080;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
    max-width: 100%; /* Ensure responsiveness */
    box-sizing: border-box; /* Include padding in width */
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Break long words */
    text-decoration: none;
    display: inline-block;
}

.page-contact__form-submit-button:hover {
    background-color: #e0b800;
    transform: translateY(-3px);
}

.page-contact__form-image {
    max-width: 600px;
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 12px;
    margin-top: 40px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

/* --- Info Section (Hours & Social) --- */
.page-contact__info-section {
    padding: 80px 0;
    background-color: #000080; /* Dark blue background */
}

.page-contact__info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    align-items: flex-start;
}

.page-contact__hours-box,
.page-contact__social-box {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-contact__info-title {
    font-size: 1.8rem;
    color: #FFD700;
    margin-bottom: 15px;
    font-weight: 600;
}

.page-contact__info-text {
    font-size: 1rem;
    color: #e0e0e0;
    margin-bottom: 20px;
}

.page-contact__hours-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.page-contact__hours-list li {
    font-size: 1.1rem;
    color: #ffffff;
    margin-bottom: 10px;
}

.page-contact__social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
    flex-wrap: wrap; /* Allow wrapping on small screens */
}

.page-contact__social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background-color: #FFD700;
    color: #000080;
    border-radius: 50%;
    font-size: 1.2rem;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.3s ease;
    font-weight: bold;
}

.page-contact__social-icon:hover {
    background-color: #e0b800;
    transform: translateY(-3px);
}

.page-contact__social-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 12px;
    margin-top: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

/* --- Location Section --- */
.page-contact__location-section {
    padding: 80px 0;
    background-color: #f8f8f8; /* Light background */
    color: #333333; /* Dark text */
    text-align: center;
}

.page-contact__location-section .page-contact__section-title,
.page-contact__location-section .page-contact__section-description {
    color: #000080; /* Dark blue for titles/descriptions on light background */
}

.page-contact__address-text {
    font-size: 1.1rem;
    color: #555555;
    margin-top: 30px;
    margin-bottom: 40px;
    line-height: 1.8;
}

.page-contact__location-map {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

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

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

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

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

.page-contact__faq-question:hover {
    background-color: rgba(255, 215, 0, 0.1); /* Gold tint on hover */
}

.page-contact__faq-title {
    font-size: 1.25rem;
    color: #FFD700;
    margin: 0;
    font-weight: 600;
}

.page-contact__faq-toggle {
    font-size: 1.8rem;
    color: #FFD700;
    font-weight: bold;
    line-height: 1;
    transition: transform 0.3s ease;
}

.page-contact__faq-item.active .page-contact__faq-toggle {
    transform: rotate(45deg); /* Plus sign rotates to form an X or minus */
}

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

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

.page-contact__faq-text {
    font-size: 1rem;
    color: #e0e0e0;
    margin-top: 0;
    margin-bottom: 0;
}

.page-contact__link {
    color: #FFD700;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.page-contact__link:hover {
    color: #e0b800;
}

/* --- Mobile Responsiveness --- */
@media (max-width: 1024px) {
    .page-contact__hero-title {
        font-size: 3rem;
    }
    .page-contact__hero-description {
        font-size: 1.1rem;
    }
    .page-contact__section-title {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .page-contact__hero-section {
        padding-bottom: 60px;
    }
    .page-contact__hero-title {
        font-size: 2.5rem;
    }
    .page-contact__hero-description {
        font-size: 1rem;
    }
    .page-contact__cta-button {
        font-size: 1rem;
        padding: 12px 25px;
    }

    .page-contact__methods-section,
    .page-contact__form-section,
    .page-contact__info-section,
    .page-contact__location-section,
    .page-contact__faq-section {
        padding: 60px 0;
    }

    .page-contact__section-title {
        font-size: 1.8rem;
        margin-bottom: 15px;
    }

    .page-contact__section-description {
        font-size: 0.95rem;
        margin-bottom: 30px;
    }

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

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

    .page-contact__method-title {
        font-size: 1.5rem;
    }

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

    .page-contact__form-label {
        font-size: 1rem;
    }

    .page-contact__form-input,
    .page-contact__form-textarea {
        padding: 10px 12px;
        font-size: 0.95rem;
    }

    .page-contact__form-submit-button {
        font-size: 1rem;
        padding: 12px 20px;
    }

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

    .page-contact__info-title {
        font-size: 1.5rem;
    }

    .page-contact__info-text,
    .page-contact__hours-list li,
    .page-contact__address-text {
        font-size: 0.95rem;
    }

    .page-contact__social-icon {
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }

    .page-contact__faq-question {
        padding: 15px 20px;
    }

    .page-contact__faq-title {
        font-size: 1.1rem;
    }

    .page-contact__faq-toggle {
        font-size: 1.5rem;
    }

    .page-contact__faq-answer {
        padding: 0 20px;
    }

    .page-contact__faq-item.active .page-contact__faq-answer {
        padding: 15px 20px;
    }

    .page-contact__faq-text {
        font-size: 0.9rem;
    }

    /* --- Mobile Responsive Image/Video/Button Requirements (Mandatory) --- */
    .page-contact img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    .page-contact video,
    .page-contact__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    .page-contact__section,
    .page-contact__card,
    .page-contact__container,
    .page-contact__video-section,
    .page-contact__video-container,
    .page-contact__video-wrapper,
    .page-contact__cta-buttons,
    .page-contact__button-group,
    .page-contact__btn-container,
    .page-contact__methods-section,
    .page-contact__form-section,
    .page-contact__info-section,
    .page-contact__location-section,
    .page-contact__faq-section {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px; /* Add padding to prevent content touching edges */
        padding-right: 15px; /* Add padding to prevent content touching edges */
        overflow-x: hidden !important; /* Prevent horizontal scroll */
    }

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

    /* Buttons specific mobile styles */
    .page-contact__cta-button,
    .page-contact__btn-primary,
    .page-contact__btn-secondary,
    .page-contact a[class*="button"],
    .page-contact a[class*="btn"],
    .page-contact__form-submit-button,
    .page-contact__method-button {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .page-contact__social-links {
        flex-direction: column; /* Stack social icons vertically */
        align-items: center;
    }
    .page-contact__social-icon {
        width: 100% !important; /* Full width for stacked icons */
        max-width: 200px !important; /* Limit max width for stacked icons */
    }
}