/* Custom Base Styles */
html {
    scroll-behavior: smooth;
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

::-webkit-scrollbar-track {
    background: #05101C;
}

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

::-webkit-scrollbar-thumb:hover {
    background: #64FFDA;
}

/* Animation Keyframes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate3d(0, 40px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

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

.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }

/* Scroll Reveal Base State */
.reveal-on-scroll {
    opacity: 1; /* Ensure visible by default for accessibility */
    transform: translateY(0);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

/* Only apply hidden state if JS is enabled (handled by script.js adding 'js-enabled' class) */
.no-js .reveal-on-scroll {
    opacity: 1;
    transform: none;
}

.js-enabled .reveal-on-scroll {
    opacity: 0;
    transform: translateY(30px);
}

.js-enabled .reveal-on-scroll.revealed {
    opacity: 1;
    transform: translateY(0);
}

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

/* Hover effects for links */
a {
    text-decoration: none;
}

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