/* Custom styles for FULL HOUSE Craft Beer & Gaming Lounge */

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

/* Custom selection color */
::selection {
    background-color: #304826;
    color: #FAFAF8;
}

/* Animated gradient border for special elements */
@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(12deg); }
    50% { transform: translateY(-10px) rotate(12deg); }
}

.animate-float {
    animation: float 4s ease-in-out infinite;
}

/* Staggered animation for game cards */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    opacity: 0;
    animation: fadeInUp 0.6s ease-out forwards;
}

.fade-in-up:nth-child(1) { animation-delay: 0.1s; }
.fade-in-up:nth-child(2) { animation-delay: 0.2s; }
.fade-in-up:nth-child(3) { animation-delay: 0.3s; }
.fade-in-up:nth-child(4) { animation-delay: 0.4s; }
.fade-in-up:nth-child(5) { animation-delay: 0.5s; }
.fade-in-up:nth-child(6) { animation-delay: 0.6s; }

/* Intersection observer animated elements */
.observe-animate {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.observe-animate.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Hero image parallax-like effect on scroll */
.hero-image-wrapper {
    will-change: transform;
}

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

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

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

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

/* Mobile menu animation */
#mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

#mobile-menu.open {
    max-height: 400px;
}

/* Button ripple effect */
button, a {
    position: relative;
    overflow: hidden;
}

/* Focus styles for accessibility */
:focus-visible {
    outline: 3px solid #749a5e;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Subtle pattern overlay for sections */
.pattern-overlay {
    background-image: radial-gradient(circle, rgba(48, 72, 38, 0.05) 1px, transparent 1px);
    background-size: 24px 24px;
}

/* Geometric shape decorations */
.geo-shape {
    position: absolute;
    pointer-events: none;
}

/* Print styles */
@media print {
    nav, #back-to-top, .no-print {
        display: none !important;
    }
    
    body {
        color: #000;
        background: #fff;
    }
}
