/* ============================================
   LAKE REGION USED APPLIANCES — CUSTOM STYLES
   ============================================ */

/* --- Base --- */
html {
    scroll-behavior: smooth;
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* --- Navbar --- */
#navbar {
    background: rgba(255, 252, 248, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(140, 39, 39, 0.08);
}

#navbar.scrolled {
    background: rgba(255, 252, 248, 0.95);
    box-shadow: 0 4px 20px rgba(140, 39, 39, 0.08);
}

/* --- Mobile menu --- */
#mobileMenu.open {
    transform: translateX(0);
}

#mobileMenu .mobile-link {
    opacity: 1;
}

/* --- Scroll reveal (progressive enhancement) --- */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.7s ease, transform 0.7s ease;
    }

    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }

    .reveal-delay-1 { transition-delay: 0.1s; }
    .reveal-delay-2 { transition-delay: 0.2s; }
    .reveal-delay-3 { transition-delay: 0.3s; }
    .reveal-delay-4 { transition-delay: 0.4s; }
}

/* --- Card hover effects --- */
#inventory .group:hover .aspect-\[4\/3\] img {
    transform: scale(1.05);
}

/* --- Button focus states --- */
a:focus-visible,
button:focus-visible {
    outline: 2px solid #8c2727;
    outline-offset: 2px;
    border-radius: 0.5rem;
}

/* --- Custom scrollbar --- */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #fffcf8;
}
::-webkit-scrollbar-thumb {
    background: #f5b8b8;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #c44444;
}

/* --- Selection --- */
::selection {
    background: #fadada;
    color: #3d0f0f;
}
</style>
