/* style/contact.css */

/* Base Styles & Typography */
.page-contact {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #F2FFF6; /* Text Main */
    background-color: #08160F; /* Background */
}

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

.page-contact__section-title {
    font-size: 2.5em;
    color: #F2FFF6; /* Text Main */
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
}

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

.page-contact__main-title {
    font-weight: bold;
    color: #F2FFF6; /* Text Main */
    text-align: center;
    line-height: 1.2;
    max-width: 900px;
    margin: 0 auto 20px auto;
    /* H1 font-size handled by responsive design, not fixed large value */
}

.page-contact__intro-text {
    font-size: 1.15em;
    color: #A7D9B8; /* Text Secondary */
    text-align: center;
    max-width: 900px;
    margin: 0 auto 30px auto;
}

/* Hero Section */
.page-contact__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    padding-top: 10px; /* Small top padding, body handles --header-offset */
    text-align: center;
    overflow: hidden;
    min-height: 500px;
}

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

.page-contact__hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

/* CTA Buttons */
.page-contact__cta-group {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    margin-top: 30px;
}

.page-contact__btn-primary,
.page-contact__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
    box-sizing: border-box;
    max-width: 100%;
    white-space: normal;
    word-wrap: break-word;
    text-align: center;
}

.page-contact__btn-primary {
    background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    color: #F2FFF6; /* Text Main */
}

.page-contact__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(42, 209, 111, 0.4);
}

.page-contact__btn-secondary {
    background: transparent;
    color: #57E38D; /* Glow */
    border-color: #2E7A4E; /* Border */
}

.page-contact__btn-secondary:hover {
    background: #1E3A2A; /* Divider for hover */
    color: #F2FFF6; /* Text Main */
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(46, 122, 78, 0.4);
}

/* Channel Cards */
.page-contact__channels-section {
    padding: 60px 0;
    background-color: #08160F; /* Background */
}

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

.page-contact__channel-card {
    background-color: #11271B; /* Card BG */
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #2E7A4E; /* Border */
    color: #F2FFF6; /* Text Main */
}

.page-contact__channel-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-contact__channel-icon {
    width: 100px;
    height: 100px;
    object-fit: contain;
    margin-bottom: 20px;
}

.page-contact__channel-title {
    font-size: 1.5em;
    color: #F2FFF6; /* Text Main */
    margin-bottom: 15px;
}

.page-contact__channel-text {
    font-size: 1em;
    color: #A7D9B8; /* Text Secondary */
    margin-bottom: 20px;
}

.page-contact__email-link,
.page-contact__phone-link {
    color: #57E38D; /* Glow */
    text-decoration: underline;
}

.page-contact__email-link:hover,
.page-contact__phone-link:hover {
    color: #2AD16F; /* Button gradient start color */
}

/* Contact Form Section */
.page-contact__form-section {
    padding: 60px 0;
    background-color: #0A4B2C; /* Deep Green */
    color: #F2FFF6; /* Text Main */
}

.page-contact__contact-form {
    max-width: 700px;
    margin: 0 auto;
    padding: 40px;
    background-color: #11271B; /* Card BG */
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid #2E7A4E; /* Border */
}

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

.page-contact__form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #F2FFF6; /* Text Main */
}

.page-contact__form-input,
.page-contact__form-textarea {
    width: 100%;
    padding: 12px 15px;
    border-radius: 8px;
    border: 1px solid #2E7A4E; /* Border */
    background-color: #08160F; /* Background */
    color: #F2FFF6; /* Text Main */
    font-size: 1em;
    box-sizing: border-box;
}

.page-contact__form-input::placeholder,
.page-contact__form-textarea::placeholder {
    color: #A7D9B8; /* Text Secondary */
    opacity: 0.7;
}

.page-contact__form-input:focus,
.page-contact__form-textarea:focus {
    border-color: #57E38D; /* Glow */
    outline: none;
    box-shadow: 0 0 0 3px rgba(87, 227, 141, 0.3);
}

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

