/* Clay & Co - Earthy studio theme */

@import url('https://fonts.googleapis.com/css2?family=Bitter:wght@500;700;900&family=Karla:wght@400;500;600;700&display=swap');

:root {
  --bg: #F1E7D8;
  --bg-alt: #E8D9BE;
  --charcoal: #241F1A;
  --charcoal-soft: #3A322A;
  --clay: #BC5B39;
  --clay-dark: #96432A;
  --clay-light: #E0956F;
  --cream: #FBF6EC;
  --muted: #8C5A3C;
  --danger: #9A3324;
  --line: rgba(36, 31, 26, 0.14);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Karla', sans-serif;
  background: var(--bg);
  color: var(--charcoal);
  line-height: 1.55;
  min-height: 100vh;
}

h1, h2, h3, h4 {
  font-family: 'Bitter', serif;
  font-weight: 700;
  line-height: 1.15;
  color: var(--charcoal);
}

a { color: inherit; }

img { max-width: 100%; display: block; }

.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Header ---------- */

.site-header {
  background: var(--charcoal);
  color: var(--cream);
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 3px solid var(--clay);
}

.header-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  position: relative;
}

.brand {
  font-family: 'Bitter', serif;
  font-weight: 900;
  font-size: 1.4rem;
  color: var(--cream);
  text-decoration: none;
  letter-spacing: 0.01em;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 36px;
  background: transparent;
  border: 1px solid rgba(251,246,236,0.3);
  border-radius: 6px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  width: 20px;
  margin: 0 auto;
  background: var(--cream);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}

.site-nav a, .site-nav .link-btn {
  color: var(--cream);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.96rem;
  background: none;
  border: none;
  cursor: pointer;
  font-family: 'Karla', sans-serif;
  padding: 6px 2px;
}

.site-nav a:hover, .site-nav .link-btn:hover {
  color: var(--clay-light);
}

.site-nav .pill {
  background: var(--clay);
  color: var(--cream);
  padding: 8px 18px;
  border-radius: 3px;
}

.site-nav .pill:hover { background: var(--clay-dark); color: var(--cream); }

.nav-user {
  color: var(--clay-light);
  font-size: 0.9rem;
  font-weight: 600;
}

@media (max-width: 760px) {
  .nav-toggle { display: flex; }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--charcoal);
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 10px 24px 20px;
    display: none;
    border-bottom: 3px solid var(--clay);
  }

  .site-nav.open { display: flex; }

  .site-nav a, .site-nav .link-btn { width: 100%; padding: 10px 0; }
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  font-family: 'Karla', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 30px;
  border-radius: 3px;
  border: 2px solid var(--clay);
  background: var(--clay);
  color: var(--cream);
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease;
}

.btn:hover { background: var(--clay-dark); border-color: var(--clay-dark); transform: translateY(-1px); }
.btn:disabled { opacity: 0.55; cursor: not-allowed; transform: none; }

.btn-outline {
  background: transparent;
  color: var(--charcoal);
  border: 2px solid var(--charcoal);
}
.btn-outline:hover { background: var(--charcoal); color: var(--cream); }

.hero .btn-outline {
  color: var(--cream);
  border-color: var(--cream);
}
.hero .btn-outline:hover { background: var(--cream); color: var(--charcoal); }

.btn-danger {
  background: var(--danger);
  border-color: var(--danger);
}
.btn-danger:hover { background: #7a281c; border-color: #7a281c; }

.btn-small { padding: 8px 16px; font-size: 0.88rem; }

/* ---------- Hero ---------- */

.hero {
  background: var(--charcoal);
  color: var(--cream);
  padding: 90px 0 100px;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  right: -80px;
  bottom: -120px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  border: 40px solid var(--clay-dark);
  opacity: 0.35;
}

.hero-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 2;
}

.hero .eyebrow {
  color: var(--clay-light);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 700;
  font-size: 0.82rem;
  margin-bottom: 18px;
}

.hero h1 {
  color: var(--cream);
  font-size: clamp(2.3rem, 6vw, 4rem);
  max-width: 14ch;
  margin-bottom: 20px;
}

.hero p.lead {
  font-size: clamp(1rem, 2vw, 1.2rem);
  max-width: 46ch;
  color: rgba(251,246,236,0.85);
  margin-bottom: 34px;
}

.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; }

/* ---------- Sections ---------- */

section { padding: 70px 0; }
.section-alt { background: var(--bg-alt); }

.section-head { max-width: 640px; margin-bottom: 44px; }
.section-head .eyebrow {
  color: var(--clay-dark);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 700;
  font-size: 0.8rem;
  margin-bottom: 10px;
}
.section-head h2 { font-size: clamp(1.8rem, 4vw, 2.4rem); }
.section-head p { margin-top: 14px; color: var(--charcoal-soft); font-size: 1.05rem; }

/* ---------- Info card / workshop details ---------- */

.info-card {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 34px;
  box-shadow: 0 18px 40px rgba(36,31,26,0.08);
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 30px 0;
}

.info-item .label {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--muted);
  margin-bottom: 6px;
}

.info-item .value {
  font-family: 'Bitter', serif;
  font-size: 1.5rem;
  font-weight: 700;
}

@media (max-width: 640px) {
  .info-grid { grid-template-columns: 1fr 1fr; }
}

