/* Calendar Page Specific Styles */

.calendar-hero {
    background: linear-gradient(135deg, #570707 0%, #2d0505 100%);
    padding: 40px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.calendar-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.05) 1px, transparent 1px);
    background-size: 20px 20px;
    animation: drift 20s linear infinite;
}

@keyframes drift {
    from { transform: translate(0, 0); }
    to { transform: translate(20px, 20px); }
}

.calendar-hero h1 {
    font-size: 3rem;
    color: #fff;
    margin-bottom: 10px;
    position: relative;
    z-index: 1;
    font-family: 'Cabin', sans-serif;
    font-weight: 700;
}

.calendar-hero p {
    font-size: 1.2rem;
    color: #ddd;
    position: relative;
    z-index: 1;
}

.calendar-nav {
    background: #0a0a0a;
    padding: 20px 0;
    border-bottom: 2px solid #333;
    position: sticky;
    top: 0;
    z-index: 100;
}

.calendar-nav .nav-pills {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.nav-pill {
    background: #3a3a3a;
    color: #e0e0e0;
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid #555;
    font-weight: 500;
}

.nav-pill:hover {
    background: #ffd700;
    color: #000;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.nav-pill.active {
    background: #ffd700;
    color: #000;
}

.calendar-section {
    padding: 60px 0;
    background: #0a0a0a;
}

.calendar-month {
    margin-bottom: 60px;
}

.month-header {
    background: #2a2a2a;
    padding: 20px;
    border-radius: 10px 10px 0 0;
    text-align: center;
    position: relative;
    border-bottom: 2px solid #ffd700;
}

.month-header h2 {
    color: #fff;
    font-size: 2rem;
    margin: 0;
    font-family: 'Cabin', sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.month-icon {
    font-size: 2.5rem;
}

.calendar-table {
    width: 100%;
    background: #1a1a1a;
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 0 0 10px 10px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.calendar-table thead {
    background: #2a2a2a;
}

.calendar-table th {
    padding: 15px;
    text-align: left;
    color: #ffd700;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    border-bottom: 2px solid #555;
}

.calendar-table td {
    padding: 20px 15px;
    border-bottom: 1px solid #2a2a2a;
    vertical-align: top;
}

.calendar-table tr:last-child td {
    border-bottom: none;
}

.calendar-table tr:hover {
    background: rgba(255, 215, 0, 0.05);
}

.event-date-cell {
    min-width: 140px;
}

.date-display {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.date-day {
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff;
    line-height: 1;
}

.date-weekday {
    font-size: 0.9rem;
    color: #aaa;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.event-title-cell {
    min-width: 250px;
}

.event-title {
    font-size: 1.2rem;
    color: #ffd700;
    font-weight: 600;
    margin-bottom: 5px;
}

.event-badge {
    display: inline-block;
    background: #555;
    color: #e0e0e0;
    padding: 4px 10px;
    border-radius: 15px;
    font-size: 0.8rem;
    margin-top: 5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 1px solid #777;
}

.event-badge.special {
    background: #ffd700;
    color: #000;
    border: 1px solid #ffd700;
}

.event-time {
    font-size: 1.1rem;
    color: #fff;
    font-weight: 500;
}

.event-time-cell {
    min-width: 180px;
    white-space: nowrap;
}

.event-description {
    color: #d0d0d0;
    line-height: 1.5;
}

.legend-section {
    background: #1a1a1a;
    padding: 30px;
    border-radius: 10px;
    margin-top: 40px;
}

.legend-title {
    color: #ffd700;
    font-size: 1.3rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.legend-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.legend-color {
    width: 30px;
    height: 30px;
    border-radius: 5px;
    flex-shrink: 0;
}

.highlight-halloween {
    background: #3a3a3a;
}

.highlight-christmas {
    background: #2a2a2a;
}

.highlight-special {
    background: #ffd700;
}

.highlight-veterans {
    background: #555;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .calendar-hero h1 {
        font-size: 2rem;
    }

    .calendar-table {
        font-size: 0.9rem;
    }

    .calendar-table th,
    .calendar-table td {
        padding: 10px;
    }

    .date-day {
        font-size: 1.4rem;
    }

    .event-title {
        font-size: 1rem;
    }

    .calendar-table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
}