/* style/contact.css */

.page-contact {
    /* Ensures content starts below the fixed header */
    padding-top: var(--header-offset, 120px);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333333; /* Dark text for default light body background */
    line-height: 1.6;
    background-color: #f8f8f8; /* Light background for the page content */
}

.page-contact__hero-section {
    position: relative;
    padding: 80px 20px;
    text-align: center;
    overflow: hidden; /* Ensure image doesn't overflow */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 500px;
}

.page-contact__hero-section::before { /* Overlay for darkening the image */
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4); /* Dark overlay */
    z-index: 1; /* Below text, above image */
}

.page-contact__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0; /* Image at the very back */
}

.page-contact__hero-container {
    position: relative;
    z-index: 2; /* Text and actions above overlay */
    max-width: 900px;
    margin: 0 auto;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

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

.page-contact__hero-description {
    font-size: 1.3em;
    margin-bottom: 40px;
}

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

.page-contact__btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: bold;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
    cursor: pointer;
    border: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-contact__btn--primary {
    background-color: #FFD700; /* Gold primary button */
    color: #8B0000; /* Deep red text for contrast */
}

.page-contact__btn--primary:hover {
    background-color: #e6c200;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.page-contact__btn--secondary {
    background-color: #8B0000; /* Deep red secondary button */
    color: #FFD700; /* Gold text for contrast */
    border: 2px solid #FFD700;
}

.page-contact__btn--secondary:hover {
    background-color: #6a0000;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.page-contact__section-title {
    font-size: 2.5em;
    color: #8B0000; /* Deep red for section titles */
    text-align: center;
    margin-bottom: 20px;
    padding-top: 40px;
    font-weight: bold;
}

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

.page-contact__info-section,
.page-contact__faq-section,
.page-contact__cta-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

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

.page-contact__info-card {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-contact__info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.page-contact__info-icon {
    width: 300px; /* Min size for images */
    height: 225px;
    max-width: 100%;
    margin-bottom: 20px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    object-fit: cover;
    border-radius: 8px;
}

.page-contact__card-title {
    font-size: 1.8em;
    color: #FFD700; /* Gold for card titles */
    margin-bottom: 15px;
    font-weight: bold;
}

.page-contact__card-text {
    font-size: 1em;
    color: #666666;
    margin-bottom: 20px;
}

.page-contact__card-link {
    display: inline-block;
    color: #8B0000; /* Deep red for card links */
    text-decoration: none;
    font-weight: bold;
    border-bottom: 2px solid #FFD700; /* Gold underline */
    padding-bottom: 5px;
    transition: color 0.3s ease, border-color 0.3s ease;
}

.page-contact__card-link:hover {
    color: #FFD700; /* Gold on hover */
    border-color: #8B0000;
}

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

.page-contact__faq-item {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    margin-bottom: 20px;
    padding: 25px;
}

.page-contact__faq-question {
    font-size: 1.4em;
    color: #8B0000; /* Deep red for FAQ questions */
    margin-bottom: 10px;
    cursor: pointer;
    position: relative;
    padding-right: 30px; /* Space for arrow */
    font-weight: bold;
}

.page-contact__faq-question::after {
    content: '+';
    position: absolute;
    right: 0;
    top: 0;
    font-size: 1.2em;
    color: #FFD700;
    transition: transform 0.3s ease;
}

.page-contact__faq-question.active::after {
    content: '-';
    transform: rotate(0deg);
}

.page-contact__faq-answer {
    font-size: 1em;
    color: #444444;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out, opacity 0.5s ease-out;
    opacity: 0;
    padding-left: 10px;
    padding-top: 5px;
}

.page-contact__faq-answer.active {
    max-height: 200px; /* Adjust as needed, ensure it's large enough for content */
    opacity: 1;
    padding-bottom: 10px;
}

.page-contact__faq-link {
    display: inline-block;
    margin-top: 15px;
    color: #FFD700; /* Gold for FAQ links */
    text-decoration: none;
    font-weight: bold;
    border-bottom: 1px solid #FFD700;
    transition: color 0.3s ease;
}

.page-contact__faq-link:hover {
    color: #8B0000;
}

.page-contact__cta-section {
    background: linear-gradient(45deg, #8B0000, #FFD700);
    color: #ffffff;
    text-align: center;
    padding: 60px 20px;
    border-radius: 10px;
    margin-top: 50px;
    margin-bottom: 50px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.page-contact__cta-title {
    font-size: 2.8em;
    margin-bottom: 20px;
    color: #ffffff;
    font-weight: bold;
}

.page-contact__cta-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .page-contact__hero-title {
        font-size: 2.8em;
    }
    .page-contact__hero-description {
        font-size: 1.1em;
    }
}

@media (max-width: 768px) {
    .page-contact {
        padding-top: var(--header-offset, 200px); /* Adjust for mobile header offset */
    }
    .page-contact__hero-section {
        padding: 60px 20px;
        min-height: 400px;
    }
    .page-contact__hero-title {
        font-size: 2.2em;
    }
    .page-contact__hero-description {
        font-size: 1em;
    }
    .page-contact__hero-actions {
        flex-direction: column;
        gap: 15px;
    }
    .page-contact__btn {
        width: 100%;
        max-width: 300px; /* Limit button width on mobile */
    }
    .page-contact__section-title {
        font-size: 2em;
    }
    .page-contact__section-description {
        font-size: 1em;
    }
    .page-contact__info-grid {
        grid-template-columns: 1fr;
    }
    .page-contact__cta-title {
        font-size: 2em;
    }
    .page-contact__cta-description {
        font-size: 1em;
    }
    .page-contact__info-icon {
        width: 250px;
        height: 187px;
    }
}

@media (max-width: 480px) {
    .page-contact__hero-section {
        padding: 40px 15px;
    }
    .page-contact__hero-title {
        font-size: 1.8em;
    }
    .page-contact__hero-description {
        font-size: 0.9em;
    }
    .page-contact__btn {
        padding: 12px 20px;
        font-size: 1em;
    }
    .page-contact__section-title {
        font-size: 1.8em;
    }
    .page-contact__info-card {
        padding: 20px;
    }
    .page-contact__card-title {
        font-size: 1.5em;
    }
    .page-contact__faq-question {
        font-size: 1.2em;
    }
    .page-contact__cta-title {
        font-size: 1.8em;
    }
    .page-contact__info-icon {
        width: 200px;
        height: 150px;
    }
}