/* Custom styles for Dolly Varden Lake Campground */

/* Base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Smooth scroll for anchor links */
html {
    scroll-behavior: smooth;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #f0fdfa;
}
::-webkit-scrollbar-thumb {
    background: #99f6e4;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #5eead4;
}

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

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

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

/* Prevent layout shift on images */
img[width][height] {
    aspect-ratio: attr(width) / attr(height);
}

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

/* 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;
    }
}

/* High contrast mode support */
@media (forced-colors: active) {
    .card-lift {
        border: 2px solid ButtonText;
    }
    .btn-primary {
        border: 2px solid ButtonText;
    }
}

/* Tablet adjustments */
@media (max-width: 768px) {
    .font-display {
        font-size: clamp(2rem, 8vw, 3.5rem);
    }
}

/* Ensure all interactive elements are touch-friendly */
@media (hover: none) {
    .card-lift:hover {
        transform: none;
        box-shadow: 0 20px 60px rgba(13, 148, 136, 0.12);
    }
    .btn-primary:hover {
        background: #0d9488;
    }
}
