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

.animate-fade-in-up {
    animation: fadeInUp 0.8s ease-out;
}

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

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

::-webkit-scrollbar-track {
    background: #1a1a1a;
}

::-webkit-scrollbar-thumb {
    background: #4a4a4a;
    border-radius: 4px;
}

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

/* Selection Color */
::selection {
    background: #ff6b6b;
    color: #1a1a1a;
}

/* Mobile Menu Transitions */
.mobile-link {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

#mobile-menu.opacity-100 .mobile-link {
    opacity: 1;
    transform: translateY(0);
}

#mobile-menu.opacity-100 .mobile-link:nth-child(1) { transition-delay: 0.1s; }
#mobile-menu.opacity-100 .mobile-link:nth-child(2) { transition-delay: 0.2s; }
#mobile-menu.opacity-100 .mobile-link:nth-child(3) { transition-delay: 0.3s; }
#mobile-menu.opacity-100 .mobile-link:nth-child(4) { transition-delay: 0.4s; }

/* Navbar Scroll Effect */
nav.scrolled {
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(10px);
    padding-top: 1rem;
    padding-bottom: 1rem;
}

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