/* Custom styles for Pollo Al Mezquite */

/* Smooth scrolling is handled in HTML via scroll-behavior: smooth */

/* Custom animations and transitions */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hero image parallax effect on scroll */
.hero-image-wrapper {
    will-change: transform;
}

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

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

::-webkit-scrollbar-thumb {
    background: #D4D2CD;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #B8B6B0;
}

/* Selection color */
::selection {
    background-color: #E86A5B;
    color: #FAFAF8;
}

/* Focus styles for accessibility */
a:focus-visible,
button:focus-visible {
    outline: 2px solid #E86A5B;
    outline-offset: 2px;
}

/* Print styles */
@media print {
    nav,
    .mobile-menu,
    .btn-primary,
    .btn-outline {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
    
    .hero-image-wrapper img {
        filter: grayscale(100%);
    }
}

/* High contrast mode support */
@media (forced-colors: active) {
    .btn-primary {
        border: 2px solid currentColor;
    }
    
    .btn-outline {
        border: 2px solid currentColor;
    }
}

/* Reduced motion support - content is visible by default */
@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;
    }
}

/* Tablet and up adjustments */
@media (min-width: 768px) {
    .menu-item-name::after {
        margin: 0 1rem;
    }
}

/* Large screens */
@media (min-width: 1280px) {
    .hero-image-wrapper img {
        height: 700px;
    }
}

/* Utility classes */
.text-shadow {
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Image lazy loading placeholder */
img[loading="lazy"] {
    opacity: 0;
    transition: opacity 0.3s ease;
}

img[loading="lazy"].loaded {
    opacity: 1;
}
