/* Custom styles for One Mile Campground */

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

/* Custom gradient animations */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #8d5378;
}

/* Selection color */
::selection {
    background: #fbbf24;
    color: #2c1b27;
}

/* Focus styles */
:focus-visible {
    outline: 3px solid #fbbf24;
    outline-offset: 2px;
}

/* Reduced motion */
@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;
    }
    
    .animate-bounce {
        animation: none;
    }
}

/* Print styles */
@media print {
    nav,
    button,
    .no-print {
        display: none !important;
    }
    
    body {
        color: #000;
        background: #fff;
    }
}

/* Mobile optimizations */
@media (max-width: 640px) {
    .font-serif {
        line-height: 1.2;
    }
    
    section {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .bg-plum-50 {
        background-color: #f5eef2;
    }
    
    .text-plum-600 {
        color: #5f3951;
    }
}

/* Dark mode support (optional enhancement) */
@media (prefers-color-scheme: dark) {
    /* Keep the site as-is since it has its own dark sections */
}
