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

.page-contact__hero-section {
    position: relative;
    width: 100%;
    overflow: hidden;
    background-color: #0d0d0d; /* Dark background for hero content */
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 450px; /* Ensure hero section has a minimum height */
}

.page-contact__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.4; /* Slightly dim the background image */
}

.page-contact__hero-container {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
    text-align: center;
    color: #ffffff;
}

.page-contact__hero-title {
    font-size: 3.2em;
    color: #FFD700; /* Gold for title */
    margin-bottom: 20px;
    line-height: 1.2;
}

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

.page-contact__hero-button {
    display: inline-block;
    background-color: #B80000; /* Main brand color for button */
    color: #ffffff;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 1.1em;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

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

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

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

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

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

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

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

.page-contact__method-icon {
    width: 250px; /* Enforce minimum 200px */
    height: 180px; /* Maintain aspect ratio */
    object-fit: cover;
    margin-bottom: 25px;
    border-radius: 8px;
}

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

.page-contact__method-text {
    font-size: 1em;
    color: #555555;
    margin-bottom: 25px;
    flex-grow: 1; /* Allow text to grow */
}

.page-contact__method-button {
    display: inline-block;
    background-color: #FFD700; /* Auxiliary color for button */
    color: #333333;
    padding: 12px 25px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.page-contact__method-button:hover {
    background-color: #e6c200;
    transform: translateY(-1px);
}

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

.page-contact__form-container {
    max-width: 800px;
    margin: 0 auto;
    background-color: #f0f0f0;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

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

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

.page-contact__contact-form {
    display: flex;
    flex-direction: column;
}

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

.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 15px;
    border: 1px solid #cccccc;
    border-radius: 8px;
    font-size: 1em;
    box-sizing: border-box; /* Include padding in width */
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.page-contact__form-input:focus,
.page-contact__form-textarea:focus {
    border-color: #FFD700;
    box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.3);
    outline: none;
}

.page-contact__form-textarea {
    resize: vertical;
    min-height: 120px;
}

.page-contact__form-submit-button {
    background-color: #B80000;
    color: #ffffff;
    padding: 15px 30px;
    border: none;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
    align-self: flex-end; /* Align button to the right */
}

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

.page-contact__cta-section {
    background-color: #B80000; /* Main brand color for CTA */
    color: #ffffff;
    padding: 60px 20px;
    text-align: center;
}

.page-contact__cta-container {
    max-width: 1000px;
    margin: 0 auto;
}

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

.page-contact__cta-description {
    font-size: 1.2em;
    color: #f0f0f0;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.page-contact__cta-button {
    display: inline-block;
    background-color: #FFD700;
    color: #333333;
    padding: 18px 40px;
    border-radius: 10px;
    text-decoration: none;
    font-size: 1.3em;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

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

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

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

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

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

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

    .page-contact__method-icon {
        width: 200px; /* Minimum size */
        height: auto;
    }

    .page-contact__method-heading {
        font-size: 1.5em;
    }

    .page-contact__method-text {
        font-size: 0.95em;
    }

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

    .page-contact__form-submit-button {
        align-self: stretch; /* Full width button on mobile */
    }

    .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 in content area are responsive and don't overflow */
    .page-contact img {
        max-width: 100%;
        height: auto;
    }
}

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