/* PREMIUM MICRO-INTERACTIONS AND ANIMATIONS */

/* Keyframe Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
    100% {
        transform: translateY(0px);
    }
}

@keyframes pulseGlow {
    0% {
        box-shadow: 0 0 10px rgba(255, 71, 87, 0.1);
    }
    50% {
        box-shadow: 0 0 25px rgba(255, 71, 87, 0.35);
    }
    100% {
        box-shadow: 0 0 10px rgba(255, 71, 87, 0.1);
    }
}

/* Animation Classes */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.float-animation {
    animation: float 6s ease-in-out infinite;
}

.pulse-glow-animation {
    animation: pulseGlow 3s infinite alternate;
}

/* Micro-interactions & Hover Effects */
.btn, .glass-card, .nav-menu a, .filter-btn, .gallery-item {
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Hover effects for header active state */
.header.scroll-active {
    background: rgba(10, 10, 11, 0.85);
    border-bottom: 1px solid var(--border-glass);
    padding: 5px 0;
}

/* Menu Toggle Animation */
.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}
.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}
.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
}

/* Map Grid Animated Glow */
.map-grid-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 200%;
    height: 200%;
    background-image: radial-gradient(circle, rgba(255, 71, 87, 0.05) 1px, transparent 1px);
    background-size: 20px 20px;
    z-index: 1;
    opacity: 0.7;
    animation: float 20s linear infinite;
}
