/* Custom styles for Schonely's 10 Barrel Taproom */

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

/* Geometric shapes for hero */
.geometric-shape {
    position: absolute;
    opacity: 0.15;
    animation: float 6s ease-in-out infinite;
}

.shape-1 {
    top: 10%;
    left: 5%;
    width: 120px;
    height: 120px;
    background: #4fad4a;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    animation-delay: 0s;
}

.shape-2 {
    top: 20%;
    right: 10%;
    width: 80px;
    height: 80px;
    background: #82c97e;
    transform: rotate(45deg);
    animation-delay: 1s;
}

.shape-3 {
    bottom: 30%;
    left: 15%;
    width: 100px;
    height: 100px;
    background: #b5dfb2;
    border-radius: 50%;
    animation-delay: 2s;
}

.shape-4 {
    bottom: 20%;
    right: 20%;
    width: 60px;
    height: 60px;
    background: #2d8a2e;
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
    animation-delay: 3s;
}

.shape-5 {
    top: 50%;
    left: 40%;
    width: 140px;
    height: 140px;
    background: #1e6b20;
    border-radius: 20% 80% 40% 60% / 60% 30% 70% 40%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(5deg);
    }
}

/* Reveal animations (progressive enhancement) */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.reveal.animated {
    opacity: 0;
    transform: translateY(30px);
}

@media (prefers-reduced-motion: no-preference) {
    .reveal.animated {
        opacity: 0;
        transform: translateY(30px);
    }
}

/* Mobile menu button animation */
.menu-btn-1 {
    transform-origin: center;
}

.menu-btn-2 {
    transform-origin: center;
}

.menu-btn-3 {
    transform-origin: center;
}

#mobile-menu-btn.active .menu-btn-1 {
    transform: rotate(45deg) translate(5px, 5px);
}

#mobile-menu-btn.active .menu-btn-2 {
    opacity: 0;
}

#mobile-menu-btn.active .menu-btn-3 {
    transform: rotate(-45deg) translate(5px, -5px);
}

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #1e6b20;
}

/* Focus styles */
a:focus-visible,
button:focus-visible {
    outline: 3px solid #4fad4a;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Print styles */
@media print {
    nav,
    #mobile-menu-btn,
    .geometric-shape,
    .animate-bounce {
        display: none !important;
    }
    
    body {
        color: #0c330f;
        background: white;
    }
}
