/* ─────────────────────────────────────
   THE BARBER ROOM — Red / White / Black
   mkbookings demo
───────────────────────────────────── */

html { scrollbar-width: none; }
html::-webkit-scrollbar { display: none; }

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

:root {
  --bg:       #ffffff;
  --surface:  #f5f2ee;
  --surface2: #edeae5;
  --red:      #c9201c;
  --red-dk:   #a81818;
  --red-lt:   rgba(201,32,28,0.07);
  --dark:     #111111;
  --text:     #111111;
  --muted:    #6b6560;
  --border:   #e2deda;
  --font-d:   'Barlow Condensed', sans-serif;
  --font-b:   'Nunito Sans', system-ui, sans-serif;
}

html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-b);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a   { color: inherit; text-decoration: none; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 48px; }
.section    { padding: 96px 0; }

/* Barlow Condensed needs explicit weight (Bebas Neue didn't) */
.nav-logo, .nav-cta, .btn-red, .mobile-menu a,
.section-title, .hstat-n,
.menu-cat-hd h3, .bc-name, .footer-logo,
.booking-success h3 { font-weight: 700; }
.cat-num, .bc-idx { font-weight: 600; }
.hero-title span { font-weight: 800; }

/* ── TYPOGRAPHY ── */
.section-label {
  font-size: 0.63rem;
  font-weight: 700;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 10px;
}
.section-title {
  font-family: var(--font-d);
  font-size: clamp(2.6rem, 4.5vw, 4.2rem);
  color: var(--dark);
  letter-spacing: 0.02em;
  line-height: 1;
}

/* ── BUTTONS ── */
.btn-red {
  display: inline-flex;
  align-items: center;
  background: var(--red);
  color: #fff;
  font-family: var(--font-d);
  font-size: 1rem;
  letter-spacing: 0.1em;
  padding: 14px 32px;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  white-space: nowrap;
}
.btn-red:hover { background: var(--red-dk); transform: translateY(-1px); }

.btn-outline {
  display: inline-flex;
  align-items: center;
  background: transparent;
  color: var(--dark);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  border: 1.5px solid var(--dark);
  padding: 13px 28px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.btn-outline:hover { background: var(--dark); color: #fff; }

.btn-link-red {
  display: inline-flex;
  align-items: center;
  background: transparent;
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  border: none;
  border-bottom: 1px solid var(--red);
  padding-bottom: 2px;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s;
  align-self: flex-start;
}
.btn-link-red:hover { color: var(--red-dk); border-color: var(--red-dk); }

.btn-muted-link {
  display: inline-flex;
  align-items: center;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 500;
  background: none;
  border: none;
  border-bottom: 1px solid var(--border);
  padding-bottom: 2px;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s;
  align-self: flex-end;
}
.btn-muted-link:hover { color: var(--dark); border-color: var(--muted); }

/* ── NAV ── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background 0.3s, border-color 0.3s, box-shadow 0.3s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(255,255,255,0.97);
  border-color: var(--border);
  box-shadow: 0 1px 16px rgba(17,17,17,0.06);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 48px;
  height: 68px;
  display: flex;
  align-items: center;
  gap: 40px;
}
.nav-logo {
  font-family: var(--font-d);
  font-size: 1.2rem;
  letter-spacing: 0.14em;
  color: var(--dark);
  flex-shrink: 0;
}
.nav-links { display: flex; gap: 36px; list-style: none; margin-left: auto; }
.nav-links a {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--dark); }
.nav-cta {
  background: var(--red);
  color: #fff;
  font-family: var(--font-d);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  padding: 9px 22px;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
  margin-left: 8px;
  flex-shrink: 0;
}
.nav-cta:hover { background: var(--red-dk); }
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--dark); }

/* ── MOBILE MENU ── */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: var(--dark);
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4,0,0.2,1);
}
.mobile-menu.open { transform: none; }
.mobile-menu-inner {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  height: 100%;
  padding: 64px 48px;
  gap: 52px;
}
.mobile-menu ul { list-style: none; display: flex; flex-direction: column; gap: 4px; }
.mobile-menu a {
  font-family: var(--font-d);
  font-size: 4rem;
  letter-spacing: 0.06em;
  color: #fff;
  transition: color 0.2s;
  display: block;
  line-height: 1.1;
}
.mobile-menu a:hover { color: var(--red); }

