/* ========== RESET ========== */
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
img { max-width: 100%; display: block; }

/* ========== THEME ========== */
:root {
  --teal: rgb(0,121,136);
  --gold: rgb(200,142,63);
  --gold-press: rgb(170,110,40);
  --ink: #1e1e1e;
  --paper: #ffffff;
  --shadow-1: 0 6px 20px rgba(0,0,0,.25);
}

/* ========== BASE ========== */
body {
  font-family: "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
}
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.no-scroll { overflow: hidden; }

/* ========== NAVBAR (copied from index styles) ========== */
header { position: relative; z-index: 1000; background: none; }
.navbar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
}
.logo {
  color: var(--gold);
  font-weight: 800;
  letter-spacing: .06em;
  font-size: 1.1rem;
  white-space: nowrap;
  text-shadow: 1px 1px 3px rgba(0,0,0,.6);
}
.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 0;
}
.nav-links a {
  color: #fff;
  text-decoration: none;
  padding: 8px 12px;
  transition: outline .08s ease, outline-offset .08s ease, background .2s ease;
  text-shadow: 1px 1px 3px rgba(0,0,0,.6);
}
.nav-links a:hover {
  outline: 2px solid #fff;
  outline-offset: 2px;
  background: rgba(255,255,255,.06);
}
.nav-links .active { text-decoration: underline; }
.booking-button {
  background: var(--gold);
  color: #000;
  font-weight: 700;
  padding: 8px 16px;
  transition: background .2s ease, transform .06s ease;
}
.booking-button:hover { background: var(--gold-press); }
.booking-button:active { transform: translateY(1px); }

/* ========== HAMBURGER ========== */
.hamburger {
  display: none;
  border: none;
  background: transparent;
  padding: 10px;
  cursor: pointer;
  position: relative;
  z-index: 2001;
}
.hamburger-box { width: 28px; height: 20px; display: inline-block; position: relative; }
.hamburger-inner,
.hamburger-inner::before,
.hamburger-inner::after {
  content: "";
  width: 28px; height: 2px;
  background: #fff;
  position: absolute; left: 0;
  transition: transform .18s ease, top .18s ease, opacity .18s ease;
}
.hamburger-inner { top: 9px; }
.hamburger-inner::before { top: -8px; }
.hamburger-inner::after { top: 8px; }
.hamburger.is-active .hamburger-inner { transform: rotate(45deg); }
.hamburger.is-active .hamburger-inner::before { top: 0; transform: rotate(90deg); }
.hamburger.is-active .hamburger-inner::after { top: 0; opacity: 0; }

/* ========== HERO (barbers header image) ========== */
.hero-background {
  background: url('/imgs/barber-chairs.jpg') top center / cover no-repeat;
  min-height: 50vh;
  display: flex;
  flex-direction: column;
}
.hero-overlay {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: clamp(40px, 5vw, 72px) 20px;
  color: #f0f0f0;
}
.hero-content {
  background: none;
  border: none;
  box-shadow: none;
  width: min(780px, 92vw);
  margin: 0 auto;
  padding: 0;
  position: relative;
  z-index: 1;
}

