:root {
    --bg: #F5EDE0;
    --accent: #4A6650;
    --highlight: #D9773F;
    --text: #2C2C2C;
    --card: #FAF6EB;
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: 'Arial', 'Helvetica', sans-serif;
    margin: 0;
    padding: 0;
}

nav {
    background: #2C2C2C;
    padding: 15px;
    text-align: center;
}

    nav a {
        color: #fff;
        margin: 0 20px;
        text-decoration: none;
        font-weight: bold;
    }

        nav a:hover {
            color: var(--highlight);
        }

h1 {
    color: var(--accent);
}

#calendar {
    max-width: 1100px;
    margin: 20px auto;
    background: var(--card);
    border-radius: 12px;
    padding: 15px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.fc-list-day-cushion {
    background: #EDE4D4 !important;
    color: var(--text) !important;
}

/* Softer event type colors */
.nsca {
    background: #4A6650 !important;
}

.charity {
    background: #8A9A5B !important;
}

.trap {
    background: #6B8E9B !important;
}

.skeet {
    background: #D9773F !important;
}

.shows {
    background: #9C7A5B !important;
}

.fc-toolbar-title,
.fc-toolbar h2 {
    color: var(--accent) !important;
    font-weight: bold !important;
}

.fc-button {
    background: var(--accent) !important;
    border: none !important;
    color: #fff !important;
}

    .fc-button:hover {
        background: var(--highlight) !important;
    }

footer {
    background: #2C2C2C;
    padding: 3rem;
    text-align: center;
    font-size: 1rem;
    color: #ccc;
}

#eventModal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    z-index: 1000;
    align-items: flex-start;
    justify-content: center;
    overflow-y: auto;
    padding-top: 5vh;
}

#modalContent {
    background: var(--card);
    max-width: 600px;
    width: 92%;
    margin: 10px auto;
    padding: 20px;
    border-radius: 12px;
    color: var(--text);
    max-height: 85vh;
    overflow-y: auto;
}

.fc-list-event-graphic {
    width: 80px !important;
    height: 60px !important;
    background-size: cover;
    background-position: center;
    border-radius: 6px;
    margin-right: 12px;
}

/* ==================== MOBILE REFINEMENTS ==================== */
@media (max-width: 768px) {
    nav a {
        margin: 8px 0;
        font-size: 1rem;
    }

    h1 {
        font-size: 1.35rem !important;
        margin: 18px 0 8px !important;
        line-height: 1.2;
    }

    .filters label {
        font-size: 0.92rem;
        margin: 6px 8px;
    }

    .filters button {
        padding: 6px 14px;
        font-size: 0.92rem;
    }

    .bottom-controls {
        margin: 15px 8px 25px;
    }

        .bottom-controls input {
            width: 220px;
            font-size: 0.92rem;
            padding: 10px;
        }

        .bottom-controls button,
        .bottom-controls a {
            padding: 10px;
            font-size: 0.92rem;
            margin: 4px 0;
        }

    .fc-toolbar-title {
        font-size: 1.2rem !important;
    }

    .fc-button {
        padding: 6px 10px;
        font-size: 0.9rem;
    }

    #calendar {
        min-height: 78vh; /* takes most of the screen on phone */
        margin: 10px 8px !important;
        padding: 8px;
    }

    #modalContent {
        width: 96%;
        padding: 15px;
        margin: 8px;
    }

    #modalImage {
        max-height: 240px;
    }
}
