/* style/contact.css */

/* --- General Page Styles --- */
.page-contact {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333333; /* Default text color for light background */
    background-color: #f8f8f8; /* Light background for the page content */
}

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

.page-contact__dark-section {
    background-color: #000000; /* Auxiliary color */
    color: #ffffff; /* White text for dark background */
}

.page-contact__light-bg {
    background-color: #ffffff; /* White background */
    color: #333333; /* Dark text for light background */
}

.page-contact__section-title {
    font-size: 2.5em;
    color: #FFD700; /* Gold main color for titles */
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.page-contact__dark-section .page-contact__section-title {
    color: #FFD700;
}

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

.page-contact__dark-section .page-contact__section-description {
    color: #cccccc;
}

/* --- Hero Section --- */
.page-contact__hero-section {
    position: relative;
    padding: 100px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-color: #000000; /* Dark background */
    color: #ffffff;
    min-height: 500px;
    padding-top: var(--header-offset, 120px); /* Fixed header offset */
    overflow: hidden; /* Ensure no overflow */
}

.page-contact__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.page-contact__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3; /* Subtle background image */
    filter: brightness(0.7); /* Darken image to ensure text contrast */
}

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

.page-contact__hero-title {
    font-size: 3.5em;
    color: #FFD700;
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

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

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

/* --- 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: all 0.3s ease;
    cursor: pointer;
    text-align: center;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
    max-width: 100%; /* Ensure responsiveness */
}

.page-contact__btn-primary {
    background-color: #FFD700; /* Gold */
    color: #000000; /* Black text for gold background */
    border: 2px solid #FFD700;
}

.page-contact__btn-primary:hover {
    background-color: #e6c200;
    border-color: #e6c200;
}

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

.page-contact__btn-secondary:hover {
    background-color: #FFD700;
    color: #000000;
}

.page-contact__btn-tertiary {
    background-color: #333333;
    color: #FFD700;
    border: 1px solid #555555;
    padding: 10px 20px;
    font-size: 0.9em;
}

.page-contact__btn-tertiary:hover {
    background-color: #FFD700;
    color: #000000;
    border-color: #FFD700;
}

.page-contact__btn-large {
    padding: 18px 40px;
    font-size: 1.2em;
}

/* --- Contact Methods Section --- */
.page-contact__methods-section {
    padding: 80px 20px;
    text-align: center;
    background-color: #000000;
    color: #ffffff;
}

.page-contact__methods-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1100px;
    margin: 40px auto 0 auto;
}

.page-contact__method-card {
    background-color: rgba(255, 255, 255, 0.05); /* Slightly transparent white for cards */
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255, 215, 0, 0.3);
}

.page-contact__method-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.2);
}

.page-contact__method-icon {
    width: 200px; /* Display at 200px */
    height: 200px; /* Display at 200px */
    margin-bottom: 20px;
    object-fit: contain;
    filter: brightness(1.2);
    min-width: 200px; /* Enforce minimum size */
    min-height: 200px;
}

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

.page-contact__method-text {
    color: #cccccc;
    margin-bottom: 25px;
}

/* --- Contact Form Section --- */
.page-contact__form-section {
    padding: 80px 20px;
    background-color: #f8f8f8;
    color: #333333;
}

.page-contact__contact-form {
    max-width: 700px;
    margin: 40px auto 0 auto;
    background-color: #ffffff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    border: 1px solid #e0e0e0;
}

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

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

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

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

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

.page-contact__contact-form .page-contact__btn-primary {
    width: 100%;
    padding: 18px;
    font-size: 1.1em;
    margin-top: 20px;
}

/* --- FAQ Section --- */
.page-contact__faq-section {
    padding: 80px 20px;
    background-color: #f8f8f8;
    color: #333333;
}

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

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

.page-contact__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    background-color: #f0f0f0;
    transition: background-color 0.3s ease;
}

.page-contact__faq-question:hover {
    background-color: #e5e5e5;
}

.page-contact__faq-question h3 {
    margin: 0;
    font-size: 1.2em;
    color: #000000;
    font-weight: bold;
}

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

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

.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: #555555;
}

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

.page-contact__faq-answer p {
    margin-bottom: 10px;
    font-size: 1em;
}

.page-contact__faq-answer p:last-child {
    margin-bottom: 0;
}

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

