/* Arquivo de animações adicionais */

@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
    100% {
        transform: translateY(0px);
    }
}

@keyframes reveal {
    0% {
        transform: scaleY(0);
        opacity: 0;
    }
    100% {
        transform: scaleY(1);
        opacity: 1;
    }
}

@keyframes shine {
    0% {
        background-position: -100px;
    }
    100% {
        background-position: 400px;
    }
}

/* Animação para destaques nos cards */
.feature-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to right,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.3) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    background-size: 200px 100%;
    background-repeat: no-repeat;
    background-position: -100px;
    transform: skewX(-20deg);
    opacity: 0;
    transition: all 0.3s;
    pointer-events: none;
}

.feature-item:hover::after {
    opacity: 1;
    animation: shine 1.5s infinite;
}

/* Animação para o mapa */
.location-map {
    position: relative;
    overflow: hidden;
}

.location-map::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        45deg,
        rgba(0, 120, 215, 0.2) 0%,
        rgba(255, 152, 0, 0.2) 100%
    );
    z-index: 1;
    opacity: 0;
    transition: opacity 0.5s;
}

.location-map:hover::before {
    opacity: 1;
}

.location-map::after {
    content: 'Parque Santorini';
    position: absolute;
    bottom: 20px;
    right: 20px;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 8px 15px;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 500;
    z-index: 2;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.3s ease;
}

.location-map:hover::after {
    transform: translateY(0);
    opacity: 1;
}

/* Animação para os inputs */
@keyframes focusAnimation {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 120, 215, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(0, 120, 215, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(0, 120, 215, 0);
    }
}

.form-group input:focus {
    animation: focusAnimation 1s ease-out;
}

/* Animações gerais */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes shake {
    0%, 100% {
        transform: translateX(0);
    }
    10%, 30%, 50%, 70%, 90% {
        transform: translateX(-5px);
    }
    20%, 40%, 60%, 80% {
        transform: translateX(5px);
    }
}

@keyframes gradient {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

@keyframes floating {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
    100% {
        transform: translateY(0);
    }
}

/* Animação para ícones do formulário */
.input-icon {
    transition: transform 0.2s ease, color 0.2s ease;
}

.input-icon-wrapper:focus-within .input-icon {
    transform: translateY(-50%) translateX(-3px) !important;
    color: var(--primary-color) !important;
}

/* Animação do botão */
.btn-cadastrar {
    position: relative;
    overflow: hidden;
}

.btn-cadastrar::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 5px;
    height: 5px;
    background-color: rgba(255, 255, 255, 0.5);
    opacity: 0;
    border-radius: 100%;
    transform: scale(1, 1) translate(-50%, -50%);
    transform-origin: 50% 50%;
}

.btn-cadastrar:hover::after {
    animation: ripple 1s ease-out;
}

@keyframes ripple {
    0% {
        transform: scale(0, 0) translate(-50%, -50%);
        opacity: 0.5;
    }
    100% {
        transform: scale(20, 20) translate(-50%, -50%);
        opacity: 0;
    }
}

/* Animação para os campos de entrada */
.form-group {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

/* Animação para os marcadores do mapa */
.location-markers {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 2;
    pointer-events: none;
}

.marker {
    position: absolute;
    width: 20px;
    height: 20px;
    background-color: var(--accent-color);
    border-radius: 50%;
    box-shadow: 0 0 0 6px rgba(0, 120, 215, 0.2);
    animation: pulse 2s infinite;
}

.marker::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    background: white;
    border-radius: 50%;
}

/* Animação para itens de recursos */
.feature-item {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    transition: transform 0.3s ease, color 0.3s ease;
}

.feature-item:hover .feature-icon {
    transform: scale(1.2);
    color: var(--primary-color);
}

/* Animação para elementos entrando na viewport */
.animate-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.shake-animation {
    animation: shake 0.5s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
} 