/* Custom styles for Lions Den Nutrition */

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

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

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

/* Hide scrollbar for cleaner look */
::-webkit-scrollbar {
    width: 10px;
}

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

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

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

/* Selection color */
::selection {
    background: #f2c4b8;
    color: #64281c;
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    .animate-float {
        animation: none;
    }
    
    html {
        scroll-behavior: auto;
    }
    
    .group:hover .group-hover\:scale-105 {
        transform: none;
    }
}

/* Focus styles for accessibility */
a:focus-visible,
button:focus-visible {
    outline: 2px solid #c95c3a;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Print styles */
@media print {
    .no-print {
        display: none;
    }
    
    body {
        color: #000;
        background: #fff;
    }
}

/* Mobile menu transitions */
#mobile-menu {
    transition: all 0.3s ease-in-out;
}

#mobile-menu.hidden {
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
}

#mobile-menu:not(.hidden) {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
}

/* Navbar scroll effect */
#navbar.scrolled #nav-bg {
    background: rgba(250, 249, 246, 0.95);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

/* Image loading optimization */
img {
    loading: lazy;
    decoding: async;
}
