/* Custom styles — thin, minimalist, burgundy + blush palette */

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

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

::selection {
    background: rgba(129, 28, 49, 0.15);
    color: #6c1a2d;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: #fdf2f4;
}
::-webkit-scrollbar-thumb {
    background: #f3a7b8;
    border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
    background: #d44566;
}

/* Nav scroll state */
.nav-scrolled {
    background: rgba(255, 248, 248, 0.92) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(129, 28, 49, 0.08);
}

.nav-scrolled .nav-link {
    color: #811c31 !important;
}

.nav-scrolled .font-serif {
    color: #811c31 !important;
}

/* Mobile menu */
.mobile-menu-open {
    opacity: 1 !important;
    pointer-events: all !important;
}

/* Scroll reveal base — content always visible by default */
.reveal {
    opacity: 1;
    transform: none;
    transition: opacity 0.7s ease, transform 0.7s ease;
}

@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
    }
    .reveal.revealed {
        opacity: 1;
        transform: none;
    }
    .reveal-delay-1 { transition-delay: 0.1s; }
    .reveal-delay-2 { transition-delay: 0.2s; }
    .reveal-delay-3 { transition-delay: 0.3s; }
    .reveal-delay-4 { transition-delay: 0.4s; }
}

/* Lodging card hover */
.lodging-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    border: 1px solid rgba(255, 255, 255, 0.1);
    pointer-events: none;
    transition: border-color 0.4s ease;
}
.lodging-card:hover::after {
    border-color: rgba(255, 255, 255, 0.25);
}

/* Experience item */
.experience-item {
    transition: background-color 0.3s ease;
}

/* Form select arrow */
select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='rgba(255,255,255,0.4)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
}

/* Gallery strip animation */
@media (prefers-reduced-motion: no-preference) {
    @keyframes scrollGallery {
        0% { transform: translateX(0); }
        100% { transform: translateX(-50%); }
    }
    .gallery-track {
        animation: scrollGallery 40s linear infinite;
    }
    .gallery-track:hover {
        animation-play-state: paused;
    }
}
