/* style/contact.css */

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

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

.page-contact__section-title {
    font-size: 2.5em;
    color: #1A1A1A;
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
}

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

/* Hero Section */
.page-contact__hero-section {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 600px;
    background-color: #1A1A1A; /* Dark background for hero */
    color: #ffffff;
    padding: 80px 0;
    overflow: hidden; /* Prevent image overflow */
}

.page-contact__hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.8));
    z-index: 1;
}

.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.6;
    display: block;
}

.page-contact__hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    padding: 20px;
}

.page-contact__main-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: #FFD700; /* Gold for main title */
    font-weight: bold;
}

.page-contact__description {
    font-size: 1.3em;
    margin-bottom: 40px;
    color: #f0f0f0;
}

/* Buttons */
.page-contact__btn-primary,
.page-contact__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    margin: 10px;
    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: #1A1A1A; /* Dark text for gold button */
    border: 2px solid #FFD700;
}

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

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

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

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

.page-contact__methods-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.page-contact__method-card {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-contact__method-icon {
    width: 250px; /* Min size 200px */
    height: 180px; /* Min size 200px */
    object-fit: cover;
    margin-bottom: 20px;
    border-radius: 5px;
    display: block; /* Ensure no extra space below img */
}

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

.page-contact__method-text {
    font-size: 1em;
    color: #555555;
    margin-bottom: 20px;
    flex-grow: 1; /* Allow text to take available space */
}

.page-contact__email-link,
.page-contact__phone-link {
    color: #FFD700;
    text-decoration: none;
    font-weight: bold;
}

.page-contact__email-link:hover,
.page-contact__phone-link:hover {
    text-decoration: underline;
}

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

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

.page-contact__form-section .page-contact__section-description {
    color: #f0f0f0;
}

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

.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 #444444;
    border-radius: 5px;
    background-color: #3a3a3a;
    color: #ffffff;
    font-size: 1em;
    box-sizing: border-box;
}

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

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

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

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

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

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

.page-contact__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    cursor: pointer;
    background-color: #FFD700; /* Gold background for question */
    color: #1A1A1A;
    font-weight: bold;
    font-size: 1.2em;
    transition: background-color 0.3s ease;
}

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

.page-contact__faq-question h3 {
    margin: 0;
    color: #1A1A1A; /* Ensure question text is dark */
}

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

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

.page-contact__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 20px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    background-color: #ffffff;
    color: #333333;
}

.page-contact__faq-item.active .page-contact__faq-answer {
    max-height: 1000px !important; /* Ensure content is fully visible */
    padding: 20px !important;
}

.page-contact__faq-answer p {
    margin: 0;
    padding-bottom: 10px;
}

/* Call to Action Section */
.page-contact__cta-section {
    padding: 80px 0;
    background-color: #1A1A1A; /* Dark background */
    color: #ffffff;
    text-align: center;
}

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

.page-contact__cta-section .page-contact__section-description {
    color: #f0f0f0;
    margin-bottom: 40px;
}

.page-contact__cta-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

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

@media (max-width: 768px) {
    .page-contact__hero-section {
        min-height: 500px;
        padding: 60px 0;
    }
    .page-contact__main-title {
        font-size: 2.5em;
    }
    .page-contact__description {
        font-size: 1.1em;
    }
    .page-contact__section-title {
        font-size: 1.8em;
    }
    .page-contact__section-description {
        font-size: 1em;
        margin-bottom: 30px;
    }
    .page-contact__methods-section,
    .page-contact__form-section,
    .page-contact__faq-section,
    .page-contact__cta-section {
        padding: 60px 0;
    }
    .page-contact__methods-grid {
        grid-template-columns: 1fr;
    }
    .page-contact__method-icon {
        width: 250px !important;
        height: 180px !important;
    }

    /* Mobile image responsiveness */
    .page-contact img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-contact__hero-image {
         max-width: 100% !important;
         width: 100% !important;
         height: auto !important;
         object-fit: cover !important;
    }
    .page-contact__hero-image-wrapper,
    .page-contact__methods-section,
    .page-contact__form-section,
    .page-contact__faq-section,
    .page-contact__cta-section,
    .page-contact__method-card,
    .page-contact__contact-form,
    .page-contact__faq-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    /* Mobile button responsiveness */
    .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;
        margin: 10px 0 !important; /* Stack buttons vertically */
    }
    .page-contact__cta-content {
        flex-direction: column !important; /* Stack CTA buttons */
    }

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

@media (max-width: 480px) {
    .page-contact__main-title {
        font-size: 2em;
    }
    .page-contact__description {
        font-size: 1em;
    }
    .page-contact__section-title {
        font-size: 1.5em;
    }
    .page-contact__contact-form {
        padding: 20px;
    }
    .page-contact__faq-question {
        font-size: 1.1em;
        padding: 15px;
    }
    .page-contact__faq-answer {
        padding: 0 15px;
    }
    .page-contact__faq-item.active .page-contact__faq-answer {
        padding: 15px !important;
    }
}