/* FAQ Section */
.page-contact__faq-section {
    padding: 60px 0;
    background-color: #08160F; /* Background */
}

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

.page-contact__faq-item {
    background-color: #11271B; /* Card BG */
    border: 1px solid #2E7A4E; /* Border */
    border-radius: 12px;
    margin-bottom: 15px;
    overflow: hidden;
    color: #F2FFF6; /* Text Main */
}

.page-contact__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.2em;
    font-weight: bold;
    cursor: pointer;
    background-color: #1E3A2A; /* Divider */
    color: #F2FFF6; /* Text Main */
    transition: background-color 0.3s ease;
}

.page-contact__faq-question:hover {
    background-color: #2E7A4E; /* Border */
}

.page-contact__faq-qtext {
    flex-grow: 1;
}

.page-contact__faq-toggle {
    font-size: 1.5em;
    margin-left: 15px;
    line-height: 1;
    color: #57E38D; /* Glow */
}

.page-contact__faq-item[open] .page-contact__faq-toggle {
    content: '−';
}

.page-contact__faq-answer {
    padding: 20px 25px;
    font-size: 1em;
    color: #A7D9B8; /* Text Secondary */
    border-top: 1px solid #1E3A2A; /* Divider */
}

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

.page-contact__faq-answer a {
    color: #57E38D; /* Glow */
    text-decoration: underline;
}

.page-contact__faq-answer a:hover {
    color: #2AD16F; /* Button gradient start color */
}

/* Location Section */
.page-contact__location-section {
    padding: 60px 0;
    background-color: #0A4B2C; /* Deep Green */
    color: #F2FFF6; /* Text Main */
}

.page-contact__location-info {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
    background-color: #11271B; /* Card BG */
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid #2E7A4E; /* Border */
}

.page-contact__address-block {
    flex: 1;
    min-width: 300px;
    padding: 20px;
}

.page-contact__info-heading {
    font-size: 1.3em;
    color: #F2FFF6; /* Text Main */
    margin-bottom: 10px;
}

.page-contact__info-text {
    font-size: 1em;
    color: #A7D9B8; /* Text Secondary */
    margin-bottom: 20px;
}

.page-contact__map-wrapper {
    flex: 2;
    min-width: 300px;
    max-width: 100%;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-contact__map-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Final CTA Section */
.page-contact__final-cta-section {
    padding: 60px 0;
    background-color: #08160F; /* Background */
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-contact__hero-section {
        padding: 40px 20px;
    }
    .page-contact__main-title {
        font-size: 2.5em;
    }
    .page-contact__section-title {
        font-size: 2em;
    }
}

@media (max-width: 768px) {
    .page-contact__main-title {
        font-size: 2em; /* Smaller H1 for mobile */
    }
    .page-contact__intro-text {
        font-size: 1em;
    }
    .page-contact__section-title {
        font-size: 1.8em;
    }
    .page-contact__section-description {
        font-size: 0.95em;
    }

    /* Mobile specific image, video, button adaptations */
    .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__contact-form,
    .page-contact__location-info,
    .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;
    }
    
    .page-contact__hero-section {
        padding-top: 10px !important;
        min-height: 400px;
    }

    .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;
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .page-contact__cta-group,
    .page-contact__button-group,
    .page-contact__btn-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        flex-direction: column !important; /* Stack buttons vertically */
        gap: 10px;
    }

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

    .page-contact__location-info {
        flex-direction: column;
        gap: 20px;
    }

    .page-contact__address-block,
    .page-contact__map-wrapper {
        min-width: unset;
        width: 100%;
    }
}

@media (max-width: 480px) {
    .page-contact__hero-section {
        padding: 30px 10px;
    }
    .page-contact__main-title {
        font-size: 1.8em;
    }
    .page-contact__section-title {
        font-size: 1.6em;
    }
    .page-contact__contact-form {
        padding: 20px;
    }
}

/* Details/Summary for FAQ styling */
.page-contact__faq-item summary::-webkit-details-marker {
    display: none;
}
.page-contact__faq-item summary {
    list-style: none;
}