/* Custom styles for Highway 70 Luxury RV Park */

/* Base font smoothing */
body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Smooth image rendering */
img {
    -webkit-font-smoothing: antialiased;
}

/* Selection color */
::selection {
    background-color: #fce4d8;
    color: #8C3A22;
}

/* Subtle text shadow for hero readability */
.hero-text-shadow {
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

/* Custom focus styles */
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid #e05228;
    outline-offset: 2px;
}

/* Print styles */
@media print {
    nav, .mobile-menu, #menuBtn { display: none !important; }
    header { min-height: auto; padding-top: 2rem; }
    body { color: #000; background: #fff; }
    .reveal { opacity: 1 !important; transform: none !important; }
}

/* Ensure smooth transitions on all interactive elements */
a, button {
    transition: all 0.3s ease;
}

/* Prevent layout shift on images */
img {
    content-visibility: auto;
}

/* Enhanced mobile touch targets */
@media (max-width: 768px) {
    .mobile-link {
        padding-top: 0.75rem;
        padding-bottom: 0.75rem;
    }
}

/* Subtle parallax for hero decorative elements */
@media (prefers-reduced-motion: no-preference) {
    .hero-bg {
        transition: transform 0.1s linear;
    }
}

/* Ensure all sections have proper spacing */
section {
    position: relative;
}

/* Card hover elevation */
.group:hover {
    transform: translateY(-2px);
}

.group {
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

/* Newsletter / CTA accent */
.cta-accent {
    background: linear-gradient(135deg, #8C3A22 0%, #cc3d1a 100%);
}

/* Ensure form inputs have proper focus states */
input:focus,
select:focus,
textarea:focus {
    border-color: #e05228;
    box-shadow: 0 0 0 3px rgba(224, 82, 40, 0.1);
}

/* Smooth anchor scrolling offset for fixed nav */
[id] {
    scroll-margin-top: 80px;
}

/* Gallery hover overlay */
.img-zoom::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(140, 58, 34, 0);
    transition: background 0.4s ease;
    border-radius: inherit;
    pointer-events: none;
}

.img-zoom:hover::after {
    background: rgba(140, 58, 34, 0.05);
}

/* Ensure the floating card on hero is readable */
.absolute.-bottom-6.-left-6 {
    backdrop-filter: blur(8px);
}
