/* === BASE === */
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
img, video { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* === NAV === */
#nav {
    background: transparent;
    transition: background 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
}
#nav.scrolled {
    background: rgba(250, 249, 245, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(45, 92, 45, 0.08);
    padding-top: 0;
    padding-bottom: 0;
}

/* === MOBILE MENU === */
#mobileMenu.open { opacity: 1; pointer-events: all; }
.mobile-link { transition: color 0.2s; }
.mobile-link:hover { color: #407a40; }

/* === STAT CARDS === */
.stat-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

/* === ROOM CARDS === */
.room-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.room-card:hover {
    transform: translateY(-6px);
}

/* === AMENITY CARDS === */
.amenity-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.amenity-card:hover {
    transform: translateY(-4px);
}

/* === SCROLL REVEAL (progressive enhancement) === */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.6s ease, transform 0.6s ease;
    }
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}
@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
    html { scroll-behavior: auto; }
}

/* === FORM === */
#contactForm input,
#contactForm textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1.5px solid #d1d5db;
    border-radius: 0.75rem;
    font-family: inherit;
    font-size: 0.95rem;
    background: #faf9f5;
    color: #1a341a;
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
}
#contactForm input:focus,
#contactForm textarea:focus {
    border-color: #407a40;
    box-shadow: 0 0 0 3px rgba(64, 122, 64, 0.12);
}
#contactForm textarea { resize: vertical; min-height: 120px; }
#contactForm .error-msg {
    color: #dc2626;
    font-size: 0.8rem;
    margin-top: 0.25rem;
    display: none;
}
#contactForm input:invalid:not(:placeholder-shown) ~ .error-msg { display: block; }
#contactForm input:invalid:not(:placeholder-shown) {
    border-color: #dc2626;
}
.form-success {
    display: none;
    text-align: center;
    padding: 2rem;
}
.form-success svg { margin-bottom: 1rem; }
.form-success p { color: #2d5c2d; font-size: 1rem; }

/* === MOBILE NAV BUTTON === */
#menuBtn:hover { background: #e3efe3; }
</style>
