@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes modalScaleIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes zoomIn {
    from {
        transform: scale(1);
    }
    to {
        transform: scale(1.5);
    }
}

.animate-fade-in {
    animation: fadeIn 0.3s ease-out;
}

.animate-slide-up {
    animation: slideUp 0.4s ease-out;
}

.animate-modal-in {
    animation: modalScaleIn 0.3s cubic-bezier(0.34, 1.2, 0.64, 1);
}

.animate-info-in {
    animation: slideUp 0.4s ease-out 0.1s both;
}

/* Scrollbar personalizada para o modal */
.modal-open {
    overflow: hidden;
    padding-right: var(--scrollbar-width, 0px);
}

/* Efeito de brilho nas imagens do modal */
#casamentoImgHome {
    transition: opacity 0.3s ease, transform 0.3s ease;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    cursor: pointer;
}

/* Melhorias para as miniaturas */
.thumbnail-item {
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.thumbnail-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.thumbnail-item img {
    transition: transform 0.3s ease;
}

.thumbnail-item:hover img {
    transform: scale(1.1);
}

/* Efeito de glow nas imagens ativas */
.thumbnail-item.ring-gold {
    box-shadow: 0 0 0 2px #d4af37, 0 4px 12px rgba(0, 0, 0, 0.4);
}

/* Melhorias para desktop - imagens maiores */
@media (min-width: 1024px) {
    #casamentoImgHome {
        margin-top: 15px;
        max-height: 600px;
        max-width: 600px;
        margin: 0 auto;
    }
    
    .thumbnail-item {
        width: 3rem;
        height: 3rem;
    }
}

/* Classe para zoom na imagem */
.image-zoomed {
    transform: scale(1.5);
    cursor: zoom-out;
}

/* Efeito de overflay mais escuro ainda */
.bg-black\/95 {
    background-color: rgba(0, 0, 0, 0.96);
}