/* Custom CSS for Nu Diner */

:root {
    --plum-900: #1a0a2e;
    --plum-800: #2d1b4e;
    --plum-600: #5b3a8c;
    --amber-400: #fbbf24;
    --amber-500: #f59e0b;
    --amber-100: #fef3c7;
}

/* Font Imports */
@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:wght@400;600;800&family=Inter:wght@400;500;700&display=swap');

/* Custom Font Classes */
.font-bricolage {
    font-family: 'Bricolage Grotesque', sans-serif;
}

.font-inter {
    font-family: 'Inter', sans-serif;
}

/* Tailwind Custom Colors */
@tailwind base;
@tailwind components;
@tailwind utilities;

@layer base {
    html {
        scroll-behavior: smooth;
    }
    
    body {
        background-color: #fffbeb;
    }
}

/* Custom Animations */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes float-delayed {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-8px);
    }
}

.animate-float {
    animation: float 3s ease-in-out infinite;
}

.animate-float-delayed {
    animation: float-delayed 3s ease-in-out infinite;
    animation-delay: 1.5s;
}

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #2d1b4e;
}

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

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

/* Navbar Scroll Effect */
nav.scrolled {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

/* Smooth Image Loading */
img {
    loading: lazy;
}

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

/* Selection Color */
::selection {
    background-color: #fbbf24;
    color: #1a0a2e;
}
