/* Estilos para la Galería de Imágenes */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2.5rem;
    width: 100%;
    padding: 2rem 0;
}

.gallery-item {
    width: 100%;
    height: 160px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    border: 2px solid transparent;
    cursor: pointer;
}

.gallery-item:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 15px 40px rgba(107,15,43,0.2);
    border-color: #6b0f2b;
    background: linear-gradient(135deg, #ffffff 0%, #fff5f7 100%);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    transition: transform 0.4s ease;
}

.gallery-item:hover img {
    transform: scale(1.08);
}

/* Responsive */
@media (max-width: 1200px) {
    .gallery {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 2rem;
    }

    .gallery-item {
        height: 150px;
    }
}

@media (max-width: 768px) {
    .gallery {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
        gap: 1.5rem;
        padding: 1.5rem 0;
    }

    .gallery-item {
        height: 140px;
        padding: 12px;
    }
}

@media (max-width: 576px) {
    .gallery {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
        gap: 1rem;
        padding: 1rem 0;
    }

    .gallery-item {
        height: 120px;
        padding: 10px;
        border-radius: 10px;
    }
}
