/* Slideshow Styles */
.slideshow-container {
    position: relative;
    max-width: 100%;
    margin: 3rem 0;
    overflow: hidden;
}

.slideshow-slides {
    display: none;
    width: 100%;
    padding: 2rem;
}

.slideshow-slides.active {
    display: block;
}

.slideshow-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    width: 100%;
}

.slideshow-grid img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Navigation arrows */
.slideshow-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 1rem;
    padding-bottom: 1.1rem;
    cursor: pointer;
    font-size: 1.2rem;
    line-height: 1;
    transition: background 0.3s ease;
    z-index: 2;
    border-radius: 15px;
}

.slideshow-nav:hover {
    background: rgba(0, 0, 0, 0.7);
}

.slideshow-prev {
    left: 10px;
}

.slideshow-next {
    right: 10px;
}

/* Dots indicator */
.slideshow-dots {
    text-align: center;
    padding: 1rem;
}

.slideshow-dot {
    height: 12px;
    width: 12px;
    margin: 0 5px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.slideshow-dot.active,
.slideshow-dot:hover {
    background-color: var(--primary-blue);
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .slideshow-slides {
        padding: 1rem;
    }
    
    .slideshow-grid {
        gap: 0.5rem;
    }
    
    .slideshow-grid img {
        height: 180px;
    }
    
    .slideshow-nav {
        padding: 0.5rem;
        font-size: 1rem;
    }
    
    .slideshow-prev {
        left: 5px;
    }
    
    .slideshow-next {
        right: 5px;
    }
}

@media (max-width: 480px) {
    .slideshow-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .slideshow-grid img {
        height: 200px;
    }
}
