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

body {
    font-family: 'Nunito', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Fredoka', sans-serif;
}

/* Scroll Reveal Animations */
.menu-card {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease, box-shadow 0.3s ease;
}

@media (prefers-reduced-motion: no-preference) {
    .menu-card {
        opacity: 0;
        transform: translateY(30px);
    }

    .menu-card.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile Menu Animation */
#mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, opacity 0.3s ease;
    opacity: 0;
}

#mobile-menu.open {
    max-height: 400px;
    opacity: 1;
}

/* Navbar Transition */
.nav-scrolled {
    background: rgba(255, 248, 246, 0.95) !important;
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 20px rgba(100, 25, 41, 0.08);
}

/* Button Hover Glow */
a:hover {
    transition: all 0.25s ease;
}

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

::-webkit-scrollbar-track {
    background: #fff8f6;
}

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

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

/* Selection Color */
::selection {
    background: #f0a5ab;
    color: #631921;
}

/* Focus Styles */
a:focus-visible, button:focus-visible {
    outline: 3px solid #ff8a70;
    outline-offset: 2px;
    border-radius: 4px;
}
