.slideshow-container {
    max-width: 100vw; /* Full viewport width */
    width: 100%; /* Ensure it takes available width */
    position: relative;
    margin: 0; /* No margin for full width */
    background-color: rgba(0, 0, 0, 0);
    box-shadow: none; /* Removed shadow for full width */
    border-radius: 0; /* Removed border-radius for full width */
    overflow: hidden; /* Important for fade effect and containing absolute elements */
}

.slides {
    position: relative;
    width: 100%;
    height: 600px; /* Adjusted height for full screen, change as needed */
    overflow: hidden;
}

.slides img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures images fill the container, cropping if necessary */
    display: none; /* Hide all images by default */
    position: absolute; /* Position for fade effect */
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 0.8s ease-in-out; /* Fade transition */
}

.slides img.active {
    display: block; /* Show the active image */
    opacity: 1; /* Make it visible */
}

/* Next & previous buttons */
.prev, .next {
    cursor: pointer;
    position: absolute; /* Positioned relative to .slideshow-container */
    top: 50%; /* Center vertically */
    transform: translateY(-50%); /* Adjust for half of their own height */
    width: auto;
    padding: 16px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    user-select: none;
    background-color: rgba(0,0,0,0.5);
    z-index: 10; /* Ensure arrows are above images */
}

/* Position the "next button" to the right */
.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

/* Position the "previous button" to the left */
.prev {
    left: 0;
    border-radius: 0 3px 3px 0;
}

/* On hover, add a black background with a little more opacity */
.prev:hover, .next:hover {
    background-color: rgba(0,0,0,0.8);
}

/* Dots indicator */
.dot-container {
    text-align: center;
    padding: 20px;
    background-color: rgba(0, 0, 0, 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;
}

.dot.active, .dot:hover {
    background-color: #717171;
}

/* Fading animation */
.fade {
  animation-name: fade;
  animation-duration: 1.5s;
}

@keyframes fade {
  from {opacity: .4}
  to {opacity: 1}
}

/* Media query for smaller screens - Adjust height for mobile */
@media (max-width: 768px) {
    .slides {
        height: 300px; /* Smaller height for mobile */
    }
}