/* Custom Styles for Más Tequila y Tacos */

/* Smooth transitions for interactive elements */
a, button {
    transition: all 0.3s ease;
}

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

/* Custom selection color */
::selection {
    background-color: #2d6a4f;
    color: #fcfbf7;
}

/* Focus styles for accessibility */
a:focus-visible,
button:focus-visible {
    outline: 3px solid #2d6a4f;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Ensure proper image loading */
img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

/* Prevent layout shift on images */
img {
    content-visibility: auto;
}

/* Smooth scroll behavior */
html {
    scroll-padding-top: 80px;
}

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

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

/* Navbar scroll effect */
.navbar-scrolled {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

/* Button ripple effect */
button, a {
    position: relative;
    overflow: hidden;
}

/* Card hover lift effect */
.bg-white.rounded-2xl {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.bg-white.rounded-2xl:hover {
    transform: translateY(-4px);
}

/* Gradient text effect for special headings */
.gradient-text {
    background: linear-gradient(135deg, #1b4332 0%, #2d6a4f 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Subtle pattern background */
.pattern-bg {
    background-image: radial-gradient(circle at 1px 1px, rgba(45, 106, 79, 0.1) 1px, transparent 0);
    background-size: 20px 20px;
}
