/* style/contact.css */

/* Base styling for the contact page */
.page-contact {
    color: #333333; /* Dark text on light body background */
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

/* Fixed header offset for desktop and mobile */
.page-contact__hero-section {
    padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
    background-color: #000000; /* Dark background for hero section */
    color: #FFFFFF; /* Light text for hero section */
    text-align: center;
    position: relative;
    overflow: hidden; /* To contain the image if it overflows slightly */
}

.page-contact__hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    position: relative;
    z-index: 1;
}

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

.page-contact__hero-title {
    font-size: 3em;
    margin-bottom: 20px;
    font-weight: bold;
    color: #FFFFFF;
}

.page-contact__hero-description {
    font-size: 1.2em;
    max-width: 800px;
    margin: 0 auto 40px auto;
    color: #f0f0f0;
}

.page-contact__options-section {
    padding: 60px 20px;
    background-color: #FFFFFF;
}

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

.page-contact__section-title {
    font-size: 2.5em;
    text-align: center;
    margin-bottom: 50px;
    color: #000000;
}

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

.page-contact__option-card {
    background-color: #f8f8f8;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 450px; /* Ensure cards have a minimum height */
}

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

.page-contact__option-icon {
    width: 200px; /* Minimum size for content images */
    height: 200px; /* Minimum size for content images */
    object-fit: contain;
    margin-bottom: 20px;
    border-radius: 5px;
}

.page-contact__card-title {
    font-size: 1.8em;
    margin-bottom: 15px;
    color: #000000;
}

.page-contact__card-description {
    font-size: 1em;
    color: #555555;
    margin-bottom: 25px;
    flex-grow: 1; /* Allows description to take up available space */
}

.page-contact__button {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease;
    margin-top: auto; /* Push button to the bottom of the card */
    min-width: 150px;
    text-align: center;
    font-size: 1.1em;
}

.page-contact__button--primary {
    background-color: #000000; /* Main color for primary action */
    color: #FFFFFF;
}

.page-contact__button--primary:hover {
    background-color: #333333;
}

.page-contact__button--secondary {
    background-color: #f0f0f0;
    color: #000000;
    border: 1px solid #cccccc;
}

.page-contact__button--secondary:hover {
    background-color: #e0e0e0;
}

.page-contact__cta-section {
    background-color: #000000;
    color: #FFFFFF;
    padding: 80px 20px;
    text-align: center;
}

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

.page-contact__cta-description {
    font-size: 1.2em;
    max-width: 700px;
    margin: 0 auto 40px auto;
    color: #f0f0f0;
}

.page-contact__button--register {
    background-color: #FCBC45; /* Specific color for register button */
    color: #000000;
    padding: 15px 35px;
    font-size: 1.3em;
    border: none;
    cursor: pointer;
}

.page-contact__button--register:hover {
    background-color: #FFD700;
}

/* Responsive design for tablets and mobile */
@media (max-width: 768px) {
    .page-contact__hero-title {
        font-size: 2.2em;
    }

    .page-contact__hero-description {
        font-size: 1em;
    }

    .page-contact__section-title {
        font-size: 2em;
    }

    .page-contact__options-grid {
        grid-template-columns: 1fr; /* Stack cards on mobile */
    }

    .page-contact__option-card {
        padding: 20px;
        min-height: unset; /* Allow height to adjust */
    }

    .page-contact__option-icon {
        width: 250px; /* Adjust size for mobile if needed, but keep >= 200px */
        height: 250px;
    }

    .page-contact__cta-title {
        font-size: 2em;
    }

    .page-contact__cta-description {
        font-size: 1em;
    }

    /* Ensure content area images don't overflow on mobile */
    .page-contact img {
        max-width: 100%;
        height: auto;
    }
}