/* barber-v2 — minimal mobile-first CSS. Uses --brand + --accent from inline style. */
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: #1a1a1a;
  background: #fafafa;
  line-height: 1.5;
}
body.font-classic { font-family: Georgia, "Times New Roman", serif; }
body.font-modern  { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; }
body.font-bold    { font-family: ui-monospace, "SFMono-Regular", Menlo, monospace; letter-spacing: 0.03em; }

h1, h2, h3 { margin: 0 0 0.5em; }

.hero {
  background: var(--brand);
  color: #fff;
  padding: 3rem 1.25rem;
  text-align: center;
  position: relative;
}
.hero-inner { max-width: 720px; margin: 0 auto; position: relative; z-index: 1; }
.hero h1 { font-size: 2rem; letter-spacing: 0.02em; }
.hero .tagline { opacity: 0.9; margin-bottom: 1.5rem; font-size: 1.05rem; }

.hero-cta-row { display: flex; gap: 0.75rem; flex-wrap: wrap; justify-content: center; }

body.hero-bold .hero { padding: 4.5rem 1.25rem; letter-spacing: 0.08em; text-transform: uppercase; }
body.hero-modern .hero { background: linear-gradient(135deg, var(--brand), #333); }

.cta {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 2px;
  text-decoration: none;
  font-weight: 600;
  border: 2px solid transparent;
  cursor: pointer;
  font: inherit;
}
.cta.primary { background: var(--accent); color: #111; }
.cta.primary:hover { opacity: 0.92; }
.cta.ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,0.7); }
.cta.ghost:hover { background: rgba(255,255,255,0.12); }

.contact-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  padding: 1rem;
  background: #fff;
  border-bottom: 1px solid #eee;
  font-size: 0.95rem;
}
.contact-strip a { color: var(--brand); text-decoration: none; }

section { max-width: 720px; margin: 0 auto; padding: 2rem 1.25rem; }
section h2 { border-bottom: 2px solid var(--accent); padding-bottom: 0.25rem; font-size: 1.25rem; }

.services ul { list-style: none; padding: 0; margin: 0 0 1.5rem; }
.services li {
  display: flex;
  justify-content: space-between;
  padding: 0.6rem 0;
  border-bottom: 1px dashed #ddd;
}
.svc-price { color: var(--brand); font-weight: 600; }

.gallery .gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 0.5rem; }
.gallery figure { margin: 0; aspect-ratio: 1 / 1; overflow: hidden; background: #eee; }
.gallery img { width: 100%; height: 100%; object-fit: cover; display: block; }

.hours table { width: 100%; border-collapse: collapse; }
.hours th, .hours td { text-align: left; padding: 0.4rem 0; border-bottom: 1px solid #eee; }
.hours th { font-weight: 500; width: 40%; }

.reviews .reviews-aggregate strong { color: var(--brand); font-size: 1.4rem; }
.reviews-list { list-style: none; padding: 0; margin: 1rem 0 0; }
.reviews-list li { padding: 0.75rem 0; border-bottom: 1px solid #eee; }
.reviews-list blockquote { margin: 0 0 0.25rem; font-style: italic; }
.reviews-list cite { font-size: 0.85rem; color: #666; font-style: normal; }

.live-stats {
  display: flex;
  justify-content: space-around;
  gap: 1rem;
  padding: 1.5rem 1rem;
  background: #fff;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
}
.live-stats .stat { text-align: center; }
.live-stats .stat-num { display: block; font-size: 1.75rem; font-weight: 700; color: var(--brand); line-height: 1; }
.live-stats .stat-label { font-size: 0.85rem; color: #666; margin-top: 0.25rem; display: block; }

/* booking widget */
.booking-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.55);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  z-index: 1000;
}
.booking-overlay.open { display: flex; }
.booking-sheet {
  background: #fff;
  border-radius: 8px;
  width: 100%;
  max-width: 480px;
  padding: 1.5rem;
  position: relative;
  box-shadow: 0 16px 32px rgba(0,0,0,0.25);
  max-height: 90vh;
  overflow: auto;
}
.booking-close {
  position: absolute;
  top: 0.5rem; right: 0.75rem;
  background: transparent;
  border: 0;
  font-size: 1.5rem;
  cursor: pointer;
  color: #888;
}
.booking-form { display: flex; flex-direction: column; gap: 0.6rem; }
.booking-form label { display: flex; flex-direction: column; gap: 0.25rem; font-size: 0.9rem; color: #444; }
.booking-form input, .booking-form select, .booking-form textarea {
  padding: 0.55rem 0.65rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  font: inherit;
  background: #fff;
}
.booking-form input:focus, .booking-form select:focus, .booking-form textarea:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}
.booking-form .cta { margin-top: 0.5rem; }
.booking-status { margin: 0; min-height: 1.2em; font-size: 0.9rem; color: #555; }

footer { text-align: center; padding: 2.5rem 1rem; background: #fff; border-top: 1px solid #eee; }
.socials { display: flex; gap: 1rem; justify-content: center; margin: 1rem 0; }
.socials a { color: var(--brand); text-decoration: none; font-weight: 600; }
.socials a:hover { text-decoration: underline; }
footer .fine { font-size: 0.8rem; color: #888; margin-top: 1rem; }

@media (min-width: 640px) {
  .hero h1 { font-size: 2.75rem; }
}
