/* Custom styles for Neighbar's Beer and Wine */

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #0a0f0d;
}
::-webkit-scrollbar-thumb {
    background: #166534;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #15803d;
}

/* Selection color */
::selection {
    background: rgba(212, 168, 67, 0.3);
    color: #fdfcf8;
}

/* Reveal animations - progressive enhancement */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
    }
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Without JS, all content is visible */
.no-js .reveal {
    opacity: 1;
    transform: none;
}

/* Navbar transition */
#navbar.scrolled {
    background: rgba(10, 15, 13, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(212, 168, 67, 0.1);
}

/* Gold shimmer on hover for cards */
.group:hover .group-hover\:scale-105 {
    transform: scale(1.05);
}

/* Mobile menu transitions */
#mobileMenu.open {
    opacity: 1;
    pointer-events: all;
}

/* Image loading placeholder */
img {
    background-color: #111c16;
}

/* Subtle glow effects */
.glow-emerald {
    box-shadow: 0 0 40px rgba(22, 101, 52, 0.15);
}
.glow-gold {
    box-shadow: 0 0 40px rgba(212, 168, 67, 0.1);
}

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

/* Print styles */
@media print {
    nav, #experience, .reveal {
        display: none;
    }
    body {
        background: white;
        color: black;
    }
}
