/* Custom styles for Bar El Tigre Barcelona */

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

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #1A3C34;
}

/* Navbar scroll effect */
.nav-scrolled {
    background: rgba(247, 245, 240, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 20px rgba(26, 60, 52, 0.08);
}

.nav-scrolled .nav-logo-text {
    color: #1A3C34 !important;
}

.nav-scrolled .nav-link {
    color: #1A3C34 !important;
}

/* Reveal animations */
.reveal-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-up.visible,
.reveal-left.visible,
.reveal-right.visible {
    opacity: 1;
    transform: translate(0);
}

/* Feature cards */
.feature-card {
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(26, 60, 52, 0.15);
}

/* Menu tabs */
.menu-tab {
    background: transparent;
    color: #1A3C34;
    border: 2px solid transparent;
}

.menu-tab:hover {
    border-color: #2C5F4C;
    color: #2C5F4C;
}

.menu-tab.active {
    background: #1A3C34;
    color: #FFFFFF;
    border-color: #1A3C34;
}

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

.gallery-item:hover img {
    transform: scale(1.05);
}

/* Mobile menu */
.mobile-link {
    transition: color 0.3s ease, transform 0.3s ease;
}

.mobile-link:hover {
    color: #2C5F4C;
    transform: translateX(8px);
}

/* Input focus styles */
input:focus,
textarea:focus,
select:focus {
    border-color: #2C5F4C !important;
    box-shadow: 0 0 0 3px rgba(44, 95, 76, 0.1) !important;
}

/* Date input styling */
input[type="date"]::-webkit-calendar-picker-indicator {
    cursor: pointer;
    opacity: 0.5;
}

input[type="date"]::-webkit-calendar-picker-indicator:hover {
    opacity: 1;
}

/* Time input styling */
input[type="time"]::-webkit-calendar-picker-indicator {
    cursor: pointer;
    opacity: 0.5;
}

input[type="time"]::-webkit-calendar-picker-indicator:hover {
    opacity: 1;
}

/* Selection color */
::selection {
    background: #2C5F4C;
    color: #FFFFFF;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    
    .reveal-up,
    .reveal-left,
    .reveal-right {
        opacity: 1;
        transform: none;
        transition: none;
    }
    
    .gallery-item:hover img,
    .feature-card:hover {
        transform: none;
    }
    
    .animate-bounce {
        animation: none;
    }
}

/* Print styles */
@media print {
    nav,
    .gallery-item,
    #contact-form,
    .animate-bounce {
        display: none !important;
    }
    
    body {
        background: white !important;
        color: black !important;
    }
}
