/* style/contact.css */

/* Variables for colors */
:root {
    --page-contact-primary-color: #1A2E47;
    --page-contact-accent-color: #FFD700;
    --page-contact-text-light: #FFFFFF;
    --page-contact-text-dark: #333333;
    --page-contact-background-light: #F8F9FA;
    --page-contact-border-color: #E0E0E0;
}

.page-contact {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--page-contact-text-dark);
    background-color: var(--page-contact-background-light);
}

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

/* Hero Section */
.page-contact__hero {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    background-color: var(--page-contact-primary-color);
}

.page-contact__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    opacity: 0.6;
}

.page-contact__hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 46, 71, 0.8), rgba(255, 215, 0, 0.4));
    z-index: 2;
}

.page-contact__hero-content {
    position: relative;
    z-index: 3;
    color: var(--page-contact-text-light);
    padding: 20px;
}

.page-contact__hero-title {
    font-size: 3.5em;
    margin-bottom: 10px;
    font-weight: bold;
    color: var(--page-contact-text-light); /* Ensure high contrast */
}

.page-contact__hero-subtitle {
    font-size: 1.5em;
    color: var(--page-contact-text-light); /* Ensure high contrast */
    opacity: 0.9;
}

/* Info Section */
.page-contact__info-section {
    padding: 60px 0;
    background-color: var(--page-contact-background-light);
}

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

.page-contact__method-card {
    background-color: var(--page-contact-text-light);
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    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 6px 20px rgba(0, 0, 0, 0.12);
}

.page-contact__method-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
    object-fit: contain;
}

.page-contact__method-title {
    font-size: 1.8em;
    color: var(--page-contact-primary-color);
    margin-bottom: 15px;
}

.page-contact__method-description {
    font-size: 1.1em;
    color: var(--page-contact-text-dark);
    margin-bottom: 20px;
}

.page-contact__method-link {
    display: inline-block;
    background-color: var(--page-contact-accent-color);
    color: var(--page-contact-primary-color);
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.page-contact__method-link:hover {
    background-color: #e6c200; /* Slightly darker gold */
}

/* Form Section */
.page-contact__form-section {
    padding: 80px 0;
    background-color: var(--page-contact-primary-color);
    color: var(--page-contact-text-light);
}

.page-contact__section-title {
    font-size: 2.8em;
    color: var(--page-contact-accent-color);
    text-align: center;
    margin-bottom: 20px;
}

.page-contact__section-subtitle {
    font-size: 1.2em;
    color: var(--page-contact-text-light);
    text-align: center;
    margin-bottom: 40px;
    opacity: 0.9;
}

.page-contact__contact-form {
    max-width: 700px;
    margin: 0 auto;
    background-color: rgba(255, 255, 255, 0.1);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

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

.page-contact__form-label {
    display: block;
    font-size: 1.1em;
    margin-bottom: 10px;
    font-weight: bold;
    color: var(--page-contact-text-light); /* Ensure high contrast */
}

.page-contact__form-input,
.page-contact__form-textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 5px;
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--page-contact-text-light);
    font-size: 1em;
    transition: border-color 0.3s ease, background-color 0.3s ease;
}

.page-contact__form-input::placeholder,
.page-contact__form-textarea::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.page-contact__form-input:focus,
.page-contact__form-textarea:focus {
    border-color: var(--page-contact-accent-color);
    background-color: rgba(255, 255, 255, 0.1);
    outline: none;
}

.page-contact__submit-btn {
    display: block;
    width: 100%;
    padding: 15px 25px;
    background-color: var(--page-contact-accent-color);
    color: var(--page-contact-primary-color);
    border: none;
    border-radius: 5px;
    font-size: 1.2em;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.page-contact__submit-btn:hover {
    background-color: #e6c200; /* Slightly darker gold */
    transform: translateY(-2px);
}

/* CTA Section */
.page-contact__cta-section {
    padding: 80px 0;
    background-color: var(--page-contact-background-light);
    text-align: center;
}

.page-contact__cta-content {
    max-width: 800px;
    margin: 0 auto 40px auto;
}

.page-contact__cta-title {
    font-size: 2.5em;
    color: var(--page-contact-primary-color);
    margin-bottom: 15px;
}

.page-contact__cta-description {
    font-size: 1.2em;
    color: var(--page-contact-text-dark);
    margin-bottom: 30px;
}

.page-contact__cta-btn {
    display: inline-block;
    background-color: var(--page-contact-primary-color);
    color: var(--page-contact-text-light);
    padding: 18px 40px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 1.3em;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.page-contact__cta-btn:hover {
    background-color: #0d1e33; /* Darker primary color */
    transform: translateY(-3px);
}

.page-contact__cta-image {
    width: 100%;
    max-width: 900px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    margin-top: 30px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .page-contact__hero {
        height: 300px;
    }
    .page-contact__hero-title {
        font-size: 2.5em;
    }
    .page-contact__hero-subtitle {
        font-size: 1.2em;
    }
    .page-contact__contact-methods {
        grid-template-columns: 1fr;
    }
    .page-contact__method-card {
        padding: 25px;
    }
    .page-contact__method-title {
        font-size: 1.5em;
    }
    .page-contact__section-title {
        font-size: 2.2em;
    }
    .page-contact__section-subtitle {
        font-size: 1em;
    }
    .page-contact__contact-form {
        padding: 30px;
    }
    .page-contact__cta-title {
        font-size: 2em;
    }
    .page-contact__cta-description {
        font-size: 1em;
    }
    .page-contact__cta-btn {
        padding: 15px 30px;
        font-size: 1.1em;
    }
}

@media (max-width: 480px) {
    .page-contact__hero {
        height: 250px;
    }
    .page-contact__hero-title {
        font-size: 2em;
    }
    .page-contact__hero-subtitle {
        font-size: 1em;
    }
    .page-contact__info-section,
    .page-contact__form-section,
    .page-contact__cta-section {
        padding: 40px 0;
    }
    .page-contact__method-card {
        padding: 20px;
    }
    .page-contact__method-title {
        font-size: 1.3em;
    }
    .page-contact__contact-form {
        padding: 20px;
    }
    .page-contact__form-label {
        font-size: 1em;
    }
    .page-contact__form-input,
    .page-contact__form-textarea {
        padding: 12px;
    }
    .page-contact__submit-btn {
        font-size: 1.1em;
        padding: 12px 20px;
    }
    .page-contact__cta-title {
        font-size: 1.8em;
    }
    .page-contact__cta-btn {
        padding: 12px 25px;
        font-size: 1em;
    }
}