/* Custom styles for Ohio Division of Wildlife */

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

/* Navbar scroll effect */
nav.scrolled {
    background: rgba(255, 252, 249, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 20px rgba(120, 31, 46, 0.08);
}

/* Service card hover */
.service-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-4px);
}

/* Mobile menu link hover */
.mobile-menu-link {
    position: relative;
}

.mobile-menu-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #781F2E;
    transition: width 0.3s ease;
}

.mobile-menu-link:hover::after {
    width: 100%;
}

/* Scroll reveal animations (progressive enhancement) */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.6s ease, transform 0.6s ease;
    }
    
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Fallback: ensure content is visible without JS */
@media not all and (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 1;
        transform: none;
    }
}

/* Button focus styles */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid #781F2E;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Selection color */
::selection {
    background: #F9D0D9;
    color: #4A1419;
}

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

::-webkit-scrollbar-track {
    background: #FFF8F5;
}

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

::-webkit-scrollbar-thumb:hover {
    background: #781F2E;
}

/* Image loading placeholder */
img {
    background: linear-gradient(135deg, #FDE8D8 0%, #F9D0D9 100%);
}

/* Subtle pattern overlay for sections */
.bg-pattern {
    background-image: radial-gradient(circle at 25% 25%, rgba(120, 31, 46, 0.03) 0%, transparent 50%),
                      radial-gradient(circle at 75% 75%, rgba(244, 184, 168, 0.05) 0%, transparent 50%);
}
