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

body {
    background-color: #020617; /* midnight-900 */
    color: #ffffff;
}

/* Typography */
h1, h2, h3 {
    font-family: 'Playfair Display', Georgia, serif;
}

p, a, span, li {
    font-family: 'Inter', system-ui, sans-serif;
}

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

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

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

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

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

#mobile-menu.open {
    opacity: 1;
    pointer-events: all;
}

/* Utility */
.text-shadow {
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

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

::-webkit-scrollbar-track {
    background: #0f172a;
}

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

::-webkit-scrollbar-thumb:hover {
    background: #5eead4;
}
