/* ===== Custom Styles for Mine Dock at The Hudson View Inn ===== */

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #040914;
}
::-webkit-scrollbar-thumb {
    background: #112748;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #14b8a6;
}

/* Selection color */
::selection {
    background: rgba(20, 184, 166, 0.3);
    color: #f0fdf9;
}

/* Scroll indicator animation */
.scroll-indicator {
    animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
    0%, 100% { opacity: 0.3; transform: scaleY(1); }
    50% { opacity: 0.7; transform: scaleY(1.2); }
}

/* Room card hover effects */
.room-card {
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.room-card:hover {
    transform: translateY(-4px);
}

/* Navbar glass effect */
.nav-scrolled {
    background: rgba(4, 9, 20, 0.92) !important;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(94, 234, 212, 0.08) !important;
}

/* Mobile menu link animation */
.mobile-link {
    opacity: 0;
    transform: translateY(10px);
}
.mobile-menu-open .mobile-link {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.4s ease, transform 0.4s ease;
}
.mobile-menu-open .mobile-link:nth-child(1) { transition-delay: 0.1s; }
.mobile-menu-open .mobile-link:nth-child(2) { transition-delay: 0.15s; }
.mobile-menu-open .mobile-link:nth-child(3) { transition-delay: 0.2s; }
.mobile-menu-open .mobile-link:nth-child(4) { transition-delay: 0.25s; }

/* Menu button animation */
.menu-line {
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.menu-open .menu-line:nth-child(1) {
    transform: rotate(45deg) translate(4px, 4px);
}
.menu-open .menu-line:nth-child(2) {
    opacity: 0;
}
.menu-open .menu-line:nth-child(3) {
    transform: rotate(-45deg) translate(4px, -4px);
    width: 24px !important;
}

/* Fade-in animation for sections below fold */
.fade-in-section {
    opacity: 1 !important;
    transform: none !important;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

@media (prefers-reduced-motion: no-preference) {
    .fade-in-section {
        opacity: 0;
        transform: translateY(24px);
    }
    .fade-in-section.visible {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Gold shimmer on hover for buttons */
.btn-gold-shimmer {
    position: relative;
    overflow: hidden;
}
.btn-gold-shimmer::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(251, 191, 36, 0.15), transparent);
    transition: left 0.5s ease;
}
.btn-gold-shimmer:hover::after {
    left: 100%;
}

/* Image lazy load placeholder */
img {
    background: linear-gradient(135deg, #0a1628 0%, #0d1e3c 100%);
}

/* Input date picker styling */
input[type="date"]::-webkit-calendar-picker-indicator {
    filter: invert(0.7) sepia(1) saturate(3) hue-rotate(130deg);
    cursor: pointer;
}