/* ---------- Steps ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.step {
  border-left: 3px solid var(--clay);
  padding-left: 20px;
}

.step .num {
  font-family: 'Bitter', serif;
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--clay);
  display: block;
  margin-bottom: 8px;
}

.step h3 { font-size: 1.15rem; margin-bottom: 8px; }
.step p { color: var(--charcoal-soft); }

@media (max-width: 760px) {
  .steps { grid-template-columns: 1fr; }
}

/* ---------- Seat map ---------- */

.seat-panel {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 32px;
}

.seat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin: 26px 0;
}

@media (max-width: 520px) {
  .seat-grid { grid-template-columns: repeat(2, 1fr); }
}

.seat {
  aspect-ratio: 1;
  border-radius: 50%;
  border: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  cursor: pointer;
  font-family: 'Bitter', serif;
  font-weight: 700;
  background: var(--clay);
  color: var(--cream);
  transition: transform 0.15s ease, background 0.15s ease;
}

.seat .seat-num { font-size: 1.5rem; }
.seat .seat-label { font-family: 'Karla', sans-serif; font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.06em; font-weight: 600; }

.seat:hover:not(:disabled) { background: var(--clay-dark); transform: translateY(-2px); }

.seat.taken {
  background: var(--charcoal-soft);
  color: rgba(251,246,236,0.55);
  cursor: not-allowed;
}

.seat.selected {
  background: var(--charcoal);
  color: var(--clay-light);
  outline: 3px solid var(--clay);
  outline-offset: 3px;
}

.seat-legend {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  margin-bottom: 6px;
  font-size: 0.85rem;
  color: var(--charcoal-soft);
}

.seat-legend .dot {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  margin-right: 6px;
  vertical-align: middle;
}

.dot.available { background: var(--clay); }
.dot.taken { background: var(--charcoal-soft); }
.dot.selected { background: var(--charcoal); outline: 2px solid var(--clay); }

.booking-summary {
  border-top: 1px solid var(--line);
  margin-top: 24px;
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.booking-summary .price {
  font-family: 'Bitter', serif;
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--clay-dark);
}

.notice {
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 14px 18px;
  font-size: 0.92rem;
  margin-bottom: 20px;
}

.notice.success { border-color: #4F7D5B; background: #E7EFE4; color: #2E4A34; }
.notice.error { border-color: var(--danger); background: #F5E4DF; color: var(--danger); }

/* ---------- Forms ---------- */

.form-card {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 36px;
  max-width: 440px;
  margin: 0 auto;
}

.form-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 26px;
  border-bottom: 1px solid var(--line);
}

.form-tabs button {
  background: none;
  border: none;
  font-family: 'Bitter', serif;
  font-weight: 700;
  font-size: 1.05rem;
  padding: 10px 4px;
  margin-right: 20px;
  cursor: pointer;
  color: var(--charcoal-soft);
  border-bottom: 3px solid transparent;
}

.form-tabs button.active {
  color: var(--charcoal);
  border-bottom-color: var(--clay);
}

.field { margin-bottom: 18px; }

.field label {
  display: block;
  font-weight: 700;
  font-size: 0.85rem;
  margin-bottom: 6px;
  color: var(--charcoal-soft);
}

.field input {
  width: 100%;
  padding: 11px 13px;
  border: 1px solid var(--line);
  border-radius: 4px;
  font-family: 'Karla', sans-serif;
  font-size: 1rem;
  background: var(--bg);
}

.field input:focus { outline: 2px solid var(--clay); outline-offset: 1px; }

.form-card .btn { width: 100%; margin-top: 6px; }

/* ---------- Tables (bookings lists) ---------- */

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 8px; background: var(--cream); }

table { width: 100%; border-collapse: collapse; min-width: 600px; }

th, td {
  text-align: left;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  font-size: 0.92rem;
}

th {
  text-transform: uppercase;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--muted);
  font-weight: 700;
}

tr:last-child td { border-bottom: none; }

.status-tag {
  display: inline-block;
  padding: 4px 11px;
  border-radius: 20px;
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.status-tag.pending_payment { background: #F2E1C5; color: #8A5A0E; }
.status-tag.paid { background: #DCEBDD; color: #2E6B3E; }
.status-tag.cancelled { background: #F1DAD3; color: var(--danger); }

.actions-cell { display: flex; gap: 8px; flex-wrap: wrap; }

/* ---------- Cards grid (bookings-mine) ---------- */

.booking-cards { display: grid; gap: 18px; }

.booking-card {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.booking-card .seat-badge {
  font-family: 'Bitter', serif;
  font-weight: 900;
  font-size: 1.8rem;
  color: var(--clay-dark);
  width: 56px;
  height: 56px;
  border: 2px solid var(--clay);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.booking-card .details { flex: 1; min-width: 180px; }
.booking-card .details h3 { font-size: 1.1rem; margin-bottom: 4px; }
.booking-card .details p { color: var(--charcoal-soft); font-size: 0.9rem; }

/* ---------- Footer ---------- */

.site-footer {
  background: var(--charcoal);
  color: rgba(251,246,236,0.75);
  padding: 46px 0 30px;
  margin-top: 40px;
}

.site-footer .container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}

.site-footer .brand { margin-bottom: 8px; display: inline-block; }
.site-footer p { font-size: 0.88rem; }
.site-footer .foot-bottom {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid rgba(251,246,236,0.15);
  font-size: 0.8rem;
  color: rgba(251,246,236,0.5);
}

/* ---------- Utility ---------- */

.center { text-align: center; }
.mt-24 { margin-top: 24px; }
.empty { color: var(--muted); font-style: italic; padding: 30px 0; }

altcha-widget { margin-bottom: 18px; --altcha-max-width: 100%; }
