/* style/contact.css */

/* Base styles for the contact page */
.page-contact {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Default text color for dark body background */
    background-color: transparent; /* Body background is handled by shared.css */
}

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

/* Hero Section */
.page-contact__hero-section {
    position: relative;
    width: 100%;
    height: 600px; /* Adjust as needed */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding-top: var(--header-offset, 120px); /* Fixed header spacing */
}

.page-contact__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

.page-contact__hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6); /* Dark overlay for text readability */
    z-index: -1;
}

.page-contact__hero-content {
    position: relative;
    z-index: 1;
    color: #ffffff;
    max-width: 800px;
}

.page-contact__main-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-contact__hero-description {
    font-size: 1.3em;
    margin-bottom: 30px;
    color: #f0f0f0;
}

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

/* Section Titles & Intros */
.page-contact__section-title {
    font-size: 2.5em;
    text-align: center;
    margin-bottom: 20px;
    color: #ffffff;
}

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

/* Color contrast adjustments for sections */
.page-contact__light-bg {
    background-color: #ffffff; /* Auxiliary color as background */
    color: #333333; /* Dark text for light background */
    padding: 60px 0;
}

.page-contact__light-bg .page-contact__section-title,
.page-contact__light-bg .page-contact__section-intro {
    color: #333333;
}

.page-contact__dark-bg {
    background-color: #017439; /* Main brand color as background */
    color: #ffffff; /* White text for brand color background */
    padding: 60px 0;
}

.page-contact__dark-bg .page-contact__section-title,
.page-contact__dark-bg .page-contact__section-intro {
    color: #ffffff;
}

/* Info Section */
.page-contact__info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}