/* style/contact.css */
.page-contact {
    color: #333333; /* Dark text for light body background */
    line-height: 1.6;
    padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
}

.page-contact__hero-section {
    position: relative;
    width: 100%;
    overflow: hidden;
    background-color: #0d0d0d;
    color: #ffffff;
    text-align: center;
    padding-bottom: 40px;
}

.page-contact__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    filter: brightness(0.6); /* Slightly dim image for text readability */
}

.page-contact__hero-container {
    position: relative;
}

.page-contact__hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    max-width: 800px;
    padding: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-contact__hero-title {
    font-size: 3.5em;
    color: #FFD700;
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.2;
}

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

.page-contact__hero-button {
    display: inline-block;
    background-color: #FFD700;
    color: #8B0000;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1em;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.page-contact__hero-button:hover {
    background-color: #e6c200;
    color: #6a0000;
}

.page-contact__form-section {
    padding: 60px 20px;
    background-color: #f9f9f9;
}

.page-contact__form-container {
    max-width: 800px;
    margin: 0 auto;
    background-color: #ffffff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-contact__form-title {
    font-size: 2.5em;
    color: #8B0000;
    text-align: center;
    margin-bottom: 20px;
}

.page-contact__form-text {
    text-align: center;
    margin-bottom: 40px;
    font-size: 1.1em;
    color: #555555;
}

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

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

.page-contact__form-input,
.page-contact__form-textarea {
    width: calc(100% - 20px);
    padding: 12px 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1em;
    color: #333333;
    background-color: #fefefe;
}

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

.page-contact__form-submit-button {
    display: block;
    width: 100%;
    padding: 15px;
    background-color: #FFD700;
    color: #8B0000;
    border: none;
    border-radius: 5px;
    font-size: 1.2em;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.page-contact__form-submit-button:hover {
    background-color: #e6c200;
    color: #6a0000;
}

.page-contact__info-section {
    padding: 60px 20px;
    background-color: #eaeaea;
}

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

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

.page-contact__info-card:hover {
    transform: translateY(-5px);
}

.page-contact__info-card-title {
    font-size: 1.8em;
    color: #8B0000;
    margin-bottom: 15px;
}

.page-contact__info-card-text {
    font-size: 1em;
    color: #555555;
    margin-bottom: 20px;
}

.page-contact__info-card-link {
    color: #FFD700;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1em;
    transition: color 0.3s ease;
}

.page-contact__info-card-link:hover {
    color: #e6c200;
    text-decoration: underline;
}

.page-contact__cta-section {
    position: relative;
    overflow: hidden;
    padding: 80px 20px;
    background-color: #1a1a1a;
    color: #ffffff;
    text-align: center;
}

.page-contact__cta-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.4); /* Dim image for text readability */
    z-index: 1;
}

.page-contact__cta-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
}

.page-contact__cta-title {
    font-size: 3em;
    color: #FFD700;
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.2;
}

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

.page-contact__cta-button {
    display: inline-block;
    background-color: #FFD700;
    color: #8B0000;
    padding: 18px 40px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.2em;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.page-contact__cta-button:hover {
    background-color: #e6c200;
    color: #6a0000;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-contact__hero-title {
        font-size: 3em;
    }
    .page-contact__hero-description {
        font-size: 1.2em;
    }
    .page-contact__cta-title {
        font-size: 2.5em;
    }
}

@media (max-width: 768px) {
    .page-contact__hero-title {
        font-size: 2.5em;
    }
    .page-contact__hero-description {
        font-size: 1em;
    }
    .page-contact__hero-button {
        padding: 12px 25px;
        font-size: 1em;
    }
    .page-contact__form-container {
        padding: 25px;
    }
    .page-contact__form-title {
        font-size: 2em;
    }
    .page-contact__form-text {
        font-size: 0.95em;
    }
    .page-contact__info-container {
        grid-template-columns: 1fr;
    }
    .page-contact__cta-title {
        font-size: 2em;
    }
    .page-contact__cta-description {
        font-size: 1em;
    }
    .page-contact__cta-button {
        padding: 15px 30px;
        font-size: 1.1em;
    }
    /* Ensure images do not overflow on mobile */
    .page-contact__hero-image,
    .page-contact__cta-image,
    .page-contact__cta-content img, /* if any img is inside cta-content */
    .page-contact__form-container img, /* if any img is inside form-container */
    .page-contact__info-card img /* if any img is inside info-card */ {
        max-width: 100%;
        height: auto;
    }
    /* Content area images must be at least 200px wide for display */
    .page-contact img {
        min-width: 200px; /* Enforce minimum width for content images */
        min-height: 200px;
        object-fit: cover;
    }
}

@media (max-width: 480px) {
    .page-contact__hero-title {
        font-size: 2em;
    }
    .page-contact__form-title {
        font-size: 1.8em;
    }
    .page-contact__cta-title {
        font-size: 1.8em;
    }
}