:root {
    --hnp-primary: #14532d;
    --hnp-primary-soft: #e8f2ec;
    --hnp-accent: #c19a4b;
    --hnp-dark: #1b2a22;
    --hnp-muted: #6b7c73;
}

body {
    font-family: "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
    color: #22312a;
}

a { text-decoration: none; }

.text-accent { color: var(--hnp-accent) !important; }
.bg-hnp { background-color: var(--hnp-primary) !important; }
.bg-hnp-soft { background-color: var(--hnp-primary-soft) !important; }

.btn-hnp {
    background-color: var(--hnp-primary);
    border-color: var(--hnp-primary);
    color: #fff;
}
.btn-hnp:hover, .btn-hnp:focus {
    background-color: #0d3a1f;
    border-color: #0d3a1f;
    color: #fff;
}
.btn-accent {
    background-color: var(--hnp-accent);
    border-color: var(--hnp-accent);
    color: #1b2a22;
    font-weight: 600;
}
.btn-accent:hover { background-color: #a9863d; border-color: #a9863d; color: #1b2a22; }

.navbar-hnp {
    background-color: #ffffff;
    box-shadow: 0 1px 12px rgba(0, 0, 0, .07);
}
.navbar-hnp .navbar-brand { font-weight: 700; color: var(--hnp-primary); letter-spacing: .5px; }
.navbar-hnp .nav-link { color: #33443b; font-weight: 500; padding-left: .9rem; padding-right: .9rem; }
.navbar-hnp .nav-link:hover, .navbar-hnp .nav-link.active { color: var(--hnp-primary); }

.hero {
    background: linear-gradient(rgba(12, 34, 22, .72), rgba(12, 34, 22, .72)),
                url('../images/hero.svg') center/cover no-repeat;
    color: #fff;
    padding: 6rem 0;
}
.hero h1 { font-weight: 700; }

.page-head {
    background: var(--hnp-primary);
    color: #fff;
    padding: 3rem 0;
}
.page-head h1 { font-weight: 700; margin-bottom: .25rem; }

.room-card { border: 0; box-shadow: 0 2px 14px rgba(0, 0, 0, .08); border-radius: .75rem; overflow: hidden; height: 100%; }
.room-card img { height: 220px; object-fit: cover; width: 100%; background: #eef2ef; }
.room-card .price { color: var(--hnp-primary); font-weight: 700; font-size: 1.25rem; }

.service-icon {
    width: 58px; height: 58px; border-radius: 50%;
    background: var(--hnp-primary-soft); color: var(--hnp-primary);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem; margin-bottom: 1rem;
}

.booking-box { box-shadow: 0 4px 24px rgba(0, 0, 0, .10); border-radius: .75rem; border: 0; }

footer.site-footer { background: var(--hnp-dark); color: #c9d6ce; padding: 3rem 0 1.5rem; }
footer.site-footer a { color: #c9d6ce; }
footer.site-footer a:hover { color: #fff; }
footer.site-footer h6 { color: #fff; font-weight: 700; letter-spacing: .5px; }

/* ---------- Admin ---------- */
.admin-body { background: #f2f5f3; }
.admin-sidebar {
    background: var(--hnp-dark);
    min-height: 100vh;
    color: #cfdad3;
}
.admin-sidebar .brand { color: #fff; font-weight: 700; padding: 1.15rem 1.25rem; display: block; border-bottom: 1px solid rgba(255,255,255,.08); }
.admin-sidebar a.nav-link { color: #cfdad3; padding: .65rem 1.25rem; border-left: 3px solid transparent; }
.admin-sidebar a.nav-link:hover { background: rgba(255,255,255,.06); color: #fff; }
.admin-sidebar a.nav-link.active { background: rgba(255,255,255,.10); color: #fff; border-left-color: var(--hnp-accent); }
.stat-card { border: 0; border-radius: .65rem; box-shadow: 0 2px 10px rgba(0,0,0,.07); }
.stat-card .stat-value { font-size: 1.8rem; font-weight: 700; }
.login-wrap { min-height: 100vh; display: flex; align-items: center; background: var(--hnp-dark); }

/* ---------------------------------------------------------------
   Privacy policy and terms pages
   --------------------------------------------------------------- */

.legal-toc {
    position: sticky;
    top: 1.5rem;
    border: 1px solid #e3eae6;
    border-radius: .75rem;
    background: #fff;
    padding: 1.25rem;
    box-shadow: 0 2px 14px rgba(0, 0, 0, .05);
}
.legal-toc h6 {
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    font-size: .72rem;
    color: var(--hnp-muted);
    margin-bottom: .85rem;
}
.legal-toc a {
    display: block;
    color: #33443b;
    font-size: .88rem;
    padding: .38rem .6rem;
    border-radius: .4rem;
    border-left: 2px solid transparent;
}
.legal-toc a:hover {
    background: var(--hnp-primary-soft);
    color: var(--hnp-primary);
    border-left-color: var(--hnp-accent);
}

.legal-meta {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    background: var(--hnp-primary-soft);
    color: var(--hnp-primary);
    font-size: .82rem;
    font-weight: 600;
    padding: .35rem .85rem;
    border-radius: 2rem;
}

.legal-summary {
    border: 0;
    border-left: 4px solid var(--hnp-accent);
    border-radius: .6rem;
    background: #fbf8f1;
    padding: 1.25rem 1.4rem;
}
.legal-summary ul { margin-bottom: 0; padding-left: 1.1rem; }
.legal-summary li { margin-bottom: .4rem; }
.legal-summary li:last-child { margin-bottom: 0; }

.legal-body { max-width: 68ch; }
.legal-body section { scroll-margin-top: 1.5rem; padding-top: .5rem; }
.legal-body section + section { margin-top: 2.6rem; }
.legal-body h2 {
    font-size: 1.22rem;
    font-weight: 700;
    color: var(--hnp-primary);
    margin-bottom: .85rem;
    padding-bottom: .5rem;
    border-bottom: 1px solid #e3eae6;
}
.legal-body h2 .legal-num {
    color: var(--hnp-accent);
    font-variant-numeric: tabular-nums;
    margin-right: .5rem;
}
.legal-body h3 {
    font-size: .98rem;
    font-weight: 700;
    margin-top: 1.3rem;
    margin-bottom: .5rem;
}
.legal-body p, .legal-body li { color: #3d4c45; line-height: 1.75; }
.legal-body ul, .legal-body ol { padding-left: 1.2rem; }
.legal-body li { margin-bottom: .45rem; }

.legal-table th {
    background: var(--hnp-primary-soft);
    color: var(--hnp-primary);
    font-size: .8rem;
    text-transform: uppercase;
    letter-spacing: .04em;
}
.legal-table td, .legal-table th { padding: .7rem .9rem; vertical-align: top; }

.legal-contact {
    background: var(--hnp-primary-soft);
    border-radius: .75rem;
    padding: 1.5rem;
}

@media (max-width: 991.98px) {
    .legal-toc { position: static; margin-bottom: 1.5rem; }
}

/* ---------------------------------------------------------------
   Floating WhatsApp button (public pages only)
   --------------------------------------------------------------- */

.wa-float {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 1030;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #25D366;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(0, 0, 0, .25);
    transition: transform .15s ease;
}
.wa-float:hover, .wa-float:focus { color: #fff; transform: scale(1.06); }
.wa-float:focus-visible { outline: 3px solid #14532d; outline-offset: 3px; }

/* Room so the button never sits on top of the last footer links. */
body.has-wa-float .site-footer { padding-bottom: 5.5rem; }

@media (max-width: 575.98px) {
    .wa-float { width: 50px; height: 50px; right: 12px; bottom: 12px; }
    .wa-float svg { width: 26px; height: 26px; }
}

/* ---------------------------------------------------------------
   Gallery and guest reviews
   --------------------------------------------------------------- */

.gallery-thumb { border-radius: .6rem; overflow: hidden; background: #eef2ef; }
.gallery-thumb img { width: 100%; height: 190px; object-fit: cover; transition: transform .25s ease; }
.gallery-thumb:hover img { transform: scale(1.04); }
@media (max-width: 575.98px) { .gallery-thumb img { height: 130px; } }

.gallery-tabs .btn { border-radius: 2rem; }
.gallery-tabs .btn.active { background: var(--hnp-primary); border-color: var(--hnp-primary); color: #fff; }

#galleryModal .modal-content { background: #111; border: 0; }
#galleryModal img { max-height: 80vh; width: auto; max-width: 100%; height: auto; }

.review-card { background: #fff; border: 1px solid #e3eae6; border-radius: .75rem; padding: 1.5rem; }
.review-stars { color: var(--hnp-accent); }
.review-card blockquote p { color: #3d4c45; line-height: 1.65; }

/* .g-5 rows are wider than the phone container (3rem gutter vs 1.5rem
   padding) and made the page scroll sideways at 360px. Normal gutter on phones. */
@media (max-width: 575.98px) {
    .row.g-5 { --bs-gutter-x: 1.5rem; }
}

/* Home banner buttons: same width when stacked on phones. */
.hero-actions .btn { min-width: 210px; }
