/* Custom styles for Lucky's Lake Ozark */

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Custom animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
}

/* Intersection Observer animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Gradient text utility */
.gradient-text {
    background: linear-gradient(135deg, #976e5c 0%, #c4a496 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

::-webkit-scrollbar-track {
    background: #faf6f0;
}

::-webkit-scrollbar-thumb {
    background: #b08978;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #976e5c;
}

/* Focus styles for accessibility */
*:focus-visible {
    outline: 2px solid #976e5c;
    outline-offset: 2px;
}

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

/* Image hover zoom effect */
img {
    transition: transform 0.5s ease;
}

/* Prevent layout shift */
img {
    max-width: 100%;
    height: auto;
}

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

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

/* Hero section parallax effect */
#hero {
    background-attachment: fixed;
}

@media (max-width: 768px) {
    #hero {
        background-attachment: scroll;
    }
}

/* Responsive typography */
@media (max-width: 640px) {
    .font-display {
        font-size: 2.5rem;
    }
}

/* Reduced motion preference */
@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;
    }
}
