/* Custom styles for Fiesta Restaurant */

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

/* Floating animations */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-12px); }
}

@keyframes float-delayed {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
}

@keyframes float-delayed2 {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.floating-card {
    animation: float 4s ease-in-out infinite;
}

.floating-card.animate-float-delayed {
    animation: float-delayed 4.5s ease-in-out infinite;
    animation-delay: 0.5s;
}

.floating-card.animate-float-delayed2 {
    animation: float-delayed2 5s ease-in-out infinite;
    animation-delay: 1s;
}

/* Menu tabs */
.menu-tab {
    transition: all 0.3s ease;
}

.menu-tab.active {
    background: linear-gradient(135deg, #b24f68, #843245);
    color: white;
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(178, 79, 104, 0.3);
}

.menu-tab:not(.active):hover {
    background: white;
    border-color: #e9cdd9;
    transform: translateY(-1px);
}

/* Menu items */
.menu-item {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.4s ease;
}

.menu-item.hidden {
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
}

/* Menu tags */
.tag {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.tag-breakfast {
    background: #fff3c7;
    color: #8c560b;
}

.tag-lunch {
    background: #ebcdd9;
    color: #843245;
}

.tag-drinks {
    background: #ffe896;
    color: #73460d;
}

.tag-desserts {
    background: #f5e9ee;
    color: #6c2b3a;
}

/* Navigation scroll state */
nav.scrolled {
    background: rgba(250, 245, 247, 0.95);
    backdrop-blur-xl;
    box-shadow: 0 1px 20px rgba(178, 79, 104, 0.08);
}

/* Mobile menu */
.mobile-link {
    position: relative;
}

.mobile-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #ffc020, #b24f68);
    transition: width 0.3s ease;
}

.mobile-link:hover::after {
    width: 100%;
}

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

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

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

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

/* Selection */
::selection {
    background: #ebcdd9;
    color: #5a2631;
}

/* Focus visible */
:focus-visible {
    outline: 2px solid #ffc020;
    outline-offset: 2px;
}

/* Fade-in animation for scroll */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Image hover zoom */
img {
    transition: transform 0.5s ease;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .floating-card {
        display: none;
    }
}

/* Print styles */
@media print {
    nav, .floating-card, #menu-btn, #mobile-menu {
        display: none !important;
    }
    
    body {
        background: white !important;
    }
}
