/* Custom styles for Quick Draw Express Ski Lift */

/* Base font sizes */
html {
    font-size: 16px;
}

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

/* Body background pattern */
body {
    background-image: radial-gradient(circle at 1px 1px, rgba(48, 78, 39, 0.03) 1px, transparent 0);
    background-size: 24px 24px;
}

/* Navbar scroll state */
#navbar.scrolled {
    background: rgba(250, 248, 244, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 20px rgba(0, 0, 0, 0.08);
}

.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    width: 0;
    height: 2px;
    background: currentColor;
    transition: all 0.3s ease;
    transform: translateX(-50%);
    border-radius: 1px;
}

.nav-link:hover::after {
    width: 60%;
}

/* Mobile menu */
#mobileMenu {
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mobile-link {
    display: block;
}

/* Room cards */
.room-card {
    transform: translateY(0);
}

.room-card:hover {
    transform: translateY(-4px);
}

/* Amenity cards */
.amenity-card {
    transform: translateY(0);
}

.amenity-card:hover {
    transform: translateY(-4px);
    border-color: rgba(251, 191, 36, 0.3);
}

/* Testimonial cards */
.testimonial-card {
    transform: translateY(0);
}

.testimonial-card:hover {
    transform: translateY(-4px);
}

/* Scroll reveal animations */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.hidden-reveal {
    opacity: 0;
    transform: translateY(24px);
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    
    .reveal.hidden-reveal {
        opacity: 1;
        transform: none;
    }
    
    .room-card:hover,
    .amenity-card:hover,
    .testimonial-card:hover {
        transform: none;
    }
    
    .room-card img,
    .amenity-card img,
    .testimonial-card img {
        transition: none;
    }
}

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

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

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

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

/* Selection color */
::selection {
    background: #c5dab9;
    color: #1f3421;
}

/* Focus styles */
a:focus-visible,
button:focus-visible {
    outline: 2px solid #537f44;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Button hover effects */
a[href="tel:+18888504615"] {
    position: relative;
}

/* Image lazy loading fade */
img {
    transition: opacity 0.3s ease;
}

img[loading="lazy"] {
    opacity: 0;
}

img[loading="lazy"].loaded {
    opacity: 1;
}

/* Hero asymmetric card animation */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-8px);
    }
}

/* Print styles */
@media print {
    #navbar,
    .scroll-indicator,
    #menuBtn {
        display: none !important;
    }
    
    body {
        color: #1f3421;
        background: white;
    }
    
    a {
        color: #304e27;
    }
}
