/* =========================================================
   Solomon Hill — public website
   Palette taken from the logo: forest green, sun gold, earth brown
   ========================================================= */
:root {
  --green: #12681a;
  --green-d: #0c4a12;
  --green-dd: #072e0b;
  --green-l: #e7f1e4;
  --gold: #d9a52e;
  --gold-d: #b8871b;
  --gold-l: #f6e7bf;
  --brown: #553d1f;
  --cream: #fbf8f1;
  --ink: #1b261c;
  --muted: #5d6a5e;
  --line: #e5e1d6;
  --white: #fff;
  --radius: 16px;
  --shadow: 0 10px 30px -12px rgba(15, 40, 18, .25);
  --shadow-lg: 0 30px 60px -20px rgba(7, 46, 11, .35);
  --font: 'Kantumruy Pro', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-display: 'Playfair Display', 'Kantumruy Pro', Georgia, serif;
  --font-script: 'Great Vibes', cursive;
}
html[lang="km"] { --font-display: 'Kantumruy Pro', sans-serif; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; overflow-x: clip; }
body {
  margin: 0; font-family: var(--font); color: var(--ink); background: var(--cream);
  line-height: 1.65; font-size: 16px; -webkit-font-smoothing: antialiased;
}
html[lang="km"] body { line-height: 1.9; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
.container { width: min(1180px, 100% - 32px); margin-inline: auto; }
.ic { flex: none; }
[hidden] { display: none !important; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 22px; border-radius: 999px; border: 1.5px solid transparent;
  font-weight: 600; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .15s ease, background .2s, box-shadow .2s, color .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-sm { padding: 8px 16px; font-size: 14px; }
.btn-lg { padding: 14px 28px; font-size: 16px; }
.btn-gold { background: var(--gold); color: var(--green-dd); box-shadow: 0 8px 20px -8px rgba(217, 165, 46, .7); }
.btn-gold:hover { background: #e4b443; }
.btn-green { background: var(--green); color: #fff; }
.btn-green:hover { background: var(--green-d); }
.btn-outline { border-color: var(--green); color: var(--green); background: transparent; }
.btn-outline:hover { background: var(--green); color: #fff; }
.btn-ghost-light { border-color: rgba(255, 255, 255, .55); color: #fff; background: rgba(255, 255, 255, .06); backdrop-filter: blur(4px); }
.btn-ghost-light:hover { background: rgba(255, 255, 255, .16); }
.btn[disabled] { opacity: .5; cursor: not-allowed; transform: none; }
.icon-btn {
  display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 12px;
  background: transparent; border: 0; cursor: pointer; color: inherit;
}

/* ---------- header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50; color: #fff;
  transition: background .3s, box-shadow .3s, color .3s, padding .3s; padding: 14px 0;
}
.site-header.scrolled { background: rgba(251, 248, 241, .94); color: var(--ink); box-shadow: 0 4px 24px -12px rgba(0, 0, 0, .2); backdrop-filter: blur(10px); padding: 8px 0; }
.header-inner { display: flex; align-items: center; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-mark svg { display: block; filter: drop-shadow(0 4px 10px rgba(0, 0, 0, .2)); }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--font-script); font-size: 30px; line-height: 1; }
.brand-tag { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; opacity: .8; margin-top: 2px; }
html[lang="km"] .brand-tag { letter-spacing: 0; font-size: 12px; }
.main-nav { display: flex; gap: 4px; margin-left: auto; }
.main-nav a { text-decoration: none; padding: 8px 14px; border-radius: 999px; font-weight: 500; font-size: 15px; opacity: .9; }
.main-nav a:hover { opacity: 1; background: rgba(255, 255, 255, .12); }
.scrolled .main-nav a:hover { background: var(--green-l); color: var(--green); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.lang-switch { display: inline-flex; padding: 3px; border-radius: 999px; background: rgba(255, 255, 255, .15); border: 1px solid rgba(255, 255, 255, .25); }
.scrolled .lang-switch { background: var(--green-l); border-color: transparent; }
.lang-switch button { border: 0; background: transparent; padding: 4px 12px; border-radius: 999px; cursor: pointer; font-size: 13px; font-weight: 600; }
.lang-switch button.active { background: var(--gold); color: var(--green-dd); }
.nav-toggle { display: none; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; color: #fff; overflow: hidden; padding: 120px 0 0; }
.hero-sky { position: absolute; inset: 0; background: radial-gradient(1200px 600px at 70% 30%, #1d8a27 0%, var(--green) 35%, var(--green-dd) 100%); }
.hero-sun {
  position: absolute; width: min(56vw, 640px); aspect-ratio: 1; border-radius: 50%; right: 6%; top: 14%;
  background: radial-gradient(circle at 40% 35%, #f6cd66, var(--gold) 55%, #c98f1a);
  box-shadow: 0 0 120px 30px rgba(217, 165, 46, .35);
  animation: rise 2.4s cubic-bezier(.2, .7, .2, 1) both;
}
@keyframes rise { from { transform: translateY(80px); } to { transform: none; } }
.hero-hills { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 48%; }
.hero-content { position: relative; z-index: 2; max-width: 1180px; padding-bottom: 40px; }
.hero-title {
  font-family: var(--font-display); font-weight: 700; font-size: clamp(40px, 6.4vw, 82px); line-height: 1.05;
  margin: 8px 0 18px; max-width: 13ch; text-shadow: 0 6px 30px rgba(0, 0, 0, .25);
}
html[lang="km"] .hero-title { font-family: 'Moul', 'Kantumruy Pro', serif; font-weight: 400; font-size: clamp(30px, 4.6vw, 58px); line-height: 1.5; max-width: 16ch; }
.hero-sub { font-size: clamp(16px, 1.6vw, 19px); max-width: 52ch; opacity: .92; margin: 0 0 28px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-d); margin: 0 0 8px; }
.eyebrow.light { color: var(--gold-l); }
html[lang="km"] .eyebrow { letter-spacing: 0; font-size: 15px; }

.booking-bar {
  position: relative; z-index: 3; margin-top: 48px; margin-bottom: 40px;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, .7fr) auto; gap: 12px; align-items: end;
  background: rgba(255, 255, 255, .97); color: var(--ink); padding: 18px; border-radius: 20px; box-shadow: var(--shadow-lg);
}

/* ---------- form fields ---------- */
.field { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 600; color: var(--muted); min-width: 0; }
.field input, .field select, .field textarea {
  width: 100%; min-width: 0; padding: 11px 14px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff;
  font-size: 15px; font-weight: 500; color: var(--ink); outline: none; transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--green); box-shadow: 0 0 0 4px rgba(18, 104, 26, .12); }
.field textarea { resize: vertical; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }

/* ---------- sections ---------- */
.section { padding: clamp(64px, 9vw, 110px) 0; }
.section-tint { background: #f3efe3; }
.section-dark { background: var(--green-dd); color: #fff; }
.section-dark .eyebrow { color: var(--gold); }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 48px; }
.section-title { font-family: var(--font-display); font-size: clamp(30px, 4vw, 46px); line-height: 1.15; margin: 0 0 14px; font-weight: 700; color: var(--green-dd); }
.section-dark .section-title { color: #fff; }
html[lang="km"] .section-title { line-height: 1.5; font-weight: 700; }
.section-sub { color: var(--muted); margin: 0; font-size: 17px; }
.lead { font-size: 18px; }

/* about */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.about-media { position: relative; min-height: 460px; }
.about-img { position: absolute; border-radius: 22px; background-size: cover; background-position: center; box-shadow: var(--shadow-lg); }
.about-img.a1 { inset: 0 22% 18% 0; background-image: url('https://images.unsplash.com/photo-1566073771259-6a8506099945?auto=format&fit=crop&w=1000&q=70'), linear-gradient(135deg, #1d8a27, #0c4a12); }
.about-img.a2 { inset: 40% 0 0 40%; border: 6px solid var(--cream); background-image: url('https://images.unsplash.com/photo-1582719478250-c89cae4dc85b?auto=format&fit=crop&w=800&q=70'), linear-gradient(135deg, #d9a52e, #553d1f); }
.about-badge { position: absolute; left: 6%; bottom: 2%; width: 120px; height: 120px; border-radius: 50%; overflow: hidden; border: 5px solid var(--cream); box-shadow: var(--shadow); }
.about-badge img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.25) translateY(-4%); }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 28px; }
.stats div { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px; }
.stats strong { display: block; font-family: var(--font-display); font-size: 28px; color: var(--green); }
.stats span { font-size: 13px; color: var(--muted); }

/* rooms */
.room-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; }
.room-card { background: #fff; border-radius: 20px; overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s; }
.room-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.room-img { aspect-ratio: 4 / 3; background-size: cover; background-position: center; position: relative; }
.room-price { position: absolute; right: 12px; bottom: 12px; background: rgba(7, 46, 11, .85); color: #fff; padding: 6px 12px; border-radius: 999px; font-size: 13px; backdrop-filter: blur(4px); }
.room-price strong { color: var(--gold); font-size: 18px; }
.room-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.room-body h3 { margin: 0; font-family: var(--font-display); font-size: 21px; color: var(--green-dd); }
.room-body p { margin: 0; color: var(--muted); font-size: 14.5px; }
.room-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 13px; color: var(--muted); }
.room-meta span { display: inline-flex; align-items: center; gap: 5px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; padding: 4px 10px; border-radius: 999px; background: var(--green-l); color: var(--green-d); }
.room-body .btn { margin-top: auto; align-self: stretch; }

/* amenities */
.amen-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.amen { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 24px; transition: border-color .2s, transform .2s; }
.amen:hover { border-color: var(--gold); transform: translateY(-3px); }
.amen-ic { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: linear-gradient(135deg, var(--gold-l), #fff3d6); color: var(--brown); margin-bottom: 14px; }
.amen h4 { margin: 0 0 6px; font-size: 17px; color: var(--green-dd); }
.amen p { margin: 0; font-size: 14px; color: var(--muted); }

/* dining menu */
.menu-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; align-items: start; }
.menu-col { background: #fff; border-radius: 20px; padding: 24px; box-shadow: var(--shadow); }
.menu-col h3 { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; font-family: var(--font-display); color: var(--green-dd); font-size: 22px; }
.menu-col h3 .ic { color: var(--gold-d); }
.menu-item { display: flex; align-items: baseline; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.menu-item:last-child { border-bottom: 0; }
.menu-item span { font-weight: 600; }
.menu-item small { display: block; font-weight: 400; font-size: 13px; color: var(--muted); }
.menu-item i { flex: 1; border-bottom: 2px dotted var(--line); transform: translateY(-5px); min-width: 20px; }
.menu-item b { color: var(--green); white-space: nowrap; }
.menu-col.day-visit { background: linear-gradient(160deg, #0b4210, var(--green)); color: #fff; }
.day-visit h3, .day-visit .menu-item b { color: var(--gold) !important; }
.day-visit .menu-item { border-color: rgba(255, 255, 255, .15); }
.day-visit .menu-item i { border-color: rgba(255, 255, 255, .25); }
.day-visit-sub { margin: -6px 0 10px; color: rgba(255, 255, 255, .8); font-size: 14.5px; }
.menu-note { text-align: center; margin: 24px 0 0; color: var(--muted); display: flex; justify-content: center; align-items: center; gap: 8px; }

/* gallery */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 200px; gap: 14px; }
.gallery div { border-radius: 16px; background-size: cover; background-position: center; transition: transform .3s; }
.gallery div:hover { transform: scale(1.02); }
.gallery .g-wide { grid-column: span 2; }
.gallery .g-tall { grid-row: span 2; }

/* reviews */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.review { margin: 0; background: #fff; border-radius: 20px; padding: 28px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 12px; }
.stars { color: var(--gold); letter-spacing: 2px; }
.review blockquote { margin: 0; font-size: 16px; flex: 1; }
.review figcaption { font-weight: 600; color: var(--green); font-size: 14px; }

/* contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 72px); align-items: start; }
.contact-list { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 16px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-list .ci { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--green-l); color: var(--green); flex: none; }
.contact-list small { display: block; color: var(--muted); font-size: 13px; }
.contact-list a { text-decoration: none; font-weight: 600; }
.card { background: #fff; border-radius: 20px; padding: 28px; box-shadow: var(--shadow); }
.contact-form { display: grid; gap: 14px; }
.form-note { margin: 0; padding: 12px 14px; border-radius: 12px; background: var(--green-l); color: var(--green-d); font-weight: 500; }

/* footer */
.site-footer { background: var(--green-dd); color: rgba(255, 255, 255, .78); padding: 64px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.footer-logo { width: 120px; border-radius: 16px; margin-bottom: 14px; }
.site-footer h4 { color: #fff; margin: 0 0 14px; font-size: 16px; }
.site-footer a { display: block; text-decoration: none; padding: 3px 0; }
.site-footer a:hover { color: var(--gold); }
.staff-link { display: inline-flex !important; align-items: center; gap: 8px; margin-top: 12px; padding: 8px 14px !important; border: 1px solid rgba(255, 255, 255, .25); border-radius: 999px; font-size: 14px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 40px; padding-top: 20px; font-size: 13px; }

/* ---------- booking modal ---------- */
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 16px; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(7, 30, 9, .55); backdrop-filter: blur(4px); animation: fade .2s; }
.modal-panel {
  position: relative; width: min(720px, 100%); max-height: calc(100vh - 32px); overflow: auto;
  background: var(--cream); border-radius: 24px; padding: 28px; box-shadow: var(--shadow-lg); animation: pop .25s cubic-bezier(.2, .8, .2, 1);
}
.modal-panel h3 { margin: 0 0 18px; font-family: var(--font-display); font-size: 26px; color: var(--green-dd); padding-right: 40px; }
.modal-close { position: absolute; right: 16px; top: 16px; background: #fff; }
@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: translateY(16px) scale(.98); } }
.bk-dates { display: grid; grid-template-columns: 1fr 1fr .6fr; gap: 12px; margin-bottom: 18px; }
.bk-types { display: grid; gap: 10px; }
.bk-type {
  display: grid; grid-template-columns: 92px 1fr auto; gap: 14px; align-items: center; padding: 10px;
  background: #fff; border: 2px solid var(--line); border-radius: 16px; cursor: pointer; text-align: left; width: 100%;
  transition: border-color .2s;
}
.bk-type:hover:not([disabled]) { border-color: var(--gold); }
.bk-type.selected { border-color: var(--green); box-shadow: 0 0 0 4px rgba(18, 104, 26, .1); }
.bk-type[disabled] { opacity: .5; cursor: not-allowed; }
.bk-thumb { width: 92px; height: 70px; border-radius: 10px; background-size: cover; background-position: center; }
.bk-name { display: block; font-size: 16px; color: var(--green-dd); }
.bk-type small { color: var(--muted); }
.bk-price { text-align: right; }
.bk-price strong { display: block; color: var(--green); font-size: 18px; }
.bk-avail { font-size: 12px; font-weight: 600; color: var(--green); }
.bk-avail.out { color: #b42318; }
.bk-summary { margin: 18px 0; padding: 16px; border-radius: 14px; background: #fff; border: 1px dashed var(--gold); display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.bk-summary strong { font-size: 24px; color: var(--green); }
.bk-summary small { display: block; color: var(--muted); }
.bk-form { display: grid; gap: 12px; }
.bk-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 18px; }
.bk-error { color: #b42318; font-weight: 500; margin: 8px 0 0; }
.bk-done { text-align: center; padding: 10px 0; }
.bk-done .check { width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 14px; background: var(--green); color: #fff; }
.bk-code { display: inline-block; margin: 14px 0; padding: 10px 22px; border-radius: 12px; background: var(--gold-l); color: var(--brown); font-size: 26px; font-weight: 700; letter-spacing: .08em; }

.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 200; background: var(--green-dd); color: #fff; padding: 12px 20px; border-radius: 12px; box-shadow: var(--shadow-lg); }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .amen-grid { grid-template-columns: repeat(2, 1fr); }
  .reviews { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
  .nav-toggle { display: inline-grid; }
  .main-nav {
    position: fixed; inset: 64px 16px auto; flex-direction: column; background: #fff; color: var(--ink);
    padding: 12px; border-radius: 18px; box-shadow: var(--shadow-lg); display: none;
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 12px 16px; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .about-media { min-height: 340px; }
  .booking-bar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .booking-bar .btn { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .hide-sm { display: none; }
  .brand-name { font-size: 26px; }
  .brand-tag { display: none; }
  .booking-bar { padding: 14px; gap: 10px; }
  .form-row, .bk-dates { grid-template-columns: 1fr; }
  .amen-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
  .stats div { padding: 12px 10px; }
  .stats strong { font-size: 22px; }
  .bk-type { grid-template-columns: 64px 1fr; }
  .bk-thumb { width: 64px; height: 56px; }
  .bk-price { grid-column: 2; text-align: left; }
  .modal-panel { padding: 22px 18px; }
  .footer-grid { grid-template-columns: 1fr; }
}

/* pay for the booking by QR */
.bk-pay { text-align: center; }
.bk-pay h4 { margin: 6px 0 4px; font-size: 20px; color: var(--green-dd, #0c4a12); }
.bk-hold { display: inline-flex; gap: 6px; align-items: center; margin: 0; padding: 6px 12px; border-radius: 999px; background: #fff4dc; color: #7a4b14; font-size: 14px; }
.bk-amount strong { display: block; font-size: 32px; color: var(--green); }
.bk-amount small { color: var(--muted); }
.bk-methods { display: flex; gap: 6px; justify-content: center; flex-wrap: wrap; margin: 12px 0 4px; }
.bk-methods button { border: 1px solid var(--gold); background: #fff; border-radius: 999px; padding: 6px 14px; cursor: pointer; font: inherit; }
.bk-methods button.active { background: var(--gold); color: #fff; }
.bk-qr { width: min(280px, 80vw); height: min(280px, 80vw); object-fit: contain; display: block; margin: 12px auto 6px; background: #fff; border-radius: 12px; image-rendering: pixelated; }
.bk-acct { font-size: 14px; }
.bk-acct span { font-family: ui-monospace, monospace; }
.bk-ref { font-size: 14px; color: var(--muted); margin: 12px 0; }
.bk-ref b { color: var(--green); font-size: 16px; letter-spacing: .04em; }
.bk-pay .bk-form { text-align: left; margin-top: 8px; }
.bk-small { font-size: 13px; color: var(--muted); }
.bk-done .check.warn { background: #fff4dc; color: #7a4b14; }
