     
        .gallery-container {
            max-width: 98%;
            margin: 0 auto 50px auto;
            background:white;
            padding: 30px;
            border-radius: 15px;
           /*box-shadow: 0 4px 6px rgba(0,0,0,0.1);*/
        }
        
        .carousel-inner {
            padding: 0 50px;
        }
        
        .carousel-item {
            transition: transform 0.6s ease;
        }
        
        .carousel-item img {
            background: #f0f0f0;
        }
        
        /* Evita el parpadeo negro entre transiciones */
        .carousel-inner::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: white;
            z-index: -1;
        }
        
        .image-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 15px;
        }
        
        .image-grid img {
            width: 100%;
            height: 280px;
            object-fit: cover;
            border-radius: 10px;
            transition: transform 0.3s;
            background-color: #e9ecef;
            display: block;
        }
        
        .image-grid img:hover {
            transform: scale(1.05);
        }
        
        .carousel-control-prev,
        .carousel-control-next {
            width: 50px;
            height: 50px;
            background: rgba(0,0,0,0.6);
            border-radius: 50%;
            top: 50%;
            transform: translateY(-50%);
            opacity: 0.8;
            transition: all 0.3s;
        }
        
        .carousel-control-prev:hover,
        .carousel-control-next:hover {
            opacity: 1;
            background: rgba(0,0,0,0.8);
        }
        
        .carousel-control-prev {
            left: 20px;
        }
        
        .carousel-control-next {
            right: 20px;
        }
        
        .carousel-indicators {
            margin-bottom: -30px;
        }
        
        .carousel-indicators button {
            width: 12px;
            height: 12px;
            border-radius: 50%;
            margin: 0 5px;
            background-color:#191919;
        }
        
        h2 {
            text-align: center;
            margin-bottom: 30px;
            color: #333;
            font-weight: 600;
        }
        
        /* Tablet */
        @media (max-width: 992px) {
            .image-grid {
                grid-template-columns: repeat(2, 1fr);
            }
            
            .image-grid img {
                height: 250px;
            }
                    .gallery-container {
            max-width: 1400px;
            margin: 0 auto 50px auto;
            background: white;
            padding: 30px;
            border-radius: 15px;
        }
        }
        
        /* Mobile */
        @media (max-width: 576px) {
        .gallery-container {
            max-width: 1400px;
            margin: 0 auto 50px auto;
            background: white;
            padding: 30px;
            border-radius: 15px;
        }
            .image-grid {
                grid-template-columns: 1fr;
            }
            
            .image-grid img {
                height: 250px;
            }
            
            .carousel-inner {
                padding: 0 40px;
            }
            
            .carousel-control-prev,
            .carousel-control-next {
                width: 40px;
                height: 40px;
            }
            
            .carousel-control-prev {
                left: 10px;
            }
            
            .carousel-control-next {
                right: 10px;
            }
            
            .gallery-container {
                padding: 20px;
            }
    
    
    /* Slider muestra solo 1 imagen en mobile */
    .image-grid {
        grid-template-columns: 1fr !important;
        gap: 0;
    }
    
    .image-grid img {
        height: 300px;
    }
    
    /* Ocultar las 3 imágenes adicionales en cada slide */
    .image-grid img:nth-child(n+2) {
        display: none;
    }
    
    .gallery-container {
        padding: 15px;
        margin: 0 auto 30px auto;
    }
    
    .carousel-inner {
        padding: 0 45px;
    }
    
    .carousel-control-prev,
    .carousel-control-next {
        width: 35px;
        height: 35px;
    }
    
    .carousel-control-prev {
        left: 5px;
    }
    
    .carousel-control-next {
        right: 5px;
    }
}
 
