/* Custom styles for Star Lite Mobile Home and RV Park */

/* Smooth scroll behavior is handled in HTML via scroll-behavior: smooth */

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

/* Selection color */
::selection {
    background: rgba(13, 138, 81, 0.3);
    color: #fdfbf5;
}

/* Image optimization */
img {
    max-width: 100%;
    height: auto;
}

/* Prevent horizontal scroll */
body {
    overflow-x: hidden;
}

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

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

    .hero-img-bg {
        background-attachment: scroll !important;
    }
}

/* Tablet breakpoint adjustments */
@media (max-width: 768px) {
    .hero-img-bg {
        background-attachment: scroll;
    }
}

/* Print styles */
@media print {
    nav,
    #mobile-menu,
    .feature-card,
    .reveal {
        display: block !important;
        opacity: 1 !important;
    }

    body {
        background: white !important;
        color: black !important;
    }

    .bg-slate-950,
    .bg-slate-900 {
        background: white !important;
    }
}
