/* Facilities Slideshow Styles */
.facilities-slideshow {
    position: relative;
    width: 100%;
    height: 5vh;
    min-height: 600px;
    overflow: hidden;
    margin-bottom: 0;
}

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

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    display: flex;
    align-items: flex-end;
    padding-bottom: 80px;
}

.slide.active {
    opacity: 1;
}

.slide img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.slide-content {
    position: relative;
    z-index: 2;
    background: linear-gradient(135deg, rgba(106, 20, 128, 0.9), rgba(106, 20, 128, 0.7));
    color: white;
    padding: 40px 60px;
    max-width: 600px;
    border-radius: 20px 0 20px 0;
    backdrop-filter: blur(10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    animation: slideInUp 1s ease-out;
}

.slide-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.slide-content p {
    font-size: 1.2rem;
    margin-bottom: 0;
    opacity: 0.95;
}

/* Navigation Dots */
.nav-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 3;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.facilities-slideshow:hover .nav-dots {
    opacity: 1;
}

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

.dot.active, .dot:hover {
    background: #6a1480;
    transform: scale(1.2);
}

/* Prev/Next Buttons */
.prev, .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(106, 20, 128, 0.8);
    color: white;
    border: none;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    z-index: 3;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
    opacity: 0;
}

.facilities-slideshow:hover .prev,
.facilities-slideshow:hover .next {
    opacity: 1;
}

.prev {
    left: 30px;
}

.next {
    right: 30px;
}

.prev:hover, .next:hover {
    background: #6a1480;
    transform: translateY(-50%) scale(1.1);
}

/* Animations */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .facilities-slideshow {
        height: 60vh;
        min-height: 400px;
    }
    
    .slide-content {
        padding: 30px 40px;
        max-width: 90%;
    }
    
    .slide-content h2 {
        font-size: 2rem;
    }
    
    .slide-content p {
        font-size: 1.1rem;
    }
    
    .prev, .next {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
    
    .prev {
        left: 20px;
    }
    
    .next {
        right: 20px;
    }
    
    .nav-dots {
        bottom: 20px;
    }
}

@media (max-width: 576px) {
    .facilities-slideshow {
        height: 50vh;
        min-height: 350px;
    }
    
    .slide-content {
        padding: 25px 30px;
    }
    
    .slide-content h2 {
        font-size: 1.6rem;
    }
    
    .slide-content p {
        font-size: 1rem;
    }
}
