/* Estilos para la galería 2024 con carga progresiva */

html{
    background-color: #310092;
}

.content-gallery-2024 {
    padding-bottom: 50px;
}

.content-gallery .col-md-4 img{
    height: 250px;
    object-fit: cover;
    object-position: 50% 30%;
}

.content-gallery-2024{
    background-color: #310092;
}

.gallery-2024 {
    position: relative;
    padding-bottom: 40px;
}

/* Botón Cargar Más */
.load-more-container {
    text-align: center;
    margin-top: 40px;
    margin-bottom: 40px;
}

.btn-basic{
    font-family: "gelion_medium";
    margin:0;
    display: block;
    text-decoration: none;
    display: block;
    font-size: 18px;
    background-color: transparent;
    border: 2px solid white;
    color: white !important;
    padding: 10px 20px;
    width: auto;
    transition: .2s 
ease;
    background-color: transparent;
}

.btn-basic:hover {
    background: #ff1493;
    color: #fff;
  }

/* Contador de imágenes */
.images-counter {
    text-align: center;
    color: #fff;
    font-size: 14px;
    margin-top: 20px;
    opacity: 0.8;
}

/* Animación de fade in para nuevas imágenes */
.gallery-2024 .col-md-4 {
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Escalonar la animación */
.gallery-2024 .col-md-4:nth-child(1) { animation-delay: 0.1s; }
.gallery-2024 .col-md-4:nth-child(2) { animation-delay: 0.15s; }
.gallery-2024 .col-md-4:nth-child(3) { animation-delay: 0.2s; }
.gallery-2024 .col-md-4:nth-child(4) { animation-delay: 0.25s; }
.gallery-2024 .col-md-4:nth-child(5) { animation-delay: 0.3s; }
.gallery-2024 .col-md-4:nth-child(6) { animation-delay: 0.35s; }

/* Para las nuevas imágenes cargadas dinámicamente */
.gallery-2024 .col-md-4.newly-loaded {
    animation: fadeInUp 0.4s ease forwards;
}
