/* Custom Styles & Overrides */

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

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

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translate3d(-40px, 0, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translate3d(40px, 0, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

/* Animation Classes */
.animate-fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0; /* Start hidden */
}

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

/* Scroll Reveal Classes (Progressive Enhancement) */
.reveal-left, .reveal-right, .reveal-up {
    opacity: 1; /* Default visible for no-JS */
    transform: none; /* Default position */
}

@media (prefers-reduced-motion: no-preference) {
    .reveal-left {
        animation: fadeInLeft 0.8s ease-out forwards;
    }
    .reveal-right {
        animation: fadeInRight 0.8s ease-out forwards;
    }
    .reveal-up {
        animation: fadeInUp 0.8s ease-out forwards;
    }
    
    /* Initial state for JS-gated reveals if we were using JS to add classes */
    /* Since we are using CSS animations directly, they play on load */
}

/* Navbar Glassmorphism */
.nav-scrolled {
    background: rgba(15, 23, 42, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    padding-top: 0.5rem !important;
    padding-bottom: 0.5rem !important;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
    background: #0d9488;
    border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
    background: #0f766e;
}
