/* ── Base & Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { overflow-x: hidden; }
img { max-width: 100%; height: auto; }

/* ── Scroll Reveal ── */
.scroll-reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.scroll-reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ── Navbar ── */
#navbar {
    background: transparent;
    transition: background 0.4s ease, box-shadow 0.4s ease;
}
#navbar.scrolled {
    background: rgba(250, 248, 244, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(26, 60, 42, 0.08);
}
.nav-link {
    position: relative;
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1.5px;
    background: currentColor;
    transition: width 0.3s ease;
}
.nav-link:hover::after {
    width: 100%;
}

/* ── Mobile Menu ── */
.mobile-link {
    position: relative;
}
.mobile-link::after {
    content: '';
    display: block;
    width: 0;
    height: 1px;
    background: #4a7e4a;
    transition: width 0.3s ease;
    margin-top: 4px;
}
.mobile-link:hover::after {
    width: 100%;
}

/* ── Hero Animations ── */
@keyframes heroUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
.animate-up {
    animation: heroUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    opacity: 0;
}

/* ── CTA Buttons ── */
.cta-primary {
    display: inline-flex;
    align-items: center;
    padding: 16px 32px;
    background: #1a3c2a;
    color: #faf8f4;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.02em;
    border-radius: 60px;
    text-decoration: none;
    transition: all 0.3s ease;
}
.cta-primary:hover {
    background: #2d4f2d;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(26, 60, 42, 0.3);
}
.cta-secondary {
    display: inline-flex;
    align-items: center;
    padding: 16px 32px;
    background: transparent;
    color: #1a3c2a;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.02em;
    border-radius: 60px;
    border: 1.5px solid #b9d0b8;
    text-decoration: none;
    transition: all 0.3s ease;
}
.cta-secondary:hover {
    border-color: #1a3c2a;
    background: rgba(26, 60, 42, 0.04);
}

/* ── Room Cards ── */
.room-card {
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.room-card:hover {
    transform: translateY(-4px);
}

/* ── Feature Items ── */
.feature-item {
    transition: transform 0.3s ease;
}
.feature-item:hover {
    transform: translateX(4px);
}

/* ── Form ── */
input:focus, textarea:focus {
    outline: none;
}
input::placeholder, textarea::placeholder {
    color: #6a8a6a;
}

/* ── Mobile Responsive ── */
@media (max-width: 767px) {
    .hero-title {
        font-size: 2.75rem !important;
    }
    .hero-title br {
        display: none;
    }
    .hero-title span {
        display: block;
    }
    .font-serif.text-4xl {
        font-size: 2.25rem !important;
    }
    .font-serif.text-5xl {
        font-size: 2rem !important;
    }
    .room-card {
        margin-bottom: 1rem;
    }
}

/* ── Selection ── */
::selection {
    background: #1a3c2a;
    color: #faf8f4;
}
