:root {
  --forest: #1e3a2f;
  --forest-2: #2d5443;
  --forest-3: #e6efe9;
  --gold: #c39a3e;
  --gold-2: #f6ecd4;
  --cream: #fbf8f2;
  --paper: #ffffff;
  --ink: #1b221e;
  --muted: #637068;
  --line: #e4e0d6;
  --danger: #b3412e;
  --danger-bg: #fbeae6;
  --ok: #2f7a4f;
  --ok-bg: #e3f3e8;
  --warn: #a4731a;
  --warn-bg: #fbf1dc;
  --info: #2f5f8a;
  --info-bg: #e5eef7;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(20, 30, 25, .06), 0 8px 24px rgba(20, 30, 25, .08);
  --serif: 'Clarity City', 'Inter', system-ui, sans-serif;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
/* Hide the page's own scrollbar (the page still scrolls by wheel, touch and keyboard).
   Only the page: inner scroll areas like the admin booking panel keep their scrollbars. */
html { scrollbar-width: none; }
html::-webkit-scrollbar { display: none; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--forest-2); }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
.container { width: min(1180px, 100% - 32px); margin-inline: auto; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.eyebrow { font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--paper); margin-bottom: .6rem; }
.tabular { font-variant-numeric: tabular-nums; }
.hidden { display: none !important; }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 248, 242, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav .container { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.brand { font-family: var(--serif); font-size: 1.35rem; font-weight: 600; color: var(--forest); text-decoration: none; display: flex; align-items: center; gap: 10px; }
.brand-mark { width: 30px; height: 30px; }
.nav-links { display: flex; gap: 22px; align-items: center; }
.nav-links a { text-decoration: none; color: var(--ink); font-size: .95rem; font-weight: 500; }
.nav-links a:hover { color: var(--forest-2); }
.nav-links a.btn, .nav-links a.btn:hover { color: #fff; }
@media (max-width: 760px) { .nav-links a:not(.btn) { display: none; } }

/* ---------- buttons & inputs ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 20px; border-radius: 999px; border: 1px solid transparent;
  font: 600 .95rem var(--sans); cursor: pointer; text-decoration: none;
  transition: background .15s, transform .05s, border-color .15s;
  background: var(--forest); color: #fff;
}
.btn:hover { background: var(--forest-2); }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .55; cursor: not-allowed; }
.btn-gold { background: var(--gold); color: #1b1608; }
.btn-gold:hover { background: #d4ab52; }
.btn-ghost { background: transparent; color: var(--forest); border-color: var(--line); }
.btn-ghost:hover { background: var(--forest-3); }
.btn-danger { background: var(--danger); }
.btn-danger:hover { background: #9a3524; }
.btn-ok { background: var(--ok); }
.btn-ok:hover { background: #276842; }
.btn-sm { padding: 7px 14px; font-size: .85rem; }
.btn-block { width: 100%; }

label { display: block; font-weight: 500; font-size: .9rem; margin-bottom: 6px; }
.field { margin-bottom: 16px; }
.hint { font-size: .8rem; color: var(--muted); margin-top: 4px; }
input[type=text], input[type=email], input[type=tel], input[type=url], input[type=number], input[type=date], input[type=password], input[type=search], select, textarea {
  width: 100%; padding: 11px 13px; border-radius: 10px; border: 1px solid var(--line);
  font: inherit; font-size: .95rem; color: var(--ink); background: var(--paper);
  transition: border-color .15s, box-shadow .15s;
}
input:focus, select:focus, textarea:focus, .btn:focus-visible, .choice:focus-within {
  outline: none; border-color: var(--forest-2); box-shadow: 0 0 0 3px rgba(45, 84, 67, .18);
}
textarea { resize: vertical; min-height: 90px; }

/* ---------- date picker ---------- */
.datepicker { position: relative; max-width: 360px; }
.dp-trigger {
  width: 100%; display: flex; align-items: center; gap: 10px; padding: 11px 13px; border-radius: 10px;
  border: 1px solid var(--line); background: var(--paper); color: var(--muted); font: inherit; font-size: .95rem;
  text-align: left; cursor: pointer; transition: border-color .15s, box-shadow .15s;
}
.dp-trigger:hover { border-color: #cfc9bb; }
.dp-trigger:focus-visible, .dp-trigger[aria-expanded=true] { outline: none; border-color: var(--forest-2); box-shadow: 0 0 0 3px rgba(45, 84, 67, .18); }
.dp-trigger.has-value { color: var(--ink); }
.dp-trigger > svg:first-child { color: var(--forest-2); flex: none; }
.dp-value { flex: 1; }
.dp-caret { color: var(--muted); transition: transform .15s; }
.dp-trigger[aria-expanded=true] .dp-caret { transform: rotate(180deg); }

.dp-pop {
  position: absolute; z-index: 30; top: calc(100% + 8px); left: 0; width: 320px; max-width: calc(100vw - 32px);
  background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 14px;
  box-shadow: 0 4px 8px rgba(20, 30, 25, .06), 0 18px 40px rgba(20, 30, 25, .16);
}
.dp-pop button { font: inherit; cursor: pointer; }
.dp-quick { display: flex; gap: 6px; padding-bottom: 12px; margin-bottom: 12px; border-bottom: 1px solid var(--line); }
.dp-chip { flex: 1; padding: 7px 8px; border: 0; border-radius: 8px; background: transparent; color: var(--ink); font-size: .85rem !important; font-weight: 500; }
.dp-chip:hover:not(:disabled) { background: var(--forest-3); color: var(--forest); }
.dp-chip:disabled { color: #b9bdb6; cursor: not-allowed !important; }

.dp-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.dp-title { font-weight: 600; font-size: .95rem; }
.dp-nav { width: 32px; height: 32px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 8px; background: var(--paper); color: var(--ink); }
.dp-nav:hover:not(:disabled) { background: var(--forest-3); border-color: transparent; }
.dp-nav:disabled { color: #c9ccc5; cursor: not-allowed !important; }

.dp-grid { display: grid; grid-template-columns: repeat(7, 1fr); row-gap: 2px; }
.dp-days { display: contents; }
.dp-dow { text-align: center; font-size: .75rem; font-weight: 500; color: var(--muted); padding: 4px 0 8px; }
.dp-day {
  position: relative; aspect-ratio: 1; width: 100%; max-width: 40px; justify-self: center;
  border: 0; border-radius: 50%; background: transparent; color: var(--ink); font-size: .88rem !important; font-variant-numeric: tabular-nums;
  transition: background .12s;
}
.dp-day:hover:not(:disabled):not(.is-selected) { background: var(--forest-3); }
.dp-day:focus-visible { outline: 2px solid var(--forest-2); outline-offset: 1px; }
.dp-day.is-outside { color: #a9aea6; }
.dp-day:disabled { color: #cfd2cb; cursor: not-allowed !important; }
.dp-day.is-today { color: var(--forest-2); font-weight: 700; }
.dp-day.is-today::after { content: ''; position: absolute; left: 50%; bottom: 5px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: currentColor; }
.dp-day.is-selected { background: var(--forest); color: #fff; font-weight: 600; }

.dp-selected { margin-top: 12px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; font-size: .88rem; color: var(--ink); background: var(--cream); }
.dp-foot { display: flex; justify-content: flex-end; gap: 8px; margin-top: 12px; }
.dp-cancel, .dp-done { padding: 8px 16px; border-radius: 8px; font-size: .88rem !important; font-weight: 600; }
.dp-cancel { border: 0; background: transparent; color: var(--ink); }
.dp-cancel:hover { background: var(--forest-3); }
.dp-done { border: 0; background: var(--forest); color: #fff; }
.dp-done:hover:not(:disabled) { background: var(--forest-2); }
.dp-done:disabled { opacity: .45; cursor: not-allowed !important; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
@media (max-width: 600px) { .grid-2 { grid-template-columns: 1fr; } }

.alert { padding: 12px 14px; border-radius: 10px; font-size: .9rem; margin-bottom: 16px; }
.alert-error { background: var(--danger-bg); color: var(--danger); }
.alert-ok { background: var(--ok-bg); color: var(--ok); }
.alert-info { background: var(--info-bg); color: var(--info); }

/* ---------- hero ---------- */
.hero {
  /* 75vw = the photo's 4:3 shape, so wide screens show as much of it as fits on screen */
  position: relative; min-height: max(560px, min(calc(100vh - 64px), 75vw)); display: flex; align-items: flex-end;
  color: #fff; overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; background: center 38% / cover no-repeat; }
.hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 25, 18, .15) 0%, rgba(10, 25, 18, .25) 45%, rgba(10, 25, 18, .78) 100%); }
.hero .container { position: relative; z-index: 1; padding: 80px 0 clamp(72px, 16vh, 160px); }
.hero h1 { font-size: clamp(2.6rem, 6.5vw, 5rem); max-width: 14ch; margin-bottom: .3em; }
.hero p { font-size: clamp(1rem, 1.6vw, 1.2rem); max-width: 52ch; opacity: .92; }
.hero .eyebrow { color: #f2d48f; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.hero .btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .5); }
.hero .btn-ghost:hover { background: rgba(255, 255, 255, .12); }

section { padding: 88px 0; }
.section-head { max-width: 640px; margin-bottom: 40px; }

/* ---------- event type showcase ---------- */
.events-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.event-card { background: var(--paper); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.event-card img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.event-card .body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.event-card .price { font-family: var(--serif); font-size: 1.5rem; color: var(--forest); margin-top: auto; }
.event-card .price small { font-family: var(--sans); font-size: .85rem; color: var(--muted); }

/* ---------- rooms ---------- */
.rooms-section { padding-top: 0; }
.rooms-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; max-width: 860px; }
.room-card { background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow); padding: 26px; }
.room-card h3 { font-size: 1.35rem; margin-bottom: .35em; }
.room-card p { margin: 0; }
.room-icon { width: 46px; height: 46px; border-radius: 12px; background: var(--forest-3); color: var(--forest); display: grid; place-items: center; margin-bottom: 16px; }
.room-count { display: inline-block; font-size: .78rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--warn); background: var(--gold-2); border-radius: 999px; padding: 3px 10px; margin-bottom: 10px; }
.rooms-note { margin-top: 18px; }

/* ---------- gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; gap: 12px; }
.gallery figure { margin: 0; border-radius: 12px; overflow: hidden; position: relative; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.gallery figure:hover img { transform: scale(1.04); }
.gallery .tall { grid-row: span 2; }
.gallery .wide { grid-column: span 2; }
@media (max-width: 800px) {
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; grid-auto-flow: dense; }
  .gallery .tall { grid-row: span 1; }
}

.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 28px; }
.feature h3 { font-size: 1.1rem; margin-bottom: .3em; }
.feature .icon { width: 42px; height: 42px; border-radius: 12px; background: var(--forest-3); color: var(--forest); display: grid; place-items: center; margin-bottom: 14px; }
.band { background: var(--forest); color: #eaf1ec; }
.band h2 { color: #fff; }
.band .muted { color: #b7c8bd; }
.band .feature .icon { background: rgba(255, 255, 255, .1); color: #f2d48f; }

/* ---------- booking ---------- */
#book { background: linear-gradient(180deg, var(--cream), #f3eee3); }
.booking-layout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 32px; align-items: start; }
@media (max-width: 960px) { .booking-layout { grid-template-columns: 1fr; } }
.panel { background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow); padding: 28px; }
.step { padding-bottom: 28px; margin-bottom: 28px; border-bottom: 1px solid var(--line); }
.step:last-of-type { border-bottom: 0; margin-bottom: 0; }
.step-title { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.step-num { width: 30px; height: 30px; border-radius: 50%; background: var(--forest); color: #fff; font-weight: 600; font-size: .85rem; display: grid; place-items: center; flex: none; }
.step-title h3 { margin: 0; }

.choices { display: grid; gap: 12px; }
.choices.cols-2 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.choices.cols-3 { grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
.choice { position: relative; display: block; border: 1.5px solid var(--line); border-radius: 12px; padding: 16px; cursor: pointer; background: var(--paper); transition: border-color .15s, background .15s; margin: 0; font-weight: 400; }
.choice:hover { border-color: #c9d6cd; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice:has(input:checked) { border-color: var(--forest-2); background: var(--forest-3); }
.choice:has(input:disabled) { opacity: .5; cursor: not-allowed; background: #f4f2ee; }
.choice .title { font-weight: 600; display: flex; justify-content: space-between; gap: 10px; align-items: baseline; }
.choice .sub { font-size: .85rem; color: var(--muted); margin-top: 3px; }
.choice .tick { position: absolute; top: 14px; right: 14px; width: 20px; height: 20px; border-radius: 6px; border: 1.5px solid var(--line); display: grid; place-items: center; background: #fff; }
.choice.radio .tick { border-radius: 50%; }
.choice:has(input:checked) .tick { background: var(--forest-2); border-color: var(--forest-2); }
.choice:has(input:checked) .tick::after { content: ''; width: 9px; height: 5px; border: 2px solid #fff; border-top: 0; border-right: 0; transform: rotate(-45deg) translate(1px, -1px); }
.choice.has-tick { padding-right: 44px; }
.event-choice { padding: 20px; }
.event-choice .icon { font-size: 1.6rem; margin-bottom: 6px; color: var(--gold); }
.event-choice .title { font-family: var(--serif); font-size: 1.3rem; }
.addon-price { font-weight: 600; color: var(--forest); white-space: nowrap; font-size: .9rem; }
.pill { display: inline-block; font-size: .72rem; padding: 2px 8px; border-radius: 999px; font-weight: 600; background: var(--forest-3); color: var(--forest); }
.pill.taken { background: var(--danger-bg); color: var(--danger); }

/* summary */
.summary { position: sticky; top: 84px; }
.summary h3 { font-size: 1.4rem; }
.summary-meta { font-size: .9rem; color: var(--muted); display: grid; gap: 4px; margin-bottom: 16px; }
.summary-meta b { color: var(--ink); font-weight: 500; }
.line { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; font-size: .93rem; }
.line .amt { font-variant-numeric: tabular-nums; white-space: nowrap; }
.line.sub { color: var(--muted); font-size: .86rem; padding: 4px 0 4px 12px; }
.line.subtotal { border-top: 1px dashed var(--line); margin-top: 6px; padding-top: 10px; font-weight: 600; }
.line.grand { border-top: 2px solid var(--ink); margin-top: 12px; padding-top: 14px; font-size: 1.15rem; font-weight: 700; }
.line.grand .amt { font-family: var(--serif); font-size: 1.6rem; color: var(--forest); }
.line.dp { background: var(--gold-2); border-radius: 10px; padding: 10px 12px; margin-top: 12px; font-size: .9rem; }
.summary .empty { color: var(--muted); font-size: .9rem; padding: 12px 0; }

/* ---------- modal ---------- */
.modal-backdrop { position: fixed; inset: 0; background: rgba(15, 25, 20, .55); display: grid; place-items: center; padding: 16px; z-index: 100; }
.modal { background: var(--paper); border-radius: 18px; padding: 32px; max-width: 480px; width: 100%; box-shadow: 0 20px 60px rgba(0, 0, 0, .25); text-align: center; }
.ref-code { font-family: ui-monospace, 'SF Mono', Consolas, monospace; font-size: 1.6rem; font-weight: 700; letter-spacing: .08em; background: var(--forest-3); color: var(--forest); padding: 12px 18px; border-radius: 12px; margin: 16px 0; display: inline-block; }

/* ---------- status badges ---------- */
.badge { display: inline-flex; align-items: center; gap: 6px; font-size: .78rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; text-transform: capitalize; white-space: nowrap; }
.badge::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.badge-pending { background: var(--warn-bg); color: var(--warn); }
.badge-approved { background: var(--ok-bg); color: var(--ok); }
.badge-rejected { background: var(--danger-bg); color: var(--danger); }
.badge-cancelled { background: #eeeeec; color: #6d6d68; }
.badge-completed { background: var(--info-bg); color: var(--info); }

/* ---------- footer ---------- */
footer { background: #13251d; color: #aebdb3; padding: 48px 0; font-size: .9rem; }
footer .container { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
footer a { color: #f2d48f; }
footer .brand { color: #fff; }
