/* Custom styles for Pete's Brewhaha */

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

/* Blob animation for hero */
@keyframes blob {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(30px, -50px) scale(1.1); }
    50% { transform: translate(-20px, 20px) scale(0.9); }
    75% { transform: translate(20px, 50px) scale(1.05); }
}

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

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

.animation-delay-4000 {
    animation-delay: 4s;
}

/* Scroll reveal animations — progressive enhancement via JS */
.about-reveal,
.menu-reveal,
.gallery-reveal,
.visit-reveal,
.contact-reveal {
    opacity: 1;
    transform: none;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

@media (prefers-reduced-motion: no-preference) {
    .about-reveal,
    .menu-reveal,
    .gallery-reveal,
    .visit-reveal,
    .contact-reveal {
        opacity: 0;
        transform: translateY(30px);
    }

    .about-reveal.revealed,
    .menu-reveal.revealed,
    .gallery-reveal.revealed,
    .visit-reveal.revealed,
    .contact-reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Navbar scroll state */
.nav-scrolled {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 20px rgba(94, 26, 48, 0.1);
}

/* Active nav link */
.nav-link.active {
    background: rgba(139, 40, 72, 0.1);
    color: #8b2848;
}

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

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

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

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

/* Menu item hover */
#menu ul li {
    transition: transform 0.2s ease;
}

#menu ul li:hover {
    transform: translateX(4px);
}

#menu ul li div p:first-child {
    position: relative;
}

#menu ul li div p:first-child::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: #fbbf24;
    transition: width 0.3s ease;
}

#menu ul li:hover div p:first-child::after {
    width: 100%;
}

/* Image hover zoom */
.rounded-3xl img {
    transition: transform 0.5s ease;
}

.rounded-3xl:hover img {
    transform: scale(1.05);
}
