/* ===== FOTO SLIDER ===== */
.slider-section {
    margin-bottom: 50px;
}

.slider {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
}

.slides-wrapper {
    flex: 1;
    overflow: hidden;
    border-radius: 10px;
    border: 2px solid #c4ff00;
    position: relative;
    height: 400px;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease;
    pointer-events: none;
}

.slide.active {
    opacity: 1;
    pointer-events: auto;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 8px;
}

.slide-placeholder {
    width: 100%;
    height: 100%;
    background-color: #2a2a2a;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #888;
    border-radius: 8px;
}

.slider-btn {
    background: #c4ff00;
    color: #000;
    border: none;
    font-size: 1.5rem;
    padding: 12px 16px;
    cursor: pointer;
    border-radius: 5px;
    font-weight: bold;
    transition: background 0.2s;
    flex-shrink: 0;
}

.slider-btn:hover {
    background: #a8e000;
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 12px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #555;
    cursor: pointer;
    transition: background 0.2s;
}

.dot.active {
    background: #c4ff00;
}

/* ===== KALENDER ===== */
.calendar-section {
    margin-bottom: 80px;
}

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

.cal-nav-btn {
    background: #c4ff00;
    color: #000;
    border: none;
    font-size: 1.3rem;
    padding: 8px 16px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: background 0.2s;
}

.cal-nav-btn:hover {
    background: #a8e000;
}

#calMonthLabel {
    font-size: 1.4rem;
    font-weight: bold;
    min-width: 200px;
    text-align: center;
    color: #c4ff00;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
}

.cal-day-header {
    text-align: center;
    font-weight: bold;
    font-size: 0.85rem;
    padding: 8px 0;
    color: #c4ff00;
    border-bottom: 1px solid #444;
}

.cal-day {
    background: #2a2a2a;
    min-height: 80px;
    padding: 6px;
    border-radius: 5px;
    cursor: default;
    position: relative;
    border: 1px solid #3a3a3a;
    transition: border 0.2s;
}

.cal-day.empty {
    background: transparent;
    border: none;
}

.cal-day.has-event {
    border: 1px solid #c4ff00;
    cursor: pointer;
}

.cal-day.has-event:hover {
    background: #333;
}

.cal-day.today .cal-day-num {
    background: #c4ff00;
    color: #000;
    border-radius: 50%;
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cal-day-num {
    font-size: 0.9rem;
    font-weight: bold;
    margin-bottom: 4px;
}

.cal-event-dot {
    font-size: 0.7rem;
    background: #c4ff00;
    color: #000;
    border-radius: 3px;
    padding: 1px 4px;
    margin-top: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
}

/* ===== EVENT POPUP ===== */
.event-popup {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.event-popup-inner {
    background: #222;
    border: 2px solid #c4ff00;
    border-radius: 10px;
    padding: 30px;
    min-width: 320px;
    position: relative;
}

.event-popup-inner h3 {
    margin-top: 0;
    color: #c4ff00;
    font-size: 1.3rem;
}

.event-popup-inner ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.event-popup-inner ul li {
    padding: 8px 0;
    border-bottom: 1px solid #444;
    font-size: 1rem;
}

.event-popup-inner ul li:last-child {
    border-bottom: none;
}

.popup-close {
    position: absolute;
    top: 12px;
    right: 12px;
    background: none;
    border: none;
    color: #c4ff00;
    font-size: 1.2rem;
    cursor: pointer;
}

@media (max-width: 900px) {
    .slides-wrapper {
        height: 280px;
    }

    .slider {
        gap: 6px;
    }

    .slider-btn {
        font-size: 1.2rem;
        padding: 8px 10px;
    }

    .calendar-nav {
        gap: 10px;
    }

    .cal-nav-btn {
        padding: 6px 10px;
        font-size: 1rem;
    }

    #calMonthLabel {
        min-width: 150px;
        font-size: 1.1rem;
    }

    .cal-day-header {
        font-size: 0.72rem;
        padding: 6px 0;
    }

    .cal-day {
        min-height: 64px;
        padding: 4px;
    }

    .cal-day-num {
        font-size: 0.8rem;
    }

    .cal-event-dot {
        font-size: 0.62rem;
        padding: 1px 3px;
    }

    .event-popup-inner {
        min-width: auto;
        width: min(92vw, 420px);
        padding: 18px;
    }
}

@media (max-width: 600px) {
    .slides-wrapper {
        height: 220px;
    }

    #calMonthLabel {
        min-width: 120px;
        font-size: 1rem;
    }

    .cal-day {
        min-height: 56px;
    }
}
