/* Custom Styles for High Country Lodge */

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

/* Scroll Reveal Animation Classes */
.scroll-trigger {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

/* For progressive enhancement: if JS doesn't load, elements are still visible.
   If JS loads, we add a 'hidden' state initially via JS, then reveal.
   However, to strictly follow the rule "content's DEFAULT state must be visible",
   we rely on the JS adding the 'hidden' class only after a tiny delay or just 
   managing the transform directly.
   
   Here we use a simple approach: default is visible. JS adds a class to hide 
   elements that are way off screen if we wanted, but per instructions:
   "content's DEFAULT state must be visible".
   
   So we will NOT use opacity:0 as default. We will use a transform that is 
   neutral, and only animate if we want. 
   
   Actually, the prompt says: "Scroll-reveal / fade-in animations are ONLY for 
   sections BELOW the fold... content's DEFAULT state must be visible".
   
   So, default CSS is visible. JS will add a class to trigger animation ONLY 
   when in view.
*/

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

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* Mobile Menu Transitions */
#mobile-menu {
    transition: max-height 0.3s ease-in-out, opacity 0.3s ease-in-out;
}

#mobile-menu.hidden {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
}

#mobile-menu:not(.hidden) {
    max-height: 400px;
    opacity: 1;
}
