/* ==========================================================================
   Agenda Pondok - Slide/Carousel Layout
   ========================================================================== */

.ap-slider {
    position: relative;
    overflow: hidden;
    border-radius: var(--ap-border-radius, 16px);
    background: #0f172a;
}

.ap-slider-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.ap-slide {
    flex: 0 0 100%;
    width: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
    display: none;
}

.ap-slide-active {
    opacity: 1;
    display: block;
}

.ap-slide .ap-card {
    border-radius: 0;
    box-shadow: none;
    min-height: 440px;
}

/* Slider Navigation */
.ap-slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.25);
    background: rgba(0, 0, 0, 0.35);
    color: #ffffff;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(8px);
}

.ap-slider-btn:hover {
    background: var(--ap-primary, #0d9488);
    border-color: var(--ap-primary, #0d9488);
    transform: translateY(-50%) scale(1.1);
}

.ap-slider-btn:active {
    transform: translateY(-50%) scale(0.95);
}

.ap-slider-prev {
    left: 20px;
}

.ap-slider-next {
    right: 20px;
}

/* Slider Dots */
.ap-slider-dots {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.ap-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.35);
    cursor: pointer;
    transition: all 0.3s ease;
}

.ap-dot:hover {
    background: rgba(255, 255, 255, 0.6);
}

.ap-dot-active {
    background: #ffffff;
    transform: scale(1.25);
    box-shadow: 0 0 12px rgba(255, 255, 255, 0.4);
}

/* Responsive */
@media screen and (max-width: 768px) {
    .ap-slide .ap-card {
        min-height: 380px;
    }

    .ap-slider-btn {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .ap-slider-prev {
        left: 12px;
    }

    .ap-slider-next {
        right: 12px;
    }

    .ap-slider-dots {
        bottom: 18px;
    }

    .ap-dot {
        width: 8px;
        height: 8px;
    }
}

@media screen and (max-width: 480px) {
    .ap-slide .ap-card {
        min-height: 340px;
    }

    .ap-slider-btn {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }
}

/* Slide Animation */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.ap-slide-active .ap-card-content {
    animation: fadeIn 0.6s ease;
}
