/* Edelweiss Highlands — Custom Styles */

/* Base */
*, *::before, *::after { box-sizing: border-box; }

/* Custom scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #fdf8f4; }
::-webkit-scrollbar-thumb { background: #ffd3c8; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #ff8264; }

/* Selection */
::selection { background: #ffd3c8; color: #18181b; }

/* Focus visible */
:focus-visible { outline: 2px solid #ff8264; outline-offset: 2px; border-radius: 4px; }

/* Smooth image loading */
img { loading: lazy; }

/* Prevent jank on scroll-reveal for non-JS */
@media not all and (prefers-reduced-motion: no-preference) {
    .reveal { opacity: 0; transform: translateY(24px); }
}

/* Mobile menu animation */
#mobile-menu {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, opacity 0.3s ease;
}
#mobile-menu.open {
    max-height: 400px;
    opacity: 1;
}
#mobile-menu.closed {
    max-height: 0;
    opacity: 0;
}

/* Hamburger animation */
#menu-btn.active #bar1 {
    transform: rotate(45deg) translate(5px, 5px);
}
#menu-btn.active #bar2 {
    opacity: 0;
}
#menu-btn.active #bar3 {
    width: 24px;
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Nav background on scroll */
nav.scrolled {
    background: rgba(253, 248, 244, 0.95) !important;
    box-shadow: 0 1px 20px rgba(255, 130, 100, 0.08);
}

/* Subtle hover lift for cards */
.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.hover-lift:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(255, 130, 100, 0.12);
}

/* Coral accent line */
.accent-line {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #ff8264, #ffd3c8);
    border-radius: 2px;
}

/* Print styles */
@media print {
    nav, #mobile-menu, .reveal { display: none; }
    body { color: #18181b; background: white; }
}
