/* Custom Styles for Cinco de Mayo Mexican Grill */

/* Base Styles */
html {
    scroll-behavior: smooth;
}

body {
    overflow-x: hidden;
}

/* Clip Path for Hero */
.clip-path-diagonal {
    clip-path: polygon(20% 0, 100% 0, 100% 100%, 0% 100%);
}

/* Navbar Scroll Effect */
.nav-scrolled {
    background-color: rgba(44, 36, 32, 0.95);
    backdrop-filter: blur(10px);
    padding-top: 1rem;
    padding-bottom: 1rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

/* Hero Animations */
.hero-subtitle {
    animation: slideUp 0.8s ease-out 0.2s forwards;
}

.hero-title {
    animation: slideUp 0.8s ease-out 0.4s forwards;
}

.hero-desc {
    animation: slideUp 0.8s ease-out 0.6s forwards;
}

.hero-cta {
    animation: slideUp 0.8s ease-out 0.8s forwards;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(100%);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Menu Card Hover */
.menu-card {
    transition: all 0.3s ease;
}

.menu-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Feature Item Hover */
.feature-item {
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateX(8px);
}

/* Mobile Menu */
.mobile-link {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

#mobile-menu.active .mobile-link {
    opacity: 1;
    transform: translateY(0);
}

#mobile-menu.active .mobile-link:nth-child(1) { transition-delay: 0.1s; }
#mobile-menu.active .mobile-link:nth-child(2) { transition-delay: 0.2s; }
#mobile-link:nth-child(3) { transition-delay: 0.3s; }
#mobile-menu.active .mobile-link:nth-child(4) { transition-delay: 0.4s; }

/* Scroll Reveal Animation */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

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

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

::-webkit-scrollbar-thumb {
    background: #C05746;
    border-radius: 5px;
}

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

/* Focus Styles */
input:focus,
textarea:focus {
    box-shadow: 0 0 0 3px rgba(192, 87, 70, 0.2);
}

/* Button Ripple Effect */
button::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

button:active::after {
    width: 300px;
    height: 300px;
}

/* Image Hover Overlay */
.overflow-hidden {
    position: relative;
}

.overflow-hidden::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(44, 36, 32, 0.2) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.overflow-hidden:hover::after {
    opacity: 1;
}

/* Responsive Typography */
@media (max-width: 768px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .clip-path-diagonal {
        display: none;
    }
}

/* Print Styles */
@media print {
    nav,
    #contact-form,
    button {
        display: none;
    }
    
    body {
        color: #000;
        background: #fff;
    }
}
