/* Container utama */
.portfolio-slider-container {
    width: 100%;
    padding: 0 15px;
    margin: 0 auto;
    max-width: 1400px;
}

/* Slider utama */
.portfolio-slider {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

/* Container gambar */
.slide-image-container {
    width: 100%;
    height: 0;
    padding-bottom: 75%;
    /* Rasio 4:3 */
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    background: #f8f9fa;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Gambar slide */
.slide-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

/* Efek hover */
.swiper-slide:hover .slide-image-container {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.swiper-slide:hover .slide-image {
    transform: scale(1.05);
}

/* Navigasi */
.swiper-button-prev,
.swiper-button-next {
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 50%;
    color: white;
    top: 50%;
    transform: translateY(-50%);
}

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

/* Pagination */
.swiper-pagination {
    position: relative;
    margin-top: 20px;
}

.swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    margin: 0 6px;
    background: #ddd;
    opacity: 1;
}

.swiper-pagination-bullet-active {
    background: #007bff;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .slide-image-container {
        padding-bottom: 100%;
        /* Rasio 1:1 di tablet */
    }
}

@media (max-width: 576px) {
    .slide-image-container {
        padding-bottom: 120%;
        /* Lebih tinggi di mobile */
    }

    .swiper-button-prev,
    .swiper-button-next {
        width: 30px;
        height: 30px;
    }
}