/* Custom styles for Super Deal Outlet Antoine */

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

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

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

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #6c182e;
}

/* Selection color */
::selection {
    background: #db4565;
    color: #fefdfb;
}

/* Reduce motion preference */
@media (prefers-reduced-motion: reduce) {
    .animate-marquee {
        animation: none;
    }
    
    html {
        scroll-behavior: auto;
    }
    
    * {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
    }
}

/* Fade in on scroll (progressive enhancement) */
.fade-in-section {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-section.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Navbar glass effect when scrolled */
.nav-scrolled {
    background: rgba(254, 253, 251, 0.95) !important;
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 20px rgba(108, 24, 46, 0.08);
}

.nav-scrolled .font-serif {
    color: #3a0a16 !important;
}

/* Hero image parallax-like effect */
@media (prefers-reduced-motion: no-preference) {
    .hero-image-float {
        animation: float 6s ease-in-out infinite;
    }
    
    @keyframes float {
        0%, 100% { transform: translateY(0px); }
        50% { transform: translateY(-10px); }
    }
}

/* Category card hover overlay */
.category-card:hover .category-overlay {
    opacity: 1;
}

.category-overlay {
    opacity: 0.7;
    transition: opacity 0.4s ease;
}
