/* SessionBook - site styles. Change the colours in :root to match your brand. */
:root {
  --bg: #f7f4ee;
  --surface: #ffffff;
  --ink: #1f2a24;
  --muted: #5d6b63;
  --line: #e4ded2;
  --brand: #2f5d4a;
  --brand-ink: #ffffff;
  --accent: #c8743c;
  --ok: #067647;
  --warn: #b54708;
  --bad: #b42318;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(31, 42, 36, .06), 0 8px 24px rgba(31, 42, 36, .06);
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 16px/1.6 var(--sans);
}
a { color: var(--brand); }
img { max-width: 100%; display: block; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }

.wrap { width: min(1100px, 100% - 32px); margin-inline: auto; }

/* Header */
.site-header { background: var(--bg); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 10; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.logo { font-family: var(--serif); font-size: 1.35rem; font-weight: 600; color: var(--ink); text-decoration: none; }
.nav { display: flex; gap: 20px; align-items: center; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 500; }
.nav a:hover { color: var(--brand); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: 999px; border: 1px solid transparent;
  background: var(--brand); color: var(--brand-ink); font: 600 1rem var(--sans);
  text-decoration: none; cursor: pointer; transition: transform .1s, background .15s;
}
.btn:hover { background: #244a3b; }
.btn:active { transform: translateY(1px); }
.btn.ghost { background: transparent; color: var(--brand); border-color: var(--brand); }
.btn.ghost:hover { background: rgba(47, 93, 74, .08); }
.btn.small { padding: 8px 16px; font-size: .9rem; }
.btn.block { width: 100%; }
.btn[disabled] { background: #b9c2bd; cursor: not-allowed; }
.nav .btn { color: var(--brand-ink); }

/* Hero */
.hero { padding: 72px 0 56px; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.hero p.lead { font-size: 1.2rem; color: var(--muted); max-width: 34ch; }
.hero .actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.hero-art {
  aspect-ratio: 4 / 5; border-radius: 28px; overflow: hidden;
  background:
    radial-gradient(circle at 30% 30%, #e9b48a 0 18%, transparent 19%),
    radial-gradient(circle at 70% 65%, #8fb3a1 0 26%, transparent 27%),
    linear-gradient(160deg, #dfe8e1, #f1e3d3);
  box-shadow: var(--shadow);
}
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; font-weight: 700; color: var(--accent); margin-bottom: 12px; }

section.block { padding: 56px 0; }
section.alt { background: var(--surface); border-block: 1px solid var(--line); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 28px; flex-wrap: wrap; }

/* Cards */
.grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 8px;
}
.card .media { margin: -22px -22px 12px; aspect-ratio: 16 / 9; border-radius: var(--radius) var(--radius) 0 0; overflow: hidden; background: #e6ece7; }
.card .media img { width: 100%; height: 100%; object-fit: cover; }
.card .meta { color: var(--muted); font-size: .92rem; }
.card .price { font-weight: 700; font-size: 1.1rem; }
.card .foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; padding-top: 12px; }

.steps { counter-reset: s; display: grid; gap: 20px; grid-template-columns: repeat(3, 1fr); }
.steps li { list-style: none; counter-increment: s; }
.steps li::before {
  content: counter(s); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: var(--brand); color: #fff; font-weight: 700; margin-bottom: 12px;
}
.steps { padding: 0; margin: 0; }

/* Schedule */
.filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 28px; }
.chip { padding: 6px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); text-decoration: none; font-size: .92rem; }
.chip.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.day { margin-bottom: 32px; }
.day h3 { font-family: var(--sans); font-size: 1rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); border-bottom: 1px solid var(--line); padding-bottom: 8px; }
.slot {
  display: grid; grid-template-columns: 90px 1fr auto auto; gap: 16px; align-items: center;
  padding: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; margin-bottom: 10px;
}
.slot .time { font-weight: 700; font-size: 1.1rem; }
.slot .title { font-weight: 600; }
.slot .sub { color: var(--muted); font-size: .9rem; }
.seats { font-size: .88rem; font-weight: 600; white-space: nowrap; }
.seats.ok { color: var(--ok); } .seats.low { color: var(--warn); } .seats.full { color: var(--bad); }

/* Booking page */
.two-col { display: grid; grid-template-columns: 1fr 420px; gap: 40px; align-items: start; padding: 48px 0; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.facts { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; margin: 20px 0; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; font-weight: 600; }

form .field { margin-bottom: 16px; }
form label { display: block; font-weight: 600; margin-bottom: 6px; font-size: .95rem; }
input[type=text], input[type=email], input[type=number], textarea, select {
  width: 100%; padding: 11px 14px; border: 1px solid #cfc8b9; border-radius: 10px; font: inherit; background: #fff; color: var(--ink);
}
input:focus, textarea:focus { outline: 2px solid var(--brand); outline-offset: 1px; border-color: var(--brand); }
.methods { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.methods label {
  display: flex; align-items: center; gap: 8px; padding: 11px 12px; border: 1px solid #cfc8b9; border-radius: 10px;
  font-weight: 500; cursor: pointer; margin: 0;
}
.methods label:has(input:checked) { border-color: var(--brand); background: rgba(47, 93, 74, .07); }
.check label { display: flex; gap: 8px; font-weight: 500; align-items: center; }
.errorlist { color: var(--bad); margin: 4px 0; padding: 0; list-style: none; font-size: .9rem; }
.alert { padding: 14px 16px; border-radius: 10px; margin-bottom: 16px; }
.alert.error { background: #fef3f2; color: var(--bad); border: 1px solid #fecdca; }
.alert.success { background: #ecfdf3; color: var(--ok); border: 1px solid #abefc6; }
.alert.info { background: #fffaeb; color: var(--warn); border: 1px solid #fedf89; }
.total { display: flex; justify-content: space-between; font-size: 1.15rem; font-weight: 700; padding: 14px 0; border-top: 1px solid var(--line); margin-top: 8px; }
.secure { font-size: .85rem; color: var(--muted); text-align: center; margin-top: 10px; }
.hp { position: absolute; left: -9999px; }

.status-icon { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; font-size: 30px; color: #fff; margin-bottom: 16px; }
.status-icon.ok { background: var(--ok); } .status-icon.wait { background: var(--warn); } .status-icon.bad { background: #98a2b3; }
.narrow { width: min(620px, 100% - 32px); margin: 56px auto; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 40px 0; color: var(--muted); font-size: .92rem; margin-top: 40px; }
.site-footer .wrap { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }

@media (max-width: 860px) {
  .hero .wrap, .two-col { grid-template-columns: 1fr; }
  .hero-art { aspect-ratio: 16 / 9; }
  .steps { grid-template-columns: 1fr; }
  .slot { grid-template-columns: 70px 1fr; }
  .slot .seats { grid-column: 2; }
  .slot .btn { grid-column: 1 / -1; }
  .nav a:not(.btn) { display: none; }
}

/* Right-to-left (Hebrew) support */
[dir=rtl] body { font-family: "Assistant", "Heebo", var(--sans); }
