/* Custom styles for Johnny's Lounge */

/* Smooth scroll offset for fixed header */
section[id] {
    scroll-margin-top: 80px;
}

/* Selection color */
::selection {
    background-color: #538344;
    color: #fdfcf8;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #faf8f0;
}
::-webkit-scrollbar-thumb {
    background: #9bc18a;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #538344;
}

/* Subtle pattern for hero overlay */
#hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 20% 80%, rgba(83, 131, 68, 0.15) 0%, transparent 50%),
                      radial-gradient(circle at 80% 20%, rgba(155, 193, 138, 0.1) 0%, transparent 50%);
    pointer-events: none;
    z-index: 1;
}

/* Image hover zoom container */
.rounded-2xl.overflow-hidden {
    position: relative;
}

/* Button focus styles for accessibility */
button:focus-visible,
a:focus-visible {
    outline: 2px solid #9bc18a;
    outline-offset: 2px;
    border-radius: 0.5rem;
}

/* Input focus styles */
input:focus-visible,
textarea:focus-visible {
    outline: none;
}

/* Prevent content flash on scroll reveal */
@media (prefers-reduced-motion: no-preference) {
    .reveal, .reveal-left, .reveal-right {
        will-change: opacity, transform;
    }
}
