/* ============================
   ALAP STÍLUSOK
============================ */

.calendar {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
    font-family: "Segoe UI", sans-serif;
}

.calendar h2 {
    text-align: center;
    margin-bottom: 20px;
    color: #4A3B2A;
}

/* Rács */
.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 8px;
}

/* Napok alapstílusa */
.day {
    padding: 12px;
    min-height: 70px;
    border-radius: 10px;
    text-align: center;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Hover-effekt */
.day:hover {
    transform: scale(1.06);
    box-shadow: 0 4px 10px rgba(0,0,0,0.25);
}

/* ============================
   SZÍNEK – HARMONIZÁLT PALETTA
============================ */

/* Szabad nap – halvány zöld */
.day.free {
    background: #DFF5D2;
    color: #2F4F2F;
}

/* Kevés foglalás – narancs */
.day.low {
    background: linear-gradient(135deg, #FFC27A, #FFA94D);
    color: #4A2E00;
}

/* Közepes foglalás – erősebb narancs */
.day.medium {
    background: linear-gradient(135deg, #FF8C1A, #FF7A00);
    color: white;
}

/* Teltház – barna */
.day.full {
    background: linear-gradient(135deg, #8B4513, #5A2E0A);
    color: white;
}

/* ============================
   MAI NAP KIEMELÉSE
============================ */

.day.today {
    border: 3px solid #4CAF50;
    box-shadow: 0 0 10px rgba(76,175,80,0.6);
}

/* ============================
   NEM EHHEZ A HÓNAPHOZ TARTOZÓ NAPOK
============================ */

.day.other-month {
    background: #EEE;
    color: #999;
    opacity: 0.6;
}

/* ============================
   MOBILBARÁT MEGJELENÉS
============================ */

@media (max-width: 600px) {
    .calendar-grid {
        gap: 5px;
    }
    .day {
        padding: 10px;
        min-height: 55px;
        font-size: 14px;
    }
}
