/* Custom styles for Wilderness Inn Dining Facility - JBER */

/* Smooth scroll offset for sticky nav */
section[id] {
    scroll-margin-top: 72px;
}

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

/* Selection color */
::selection {
    background-color: #99f6e4;
    color: #134e4a;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
    background: #94a3b8;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #64748b;
}

/* Subtle pattern overlay for hero */
.hero-split::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(circle at 20% 80%, rgba(255,255,255,0.03) 0%, transparent 50%);
    pointer-events: none;
}

/* Card hover effects */
.bg-white.rounded-3xl {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.bg-white.rounded-3xl:hover {
    transform: translateY(-2px);
}

/* Mobile menu animations */
@media (max-width: 767px) {
    #mobile-menu {
        border-top: 1px solid #f1f5f9;
        margin-top: 0.5rem;
    }
}

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

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    .reveal {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
    .group:hover img {
        transform: none;
    }
}

/* Print styles */
@media print {
    nav, #mobile-menu, .reveal {
        display: none;
    }
    body {
        color: #000;
        background: #fff;
    }
}
