/* Custom styles for Szabla's East Fox Den */

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #f8f3ed;
}
::-webkit-scrollbar-thumb {
    background: #dd5f3b;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #ac3a21;
}

/* Selection color */
::selection {
    background: #f7d0c5;
    color: #70291c;
}

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

/* Subtle pattern overlay for hero */
.hero-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at 30% 50%, rgba(221, 95, 59, 0.15) 0%, transparent 60%);
    pointer-events: none;
}

/* Card shadow on hover */
.card-hover {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card-hover:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Reveal animation */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Reduced motion preference */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
    }
}

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

/* Ensure images don't overflow */
img {
    max-width: 100%;
    height: auto;
}

/* Nav blur effect */
nav {
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}
