/* Custom CSS for Lucky Deli Cafe */

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

/* Custom selection color */
::selection {
    background-color: #FF6B6B;
    color: white;
}

/* Focus styles for accessibility */
:focus-visible {
    outline: 3px solid #FF6B6B;
    outline-offset: 2px;
}

/* Image loading placeholder */
img {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

img[src] {
    animation: none;
    background: none;
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
    
    .float-anim,
    .float-anim-delayed {
        animation: none;
    }
}

/* Print styles */
@media print {
    nav,
    .float-anim,
    .float-anim-delayed,
    button {
        display: none !important;
    }
    
    body {
        background: white !important;
        color: black !important;
    }
}
