/* Rustic Meadows Campground — Custom Styles */
/* Additional overrides and utility styles */

/* Ensure smooth rendering on all devices */
img {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Selection color */
::selection {
    background: #e66d42;
    color: #fefce8;
}

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

/* Print styles */
@media print {
    .hero-section,
    .back-to-top,
    .lightbox {
        display: none !important;
    }

    body {
        color: #30211b;
        background: white;
    }

    a {
        color: #b03f24;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .btn-primary {
        border-width: 3px;
    }

    .form-input {
        border-width: 2px;
    }
}

/* Reduced motion - ensure everything is visible */
@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;
    }

    .reveal {
        opacity: 1 !important;
        transform: none !important;
    }
}

/* Touch device adjustments */
@media (hover: none) and (pointer: coarse) {
    .accommodation-card:hover {
        transform: none;
        box-shadow: 0 4px 20px rgba(112, 44, 30, 0.06);
    }

    .accommodation-card:hover .card-image {
        transform: none;
    }

    .accommodation-card:hover .card-overlay {
        opacity: 0;
    }

    .gallery-item:hover img {
        transform: none;
    }

    .gallery-item:hover::after {
        background: rgba(48, 33, 27, 0);
    }
}

/* Very small screens */
@media (max-width: 360px) {
    .max-w-7xl {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}
