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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #f5f5f5;
    padding: 20px;
}

.year-nav {
    text-align: center;
    margin-bottom: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.year-nav h1 {
    color: #333;
    font-size: 2.5em;
    margin: 0;
}

.nav-arrow {
    background: none;
    border: none;
    font-size: 2em;
    color: #2c3e50;
    cursor: pointer;
    padding: 5px 15px;
    border-radius: 5px;
    transition: background-color 0.2s, color 0.2s;
}

.nav-arrow:hover {
    background-color: #e74c3c;
    color: white;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.month {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    padding: 15px;
}

.month-name {
    text-align: center;
    font-size: 1.3em;
    font-weight: bold;
    margin-bottom: 10px;
    color: #2c3e50;
    text-transform: capitalize;
}

.month-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9em;
}

.month-table th {
    padding: 8px 4px;
    text-align: center;
    font-weight: 600;
    color: #555;
    border-bottom: 2px solid #eee;
}

.month-table th:first-child {
    text-align: left;
    width: 35px;
}

.month-table th:last-child {
    color: #e74c3c;
}

.month-table td {
    padding: 6px 4px;
    text-align: center;
}

.month-table td:first-child {
    text-align: left;
    color: #888;
    font-size: 0.85em;
}

.sunday,
.holiday {
    color: #e74c3c;
    font-weight: 500;
}

.holidays-section {
    max-width: 1200px;
    margin: 40px auto 0;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    padding: 30px;
}

.holidays-section h2 {
    color: #2c3e50;
    margin-bottom: 25px;
    font-size: 1.6em;
    border-bottom: 2px solid #e74c3c;
    padding-bottom: 10px;
}

.holiday-list {
    list-style: none;
}

.holiday-list li {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.holiday-list li:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.holiday-date {
    color: #e74c3c;
    font-weight: bold;
    font-size: 1.1em;
}

.holiday-name {
    font-weight: 600;
    color: #2c3e50;
    margin-left: 10px;
}

.holiday-description {
    margin-top: 8px;
    color: #555;
    line-height: 1.6;
}

@media (max-width: 900px) {
    .calendar-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .calendar-grid {
        grid-template-columns: 1fr;
    }
}
