:root {
  --bg: #0b0b0b;
  --panel: #101010;
  --card: #141414;
  --border: #262626;
  --text: #f3f4f6;
  --muted: #a3a3a3;
  --ink: #111111;
  --ink-2: #1a1a1a;
  --white: #ffffff;
  --gray-100: #f5f5f5;
  --gray-300: #d4d4d4;
}

/* Base */
* { box-sizing: border-box; }
html, body {
  margin: 0; padding: 0;
  background: var(--bg); color: var(--text);
  font: 16px/1.6 "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial;
}
img { max-width: 100%; display: block; }
a { color: var(--gray-100); text-decoration: none; }
.container { max-width: 1120px; margin: 0 auto; padding: 0 20px; }

/* Hero (no photo, just space under fixed nav) */
.hero-nophoto { position: relative; height: auto; background: #2C2C2C; }
.hero-nophoto::before { content: none; }
.hero-nophoto .hero-inner { height: auto; padding-top: 140px; }

/* Top Bar (shared) */
.topbar {
  position: fixed; top: 0; left: 0; right: 0; width: 100%;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px;
  padding: 12px 28px; background: #2C2C2C; z-index: 1000; border: none; box-shadow: none;
}
.brand-title { justify-self: start; font-family: 'Anton', sans-serif; font-size: 40px; color: var(--white); }
.brand-logo { justify-self: center; height: 100px; width: auto; display: block; filter: none; }
.top-actions { justify-self: end; display: flex; align-items: center; gap: 18px; }
.top-links { display: flex; align-items: center; gap: 18px; }
.top-link { font-weight: 600; opacity: 0.9; }
.top-link:hover, .top-link.active { opacity: 1; text-decoration: underline; text-underline-offset: 3px; }

.insta-link { display: inline-flex; align-items: center; justify-content: center; padding: 8px; border-radius: 8px; }
.insta-link svg { width: 22px; height: 22px; fill: var(--gray-100); opacity: 0.9; display: block; }
.insta-link:hover svg { opacity: 1; }
.book-cta {
  border: 1px solid var(--gray-300); padding: 14px 22px; border-radius: 999px;
  color: var(--gray-100); background: transparent; font-weight: 600;
}
.book-cta:hover { background: var(--gray-100); color: #111; border-color: var(--gray-100); }

/* Hamburger + Overlay (shared) */
.hamburger {
  display: none; flex-direction: column; justify-content: center; gap: 3px;
  width: 22px; height: 18px; background: none; border: none; cursor: pointer; padding: 0;
}
.hamburger span { display: block; height: 2px; width: 100%; background: var(--gray-100); border-radius: 2px; }

.menu-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.85); color: var(--gray-100);
  display: none; justify-content: center; align-items: center; text-align: center; padding: 32px;
  z-index: 2000; opacity: 0; transition: opacity .2s ease;
}
.menu-overlay.active { display: flex; opacity: 1; }
.close-overlay { position: absolute; top: 18px; right: 18px; font-size: 36px; background: none; border: none; color: var(--gray-100); cursor: pointer; }
.menu-content { font-size: 22px; }
.overlay-link {
  display: block; margin: 12px 0; font-size: 22px; color: var(--gray-100);
  text-decoration: none; opacity: 0.9;
}
.overlay-link:hover, .overlay-link.active { opacity: 1; text-decoration: underline; text-underline-offset: 3px; }
.overlay-spacer { margin: 48px 0; }
.overlay-gap { margin: 24px 0; }

/* Barbers page */
.page.barbers { padding: 96px 0 64px; background: var(--ink-2); }
.barbers-title {
  margin: 0 0 20px;
  font: 800 28px/1.2 "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial;
  color: var(--gray-100); text-align: center;
}
.barber-grid, .barber-cards {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.barber-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: 16px; overflow: hidden; display: flex; flex-direction: column;
}
.barber-photo { width: 100%; height: 260px; object-fit: cover; background: #0e0e0e; }
.barber-info { padding: 14px; }
.barber-name {
  margin: 0 0 6px;
  font: 700 18px/1.2 "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial;
  color: var(--gray-100);
}
.barber-bio { margin: 0 0 10px; color: var(--muted); font-size: 14px; }
.barber-ig {
  display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 28px; border-radius: 8px; border: 1px solid var(--border);
}
.barber-ig svg { width: 14px; height: 14px; fill: var(--gray-100); opacity: .9; }
.barber-ig:hover svg { opacity: 1; }

/* Footer (shared) */
.site-footer { padding: 28px 0; border-top: 1px solid var(--border); background: #0e0e0e; }
.footer-grid { display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: center; }
.legal { color: var(--muted); font-size: 14px; }

/* Responsive */
@media (max-width: 980px) {
  .barber-grid, .barber-cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1024px) {
  .brand-title { font-size: 36px; }
  .brand-logo { height: 84px; }
}
@media (max-width: 820px) {
  .brand-title { font-size: 28px; }
  .brand-logo { height: 72px; }
}
@media (max-width: 640px) {
  .topbar {
    grid-template-columns: auto auto 1fr auto; align-items: center;
    padding: 8px 12px; gap: 8px;
  }
  .hamburger { display: flex; justify-self: start; }
  .brand-title { font-size: 13px; justify-self: start; }
  .brand-logo { height: 48px; justify-self: center; }
  .top-actions { justify-self: end; gap: 12px; }
  .book-cta { padding: 8px 12px; font-size: 14px; white-space: nowrap; }
  .top-links, .insta-link { display: none; }
  .menu-content { font-size: 18px; }
  .page.barbers { padding: 88px 0 48px; }
  .barber-grid, .barber-cards { grid-template-columns: 1fr; }
}
