/* Custom Styles for El Compa Modern Mexican Grill */

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

/* Custom Animations */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes pulse-slow {
    0%, 100% {
        opacity: 0.3;
    }
    50% {
        opacity: 0.6;
    }
}

/* Feature Cards */
.feature-card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card:hover {
    transform: translateY(-8px);
}

/* Menu Items */
.menu-item {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.menu-item:hover {
    transform: translateY(-8px);
}

/* Geometric Decorations */
.geometric-shape {
    animation: float 6s ease-in-out infinite;
}

.geometric-shape-alt {
    animation: float 8s ease-in-out infinite reverse;
}

.pulse-bg {
    animation: pulse-slow 4s ease-in-out infinite;
}

/* Navbar Scroll Effect */
.navbar-scrolled {
    background-color: rgba(254, 253, 248, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* Mobile Menu */
#mobile-menu {
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Image Hover Effects */
img {
    transition: transform 0.5s ease;
}

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

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

::-webkit-scrollbar-thumb {
    background: #059669;
    border-radius: 6px;
}

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

/* Responsive Typography */
@media (max-width: 768px) {
    .font-display {
        font-size: 2.5rem;
    }
}

@media (max-width: 640px) {
    .font-display {
        font-size: 2rem;
    }
}

/* 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;
    }
}

/* Focus Styles for Accessibility */
a:focus-visible,
button:focus-visible {
    outline: 3px solid #34d399;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Selection Color */
::selection {
    background-color: #10b981;
    color: #fefdf8;
}
