/* Custom Animations & Overrides */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,600;1,400&family=Montserrat:wght@300;400;500;600&display=swap');

html {
    scroll-behavior: smooth;
}

body {
    background-color: #0f1c15;
    color: #F5F5F0;
}

/* 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);
    }
}

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

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

/* Scroll Reveal Classes (Progressive Enhancement) */
/* Default state is visible. JS adds 'reveal-active' if desired, but content is readable without it. */
.reveal-up, .reveal-left, .reveal-right {
    opacity: 1;
    transform: none;
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

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

.reveal-active.reveal-left {
    opacity: 1;
    transform: translateX(0);
}

.reveal-active.reveal-right {
    opacity: 1;
    transform: translateX(0);
}

/* Initial states for JS enhancement (only applied if JS is blocked? No, we use JS to add class) */
/* To ensure readability even if JS fails, we leave them visible. */
/* But for the "stunning" effect, we can hide them by default in CSS and reveal with JS. 
   However, the prompt says: "content's DEFAULT state must be visible". */
/* So we stick to: content visible by default, JS adds subtle entrance if supported.
   Actually, let's do the opposite: Use JS to add a class that triggers animation, 
   but since content is in HTML, it renders first. */

/* Navbar Scroll State */
.nav-scrolled {
    background-color: rgba(15, 28, 21, 0.95);
    backdrop-filter: blur(10px);
    padding-top: 1rem;
    padding-bottom: 1rem;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

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

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

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #D4AF37;
}
