/* Custom styles & animations */

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

/* Navbar glass effect */
#navbar.scrolled #nav-container {
    background: rgba(253, 251, 247, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
}

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

.reveal.hidden-reveal {
    opacity: 0;
    transform: translateY(30px);
}

/* Staggered animation delays */
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* Button hover glow */
.bg-yellow-400:hover {
    box-shadow: 0 0 30px rgba(250, 204, 21, 0.4);
}

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #1f4a1f;
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    .reveal.hidden-reveal {
        opacity: 1;
        transform: none;
    }
    .animate-pulse {
        animation: none;
    }
    .animate-bounce {
        animation: none;
    }
}
