.slideshow {
    position: relative;
    overflow: hidden;
    width: 100%; 
}

.slideshow-inner {
    position: relative;
    width: 100%;
    height: 100%;
}

.slides {
    position: relative;
    width: 100%;
    height: 100%;
}

.slides .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease-in-out, visibility 0.8s ease-in-out;
    z-index: 1;
}

.slides .slide.is-active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

/* Navigation Arrows */
.slideshow .arrows {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10;
    pointer-events: none;
}

.slideshow .arrows .arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    pointer-events: all;
    transition: all 0.3s ease;
    font-size: 28px;
    color: #333;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    opacity: 0.8;
    border: none;
    outline: none;
}

.slideshow .arrows .arrow:hover {
    background: rgba(255, 255, 255, 1);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.25);
    opacity: 1;
}

.slideshow .arrows .arrow:active {
    transform: translateY(-50%) scale(0.95);
}

.slideshow .arrows .arrow.prev {
    left: 30px;
}

.slideshow .arrows .arrow.next {
    right: 30px;
}

/* Pagination Dots */
.slideshow .pagination {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 10;
    background: rgba(0, 0, 0, 0.2);
    padding: 12px 20px;
    border-radius: 30px;
    backdrop-filter: blur(10px);
}

.slideshow .pagination .item {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.6);
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.slideshow .pagination .item::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.3s ease;
}

.slideshow .pagination .item.is-active::before {
    width: 100%;
    height: 100%;
}

.slideshow .pagination .item.is-active {
    border-color: rgba(255, 255, 255, 0.9);
    transform: scale(1.2);
}

.slideshow .pagination .item:hover:not(.is-active) {
    border-color: rgba(255, 255, 255, 0.8);
    transform: scale(1.1);
}

.slideshow .pagination .item:hover:not(.is-active)::before {
    width: 60%;
    height: 60%;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .slideshow .arrows .arrow {
        width: 50px;
        height: 50px;
        font-size: 20px;
        opacity: 0.6;
    }
    
    .slideshow .arrows .arrow.prev {
        left: 20px;
    }
    
    .slideshow .arrows .arrow.next {
        right: 20px;
    }
    
    .slideshow .pagination {
        bottom: 30px;
        gap: 12px;
        padding: 10px 16px;
    }
    
    .slideshow .pagination .item {
        width: 14px;
        height: 14px;
    }
}

@media (max-width: 480px) {
    .slideshow .arrows .arrow {
        width: 44px;
        height: 44px;
        font-size: 18px;
    }
    
    .slideshow .arrows .arrow.prev {
        left: 15px;
    }
    
    .slideshow .arrows .arrow.next {
        right: 15px;
    }
    
    .slideshow .pagination {
        bottom: 25px;
        gap: 10px;
        padding: 8px 14px;
    }
    
    .slideshow .pagination .item {
        width: 12px;
        height: 12px;
    }
}

/* Loading animation for arrows */
.slideshow .arrows .arrow.loading {
    pointer-events: none;
    opacity: 0.5;
    animation: pulse 1s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 0.7; }
}