/*
Contact.css

This stylesheet provides styles for the Navy League contact page, including:
- Responsive header and footer
- Contact information section
- Contact form section
- Modern, accessible, and responsive layout
- All styles are documented for clarity and maintainability
*/
/*
Base page styles
Sets font, background, and layout for the entire page
*/
body {
    font-family: 'Segoe UI', Arial, sans-serif;
    background: #f4f8fb;
    color: #222;
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/*
Header styles
Styles the top header and logo/title
*/
.contact-header {
    background: #001f3f;
    color: #fff;
    padding: 2rem 0 1.2rem 0;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.contact-logo {
    font-size: 2.2rem;
    font-weight: bold;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/*
Main content layout
Arranges the contact info and form side by side on large screens, stacked on small screens
*/
.contact-main {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2.5rem;
    padding: 2.5rem 1rem 1.5rem 1rem;
    max-width: 1100px;
    margin: 0 auto;
    flex: 1;
}

/*
Contact information section
Styles the info box with address, phone, and email
*/
.contact-info {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.07);
    padding: 2rem 2.5rem;
    min-width: 280px;
    max-width: 400px;
}
.contact-info h2 {
    color: #003366;
    margin-bottom: 0.7rem;
}
.contact-info ul {
    list-style: none;
    padding: 0;
    margin: 1.2rem 0 0 0;
}
.contact-info li {
    margin-bottom: 0.7rem;
    font-size: 1.08rem;
}

/*
Contact form section
Styles the form box and all form elements
*/
.contact-form-section {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.07);
    padding: 2rem 2.5rem;
    min-width: 320px;
    max-width: 500px;
}
.contact-form-section h2 {
    color: #003366;
    margin-bottom: 0.7rem;
}
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.contact-form label {
    font-weight: 500;
    margin-bottom: 0.2rem;
}
.contact-form input,
.contact-form textarea {
    padding: 0.7rem;
    border: 1px solid #b0b8c1;
    border-radius: 6px;
    font-size: 1rem;
    background: #f8fafc;
    resize: vertical;
}
.contact-form button {
    background: #003366;
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 0.8rem 1.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    margin-top: 0.5rem;
    transition: background 0.2s;
}
.contact-form button:hover {
    background: #0074d9;
}

/*
Footer styles
Styles the bottom footer
*/
.contact-footer {
    background: #001f3f;
    color: #fff;
    text-align: center;
    padding: 1.2rem 0;
    font-size: 1rem;
    margin-top: 2rem;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
}

/*
Responsive styles
Stack columns and adjust padding on small screens
*/
@media (max-width: 900px) {
    .contact-main {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
        padding: 1.5rem 0.5rem;
    }
    .contact-info, .contact-form-section {
        max-width: 98vw;
        min-width: 0;
        padding: 1.2rem 1rem;
    }
}