/* Custom styles for Cevichería Doña Becha */

/* Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #faf8f5; }
::-webkit-scrollbar-thumb { background: #d4522b; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #b8411f; }

/* Selection */
::selection { background: #fce4d8; color: #1a1614; }

/* Smooth focus */
:focus-visible { outline: 2px solid #d4522b; outline-offset: 2px; }

/* Image hover transitions */
img { transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94); }

/* Menu item hover underline effect */
.py-5 { position: relative; }
.py-5::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: #d4522b;
    transition: width 0.3s ease;
}

/* Mobile menu animation */
#mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94), padding 0.35s ease;
}
#mobile-menu.open {
    max-height: 400px;
    padding-top: 0;
    padding-bottom: 0;
}

/* Subtle parallax for hero decorative elements */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}
.floating { animation: float 6s ease-in-out infinite; }
.floating-delay { animation: float 6s ease-in-out 3s infinite; }

/* Reduced 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; }
    img { transition: none; }
}

/* Print styles */
@media print {
    nav, #gallery, .floating { display: none; }
    body { background: white; color: black; }
    .bg-dark-900 { background: #1a1614 !important; color: white !important; }
}
