/* style/contact.css */

/* Ensure content starts below the fixed header */
.page-contact {
    padding-top: var(--header-offset, 120px); /* Apply header offset for desktop */
    background-color: #FFFFFF; /* Light background as per body background */
    color: #333333; /* Dark text for light background */
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

/* Hero Section */
.page-contact__hero-section {
    position: relative;
    text-align: center;
    overflow: hidden;
    padding: 0;
    background-color: #000000;
    color: #FFFFFF;
}

.page-contact__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    filter: brightness(0.7); /* Allowed for readability, not color change */
}

.page-contact__hero-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    max-width: 900px;
    padding: 20px;
    box-sizing: border-box;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

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

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

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

.page-contact__hero-button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, color 0.3s ease;
    min-width: 150px;
    text-align: center;
}

.page-contact__hero-button--register {
    background-color: #FFFFFF;
    color: #000000;
    border: 2px solid #FFFFFF;
}

.page-contact__hero-button--register:hover {
    background-color: #FCBC45;
    color: #000000;
    border-color: #FCBC45;
}

.page-contact__hero-button--login {
    background-color: #FCBC45;
    color: #000000;
    border: 2px solid #FCBC45;
}

.page-contact__hero-button--login:hover {
    background-color: #FFFFFF;
    color: #000000;
    border-color: #FFFFFF;
}

/* Methods Section */
.page-contact__methods-section {
    padding: 60px 20px;
    text-align: center;
    background-color: #F8F8F8;
}

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

.page-contact__methods-title {
    font-size: 2.2em;
    margin-bottom: 20px;
    color: #000000;
}

.page-contact__methods-description {
    font-size: 1.1em;
    margin-bottom: 40px;
    color: #555555;
}

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

.page-contact__method-card {
    background-color: #FFFFFF;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.page-contact__method-card:hover {
    transform: translateY(-10px);
}

.page-contact__method-icon {
    width: 200px; /* Minimum 200px as per rules */
    height: 200px;
    object-fit: contain;
    margin-bottom: 20px;
    border-radius: 5px;
}

.page-contact__method-card-title {
    font-size: 1.6em;
    margin-bottom: 15px;
    color: #000000;
}

.page-contact__method-card-text {
    font-size: 1em;
    margin-bottom: 25px;
    color: #666666;
    flex-grow: 1;
}

.page-contact__method-button {
    display: inline-block;
    padding: 12px 25px;
    background-color: #000000;
    color: #FFFFFF;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1em;
    transition: background-color 0.3s ease;
    border: 2px solid #000000;
}

.page-contact__method-button:hover {
    background-color: #FCBC45;
    border-color: #FCBC45;
    color: #000000;
}

/* FAQ Section */
.page-contact__faq-section {
    padding: 60px 20px;
    text-align: center;
    background-color: #FFFFFF;
}

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

.page-contact__faq-title {
    font-size: 2.2em;
    margin-bottom: 20px;
    color: #000000;
}

.page-contact__faq-description {
    font-size: 1.1em;
    margin-bottom: 30px;
    color: #555555;
}

.page-contact__faq-button {
    display: inline-block;
    padding: 15px 35px;
    background-color: #FCBC45;
    color: #000000;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease;
    border: 2px solid #FCBC45;
}

.page-contact__faq-button:hover {
    background-color: #000000;
    color: #FFFFFF;
    border-color: #000000;
}

/* Commitment Section */
.page-contact__commitment-section {
    padding: 80px 20px;
    background-color: #000000;
    color: #FFFFFF;
}

.page-contact__commitment-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 40px;
}

.page-contact__commitment-image {
    width: 500px;
    height: 375px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    flex-shrink: 0;
}

.page-contact__commitment-content {
    text-align: left;
    flex-grow: 1;
}

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

.page-contact__commitment-text {
    font-size: 1.1em;
    margin-bottom: 30px;
    color: #F0F0F0;
}

.page-contact__commitment-button {
    display: inline-block;
    padding: 15px 30px;
    background-color: #FFFFFF;
    color: #000000;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease;
    border: 2px solid #FFFFFF;
}

.page-contact__commitment-button:hover {
    background-color: #FCBC45;
    border-color: #FCBC45;
    color: #000000;
}

/* Ensure all images within .page-contact are at least 200px wide/high if not explicitly set larger */
.page-contact img:not(.shared-header img, .shared-footer img) {
    min-width: 200px;
    min-height: 200px;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .page-contact__hero-title {
        font-size: 2.4em;
    }
    .page-contact__hero-description {
        font-size: 1.1em;
    }
    .page-contact__commitment-container {
        flex-direction: column;
        text-align: center;
    }
    .page-contact__commitment-image {
        width: 100%;
        max-width: 600px;
        height: auto;
        margin-bottom: 30px;
    }
    .page-contact__commitment-content {
        text-align: center;
    }
}

@media (max-width: 768px) {
    /* Mobile content area images must be responsive */
    .page-contact__hero-image,
    .page-contact__method-icon,
    .page-contact__commitment-image {
        max-width: 100%;
        height: auto;
    }
    .page-contact__hero-title {
        font-size: 2em;
    }
    .page-contact__hero-description {
        font-size: 1em;
    }
    .page-contact__hero-cta {
        flex-direction: column;
        gap: 15px;
    }
    .page-contact__hero-button {
        width: 100%;
        max-width: 250px;
        margin: 0 auto;
    }

    .page-contact__methods-title,
    .page-contact__faq-title,
    .page-contact__commitment-title {
        font-size: 1.8em;
    }
    .page-contact__methods-description,
    .page-contact__faq-description,
    .page-contact__commitment-text {
        font-size: 0.95em;
    }
    .page-contact__method-cards {
        grid-template-columns: 1fr;
    }
    .page-contact__method-card {
        padding: 25px;
    }
    .page-contact__method-icon {
        width: 200px; /* Keep at least 200px as per rules */
        height: 200px;
    }
    .page-contact__commitment-image {
        width: 100%;
        height: auto;
    }
}