
.carousel-container {
    display: flex;
    flex-direction: row;
    width: 100%;
    height: 100%;
 
    overflow: hidden;
    background-color: white;
}

.content-container {
    flex: 1;
    padding: 20px;
    display: flex;
    flex-direction: column;
    /*justify-content: center;*/
}

.content {
    display: none;
}

.content.active {
    display: block;
}

.swiper-container {
    width: 50%;
    height: 100%;
   
    overflow: hidden;
}

.swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.swiper-slide img {
    max-width: 100%;
    max-height: 100%;
    width: 310px;
    height: 580px;
    cursor: pointer;
    border-radius: 10px;
    opacity: 0.5;
}

.image-overlay {
    position: relative;
    width: 310px;
    height: 580px;
}

.overlay-content {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
   /* background: rgba(21,140,170, 0.7);*/
   background: #F97B03;
    color: white;
    padding: 10px;
    text-align: center;
    opacity: 1;
    /*opacity: 0;*/
    transition: opacity 0.3s ease;
}

.overlay-content h3 {
    margin: 0;
    font-size: 1.2rem;
    text-transform: uppercase !important;
    font-weight: 600;
}

.overlay-content p {
    margin: 5px 0 0;
    font-size: 0.9rem;
}
.swiper-slide img:hover {
    opacity: 1 !important; /* Full opacity on hover */
}
.image-overlay:hover .overlay-content {
    opacity: 1;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .swiper-container {
        width: 100%;
        height: 300px;
    }

    .swiper-slide img {
        width: 200px;
        height: 280px;
    }

    .image-overlay {
        width: 200px;
        height: 280px;
    }
}

@media (max-width: 480px) {
    .carousel-container{
        display: block;
    }
    .swiper-slide {
        display: block;
    }
    .swiper-container {
        height: 250px;
    }

    .swiper-slide img {
       
        margin-left: 20px;
      
        width: 160px;
        height: 280px;
    }

    .image-overlay {
        width: 160px;
        height: 230px;
    }
    .overlay-content{
        margin-left: 20px;
        width: 160px;  
        height: 80px;
    }
    .overlay-content h3 {
        font-size: 1rem;
    }

    .overlay-content p {
        font-size: 0.8rem;
    }
}