/*
Events.css

This stylesheet provides styles for the Navy League events page, including:
- Professional header and footer
- Events section and event cards
- Responsive, modern layout
- All styles are documented for clarity and maintainability
*/

/* Base page styles */
body {
    font-family: 'Segoe UI', Arial, sans-serif;
    background: #f4f8fb;
    color: #222;
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header styles */
.main-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);
}
.logo {
    font-size: 2.2rem;
    font-weight: bold;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Main content layout */
.events-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2.5rem 1rem 1.5rem 1rem;
}

/* Events section and list */
.events-section {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.10);
    padding: 2.5rem 2rem;
    max-width: 700px;
    width: 100%;
}
.events-section h1 {
    color: #003366;
    font-size: 2rem;
    margin-bottom: 0.7rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-align: center;
}
.events-section p {
    font-size: 1.08rem;
    line-height: 1.7;
    color: #222;
    text-align: center;
    margin-bottom: 2rem;
}
.events-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}
.events-list li {
    background: #f8fafc;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    padding: 1.5rem 1.2rem;
    transition: box-shadow 0.2s;
}
.events-list li:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.10);
}
.events-list h2 {
    color: #00509e;
    font-size: 1.2rem;
    margin-bottom: 0.4rem;
}
.events-list p {
    margin: 0.2rem 0 0.5rem 0;
    font-size: 1rem;
}

/* Footer styles */
.events-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 */
@media (max-width: 700px) {
    .events-section {
        padding: 1.2rem 0.5rem;
        max-width: 98vw;
    }
    .events-list li {
        padding: 1rem 0.5rem;
    }
    .main-header {
        padding: 1.2rem 0.5rem;
    }
    .logo {
        font-size: 1.3rem;
    }
}
