/* Ray's Deli — Custom Styles */

/* Marquee animation */
@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.animate-marquee {
    animation: marquee 30s linear infinite;
}

/* Smooth scroll offset for fixed nav */
section[id] {
    scroll-margin-top: 80px;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #fdf8ec;
}
::-webkit-scrollbar-thumb {
    background: #c43b3b;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #8a2525;
}

/* Selection color */
::selection {
    background: #c43b3b;
    color: #fefcf6;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .animate-marquee {
        animation: none;
    }
    .card-hover {
        transition: none;
    }
    html {
        scroll-behavior: auto;
    }
}

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

/* Image loading placeholder */
img {
    background-color: #ece4d4;
}
