/* Animações específicas para a página inicial */

/* Efeito de partículas flutuantes */
@keyframes float-particles {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
        opacity: 0.7;
    }
    50% {
        transform: translateY(-20px) rotate(180deg);
        opacity: 1;
    }
}

.floating-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: 1;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    animation: float-particles 6s ease-in-out infinite;
}

.particle:nth-child(1) { left: 10%; animation-delay: 0s; }
.particle:nth-child(2) { left: 20%; animation-delay: 1s; }
.particle:nth-child(3) { left: 30%; animation-delay: 2s; }
.particle:nth-child(4) { left: 40%; animation-delay: 3s; }
.particle:nth-child(5) { left: 50%; animation-delay: 4s; }
.particle:nth-child(6) { left: 60%; animation-delay: 5s; }
.particle:nth-child(7) { left: 70%; animation-delay: 1.5s; }
.particle:nth-child(8) { left: 80%; animation-delay: 2.5s; }
.particle:nth-child(9) { left: 90%; animation-delay: 3.5s; }

/* Efeito de brilho nos botões */
@keyframes shimmer {
    0% {
        background-position: -200% center;
    }
    100% {
        background-position: 200% center;
    }
}

.shimmer-btn {
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.4), 
        transparent);
    background-size: 200% 100%;
    animation: shimmer 2s infinite;
}

/* Efeito de onda nos cards */
@keyframes wave {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }
    50% {
        transform: scale(1.05);
        opacity: 1;
    }
    100% {
        transform: scale(1);
        opacity: 0.8;
    }
}

.wave-effect {
    position: relative;
    overflow: hidden;
}

.wave-effect::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(52, 152, 219, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.wave-effect:active::after {
    width: 300px;
    height: 300px;
}

/* Efeito de digitação */
@keyframes typing {
    from { width: 0; }
    to { width: 100%; }
}

@keyframes blink {
    0%, 50% { border-color: transparent; }
    51%, 100% { border-color: #3498db; }
}

.typing-effect {
    overflow: hidden;
    border-right: 2px solid #3498db;
    white-space: nowrap;
    animation: typing 3s steps(40, end), blink 0.75s step-end infinite;
}

/* Efeito de rotação 3D nos ícones */
@keyframes rotate3d {
    0% { transform: rotateY(0deg); }
    100% { transform: rotateY(360deg); }
}

.rotate-3d {
    transition: transform 0.3s ease;
}

.rotate-3d:hover {
    animation: rotate3d 1s ease-in-out;
}

/* Efeito de zoom suave */
@keyframes gentle-zoom {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.02); }
}

.gentle-zoom {
    animation: gentle-zoom 4s ease-in-out infinite;
}

/* Efeito de gradiente animado */
@keyframes gradient-shift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.animated-gradient {
    background: linear-gradient(-45deg, #3498db, #2980b9, #2c3e50, #34495e);
    background-size: 400% 400%;
    animation: gradient-shift 4s ease infinite;
}

/* Efeito de destaque nos horários */
@keyframes highlight {
    0% { background-color: rgba(52, 152, 219, 0.1); }
    50% { background-color: rgba(52, 152, 219, 0.3); }
    100% { background-color: rgba(52, 152, 219, 0.1); }
}

.highlight-effect {
    animation: highlight 2s ease-in-out infinite;
}

/* Efeito de entrada escalonada */
@keyframes staggered-fade-in {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.staggered-item:nth-child(1) { animation: staggered-fade-in 0.6s ease-out; }
.staggered-item:nth-child(2) { animation: staggered-fade-in 0.6s ease-out 0.1s both; }
.staggered-item:nth-child(3) { animation: staggered-fade-in 0.6s ease-out 0.2s both; }
.staggered-item:nth-child(4) { animation: staggered-fade-in 0.6s ease-out 0.3s both; }
.staggered-item:nth-child(5) { animation: staggered-fade-in 0.6s ease-out 0.4s both; }

/* Efeito de hover com borda animada */
.border-animation {
    position: relative;
    overflow: hidden;
}

.border-animation::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #3498db, transparent);
    transition: left 0.5s ease;
}

.border-animation:hover::before {
    left: 100%;
}

/* Efeito de sombra dinâmica */
@keyframes shadow-pulse {
    0%, 100% { box-shadow: 0 5px 15px rgba(52, 152, 219, 0.2); }
    50% { box-shadow: 0 10px 25px rgba(52, 152, 219, 0.4); }
}

.shadow-pulse {
    animation: shadow-pulse 2s ease-in-out infinite;
}

/* Efeito de texto com gradiente */
.gradient-text {
    background: linear-gradient(45deg, #3498db, #2980b9, #e67e22, #d35400);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient-shift 3s ease infinite;
    filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.5));
}

/* Efeito de loading com spinner */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.spinner {
    width: 20px;
    height: 20px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Efeito de hover com elevação */
.hover-lift {
    transition: all 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* Efeito de destaque no scroll */
.scroll-highlight {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.scroll-highlight.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Efeito de pulse nos botões de ação */
@keyframes action-pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.action-pulse {
    animation: action-pulse 2s ease-in-out infinite;
}

/* Efeito de destaque nos eventos */
.event-highlight {
    position: relative;
    overflow: hidden;
}

.event-highlight::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(52, 152, 219, 0.1), transparent);
    transition: left 0.5s ease;
}

.event-highlight:hover::before {
    left: 100%;
}

/* Responsividade para animações */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

@media (max-width: 768px) {
    .floating-particles {
        display: none;
    }
    
    .typing-effect {
        animation: none;
        border-right: none;
        white-space: normal;
    }
} 