/* Shared layout for every theme. Themes (themes/*.css) only set the tokens
   below and a few finishing touches. */
:root {
  --brand: #2f6b4f;
  --brand-ink: #ffffff;
  --ink: #1f2a24;
  --muted: #5f6b64;
  --bg: #ffffff;
  --bg-alt: #f5f3ee;
  --line: #e2ded5;
  --radius: 12px;
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-head: var(--font-body);
  --hero-shade: rgba(0, 0, 0, 0.35);
  --accent: var(--brand);
  --btn-radius: 999px;
  --card-shadow: none;
  --card-border: 1px solid var(--line);
  --header-bg: var(--bg);
  --footer-bg: var(--ink);
  --footer-ink: #e9ece9;
  --input-bg: #ffffff;
  --head-weight: 700;
  --head-transform: none;
  --head-spacing: normal;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font-body); color: var(--ink); background: var(--bg); line-height: 1.6; }
img { max-width: 100%; display: block; }
a { color: var(--brand); }
h1, h2, h3 { font-family: var(--font-head); font-weight: var(--head-weight); text-transform: var(--head-transform); letter-spacing: var(--head-spacing); line-height: 1.2; margin: 0 0 0.6em; }
h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); }
p { margin: 0 0 1em; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 720px; }
.muted { color: var(--muted); }
.small { font-size: 0.875rem; }
.lead { font-size: 1.15rem; }
.rounded { border-radius: var(--radius); }

