/* Custom styles for Los Cabos Cantina & Restaurant */

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

/* Float animation for hero card */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.animate-float {
    animation: float 3s ease-in-out infinite;
}

/* Menu tab active state */
.menu-tab.active {
    background-color: rgb(128, 48, 80);
    color: white;
}

.menu-tab:not(.active) {
    background-color: rgb(251, 200, 212);
    color: rgb(61, 21, 34);
}

.menu-tab:not(.active):hover {
    background-color: rgb(244, 168, 212);
}

/* Scroll reveal base - content is visible by default */
.reveal {
    opacity: 1;
    transform: translateY(0);
    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);
    }
}

/* Mobile menu transition */
#mobile-menu {
    max-height: 0;
    overflow: hidden;
}

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

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

::-webkit-scrollbar-track {
    background: rgb(253, 244, 248);
}

::-webkit-scrollbar-thumb {
    background: rgb(192, 96, 136);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgb(160, 64, 104);
}

/* Focus styles for accessibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 2px solid rgb(251, 191, 36);
    outline-offset: 2px;
}

/* Print styles */
@media print {
    nav, #contact-form, .animate-bounce {
        display: none;
    }
}
