/* ── Base ── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; min-height: 100vh; }

/* ── Typography ── */
.lead-lg { font-size: 1.125rem; line-height: 1.75; }

/* ── Buttons ── */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #305020;
    color: #faf9f5;
    padding: 0.875rem 1.75rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.3s ease, box-shadow 0.3s ease, transform 0.2s ease;
}
.btn-primary:hover {
    background: #3e6628;
    box-shadow: 0 8px 24px rgba(48, 80, 32, 0.3);
    transform: translateY(-1px);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: transparent;
    color: #305020;
    padding: 0.875rem 1.75rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
    border: 1.5px solid #305020;
    text-decoration: none;
    transition: background 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}
.btn-outline:hover {
    background: #305020;
    color: #faf9f5;
    box-shadow: 0 8px 24px rgba(48, 80, 32, 0.2);
}

/* ── Inputs ── */
.input-field {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #d1d5b8;
    border-radius: 0.5rem;
    background: #faf9f5;
    color: #1f3315;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 0.9375rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    outline: none;
}
.input-field::placeholder { color: #a3b892; }
.input-field:focus {
    border-color: #548334;
    box-shadow: 0 0 0 3px rgba(84, 131, 52, 0.15);
}
.input-field:invalid:not(:placeholder-shown) {
    border-color: #dc2626;
}

/* ── Scroll Reveal ── */
.reveal {
    opacity: 1;
    transform: none;
    transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal[data-reveal-delay="1"] { transition-delay: 0.1s; }
.reveal[data-reveal-delay="2"] { transition-delay: 0.2s; }
.reveal[data-reveal-delay="3"] { transition-delay: 0.3s; }

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

/* ── Hero Animations ── */
.hero-lead    { animation: fadeUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.1s both; }
.hero-headline { animation: fadeUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.25s both; }
.hero-sub     { animation: fadeUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.4s both; }
.hero-ctas    { animation: fadeUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.55s both; }

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(28px); }
    to   { opacity: 1; transform: translateY(0); }
}

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

/* ── Feature Cards ── */
.feature-card {
    transition: transform 0.3s ease;
}
.feature-card:hover {
    transform: translateY(-2px);
}

/* ── Back to Top ── */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 44px;
    height: 44px;
    border-radius: 9999px;
    background: #305020;
    color: #faf9f5;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transform: translateY(12px);
    transition: opacity 0.3s ease, transform 0.3s ease, background 0.3s ease;
    z-index: 30;
    text-decoration: none;
}
.back-to-top.visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}
.back-to-top:hover {
    background: #3e6628;
}

/* ── Mobile Menu ── */
.mobile-link {
    transition: color 0.2s ease;
}

/* ── Responsive ── */
@media (max-width: 767px) {
    .hero-headline { font-size: 2.5rem; }
    .lead-lg { font-size: 1rem; }
}

@media (min-width: 768px) and (max-width: 1023px) {
    .hero-headline { font-size: 3.5rem; }
}
