/* Lehman's Roadside Market — Custom Styles */

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

/* Base font settings */
body {
    font-family: 'Inter', system-ui, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Display font */
.font-display {
    font-family: 'Playfair Display', Georgia, serif;
}

/* Scroll reveal animations — progressive enhancement only */
.reveal {
    opacity: 1;
    transform: none;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
    }
    
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Navbar scroll state */
#navbar {
    background: transparent;
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

#navbar.scrolled {
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 1px 12px rgba(107, 76, 110, 0.08);
    backdrop-filter: blur(8px);
}

/* Mobile menu transitions */
#mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, opacity 0.3s ease;
    opacity: 0;
}

#mobile-menu.open {
    max-height: 400px;
    opacity: 1;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #F9F5F7;
}
::-webkit-scrollbar-thumb {
    background: #D4B5C8;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #BA8FA8;
}

/* Selection color */
::selection {
    background: #F5C518;
    color: #4A2E4C;
}

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

/* Image loading placeholder */
img {
    background: linear-gradient(135deg, #F3EBF0 0%, #E8D5E0 100%);
}

/* Subtle pattern for sections */
.section-pattern {
    background-image: radial-gradient(circle, rgba(107, 76, 110, 0.05) 1px, transparent 1px);
    background-size: 24px 24px;
}
