/* 
    Custom Styles for Bottoms Up Taphouse
    Minimalist, Clean, Teal & Slate Palette
*/

html {
    scroll-behavior: smooth;
}

body {
    /* Custom font smoothing */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* 
   Animation Keyframes 
   Note: These are applied via utility classes or JS to ensure content is visible 
   even if JS fails (progressive enhancement).
*/
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate3d(0, 20px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

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

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

/* 
   Scroll Reveal Utility Classes
   Default state is visible (opacity: 1) to ensure accessibility.
   JS adds the 'is-visible' class for the slide-up effect.
*/
.reveal-on-scroll {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

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

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #0F4C5C;
}

/* Mobile Menu Transitions */
#mobile-menu {
    transition: max-height 0.3s ease-in-out, opacity 0.3s ease-in-out;
}

/* Navbar Transition */
#navbar.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

#navbar.scrolled .text-brand-teal {
    color: #0F4C5C; /* Ensure logo stays teal */
}
