/* Custom styles for Black Mountain RV Park */

:root {
    --color-charcoal-900: #1A1A1A;
    --color-charcoal-800: #2D2D2D;
    --color-charcoal-700: #4A4A4A;
    --color-coral-500: #FF6B6B;
    --color-coral-600: #E85A5A;
    --color-stone-50: #FAFAF8;
    --color-stone-100: #F5F5F4;
}

html {
    scroll-behavior: smooth;
}

body {
    overflow-x: hidden;
}

/* Reveal animations - progressive enhancement */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(20px);
    }
    
    .reveal.active {
        opacity: 1;
        transform: translateY(0);
    }
}

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

::-webkit-scrollbar-track {
    background: var(--color-stone-50);
}

::-webkit-scrollbar-thumb {
    background: var(--color-charcoal-700);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-charcoal-900);
}

/* Focus styles for accessibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--color-coral-500);
    outline-offset: 2px;
}

/* Mobile menu animation */
#mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

#mobile-menu.open {
    max-height: 400px;
}

/* Image hover effects */
img {
    transition: transform 0.7s ease;
}

/* Button hover effects */
button,
a {
    transition: all 0.3s ease;
}

/* Card hover effects */
.bg-charcoal-800:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* Smooth section transitions */
section {
    position: relative;
}

/* Typography improvements */
h1, h2, h3, h4 {
    text-wrap: pretty;
}

p {
    text-wrap: pretty;
}

/* Ensure touch targets are large enough on mobile */
@media (max-width: 768px) {
    nav a,
    button {
        min-height: 44px;
        min-width: 44px;
    }
}

/* Print styles */
@media print {
    header,
    footer,
    #contact-form,
    .animate-bounce {
        display: none;
    }
    
    body {
        color: #000;
        background: #fff;
    }
}
