/* Custom styles that go beyond Tailwind */

html {
    scroll-behavior: smooth;
}

body {
    /* Prevent layout shift from fonts */
    font-feature-settings: "cv11", "ss01";
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: #0a192f;
}
::-webkit-scrollbar-thumb {
    background: #d4af37;
}
::-webkit-scrollbar-thumb:hover {
    background: #b08d1e;
}

/* Animation Utilities */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

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

.animate-slide-up {
    animation: slideUp 0.8s ease-out forwards;
    opacity: 0; /* Start hidden for animation */
}

.animate-slide-up-delay {
    animation: slideUp 0.8s ease-out forwards;
    opacity: 0;
    animation-delay: 0.2s;
}

.animate-fade-in-up {
    animation: slideUp 1s ease-out forwards;
    opacity: 0;
    animation-delay: 0.4s;
}

/* Reveal on Scroll Class (applied via JS) */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

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

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