.page-contact__faq-answer a:hover {
    text-decoration: underline;
}

/* --- Call to Action Section --- */
.page-contact__cta-section {
    padding: 80px 20px;
    text-align: center;
    background-color: #000000;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

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

.page-contact__cta-title {
    font-size: 2.8em;
    color: #FFD700;
    margin-bottom: 20px;
    font-weight: bold;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.4);
}

.page-contact__cta-description {
    font-size: 1.2em;
    color: #cccccc;
    margin-bottom: 30px;
}

.page-contact__cta-image-wrapper {
    max-width: 600px; /* Constrain image width */
    margin-top: 20px;
}

.page-contact__cta-image {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.2);
    object-fit: cover;
}


/* --- Responsive Design --- */
/* Desktop and Tablet */
@media (min-width: 769px) {
    .page-contact__hero-section {
        flex-direction: row;
        text-align: left;
        padding-left: 40px;
        padding-right: 40px;
    }

    .page-contact__hero-content {
        text-align: left;
        margin: 0;
        padding-right: 40px;
    }

    .page-contact__hero-image-wrapper {
        position: relative;
        width: 50%;
        height: auto;
        opacity: 1;
        filter: none;
    }

    .page-contact__hero-image {
        position: relative;
        width: 100%;
        height: auto;
        opacity: 1;
        object-fit: contain;
    }
}


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

    .page-contact__hero-section {
        flex-direction: column;
        padding: 80px 15px 40px 15px;
        text-align: center;
        padding-top: var(--header-offset, 120px) !important;
    }

    .page-contact__hero-title {
        font-size: 2.2em;
        margin-bottom: 15px;
    }

    .page-contact__hero-description {
        font-size: 1em;
        margin-bottom: 30px;
    }

    .page-contact__hero-cta {
        flex-direction: column;
        gap: 15px;
    }

    .page-contact__btn-primary,
    .page-contact__btn-secondary,
    .page-contact__btn-tertiary {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 20px !important;
        font-size: 1em !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-contact__section,
    .page-contact__dark-section,
    .page-contact__light-bg,
    .page-contact__form-section,
    .page-contact__faq-section,
    .page-contact__cta-section {
        padding: 40px 15px !important;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

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

    .page-contact__section-description {
        font-size: 0.9em;
        margin-bottom: 30px;
    }

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

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

    .page-contact__method-icon {
        width: 100% !important; /* Take full width of card */
        height: auto !important; /* Maintain aspect ratio */
        min-width: 200px !important; /* Still adhere to minimum size if possible */
        min-height: 200px !important;
        max-width: 200px !important; /* But don't grow beyond 200px if card is wider */
        margin-left: auto;
        margin-right: auto;
    }

    .page-contact__method-title {
        font-size: 1.3em;
    }

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

    .page-contact__form-label {
        font-size: 0.95em;
    }

    .page-contact__form-input,
    .page-contact__form-textarea {
        padding: 12px;
        font-size: 0.9em;
    }

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

    .page-contact__faq-question h3 {
        font-size: 1.1em;
    }

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

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

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

    .page-contact__cta-title {
        font-size: 2em;
    }

    .page-contact__cta-description {
        font-size: 1em;
    }

    /* Images responsiveness */
    .page-contact img {
        max-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__cta-image-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        /* Padding left/right handled by section/container level */
    }
    
    /* Video responsiveness (if any) */
    .page-contact video,
    .page-contact__video {
      max-width: 100% !important;
      width: 100% !important;
      height: auto !important;
      display: block !important;
    }
    
    .page-contact__video-section,
    .page-contact__video-container,
    .page-contact__video-wrapper {
      max-width: 100% !important;
      width: 100% !important;
      box-sizing: border-box !important;
      padding-left: 15px;
      padding-right: 15px;
      overflow: hidden !important;
    }

    /* Content area images minimum size constraint for mobile */
    .page-contact__hero-image,
    .page-contact__cta-image {
        min-width: 200px !important; /* Ensure minimum size */
        min-height: 200px !important;
        width: auto !important; /* Allow auto scaling */
        height: auto !important;
    }
}

/* Ensure no filter on images */
.page-contact img {
    filter: none !important;
}

/* Content area image CSS size lower bound check */
.page-contact__hero-image,
.page-contact__cta-image {
    min-width: 200px;
    min-height: 200px;
}