/* ── Base ── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { overflow-x: hidden; }

/* ── Section labels & titles ── */
.section-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #6ee7b7;
}
.section-label::before {
    content: '';
    display: block;
    width: 24px;
    height: 1px;
    background: #6ee7b7;
}
.section-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(2.25rem, 5vw, 3.75rem);
    font-weight: 700;
    line-height: 1.1;
    color: #ffffff;
}

/* ── Floating cards ── */
.floating-card {
    animation: float 6s ease-in-out infinite;
}
.card-1 { animation-delay: 0s; }
.card-2 { animation-delay: -1.5s; }
.card-3 { animation-delay: -3s; }
.card-4 { animation-delay: -4.5s; }

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-12px); }
}

/* ── Room cards ── */
.room-card {
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.room-card:hover {
    transform: translateY(-6px);
}

/* ── Scroll reveal ── */
.reveal {
    opacity: 1;
    transform: translateY(0);
    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);
}
.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(32px);
    }
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ── Nav ── */
#nav.scrolled {
    background: rgba(7, 16, 24, 0.92);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* ── Mobile menu ── */
.mobile-link {
    transition: opacity 0.3s ease;
}

/* ── Utility ── */
::selection {
    background: rgba(110, 231, 183, 0.3);
    color: #ffffff;
}
