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

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

::selection {
    background: #A8D5C8;
    color: #0A1628;
}

/* ── Navigation ── */
.nav-logo {
    transition: color 0.3s ease;
}

.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: #A8D5C8;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* ── Mobile Menu ── */
.menu-line {
    transition: all 0.3s ease;
}

#menu-btn.active .menu-line:first-child {
    transform: rotate(45deg) translate(3px, 3px);
}

#menu-btn.active .menu-line:last-child {
    transform: rotate(-45deg) translate(3px, -3px);
}

/* ── Room Cards ── */
.room-card {
    border-bottom: 1px solid rgba(10, 22, 40, 0.08);
    padding-bottom: 2rem;
    transition: all 0.3s ease;
}

.room-card:hover {
    border-bottom-color: #A8D5C8;
}

.room-card:hover img {
    transform: scale(1.02);
}

/* ── Amenity Items ── */
.amenity-item {
    transition: all 0.3s ease;
}

.amenity-item:hover {
    padding-left: 0.5rem;
}

.amenity-item:hover h4 {
    color: #0A1628;
}

/* ── Scroll Reveal (below fold only) ── */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

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

/* ── Form Focus States ── */
input:focus,
textarea:focus {
    border-color: #A8D5C8 !important;
    box-shadow: 0 0 0 3px rgba(168, 213, 200, 0.15);
}

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

#mobile-menu.closed {
    opacity: 0;
    pointer-events: none;
}

/* ── Smooth section transitions ── */
section {
    position: relative;
}

/* ── Button hover lift ── */
button,
a[href^="#"] {
    -webkit-tap-highlight-color: transparent;
}

/* ── Map container ── */
iframe {
    border-radius: 0;
}

/* ── Subtle hover on links ── */
a {
    transition: color 0.25s ease;
}
