/* Custom Styles for Archie's Iowa Rockwell Tavern */

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

/* Animation Keyframes */
@keyframes blob {
    0% { transform: translate(0px, 0px) scale(1); }
    33% { transform: translate(30px, -50px) scale(1.1); }
    66% { transform: translate(-20px, 20px) scale(0.9); }
    100% { transform: translate(0px, 0px) scale(1); }
}

.animate-blob {
    animation: blob 7s infinite;
}

.animation-delay-2000 {
    animation-delay: 2s;
}

/* Scroll Reveal Styles (Progressive Enhancement) */
/* Default state is visible for accessibility and performance */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

/* When JS is active, we can add a hidden state and then reveal */
/* Note: We use JS to add the 'hidden' class initially for the animation effect, 
   but the CSS default is visible so it renders immediately if JS fails */
.reveal.animate-on-load {
    opacity: 0;
    transform: translateY(30px);
}

/* Custom Font Styling */
.font-display {
    font-family: 'Archivo Black', sans-serif;
}

body {
    font-family: 'Inter', sans-serif;
}

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

#mobile-menu.open {
    max-height: 500px;
    opacity: 1;
}

/* Utility for hiding elements without display:none to preserve layout calculations */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}
