/* Slideshow container */
.slideshow-container {
    max-width: 1000px;
    position: relative;
    margin: 20px auto;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Slides */
.mySlides {
    display: none;
    position: relative;
    background: #f8f9fa;
    min-height: 300px;
}

.mySlides.fade {
    animation-name: fade;
    animation-duration: 1.5s;
}

@keyframes fade {
    from {opacity: .4} 
    to {opacity: 1}
}

/* Slide image */
.slide-image {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
}

/* Slide content */
.slide-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 20px;
}

.slide-content h3 {
    margin: 0 0 10px 0;
    color: #fff;
}

.slide-content p {
    margin: 0 0 15px 0;
    color: #e0e0e0;
}

.slide-content a {
    display: inline-block;
    padding: 8px 16px;
    background-color: #4CAF50;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.slide-content a:hover {
    background-color: #45a049;
}

/* Next & previous buttons */
.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    margin-top: -22px;
    padding: 16px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
    background-color: rgba(0,0,0,0.5);
}

/* Position the "next button" to the right */
.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover, .next:hover {
    background-color: rgba(0,0,0,0.8);
}

/* The dots/bullets/indicators */
.dots {
    text-align: center;
    padding: 10px 0;
}

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

.active, .dot:hover {
    background-color: #717171;
}

/* Responsive design */
@media screen and (max-width: 768px) {
    .slideshow-container {
        margin: 10px;
    }
    
    .slide-content {
        padding: 10px;
    }
    
    .slide-content h3 {
        font-size: 1.2em;
    }
    
    .slide-content p {
        font-size: 0.9em;
        margin-bottom: 10px;
    }
    
    .prev, .next {
        padding: 10px;
        font-size: 16px;
    }
}
