.car__img {
    position: relative;
    overflow: hidden;
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    color: white;
    font-size: 24px;
}

.car__img:hover .image-overlay {
    opacity: 1;
}

.car__image-count {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: bold;
}

/* Styles pour le carrousel dans le modal */
.carousel-image {
    height: 400px;
    object-fit: cover;
    width: 100%;
    cursor: zoom-in;
    transition: transform 0.3s ease;
}

.carousel-image:hover {
    transform: scale(1.05);
}

.carousel-image.zoomed {
    cursor: zoom-out;
    transform: scale(1.5);
    transition: transform 0.3s ease;
}

.carousel-indicators {
    bottom: -50px;
}

.carousel-indicators [data-bs-target] {
    background-color: #189cf4;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.carousel-control-prev,
.carousel-control-next {
    width: 5%;
    background: linear-gradient(to right, rgba(0,0,0,0.1), transparent);
}

.carousel-control-next {
    background: linear-gradient(to left, rgba(0,0,0,0.1), transparent);
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: #189cf4;
    border-radius: 50%;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.carousel-caption {
    background: rgba(0, 0, 0, 0.5);
    border-radius: 5px;
    padding: 10px;
}

.car-info {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    margin: 0;
}

.car-info h6 {
    color: #189cf4;
    margin-bottom: 10px;
}

/* Responsive */
@media (max-width: 768px) {
    .carousel-image {
        height: 300px;
    }
    
    .modal-dialog {
        margin: 10px;
    }
    
    .carousel-indicators {
        bottom: -40px;
    }
}