/* Custom Styles for Viva Latin Bar and Lounge */

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

/* Typography Utilities */
.font-serif {
    font-family: 'Playfair Display', serif;
}

.font-sans {
    font-family: 'Lato', sans-serif;
}

/* Animation Keyframes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate3d(0, 40px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0; /* Start hidden */
}

.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }

/* Scroll Reveal Classes */
.reveal-on-scroll {
    opacity: 1; /* Visible by default for accessibility/no-JS */
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.reveal-on-scroll.hidden-start {
    opacity: 0;
    transform: translateY(30px);
}

.reveal-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Navbar Transition */
#navbar.scrolled {
    background-color: rgba(15, 76, 58, 0.95); /* Emerald custom with opacity */
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

#navbar:not(.scrolled) {
    background-color: transparent;
}

/* Mobile Menu Link Hover */
.mobile-link {
    position: relative;
}

.mobile-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -2px;
    left: 0;
    background-color: #c5a059;
    transition: width 0.3s ease;
}

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

/* Form Focus Styles */
input:focus, select:focus, textarea:focus {
    border-color: #c5a059 !important;
}

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

::-webkit-scrollbar-track {
    background: #0f4c3a;
}

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

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