/* ── HERO — split panel ── */
.hero {
  display: grid;
  grid-template-columns: 3fr 2fr;
  min-height: 100svh;
  padding-top: 68px;
}
.hero-left {
  background: var(--bg);
  padding: 72px 56px 60px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border-right: 1px solid var(--border);
}
.hero-eyebrow {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 20px;
}
.hero-title {
  font-family: var(--font-d);
  letter-spacing: 0.02em;
  line-height: 0.88;
  margin-bottom: 28px;
}
.hero-title span { display: block; }
.hero-title span:nth-child(1) { font-size: clamp(1.8rem, 3vw, 2.8rem);  color: var(--muted); }
.hero-title span:nth-child(2) { font-size: clamp(4.2rem, 8.5vw, 7.5rem); color: var(--dark);  }
.hero-title span:nth-child(3) { font-size: clamp(3rem,   6vw, 5.5rem);  color: var(--dark); opacity: 0.45; }
.hero-desc {
  font-size: 0.98rem;
  color: var(--muted);
  max-width: 360px;
  line-height: 1.75;
  margin-bottom: 32px;
}
.hero-actions { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-bottom: 52px; }
.hero-stats {
  display: flex;
  align-items: center;
  padding-top: 28px;
  border-top: 1px solid var(--border);
  gap: 0;
}
.hstat { display: flex; flex-direction: column; padding-right: 28px; }
.hstat-sep { width: 1px; height: 32px; background: var(--border); margin-right: 28px; }
.hstat-n {
  font-family: var(--font-d);
  font-size: 1.9rem;
  color: var(--dark);
  line-height: 1;
  letter-spacing: 0.02em;
}
.hstat-l {
  font-size: 0.58rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 3px;
  font-weight: 500;
}

.hero-right {
  position: relative;
  overflow: hidden;
}
.hero-right img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
}

/* ── TICKER ── */
.ticker {
  background: var(--dark);
  overflow: hidden;
  padding: 14px 0;
}
.ticker-track {
  display: flex;
  white-space: nowrap;
  animation: ticker-scroll 44s linear infinite;
}
.ticker-track span {
  font-size: 0.61rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.25);
  flex-shrink: 0;
}
.ticker-track span strong {
  color: var(--red);
  font-weight: 700;
}
@keyframes ticker-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ── SERVICES ── */
.services { background: var(--surface); border-top: 1px solid var(--border); }
.svc-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 56px;
  padding-bottom: 36px;
  border-bottom: 2px solid var(--dark);
}
.svc-note {
  font-size: 0.84rem;
  color: var(--muted);
  max-width: 280px;
  text-align: right;
  line-height: 1.65;
}
.menu-cols {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  margin-bottom: 52px;
}
.menu-col { display: flex; flex-direction: column; gap: 44px; }
.menu-divider {
  width: 1px;
  background: var(--border);
  margin: 0 60px;
  align-self: stretch;
}
.menu-cat-hd {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 14px;
  border-bottom: 1.5px solid var(--dark);
  margin-bottom: 2px;
}
.cat-num {
  font-family: var(--font-d);
  font-size: 0.88rem;
  letter-spacing: 0.1em;
  color: var(--red);
}
.menu-cat-hd h3 {
  font-family: var(--font-d);
  font-size: 1.55rem;
  letter-spacing: 0.08em;
  color: var(--dark);
  font-weight: 400;
}
.menu-rows { display: flex; flex-direction: column; }
.menu-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 11px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.88rem;
  color: var(--text);
}
.menu-row:last-child { border-bottom: none; }
.menu-row em { font-style: normal; font-size: 0.72rem; color: var(--muted); margin-left: 6px; }
.price { color: var(--red); font-weight: 600; white-space: nowrap; flex-shrink: 0; }
.menu-feature { background: var(--red-lt); padding: 11px 14px; margin: 0 -14px; border-bottom: none !important; }
.menu-cta { text-align: center; }

