/* Swiper Custom Styles */
.eventsSwiper {
    width: 100%;
    padding: 20px 0 60px 0;
}

.swiper-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 15px;
    overflow: hidden;
}

.swiper-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15) !important;
}

/* Custom Navigation Buttons */
.swiper-button-next,
.swiper-button-prev {
    color: #800000 !important;
    background: rgba(255, 255, 255, 0.9);
    width: 50px !important;
    height: 50px !important;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: #800000;
    color: white !important;
    transform: scale(1.1);
}

.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 18px !important;
    font-weight: bold;
}

/* Custom Pagination */
.swiper-pagination-bullet {
    background: #800000 !important;
    opacity: 0.3;
    width: 12px !important;
    height: 12px !important;
    margin: 0 6px !important;
}

.swiper-pagination-bullet-active {
    opacity: 1;
    transform: scale(1.2);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .swiper-button-next,
    .swiper-button-prev {
        width: 40px !important;
        height: 40px !important;
    }

    .swiper-button-next::after,
    .swiper-button-prev::after {
        font-size: 14px !important;
    }

    .eventsSwiper {
        padding: 10px 0 50px 0;
    }

    .swiper-card {
        margin: 0 10px;
    }
}

/* Image responsive */
.slider-image-responsive {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

@media (min-width: 768px) {
    .slider-image-responsive {
        height: 400px;
    }
}

/* Video Card Styles */
.video-card-home {
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.video-card-home:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15) !important;
}

.video-thumbnail-home {
    overflow: hidden;
}

.video-thumbnail-home img {
    transition: transform 0.3s ease-in-out;
}

.video-card-home:hover .video-thumbnail-home img {
    transform: scale(1.05);
}

.play-button-home {
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-card-home:hover .play-button-home {
    opacity: 1;
}

.play-button-home:hover {
    transform: scale(1.1);
}

/* Schedule Mobile Responsive Styles */
@media (max-width: 767.98px) {
    #jadwal .container {
        padding-left: 10px;
        padding-right: 10px;
    }

    #jadwal h2 {
        font-size: 1.5rem;
        margin-bottom: 2rem !important;
    }

    #jadwal .card {
        margin: 0 5px;
    }

    .schedule-mobile-item {
        transition: background-color 0.2s ease;
    }

    .schedule-mobile-item:hover {
        background-color: #f8f9fa;
    }

    .schedule-mobile-day {
        min-width: 80px;
    }

    .schedule-mobile-content h6 {
        font-size: 0.95rem;
        line-height: 1.3;
    }

    .schedule-mobile-content small {
        font-size: 0.8rem;
        line-height: 1.2;
    }

    .badge {
        font-size: 0.7rem;
        padding: 0.25em 0.5em;
    }
}

/* Extra small devices (phones, 576px and down) */
@media (max-width: 575.98px) {
    #jadwal .col-lg-10 {
        padding-left: 5px;
        padding-right: 5px;
    }

    .schedule-mobile-item {
        padding: 0.75rem !important;
    }

    .schedule-mobile-day {
        min-width: 70px;
    }

    .schedule-mobile-content h6 {
        font-size: 0.9rem;
    }

    .schedule-mobile-content small {
        font-size: 0.75rem;
    }
}

/* Improve card footer responsiveness */
@media (max-width: 767.98px) {
    .card-footer small {
        font-size: 0.8rem;
        line-height: 1.4;
    }

    .card-footer .whatsapp-link {
        display: inline-block;
        margin-top: 0.25rem;
    }
}
