/* Custom Gallery Styles */
.custom-gallery {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.main-image-container {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
    border-radius: 15px;
    margin-bottom: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

#mainGalleryImage {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

#mainGalleryImage:hover {
    transform: scale(1.02);
}

.thumbnails-container {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 10px;
}

.thumbnail {
    width: 100px;
    height: 70px;
    overflow: hidden;
    border-radius: 5px;
    cursor: pointer;
    border: 3px solid transparent;
    transition: all 0.3s ease;
}

.thumbnail.active {
    border-color: #38a169;
}

.thumbnail:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#prevImageBtn,
#nextImageBtn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.3s ease;
    z-index: 10;
    border: none;
}

#prevImageBtn:hover,
#nextImageBtn:hover {
    background-color: rgba(56, 161, 105, 0.8);
}

#prevImageBtn {
    right: 10px;
}

#nextImageBtn {
    left: 10px;
}

/* Responsive styles */
@media (max-width: 768px) {
    .main-image-container {
        height: 250px;
    }
    
    .thumbnail {
        width: 80px;
        height: 60px;
    }
    
    #prevImageBtn,
    #nextImageBtn {
        width: 35px;
        height: 35px;
    }
}

@media (max-width: 480px) {
    .main-image-container {
        height: 200px;
    }
    
    .thumbnail {
        width: 65px;
        height: 45px;
    }
    
    #prevImageBtn,
    #nextImageBtn {
        width: 30px;
        height: 30px;
    }
} 