/* Custom Animations */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

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

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

.animate-float-delayed {
    animation: float-delayed 3s ease-in-out infinite;
    animation-delay: 1.5s;
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #121212;
}

::-webkit-scrollbar-thumb {
    background: #2D2D2D;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #FF6B6B;
}

/* Selection Color */
::selection {
    background: #FF6B6B;
    color: white;
}

/* Mobile Menu Transitions */
#mobile-menu {
    transition: transform 0.3s ease, opacity 0.3s ease;
}

#mobile-menu.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
}

#mobile-menu.closed {
    transform: translateY(-10px);
    opacity: 0;
    pointer-events: none;
}

/* Image Optimization */
img {
    max-width: 100%;
    height: auto;
}

/* Form Focus States */
input:focus,
textarea:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(255, 107, 107, 0.3);
}

/* Button Hover Effects */
button,
a {
    transition: all 0.3s ease;
}

/* Map Inversion */
.map-filter {
    filter: grayscale(100%) invert(92%) contrast(83%);
}
