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

body {
    /* Fallback font stack */
    font-family: 'Montserrat', sans-serif;
}

.font-serif {
    font-family: 'Cormorant Garamond', serif;
}

/* 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-name: fadeInUp;
    animation-duration: 1s;
    animation-timing-function: cubic-bezier(0.2, 0.8, 0.2, 1);
    animation-fill-mode: forwards;
}

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

/* Mobile Menu Transitions */
#menu-btn.active #line1 {
    transform: rotate(45deg) translate(5px, 5px);
}
#menu-btn.active #line2 {
    opacity: 0;
}
#menu-btn.active #line3 {
    width: 1.5rem;
    transform: rotate(-45deg) translate(5px, -6px);
}

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

/* Selection Color */
::selection {
    background: #5eead4;
    color: #0f172a;
}
