/* Custom styles for El Habanero */

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

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

::-webkit-scrollbar-track {
    background: #310c17;
}

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

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

/* Feature card hover effects */
.feature-card {
    transform: translateY(0);
    transition: all 0.3s ease;
}

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

/* Menu item hover effects */
.menu-item {
    transform: translateY(0);
    transition: all 0.3s ease;
}

.menu-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(192, 71, 107, 0.2);
}

/* Gallery item hover effects */
.gallery-item {
    cursor: pointer;
}

.gallery-item:hover img {
    filter: brightness(1.1);
}

/* Testimonial card hover effects */
.testimonial-card {
    transform: translateY(0);
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
}

/* Mobile menu animation */
#mobile-menu {
    transition: transform 0.3s ease-in-out;
}

#mobile-menu.active {
    transform: translateX(0);
}

/* Navbar scroll effect */
#navbar.scrolled {
    background: rgba(49, 12, 23, 0.95);
    backdrop-filter: blur(10px);
}

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

button::after, a::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

button:active::after, a:active::after {
    width: 200px;
    height: 200px;
}

/* Floating animation delay */
.animate-float-delayed {
    animation-delay: 3s;
}

/* Reduced motion preference */
@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;
    }
}

/* Loading state for form */
button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

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

/* Selection color */
::selection {
    background: #c0476b;
    color: #fff;
}