.btn { display: inline-block; background: var(--brand); color: var(--brand-ink); border: 2px solid var(--brand); padding: 0.7em 1.3em; border-radius: var(--btn-radius); text-decoration: none; font-weight: 600; font-size: 1rem; cursor: pointer; font-family: inherit; }
.btn:hover { filter: brightness(1.08); }
.btn-small { padding: 0.4em 1em; font-size: 0.9rem; }
.btn-outline { background: transparent; color: var(--brand); }
.btn-ghost { background: rgba(255, 255, 255, 0.15); border-color: #fff; color: #fff; }

.site-header { position: sticky; top: 0; z-index: 10; background: var(--header-bg); border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; flex-wrap: wrap; }
.brand { font-family: var(--font-head); font-weight: 700; font-size: 1.25rem; color: var(--ink); text-decoration: none; }
.site-nav { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.site-nav a:not(.btn) { color: var(--ink); text-decoration: none; }
.site-nav a.active:not(.btn) { color: var(--brand); font-weight: 600; }
@media (max-width: 640px) {
  .site-nav { gap: 12px; font-size: 0.9rem; padding-bottom: 10px; }
}

/* Banner. Four layouts, picked per theme or by the host: body.hero-full (default),
   hero-center, hero-split and hero-framed. */
.hero { position: relative; overflow: hidden; min-height: 70vh; display: flex; align-items: flex-end; background: var(--brand); color: #fff; }
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(to top, var(--hero-shade), transparent 70%); }
.hero-inner { position: relative; padding-top: 120px; padding-bottom: 64px; width: 100%; }
.hero h1 { font-size: clamp(2.2rem, 6vw, 3.8rem); max-width: 16ch; text-shadow: 0 2px 16px rgba(0, 0, 0, 0.25); }
.hero-sub { font-size: 1.2rem; max-width: 50ch; text-shadow: 0 1px 8px rgba(0, 0, 0, 0.3); }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 1.2em; }

.hero-center .hero { align-items: center; text-align: center; min-height: 78vh; }
.hero-center .hero-shade { background: var(--hero-shade); }
.hero-center .hero h1, .hero-center .hero-sub { margin-left: auto; margin-right: auto; }
.hero-center .hero-actions { justify-content: center; }
.hero-center .hero-inner { padding-top: 64px; }

.hero-split .hero, .hero-framed .hero { background: var(--bg-alt); color: var(--ink); min-height: 0; }
.hero-split .hero h1, .hero-split .hero-sub, .hero-framed .hero h1, .hero-framed .hero-sub { text-shadow: none; }
.hero-split .hero-shade, .hero-framed .hero-shade { display: none; }
.hero-split .btn-ghost, .hero-framed .btn-ghost { background: transparent; color: var(--brand); border-color: var(--brand); }
.hero-split .hero { display: grid; grid-template-columns: 1fr 1fr; align-items: center; }
.hero-split .hero-media { position: relative; order: 2; min-height: 72vh; height: 100%; }
.hero-split .hero-media img { position: absolute; inset: 0; }
/* Text column lines up with the page's content edge. */
.hero-split .hero-inner { max-width: none; margin: 0; padding: 72px 48px 72px max(16px, calc((100vw - 1120px) / 2 + 16px)); }
@media (max-width: 800px) {
  .hero-split .hero { grid-template-columns: 1fr; }
  .hero-split .hero-media { order: 0; min-height: 42vh; }
  .hero-split .hero-inner { margin: 0; padding: 32px 16px 40px; }
}
.hero-framed .hero { display: flex; flex-direction: column; align-items: stretch; background: var(--bg); padding-bottom: 32px; }
.hero-framed .hero-inner { padding-top: 64px; padding-bottom: 28px; }
.hero-framed .hero-media { position: relative; order: 2; width: calc(100% - 32px); max-width: 1088px; margin: 0 auto; aspect-ratio: 21 / 9; border-radius: var(--radius); overflow: hidden; }
@media (max-width: 640px) { .hero-framed .hero-media { aspect-ratio: 4 / 3; } }

.preview-bar { background: #111; color: #fff; padding: 8px 16px; font-size: 0.9rem; text-align: center; }
.preview-bar a { color: #ffd54a; }

.section { padding: 64px 0; }
.section-alt { background: var(--bg-alt); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
@media (max-width: 800px) { .split { grid-template-columns: 1fr; } }

.room-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }
.room-card { background: var(--bg); border: var(--card-border); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--card-shadow); }
.room-card-img { aspect-ratio: 4 / 3; background: var(--bg-alt); overflow: hidden; }
.room-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.room-card:hover .room-card-img img { transform: scale(1.03); }
.room-card-body { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.room-card-body h3 a { color: var(--ink); text-decoration: none; }
.room-card-foot { margin-top: auto; display: flex; justify-content: space-between; align-items: baseline; gap: 8px; flex-wrap: wrap; }

.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius); }
.contact-box { text-align: center; }
.contact-box .hero-actions { justify-content: center; }

.room-photos { display: grid; gap: 8px; margin: 16px 0 32px; grid-template-columns: 2fr 1fr; grid-auto-rows: 200px; }
.room-photos img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); }
.room-photos img:first-child { grid-row: span 2; }
.room-photos.count-1 { grid-template-columns: 1fr; grid-auto-rows: 360px; }
.room-photos.count-1 img:first-child { grid-row: auto; }
@media (max-width: 700px) {
  .room-photos { grid-template-columns: 1fr; grid-auto-rows: 240px; }
  .room-photos img:first-child { grid-row: auto; }
  .room-photos img:nth-child(n + 2) { display: none; }
}
.room-layout { display: grid; grid-template-columns: 1fr 380px; gap: 48px; align-items: start; }
@media (max-width: 900px) { .room-layout { grid-template-columns: 1fr; } }
.room-facts { font-size: 1.1rem; }
.chips { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 24px; }
.chips li { background: var(--bg-alt); border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px; font-size: 0.9rem; }

