/* Custom Styles for Crystal Lake Lodge */

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

/* Custom Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate3d(0, 40px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

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

/* Scroll Reveal Utility (Progressive Enhancement) */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

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

/* Mobile Menu Transition */
#mobile-menu {
    transition: transform 0.3s ease-in-out;
}

/* Form Focus States */
input:focus, textarea:focus {
    outline: none;
    border-bottom: 2px solid #c97752; /* terracotta-500 */
}

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

::-webkit-scrollbar-track {
    background: #f8f4ec; /* sand-100 */
}

::-webkit-scrollbar-thumb {
    background: #d49472; /* terracotta-400 */
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #bc603f; /* terracotta-600 */
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
    .animate-fade-in-up {
        animation: none;
        opacity: 1;
    }
    img {
        transition: none;
    }
}