/* ── TEAM ── */
.team { background: var(--bg); border-top: 1px solid var(--border); }
.team-hd { margin-bottom: 48px; }
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}
.barber-card {
  background: var(--bg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.25s;
}
.barber-card:hover { box-shadow: 0 8px 40px rgba(17,17,17,0.12); z-index: 1; }
.bc-photo {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3 / 4;
}
.bc-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.5s ease;
}
.barber-card:hover .bc-photo img { transform: scale(1.04); }
.bc-info {
  padding: 22px 24px 28px;
  border-top: 3px solid var(--red);
  display: flex;
  flex-direction: column;
  flex: 1;
}
.bc-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.bc-idx {
  font-family: var(--font-d);
  font-size: 0.88rem;
  letter-spacing: 0.1em;
  color: var(--red);
}
.bc-exp {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--border);
  padding: 3px 9px;
}
.bc-name {
  font-family: var(--font-d);
  font-size: 2rem;
  letter-spacing: 0.04em;
  color: var(--dark);
  line-height: 1;
  margin-bottom: 4px;
}
.bc-role {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 14px;
}
.bc-bio {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 18px;
  flex: 1;
}
.bc-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.bc-tags span {
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--muted);
  background: var(--surface);
  padding: 4px 10px;
}

/* ── GALLERY ── */
.gallery { background: var(--dark); border-top: 1px solid #222; }
.gallery .section-label { color: var(--red); }
.gallery .section-title { color: #fff; }
.gallery-hd {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 36px;
}
.gallery-hd .btn-muted-link { color: rgba(255,255,255,0.35); border-color: rgba(255,255,255,0.12); }
.gallery-hd .btn-muted-link:hover { color: #fff; border-color: rgba(255,255,255,0.5); }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.gallery-item { display: flex; flex-direction: column; }
.gi-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}
.gi-wrap img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.gallery-item:hover .gi-wrap img { transform: scale(1.05); }
.gi-cap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 4px;
  border-bottom: 1px solid #2a2825;
  margin-top: 0;
}
.gi-svc { font-size: 0.8rem; font-weight: 500; color: rgba(255,255,255,0.8); }
.gi-art { font-size: 0.68rem; color: rgba(255,255,255,0.3); }

/* ── BOOKING ── */
.booking { background: var(--surface); border-top: 1px solid var(--border); }
.booking-hd {
  text-align: center;
  max-width: 540px;
  margin: 0 auto 44px;
}
.booking-sub {
  font-size: 0.9rem;
  color: var(--muted);
  margin-top: 14px;
  line-height: 1.7;
}
.demo-notice {
  text-align: center;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--muted);
  background: rgba(17,17,17,0.04);
  border: 1px solid var(--border);
  padding: 10px 24px;
  margin: 0 auto 36px;
  max-width: 520px;
}
.booking-form { max-width: 720px; margin: 0 auto; }
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 24px;
}
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group.span2 { grid-column: 1 / -1; }
.form-group label {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
.form-group input,
.form-group select,
.form-group textarea {
  background: var(--bg);
  border: 1.5px solid var(--border);
  color: var(--text);
  font-family: var(--font-b);
  font-size: 0.88rem;
  padding: 13px 16px;
  outline: none;
  border-radius: 0;
  -webkit-appearance: none;
  transition: border-color 0.2s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--red); }
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(107,101,96,0.5); }
.form-group select option { background: #fff; color: var(--text); }
.form-group textarea { resize: vertical; min-height: 88px; }
.form-group select:disabled { opacity: 0.35; cursor: not-allowed; }
.submit-btn { width: 100%; justify-content: center; font-size: 1rem; padding: 18px; letter-spacing: 0.12em; }
.form-note { text-align: center; font-size: 0.7rem; color: var(--muted); margin-top: 14px; opacity: 0.6; }

.booking-success {
  display: none;
  text-align: center;
  padding: 64px 0;
  max-width: 440px;
  margin: 0 auto;
}
.booking-success.visible { display: block; }
.success-icon {
  width: 52px;
  height: 52px;
  background: var(--red);
  color: #fff;
  font-size: 1.3rem;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}
.booking-success h3 {
  font-family: var(--font-d);
  font-size: 3rem;
  letter-spacing: 0.06em;
  color: var(--dark);
  margin-bottom: 12px;
}
.booking-success p { color: var(--muted); font-size: 0.88rem; line-height: 1.65; margin-bottom: 28px; }
.booking-form.hidden { display: none; }

/* ── INFO BAR — bold red band ── */
.info-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--red);
}
.info-item {
  padding: 36px 44px;
  border-right: 1px solid rgba(255,255,255,0.15);
}
.info-item:last-child { border-right: none; }
.info-label {
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 8px;
}
.info-val  { font-size: 0.9rem; color: #fff; font-weight: 600; margin-bottom: 3px; }
.info-note { font-size: 0.72rem; color: rgba(255,255,255,0.55); }

/* ── FOOTER ── */
.footer { background: var(--dark); border-top: 1px solid #222; }
.footer-inner { padding: 48px 0; }
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 36px;
  padding-bottom: 32px;
  border-bottom: 1px solid #2a2825;
}
.footer-logo {
  font-family: var(--font-d);
  font-size: 1.6rem;
  letter-spacing: 0.14em;
  color: #fff;
  margin-bottom: 4px;
}
.footer-tag  { font-size: 0.74rem; color: rgba(255,255,255,0.3); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.footer-bottom > p { font-size: 0.72rem; color: rgba(255,255,255,0.25); }
.footer-dev { display: flex; align-items: center; gap: 8px; font-size: 0.72rem; color: rgba(255,255,255,0.25); }
.footer-dev a { color: var(--red); transition: color 0.2s; }
.footer-dev a:hover { color: #fff; }

/* ── FADE ANIMATION ── */
.fade-up { opacity: 0; transform: translateY(16px); transition: opacity 0.5s ease, transform 0.5s ease; }
.fade-up.visible { opacity: 1; transform: none; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .container { padding: 0 36px; }
  .nav-inner  { padding: 0 36px; }
  .hero-left  { padding: 64px 40px 52px; }
  .menu-divider { margin: 0 44px; }
  .info-item { padding: 28px 32px; }
}

@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .nav-inner  { padding: 0 24px; }

  .section    { padding: 72px 0; }
  .container  { padding: 0 24px; }

  .hero { grid-template-columns: 1fr; min-height: auto; padding-top: 68px; }
  .hero-left  { padding: 48px 24px 48px; border-right: none; border-bottom: 1px solid var(--border); }
  .hero-right { height: 52vw; min-height: 240px; }
  .hero-right img { position: absolute; }
  .hero-actions { margin-bottom: 36px; }
  .hero-stats { flex-wrap: wrap; gap: 20px; }
  .hstat { padding-right: 20px; }
  .hstat-sep { display: none; }

  .svc-header { flex-direction: column; align-items: flex-start; gap: 12px; }
  .svc-note   { text-align: left; max-width: 100%; }
  .menu-cols  { grid-template-columns: 1fr; }
  .menu-divider { display: none; }
  .menu-col:first-child { padding-bottom: 44px; border-bottom: 1px solid var(--border); }
  .menu-col   { gap: 36px; }

  .team-grid  { grid-template-columns: 1fr; background: transparent; border: none; gap: 16px; }
  .barber-card { border: 1px solid var(--border); }
  .bc-photo   { aspect-ratio: 4 / 3; }

  .gallery-grid { grid-template-columns: 1fr 1fr; gap: 12px; }

  .form-grid  { grid-template-columns: 1fr; }

  .info-bar   { grid-template-columns: 1fr 1fr; }
  .info-item  { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.12); padding: 22px 24px; }
  .info-item:nth-child(odd) { border-right: 1px solid rgba(255,255,255,0.12); }
  .info-item:nth-last-child(-n+2) { border-bottom: none; }

  .footer-top    { flex-direction: column; align-items: flex-start; gap: 20px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 8px; }
}

@media (max-width: 480px) {
  .section    { padding: 56px 0; }
  .container  { padding: 0 16px; }
  .nav-inner  { padding: 0 16px; }

  .hero-left  { padding: 40px 16px 40px; }
  .hero-right { height: 64vw; }

  .hero-stats { flex-direction: column; align-items: flex-start; gap: 14px; }
  .hstat { padding-right: 0; }

  .gallery-grid { grid-template-columns: 1fr; gap: 12px; }

  .info-bar   { grid-template-columns: 1fr; }
  .info-item  { border-right: none !important; border-bottom: 1px solid rgba(255,255,255,0.12) !important; }
  .info-item:last-child { border-bottom: none !important; }

  .mobile-menu-inner { padding: 64px 24px; }
  .mobile-menu a { font-size: 3.2rem; }

  .section-title { font-size: clamp(2.6rem, 10vw, 3rem); }
  .team-grid { gap: 12px; }
}