.book-box { position: sticky; top: 84px; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; background: var(--bg); box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06); }
.book-box h2 { font-size: 1.3rem; }
.stack { display: flex; flex-direction: column; gap: 12px; }
.stack + .stack { margin-top: 16px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
label { display: flex; flex-direction: column; gap: 4px; font-size: 0.9rem; font-weight: 600; }
input, select, textarea { font: inherit; font-weight: 400; padding: 0.6em 0.7em; border: 1px solid var(--line); border-radius: 8px; background: var(--input-bg); color: var(--ink); width: 100%; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--brand); outline-offset: 1px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.quote { background: var(--bg-alt); border-radius: 8px; padding: 12px 14px; margin: 16px 0; }
.quote > div { display: flex; justify-content: space-between; gap: 8px; }
.quote p { margin: 6px 0 0; }
.quote .discount { color: #1d6b37; }
.quote .quote-total { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 6px; }
.alert { padding: 10px 14px; border-radius: 8px; background: #eef5ff; border: 1px solid #c9dcf7; }
.alert-error { background: #fdeeee; border-color: #f2c3c3; color: #8a1f1f; }

.cal-months { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 20px; margin-bottom: 8px; }
.cal-title { font-weight: 600; margin-bottom: 6px; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; text-align: center; font-size: 0.85rem; }
.cal-dow { color: var(--muted); font-size: 0.75rem; }
.cal-day { padding: 4px 0; border-radius: 6px; }
.cal-day.free { background: #e7f4ea; color: #1d5a2e; }
.cal-day.busy { background: #f3e1e1; color: #8a3b3b; text-decoration: line-through; }
.cal-day.past { color: #b7bdb9; }
.cal-legend .cal-day { display: inline-block; width: 1.8em; margin: 0 4px 0 12px; }
.cal-legend .cal-day:first-child { margin-left: 0; }

.summary { border: 1px solid var(--line); border-radius: var(--radius); margin: 24px 0; }
.summary > div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.summary > div:last-child { border-bottom: 0; }

.site-footer { background: var(--footer-bg); color: var(--footer-ink); padding: 40px 0; margin-top: 0; }
.site-footer a { color: var(--footer-ink); }
.site-footer .muted { color: #b8c0bb; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 24px; }

.wa-float { position: fixed; right: 18px; bottom: 18px; width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25); z-index: 20; }

.stars { color: #d8d2c4; letter-spacing: 1px; }
.stars .on { color: #e2a400; }
.rating-big { font-size: 1.2rem; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.review-list { display: grid; gap: 16px; }
.review-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.review { border: var(--card-border); box-shadow: var(--card-shadow); border-radius: var(--radius); padding: 16px 18px; background: var(--bg); }
.review h3 { font-size: 1.05rem; margin: 8px 0 4px; }
.review p { margin: 6px 0; }
.review-head { display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap; }
.host-reply { border-left: 3px solid var(--brand); padding: 4px 0 4px 12px; margin-top: 10px; font-size: 0.95rem; }
.host-reply p { margin: 2px 0 0; }
fieldset { border: 0; padding: 0; margin: 0; }
legend { font-weight: 600; font-size: 0.9rem; margin-bottom: 6px; }
.rating-input label { flex-direction: row; align-items: center; gap: 8px; font-weight: 400; color: #e2a400; font-size: 1.15rem; }
.rating-input input { width: auto; }

.menu-cat { margin-top: 32px; padding-bottom: 6px; border-bottom: 2px solid var(--line); }
.menu-list { list-style: none; padding: 0; margin: 0; }
.menu-item { display: flex; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.menu-item img { width: 72px; height: 72px; object-fit: cover; border-radius: 8px; flex: none; }
.menu-item-text { flex: 1; min-width: 0; }
.menu-item-text p { margin: 2px 0 4px; }
.menu-item-name { display: flex; align-items: center; gap: 8px; }
.qty input { width: 72px; text-align: center; }
.food-type { width: 14px; height: 14px; border: 2px solid; display: inline-flex; align-items: center; justify-content: center; flex: none; border-radius: 2px; }
.food-type::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.food-veg { color: #1e8a3c; }
.food-nonveg { color: #a5282c; }
.food-egg { color: #d48a00; }
.card-box { border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; margin-top: 32px; background: var(--bg-alt); }
.order-total { font-size: 1.15rem; margin: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
