/* Estilos para la página de Disfruta tu Cumpleaños */

/* Galería de beneficios responsive */
#birthday-benefits-grid .col-lg-4,
#birthday-benefits-grid .col-md-6 {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#birthday-benefits-grid .col-lg-4:hover,
#birthday-benefits-grid .col-md-6:hover {
    transform: translateY(-5px);
}

/* Asegurar que las imágenes tengan el mismo tamaño */
#birthday-benefits-grid .top-downloaded__image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease;
}

#birthday-benefits-grid .top-downloaded__image:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

/* Estilos para los botones CTA */
#birthday-benefits-grid .top-coupon-image-link {
    max-width: 150px;
    height: auto;
    transition: transform 0.2s ease;
}

#birthday-benefits-grid .top-coupon-image-link:hover {
    transform: scale(1.05);
}

/* Regla específica para botones de la página de cumpleaños */
.top-coupon-image-link.birthday-page-item-button {
    bottom: 25% !important;
}

@media (min-width: 768px) and (max-width: 991.98px) {
    .top-coupon-image-link.birthday-page-item-button {
        bottom: 30% !important;
    }
}

/* Títulos de beneficios en la galería */
#birthday-benefits-grid h2 {
    min-height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* Responsividad específica */
@media (min-width: 768px) and (max-width: 991.98px) {
    /* Tablets - 2 columnas */
    #birthday-benefits-grid .top-downloaded__image {
        height: 180px;
    }
}

@media (min-width: 992px) {
    /* Desktop - 3 columnas */
    #birthday-benefits-grid .top-downloaded__image {
        height: 220px;
    }
}

/* Mejoras para el carrusel móvil */
@media (max-width: 767.98px) {
    #glide-birthday-benefits .top-downloaded__image {
        max-width: 280px;
        height: auto;
        margin: 0 auto;
    }
    
    #glide-birthday-benefits .glide__slide {
        padding: 0 15px;
    }
    
    #glide-birthday-benefits .glide__arrows {
        margin-top: 1rem;
    }
}

/* Animación suave para cambios de layout */
.fade-transition {
    transition: opacity 0.3s ease-in-out;
}
