/* Custom Styles for Nero's Pub */

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

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

::-webkit-scrollbar-track {
    background: #0f172a;
}

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

::-webkit-scrollbar-thumb:hover {
    background: #14b8a6;
}

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

.reveal-hidden {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

/* Reduce motion preference */
@media (prefers-reduced-motion: reduce) {
    .reveal-hidden {
        opacity: 1;
        transform: none;
    }
    
    html {
        scroll-behavior: auto;
    }
    
    * {
        transition: none !important;
        animation: none !important;
    }
}

/* Button hover effects */
a:hover {
    transition: all 0.2s ease;
}

/* Image hover zoom */
img {
    transition: transform 0.3s ease;
}

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

#mobile-menu.active {
    max-height: 500px;
}

/* Navbar scroll effect */
.nav-scrolled #nav-bg {
    opacity: 1;
}

.nav-scrolled .fixed {
    backdrop-filter: blur(10px);
}

/* Gradient text effect */
.gradient-text {
    background: linear-gradient(135deg, #0d9488, #14b8a6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Card hover lift */
.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Pulse animation for live indicator */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.animate-pulse {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Bounce animation */
@keyframes bounce {
    0%, 100% {
        transform: translateY(-25%) translateX(-50%);
    }
    50% {
        transform: translateY(0) translateX(-50%);
    }
}

.animate-bounce {
    animation: bounce 2s infinite;
}

/* Responsive typography adjustments */
@media (max-width: 640px) {
    .font-serif {
        font-size: 2.5rem;
        line-height: 1.1;
    }
}

@media (min-width: 641px) and (max-width: 768px) {
    .font-serif {
        font-size: 3.5rem;
    }
}

@media (min-width: 769px) {
    .font-serif {
        font-size: 4rem;
    }
}

/* Touch device optimizations */
@media (hover: none) {
    .hover-lift:hover {
        transform: none;
    }
    
    .hover\:scale-105:hover {
        transform: none;
    }
}

/* Print styles */
@media print {
    nav, .animate-bounce {
        display: none;
    }
    
    body {
        color: #000;
        background: #fff;
    }
}
