/* Custom styles for The Horseshoe Tap */

:root {
    --forest-50: #f0f4f0;
    --forest-100: #dce8dc;
    --forest-200: #b9d0b9;
    --forest-300: #8fb58f;
    --forest-400: #6a966a;
    --forest-500: #4a7a4a;
    --forest-600: #3a633a;
    --forest-700: #2d4f2d;
    --forest-800: #1f381f;
    --forest-900: #142414;
    --forest-950: #0a120a;
}

html {
    scroll-behavior: smooth;
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Scroll reveal animations - progressive enhancement */
.reveal {
    opacity: 1;
    transform: none;
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

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

/* Subtle hover effects on links */
a {
    transition: color 0.2s ease;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #f5f0e8;
}
::-webkit-scrollbar-thumb {
    background: #b9d0b9;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #8fb58f;
}

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

/* Smooth image loading */
img {
    transition: opacity 0.3s ease;
}

img[loading="lazy"] {
    opacity: 0;
}

img[loading="lazy"].loaded {
    opacity: 1;
}

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

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

/* Navbar scroll effect */
#navbar.scrolled {
    box-shadow: 0 1px 8px rgba(45, 79, 45, 0.08);
}

/* Button press effect */
button, a {
    -webkit-tap-highlight-color: transparent;
}
