/* Custom styles for Lavaca Drinkery */

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

/* Navbar transition */
#navbar {
    transition: background-color 0.4s ease, backdrop-filter 0.4s ease, box-shadow 0.4s ease;
}

#navbar.scrolled {
    background-color: rgba(11, 15, 25, 0.9);
    backdrop-filter: blur(20px);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.05);
}

/* Menu tabs */
.menu-tab {
    color: #9ca3af;
    background: transparent;
}

.menu-tab.active {
    color: #ffffff;
    background: linear-gradient(135deg, #841635, #a1143b);
    box-shadow: 0 4px 15px rgba(132, 22, 53, 0.3);
}

.menu-tab:hover:not(.active) {
    color: #f59e0b;
    background: rgba(245, 158, 11, 0.1);
}

/* Menu content transitions */
.menu-content {
    animation: fadeIn 0.4s ease forwards;
}

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

/* Scroll reveal base state */
.reveal {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.7s ease, transform 0.7s ease;
    }
    
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Nav links hover effect */
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #e03e6e, #f59e0b);
    transition: width 0.3s ease;
}

.nav-link {
    position: relative;
}

.nav-link:hover::after {
    width: 100%;
}

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

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

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

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

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #841635, #f59e0b);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #a1143b, #d97706);
}

/* Selection color */
::selection {
    background: rgba(224, 62, 110, 0.3);
    color: #ffffff;
}

/* Image hover effects */
img {
    transition: filter 0.3s ease;
}

/* Button focus states */
button:focus-visible,
a:focus-visible {
    outline: 2px solid #f59e0b;
    outline-offset: 2px;
}

/* Form focus states */
input:focus,
textarea:focus {
    box-shadow: 0 0 0 3px rgba(224, 62, 110, 0.1);
}

/* Subtle gradient border effect for cards */
.bg-neutral-800\/40 {
    background: linear-gradient(135deg, rgba(31, 41, 55, 0.4), rgba(17, 24, 39, 0.4));
}

/* Hero text glow */
h1 span.text-transparent {
    text-shadow: 0 0 80px rgba(245, 158, 11, 0.3);
}
