/* ============================================
   LAKE SHORE LODGE — Custom Styles
   ============================================ */

/* Base */
html {
    scroll-behavior: smooth;
}

body {
    overflow-x: hidden;
}

/* Selection */
::selection {
    background-color: #ffd12c;
    color: #320f1f;
}

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

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

::-webkit-scrollbar-thumb {
    background: #b35277;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #9c3f63;
}

/* ============================================
   NAVBAR
   ============================================ */
#navbar {
    background: transparent;
}

#navbar.scrolled {
    background: rgba(50, 15, 31, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

#navbar.scrolled .font-serif {
    color: #fff !important;
}

/* ============================================
   MOBILE MENU
   ============================================ */
.mobile-link {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease, transform 0.4s ease, color 0.3s ease;
}

#mobileMenu.open .mobile-link {
    opacity: 1;
    transform: translateY(0);
}

#mobileMenu.open .mobile-link:nth-child(1) { transition-delay: 0.1s; }
#mobileMenu.open .mobile-link:nth-child(2) { transition-delay: 0.2s; }
#mobileMenu.open .mobile-link:nth-child(3) { transition-delay: 0.3s; }
#mobileMenu.open .mobile-link:nth-child(4) { transition-delay: 0.4s; }
#mobileMenu.open .mobile-link:nth-child(5) { transition-delay: 0.5s; }

/* ============================================
   HERO DECORATIONS
   ============================================ */
.hero-decor {
    animation: float 8s ease-in-out infinite;
}

.hero-decor-1 { animation-delay: 0s; }
.hero-decor-2 { animation-delay: -2s; }
.hero-decor-3 { animation-delay: -4s; }
.hero-decor-4 { animation-delay: -1s; animation-duration: 6s; }
.hero-decor-5 { animation-delay: -3s; animation-duration: 7s; }
.hero-decor-6 { animation-delay: -5s; animation-duration: 5s; }

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* ============================================
   REVEAL ANIMATIONS
   ============================================ */
.reveal-up {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-up.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   FORM STYLES
   ============================================ */
input:focus,
textarea:focus {
    border-color: #b35277 !important;
    box-shadow: 0 0 0 3px rgba(179, 82, 119, 0.1);
}

/* ============================================
   IMAGE HOVER EFFECTS
   ============================================ */
.group:hover .group-hover\:scale-105 {
    transform: scale(1.05);
}

/* ============================================
   BUTTON TRANSITIONS
   ============================================ */
button, a {
    -webkit-tap-highlight-color: transparent;
}

/* ============================================
   RESPONSIVE ADJUSTMENTS
   ============================================ */
@media (max-width: 768px) {
    .font-serif {
        line-height: 1.1;
    }
}

/* ============================================
   REDUCED MOTION
   ============================================ */
@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;
    }
}

/* ============================================
   PRINT STYLES
   ============================================ */
@media print {
    #navbar, #mobileMenu, .hero-decor {
        display: none !important;
    }
    
    body {
        background: white !important;
        color: black !important;
    }
}
