/* Custom styles for Inns of the Corps Mountain View */

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

/* Prevent layout shift on images */
img {
    max-width: 100%;
    height: auto;
}

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #235723;
}

/* Focus styles for accessibility */
*:focus {
    outline: 2px solid #2d6e2d;
    outline-offset: 2px;
}

/* Remove outline for mouse users */
*:focus:not(:focus-visible) {
    outline: none;
}

/* Print styles */
@media print {
    nav, .stat-card, .blob {
        display: none;
    }
    
    body {
        background: white;
    }
    
    .hero-gradient {
        background: #f0f7f0 !important;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .feature-card {
        border-width: 2px;
    }
    
    .btn-primary {
        border: 2px solid currentColor;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}
