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

.page-contact__hero-section {
    background-color: #f0f0f0;
    padding: 60px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-contact__hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.page-contact__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 30px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.page-contact__hero-content {
    position: relative;
    z-index: 2;
    color: #000000; /* Ensure text is dark on light background */
    background-color: rgba(255, 255, 255, 0.9);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.page-contact__hero-title {
    font-size: 2.8em;
    color: #000000; /* Primary brand color for title */
    margin-bottom: 20px;
    font-weight: bold;
}

.page-contact__hero-description {
    font-size: 1.1em;
    color: #333333;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-contact__cta-button {
    display: inline-block;
    background-color: #FCBC45; /* Login button color */
    color: #000000; /* Dark text for light button */
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.page-contact__cta-button:hover {
    background-color: #e0a53b;
    transform: translateY(-2px);
}

.page-contact__methods-section {
    max-width: 1200px;
    margin: 40px auto;
    padding: 20px;
    text-align: center;
}

.page-contact__methods-title {
    font-size: 2.5em;
    color: #000000;
    margin-bottom: 40px;
    font-weight: bold;
}

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

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

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

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

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

.page-contact__method-description {
    font-size: 1em;
    color: #555555;
    margin-bottom: 25px;
}

.page-contact__method-button {
    display: inline-block;
    background-color: #000000; /* Primary brand color */
    color: #ffffff;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.page-contact__method-button:hover {
    background-color: #333333;
}

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

.page-contact__form-title {
    font-size: 2.5em;
    color: #000000;
    margin-bottom: 20px;
    font-weight: bold;
}

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

.page-contact__contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    text-align: left;
}

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

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

.page-contact__form-input,
.page-contact__form-textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #cccccc;
    border-radius: 5px;
    font-size: 1em;
    box-sizing: border-box;
    background-color: #f9f9f9;
    color: #333333;
}

.page-contact__form-input::placeholder,
.page-contact__form-textarea::placeholder {
    color: #999999;
}

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

.page-contact__form-submit-button {
    background-color: #FCBC45; /* Login button color */
    color: #000000; /* Dark text for light button */
    padding: 15px 30px;
    border: none;
    border-radius: 5px;
    font-size: 1.1em;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
    align-self: center;
    width: auto;
    min-width: 200px;
}

.page-contact__form-submit-button:hover {
    background-color: #e0a53b;
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .page-contact {
        padding-top: var(--header-offset, 80px); /* Adjust for mobile header */
    }

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

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

    .page-contact__cta-button {
        padding: 12px 25px;
        font-size: 1em;
    }

    .page-contact__methods-title,
    .page-contact__form-title {
        font-size: 2em;
    }

    .page-contact__methods-grid {
        grid-template-columns: 1fr;
    }

    .page-contact__method-card {
        padding: 20px;
    }

    .page-contact__method-icon {
        width: 200px; /* Ensure min size on mobile */
        height: 150px; /* Ensure min size on mobile */
    }

    .page-contact__form-section {
        margin: 30px 20px;
        padding: 30px;
    }

    .page-contact__contact-form {
        gap: 15px;
    }

    /* CRITICAL: Ensure all images within .page-contact are responsive and don't overflow */
    .page-contact img {
        max-width: 100%;
        height: auto;
    }
}

@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__cta-button {
        width: 100%;
        max-width: 250px;
    }

    .page-contact__methods-title,
    .page-contact__form-title {
        font-size: 1.8em;
    }

    .page-contact__form-section {
        padding: 20px;
    }

    .page-contact__form-submit-button {
        width: 100%;
        min-width: unset;
    }
}