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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    margin: 0;
    overflow-x: hidden;
}

img {
    display: block;
    max-width: 100%;
}

a {
    text-decoration: none;
    color: inherit;
}

/* ── Scrollbar ── */
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: #fdf9f0;
}
::-webkit-scrollbar-thumb {
    background: #bbf7d0;
    border-radius: 3px;
}

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

.menu-line.active:nth-child(1) {
    transform: rotate(45deg) translate(3px, 3px);
}
.menu-line.active:nth-child(2) {
    opacity: 0;
}

/* ── Reveal animations (progressive enhancement) ── */
@media (prefers-reduced-motion: no-preference) {
    .about-reveal,
    .stay-reveal,
    .stay-card-reveal,
    .gallery-reveal,
    .location-reveal,
    .contact-reveal,
    .contact-form-reveal {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    }

    .about-image-reveal {
        opacity: 0;
        transform: scale(0.97);
        transition: opacity 1s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    }

    .reveal-visible {
        opacity: 1 !important;
        transform: translateY(0) !important;
        scale: 1 !important;
    }

    .stay-card-reveal:nth-child(1) { transition-delay: 0.05s; }
    .stay-card-reveal:nth-child(2) { transition-delay: 0.15s; }
    .stay-card-reveal:nth-child(3) { transition-delay: 0.25s; }

    .gallery-reveal:nth-child(1) { transition-delay: 0s; }
    .gallery-reveal:nth-child(2) { transition-delay: 0.08s; }
    .gallery-reveal:nth-child(3) { transition-delay: 0.16s; }
    .gallery-reveal:nth-child(4) { transition-delay: 0.24s; }
}

/* ── Selection ── */
::selection {
    background: #166534;
    color: #fefdf8;
}
