/* Custom Animations & Utilities */

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes blob {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(30px, -50px) scale(1.1);
    }
    66% {
        transform: translate(-20px, 20px) scale(0.9);
    }
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

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

.animate-fade-in {
    animation: fadeIn 1s ease-out forwards;
}

.animate-blob {
    animation: blob 7s infinite;
}

.animation-delay-2000 {
    animation-delay: 2s;
}

.animate-marquee {
    animation: marquee 20s linear infinite;
}

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

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

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

/* Scroll Reveal */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

/* Thin Scrollbar */
::-webkit-scrollbar {
    width: 6px;
}

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

::-webkit-scrollbar-thumb {
    background: #064E3B;
    border-radius: 3px;
}

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

/* Selection Color */
::selection {
    background: #D1FAE5;
    color: #064E3B;
}
