/* Taqueria La Bikina — Custom Styles */

/* Base reset & typography */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Lato', system-ui, sans-serif;
    font-weight: 400;
    line-height: 1.7;
    color: #2e0e0e;
    background-color: #fefcfb;
    overflow-x: hidden;
}

/* Selection color */
::selection {
    background-color: #842a2a;
    color: #fefcfb;
}

/* Smooth image loading */
img {
    display: block;
    max-width: 100%;
}

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

/* Scrollbar styling */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #2e0e0e;
}
::-webkit-scrollbar-thumb {
    background: #842a2a;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #a33535;
}

/* Scroll reveal — progressive enhancement */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                    transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    }
    .reveal.active {
        opacity: 1;
        transform: translateY(0);
    }
    /* Stagger children */
    .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; }
}

/* Reduce motion */
@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;
    }
    .reveal {
        opacity: 1 !important;
        transform: none !important;
    }
}

/* Ornament line */
.ornament-line {
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, #d4a853 50%, transparent 100%);
    border: none;
}

/* Decorative pattern overlay for sections */
.pattern-overlay {
    background-image: radial-gradient(circle at 1px 1px, rgba(132, 42, 42, 0.05) 1px, transparent 0);
    background-size: 24px 24px;
}
