/* Color palette based on Sluggers logo */
:root {
    --navy: #1e3a5f;
    --navy-dark: #152a45;
    --silver: #a8b5c4;
    --silver-light: #d4dbe5;
    --white: #ffffff;
    --gray-light: #f5f7fa;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: var(--white);
}

/* Header */
header {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
    color: var(--white);
    padding: 2rem 2rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}


.header-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.logo {
    height: 150px;
    width: auto;
    transition: transform 0.3s ease;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

.logo:hover {
    transform: scale(1.05);
}

header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.tagline {
    font-size: 1.2rem;
    color: var(--silver-light);
    margin: 0;
    font-weight: 400;
    letter-spacing: 3px;
    text-transform: uppercase;
}

/* Navigation */
nav {
    margin-top: 1.5rem;
    padding: 0;
}

nav a {
    display: inline-block;
    color: var(--silver-light);
    text-decoration: none;
    padding: 1rem 2rem;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
    position: relative;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: var(--silver);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

nav a:hover::after {
    width: 100%;
}

nav a:hover {
    color: var(--white);
    background-color: rgba(255, 255, 255, 0.1);
}

nav a.active {
    color: var(--white);
}

nav a.active::after {
    width: 100%;
}

/* Main content */
main {
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
}

section {
    margin-bottom: 3rem;
}

h2 {
    color: var(--navy);
    font-size: 1.75rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 3px solid var(--silver);
    position: relative;
}

h3 {
    color: var(--navy-dark);
    font-size: 1.25rem;
    margin: 1.5rem 0 0.75rem;
}

/* Hero / Team Photo - Rotated to horizontal */
.hero {
    text-align: center;
    margin-bottom: 2.5rem;
}

.team-photo-container {
    width: 100%;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
    transition: box-shadow 0.3s ease;
}

.team-photo-container:hover {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
}

.team-photo {
    width: 100%;
    height: auto;
    display: block;
}

/* About section */
.about p,
.about-brief p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.about strong,
.about-brief strong {
    color: var(--navy);
}

/* Mission statement styling */
.mission-statement {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--navy);
    font-style: italic;
    text-align: center;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--gray-light) 0%, var(--white) 100%);
    border-left: 4px solid var(--navy);
    border-radius: 0 8px 8px 0;
}

/* Donate section */
.donate {
    background: linear-gradient(135deg, var(--gray-light) 0%, #e8ecf2 100%);
    padding: 2.5rem;
    border-radius: 12px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Subtle baseball pattern overlay */
.donate::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 200px;
    height: 200px;
    border: 3px dashed rgba(30, 58, 95, 0.1);
    border-radius: 50%;
    pointer-events: none;
}

.donate h2 {
    border-bottom: none;
    padding-bottom: 0;
}

.donate p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.donate-button {
    display: inline-block;
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
    color: var(--white);
    padding: 1rem 2.5rem;
    font-size: 1.2rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(30, 58, 95, 0.3);
}

.donate-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.donate-button:hover::before {
    left: 100%;
}

.donate-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(30, 58, 95, 0.4);
}

.tax-notice {
    font-size: 0.9rem;
    color: #666;
    margin-top: 1.5rem;
    margin-bottom: 0;
}

/* Roster */
.roster-note {
    font-style: italic;
    color: #666;
    margin-bottom: 1.5rem;
}

.player-list,
.coach-list,
.board-list {
    list-style: none;
    display: grid;
    gap: 0.75rem;
}

.player-list {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}

.player-list li {
    background: var(--gray-light);
    padding: 0.75rem 1rem;
    border-radius: 6px;
    border-left: 4px solid var(--navy);
    transition: all 0.2s ease;
}

.player-list li:hover {
    transform: translateX(4px);
    background: var(--silver-light);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.player-list .number {
    color: var(--navy);
    font-weight: 700;
    margin-right: 0.5rem;
}

.coach-list {
    grid-template-columns: repeat(3, 1fr);
}

.coach-list li,
.board-list li {
    background: var(--gray-light);
    padding: 0.75rem 1rem;
    border-radius: 6px;
    border-left: 4px solid var(--silver);
    transition: all 0.2s ease;
}

.coach-list li:hover,
.board-list li:hover {
    transform: translateX(4px);
    background: var(--silver-light);
}

.board-list {
    max-width: 400px;
}

/* Contact section */
.contact a {
    color: var(--navy);
    transition: color 0.2s ease;
}

.contact a:hover {
    color: var(--navy-dark);
    text-decoration: none;
}

/* Nonprofit info */
.nonprofit-info p {
    margin-bottom: 0.75rem;
}

/* Wave animation */
.wave-container {
    width: 100%;
    overflow: hidden;
    line-height: 0;
    margin-top: auto;
}

.wave {
    width: 100%;
    height: 60px;
    display: block;
}

.wave path {
    animation: waveMove 8s ease-in-out infinite;
}

@keyframes waveMove {
    0%, 100% {
        d: path("M0,50 C360,100 1080,0 1440,50 L1440,100 L0,100 Z");
    }
    50% {
        d: path("M0,50 C360,0 1080,100 1440,50 L1440,100 L0,100 Z");
    }
}

/* Footer */
footer {
    background: var(--navy-dark);
    color: var(--silver-light);
    text-align: center;
    padding: 1.5rem;
    font-size: 0.9rem;
}

footer p {
    margin: 0.25rem 0;
}

footer a {
    color: var(--silver-light);
    transition: color 0.2s ease;
}

footer a:hover {
    color: var(--white);
}

/* Responsive */
@media (max-width: 768px) {
    header h1 {
        font-size: 1.75rem;
    }

    .logo {
        height: 120px;
    }

    .tagline {
        font-size: 1rem;
        letter-spacing: 2px;
    }

    nav a {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }

    .mission-statement {
        font-size: 1.25rem;
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    header {
        padding: 1.5rem 1rem 0;
    }

    header h1 {
        font-size: 1.5rem;
    }

    .logo {
        height: 100px;
    }

    nav a {
        padding: 0.75rem 0.75rem;
        font-size: 0.85rem;
    }

    main {
        padding: 1.5rem 1rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .player-list {
        grid-template-columns: 1fr;
    }

    .donate {
        padding: 1.5rem;
    }

    .donate-button {
        padding: 0.875rem 2rem;
        font-size: 1.1rem;
    }

    .mission-statement {
        font-size: 1.1rem;
    }
}
