

/* Slideshow Container */
.slideshow-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.slideshow {
    position: relative;
    width: 100%;
    height: 80vh; /* Use viewport height for full-screen behavior */
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    background-color: #000; /* Add a background color for better contrast */
}

.slideshow-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain; /* Ensure the image fits within the container */
    transition: opacity 0.5s ease-in-out;
    opacity: 0;
}

.slideshow-image.active {
    opacity: 1;
}

/* Slideshow Label */
.slideshow-label {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 18px;
    text-align: center;
    z-index: 10;
}

/* Navigation Arrows */
.arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.6);
    border: none;
    padding: 15px;
    cursor: pointer;
    border-radius: 50%;
    transition: background-color 0.3s ease, transform 0.3s ease;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
}

.arrow:hover {
    background-color: rgba(0, 0, 0, 0.9);
    transform: translateY(-50%) scale(1.1);
}

.arrow svg {
    width: 30px;
    height: 30px;
    fill: white; /* Arrow color */
}

.prev {
    left: 20px;
}

.next {
    right: 20px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .slideshow {
        height: 60vh; /* Adjust height for tablets */
    }

    .slideshow-label {
        font-size: 16px;
        bottom: 15px;
    }

    .arrow {
        padding: 10px;
        width: 40px;
        height: 40px;
    }

    .arrow svg {
        width: 20px;
        height: 20px;
    }
}

@media (max-width: 480px) {
    .slideshow {
        height: 50vh; /* Adjust height for mobile */
        border-radius: 0; /* Remove border radius for full-screen feel */
    }

    .slideshow-label {
        font-size: 14px;
        bottom: 10px;
        padding: 8px 15px;
    }
}

   