@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);
}

/* Hero "Alambamento Event Manager" (home) */
.em-hero {
    position: relative;
    background-color: #241f16; /* base visível enquanto a imagem carrega */
    background-image: url('/images/site/manager-1.jpg');
    background-size: cover;
    height: 500px; /* ocupa toda a altura da viewport */
    background-position: center 28%;
    overflow: hidden;
}
.em-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(18, 15, 10, 0.55), rgba(18, 15, 10, 0.72));
}
.em-hero-conteudo {
    position: relative;
    z-index: 1;
    margin: 0 auto;
    padding: 4rem 1rem;
    text-align: center;
    color: #fff;
}
.em-hero-badge {
    display: inline-block;
    font-size: 0.72rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #E8D5A3;
    border: 1px solid rgba(232, 213, 163, 0.45);
    background: rgba(201, 169, 98, 0.18);
    padding: 0.4rem 1rem;
    border-radius: 9999px;
    margin-bottom: 1.25rem;
}
.em-hero-titulo {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-weight: 600;
    line-height: 1.15;
    font-size: 2rem;
    margin: 0 auto;
}
.em-hero-subtitulo {
    color: rgba(255, 255, 255, 0.85);
    max-width: 44rem;
    margin: 1.25rem auto 0;
    font-size: 0.95rem;
    line-height: 1.6;
}
.em-hero-acoes {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 2rem;
}
.em-hero-acoes a {
    padding: 0.8rem 2rem;
    border-radius: 0.5rem;
    font-weight: 500;
    text-decoration: none;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.em-hero-btn-primario { background: #C9A962; color: #fff; }
.em-hero-btn-primario:hover { background: #9A7B3E; }
.em-hero-btn-secundario { border: 1px solid rgba(255, 255, 255, 0.6); color: #fff; }
.em-hero-btn-secundario:hover { border-color: #E8D5A3; color: #E8D5A3; }

@media (min-width: 641px) {
    .em-hero-conteudo { padding: 6.5rem 2rem; }
    .em-hero-titulo { font-size: 3rem; }
    .em-hero-subtitulo { font-size: 1.05rem; }
    .em-hero-acoes { flex-direction: row; justify-content: center; gap: 0.75rem; }
}