/* ========== BUTTONS ========== */
.btn {
  display: inline-block;
  font-weight: 800;
  text-decoration: none;
  padding: 12px 22px;
  border: 2px solid transparent;
  transition: background .2s ease, color .2s ease, transform .06s ease, box-shadow .2s ease, border-color .2s ease;
}
.btn-primary { background: var(--gold); color: #eee; box-shadow: 0 4px 12px rgba(0,0,0,.25); }
.btn-primary:hover { background: var(--gold-press); }
.btn-primary:active { transform: translateY(1px); }
.btn-secondary { background: transparent; color: var(--ink); border: 2px solid var(--ink); }
.btn-secondary:hover { background: rgba(200,142,63,.12); }
.btn-secondary:active { transform: translateY(1px); }

/* ========== SECTION SHELL ========== */
.section-white { background: var(--paper); color: var(--ink); }

/* ========== TEAM SECTION ========== */
.barber-team { padding: 40px 0 60px; }
.barber-team h2 {
  margin: 0 0 10px;
  font-size: clamp(1.8rem, 4vw, 2.2rem);
  color: var(--teal);
  text-align: center;
}
.barber-team .intro {
  margin: 0 auto 28px;
  max-width: 800px;
  color: #666;
  text-align: center;
}

/* Grid: 1 per row mobile, 2 per row desktop */
.barbers-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}
@media (min-width: 901px) {
  .barbers-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ========== BARBER CARD ========== */
.barber-card {
  display: grid;
  grid-template-columns: 1fr;              /* mobile: stacked */
  gap: 16px;
  align-items: stretch;
  padding: 16px;
  border: 1px solid #eee;
  background: #fff;
  box-shadow: 0 6px 18px rgba(0,0,0,.08);
}

/* Desktop: fixed photo column for consistent image size */
@media (min-width: 901px) {
  .barber-card {
    grid-template-columns: 280px 1fr;     /* <- uniform image width */
  }
}

/* Image framing — consistent portrait crop */
.barber-card img {
  width: 100%;
  aspect-ratio: 3 / 4;                    /* consistent height from column width */
  height: auto;
  object-fit: cover;                       /* fill frame cleanly */
  object-position: 50% 40%;                /* default focus slightly high (faces) */
}

/* If a specific image needs custom focus, add a class in markup:
   <img class="photo--shane" ...> then override below. */
.photo--top     { object-position: 50% 10%; }
.photo--center  { object-position: 50% 50%; }
.photo--bottom  { object-position: 50% 80%; }

/* Stack on very small screens still fine (1fr already) */

/* Card content */
.barber-details { display: flex; flex-direction: column; gap: 6px; }
.barber-details strong { font-size: 1.1rem; }
.barber-role { color: #666; }
.small-mute { color: #666; font-size: .95rem; }

.bio { margin: 6px 0 8px; }

.interests { margin: 6px 0 10px; padding-left: 18px; }
.interests li { margin: 2px 0; }

/* CTA in card */
.barber-details .btn,
.barber-details .cta-button {
  align-self: start;
  padding: 10px 16px;
  background: var(--gold);
  color: #111;
  font-weight: 700;
  text-decoration: none;
  border: none;
  box-shadow: 0 4px 12px rgba(0,0,0,.15);
  transition: background .2s ease, transform .06s ease;
}
.barber-details .btn:hover,
.barber-details .cta-button:hover { background: var(--gold-press); }
.barber-details .btn:active,
.barber-details .cta-button:active { transform: translateY(1px); }

/* ========== FOOTER ========== */
footer {
  background: none;
  color: #666;
  text-align: center;
  padding: 18px 0;
  border-top: none;
}

/* ========== FADE-IN (matches index) ========== */
.reveal {
  opacity: 0;
  transition: opacity .7s ease;
  will-change: opacity;
  transition-delay: var(--reveal-delay, 0ms);
}
.reveal.in-view { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transition: none !important; }
}

/* ========== RESPONSIVE NAV (same behavior) ========== */
@media (max-width: 1024px){
  .logo { font-size: 1rem; }
}
@media (max-width: 900px) {
  .hamburger { display: inline-block; }

  .nav-links {
    position: fixed;
    top: 64px;
    left: 0;
    width: 100%;
    height: calc(50vh - 64px);
    background: rgba(0, 0, 0, 0.92);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    gap: 20px;
    padding-top: 40px;
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s ease;
    z-index: 1050;
  }
  .nav-links a {
    color: #fff;
    font-size: 1.2rem;
    text-decoration: none;
    padding: 10px 20px;
    transition: background .2s ease, transform .1s ease;
  }
  .nav-links a:hover { background: rgba(255,255,255,0.15); transform: scale(1.05); }
  .nav-links .booking-button {
    background: var(--gold); color: #000; font-size: 1.2rem; font-weight: 700;
    padding: 12px 28px; box-shadow: 0 4px 12px rgba(0,0,0,.35); margin-top: 10px;
  }
  .nav-links .booking-button:hover { background: var(--gold-press); transform: translateY(-2px); }
  .nav-links[data-state="open"] { opacity: 1; pointer-events: auto; }
}
@media (max-width: 600px){
  .hero-title { font-size: clamp(2rem, 8vw, 2.6rem); }
  .btn { padding: 10px 18px; }
}
