/* Custom styles for Wapiti Mountain Escape */

/* Smooth scrolling offset for fixed nav */
section[id] {
    scroll-margin-top: 80px;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #fdf8f0;
}
::-webkit-scrollbar-thumb {
    background: #d4456a;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #b8294f;
}

/* Navbar scroll state */
.navbar-scrolled {
    background: rgba(254, 253, 251, 0.95) !important;
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 20px rgba(150, 30, 65, 0.08);
}

.navbar-scrolled .menu-line {
    background: #961e41;
}

/* Mobile menu animation */
.mobile-menu-open #mobileMenu {
    opacity: 1;
    pointer-events: all;
}

.mobile-menu-open .menu-line:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}
.mobile-menu-open .menu-line:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}
.mobile-menu-open .menu-line:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
    width: 1.5rem;
}

/* Subtle hover on gallery images */
.rounded-2xl.overflow-hidden img {
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Button focus states */
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 2px solid #d4456a;
    outline-offset: 2px;
}

/* Selection color */
::selection {
    background: #fad0d9;
    color: #7c1c39;
}
