﻿.image-carousel {
    max-width: 100%;
    margin: 0 auto;
}

.custom-carousel {
    position: relative;
}

.carousel-main-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-btn {
    position: absolute;
    z-index: 10;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

    .carousel-btn:hover {
        opacity: 1;
    }

.carousel-btn-prev {
    left: 10px;
}

.carousel-btn-next {
    right: 10px;
}

.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 15px;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #dee2e6;
    cursor: pointer;
    transition: all 0.3s ease;
}

    .indicator.active {
        background: #007bff;
        transform: scale(1.2);
    }

    .indicator:hover {
        background: #6c757d;
    }

.carousel-image-container {
    position: relative;
    height: 400px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease;
}

    .carousel-image-container:hover {
        transform: scale(1.02);
    }

.carousel-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 8px;
}

.image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    color: white;
    padding: 20px 15px 15px;
    display: flex;
    justify-content: space-between;
    align-items: end;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.carousel-image-container:hover .image-overlay {
    opacity: 1;
}

.image-title {
    font-weight: 500;
    font-size: 14px;
}

.zoom-icon {
    font-size: 18px;
}

.thumbnails-container {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 15px;
}

.thumbnail {
    width: 80px;
    height: 60px;
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    opacity: 0.7;
}

    .thumbnail:hover {
        opacity: 1;
        transform: scale(1.1);
    }

    .thumbnail.active {
        border-color: #007bff;
        opacity: 1;
        box-shadow: 0 0 10px rgba(0,123,255,0.3);
    }

    .thumbnail img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.modal-image-container {
    display: flex;
    justify-content: center;
    align-items: center;
    max-height: 70vh;
}

.modal-image {
    max-width: 100%;
    max-height: 70vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

/* Responsive */
@@media (max-width: 768px) {
    .carousel-image-container {
        height: 250px;
    }

    .thumbnail {
        width: 60px;
        height: 45px;
    }

    .thumbnails-container {
        gap: 8px;
    }
}