/* ============================================
   Iron & Oak Barbershop — Restructured
   Split hero · Pricing table · Filmstrip
   ============================================ */

/* --- Tokens --- */
:root {
  --bg:        #1a1a1a;
  --bg-alt:    #222222;
  --bg-card:   #2a2a2a;
  --gold:      #c9a84c;
  --gold-dim:  #a8893e;
  --cream:     #f5f0e8;
  --cream-dim: #bfb9ad;
  --divider:   #3a3a3a;
  --heading:   Georgia, "Times New Roman", serif;
  --body:      -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --max:       1100px;
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--body);
  background: var(--bg);
  color: var(--cream);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--gold); text-decoration: none; }
a:hover { color: var(--cream); }
ul { list-style: none; }
address { font-style: normal; color: var(--cream-dim); line-height: 1.8; }

.container {
  width: 90%;
  max-width: var(--max);
  margin: 0 auto;
}

/* --- Top Bar (minimal nav — logo + phone only) --- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5%;
  height: 56px;
  background: rgba(26,26,26,0.97);
  border-bottom: 1px solid var(--divider);
  backdrop-filter: blur(8px);
}

.topbar__logo {
  font-family: var(--heading);
  font-size: 1.2rem;
  color: var(--gold);
  letter-spacing: 0.04em;
}

.topbar__phone {
  font-size: 0.85rem;
  color: var(--cream-dim);
  letter-spacing: 0.04em;
}
.topbar__phone:hover { color: var(--gold); }

/* --- Split Hero --- */
.hero {
  display: grid;
  grid-template-columns: 1fr;
  min-height: 70vh;
}

.hero__text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 3.5rem 5% 3rem;
}

.hero__kicker {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--gold);
  margin-bottom: 1rem;
}

.hero h1 {
  font-family: var(--heading);
  font-size: clamp(2.4rem, 5vw, 3.5rem);
  color: var(--cream);
  line-height: 1.15;
  margin-bottom: 1.25rem;
}

.hero__lead {
  font-size: 1rem;
  color: var(--cream-dim);
  max-width: 480px;
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.hero__hours {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.85rem;
  color: var(--cream-dim);
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.hero__divider {
  width: 1px;
  height: 14px;
  background: var(--divider);
}

.btn {
  display: inline-block;
  background: var(--gold);
  color: #1a1a1a;
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.85rem 2.25rem;
  border: 2px solid var(--gold);
  border-radius: 3px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  width: fit-content;
}
.btn:hover {
  background: transparent;
  color: var(--gold);
}

.hero__image {
  display: none; /* shown on desktop */
}

.hero__image-inner {
  width: 100%;
  height: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__image-label {
  position: relative;
  z-index: 1;
  font-family: var(--heading);
  font-size: 1.2rem;
  color: var(--cream);
  opacity: 0.92;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  background: rgba(17, 17, 17, 0.6);
  border: 1px solid rgba(245, 240, 232, 0.16);
  backdrop-filter: blur(6px);
}

/* --- Pricing Table --- */
.pricing {
  padding: 4rem 0;
  background: var(--bg-alt);
}

.pricing__heading {
  font-family: var(--heading);
  font-size: 2rem;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.pricing__sub {
  color: var(--cream-dim);
  font-size: 0.95rem;
  margin-bottom: 2.5rem;
}

.pricing__table {
  width: 100%;
  border-collapse: collapse;
}

.pricing__table thead {
  display: none; /* visible on desktop */
}

.pricing__table tbody tr {
  display: flex;
  flex-wrap: wrap;
  padding: 1rem 0;
  border-bottom: 1px solid var(--divider);
}

.pricing__table tbody tr:last-child {
  border-bottom: none;
}

.pricing__name {
  font-family: var(--heading);
  font-size: 1.05rem;
  color: var(--cream);
  flex: 1 1 100%;
}

.pricing__desc {
  font-size: 0.8rem;
  color: var(--cream-dim);
  flex: 1 1 70%;
  margin-top: 0.2rem;
}

.pricing__price {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gold);
  flex: 0 0 auto;
  margin-top: 0.2rem;
}

/* --- Barber / About --- */
.barber {
  padding: 4rem 0;
  background: var(--bg);
}

.barber__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

.barber__portrait {
  aspect-ratio: 3 / 4;
  max-width: 320px;
  border: 2px solid var(--divider);
  border-radius: 4px;
  overflow: hidden;
  margin: 0 auto;
}

.barber__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.barber__bio h2 {
  font-family: var(--heading);
  font-size: 1.8rem;
  color: var(--gold);
  margin-bottom: 1rem;
}

.barber__bio p {
  color: var(--cream-dim);
  margin-bottom: 1rem;
  line-height: 1.8;
}

.barber__bio strong {
  color: var(--cream);
}

.barber__sig {
  display: block;
  font-family: var(--heading);
  font-style: italic;
  color: var(--gold);
  font-size: 1.1rem;
  margin-top: 1.5rem;
}

/* --- Filmstrip Gallery --- */
.filmstrip {
  padding: 3rem 0;
  background: var(--bg-alt);
  overflow: hidden;
}

.filmstrip__heading {
  font-family: var(--heading);
  font-size: 1.5rem;
  color: var(--gold);
  text-align: center;
  margin-bottom: 2rem;
}

.filmstrip__track {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 0 5%;
  scrollbar-width: thin;
  scrollbar-color: var(--gold-dim) var(--bg);
}

.filmstrip__track::-webkit-scrollbar { height: 6px; }
.filmstrip__track::-webkit-scrollbar-track { background: var(--bg); }
.filmstrip__track::-webkit-scrollbar-thumb { background: var(--gold-dim); border-radius: 3px; }

.filmstrip__frame {
  flex: 0 0 280px;
  height: 200px;
  scroll-snap-align: start;
  border-radius: 4px;
  border: 1px solid var(--divider);
  position: relative;
  overflow: hidden;
  margin: 0;
}

.filmstrip__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.filmstrip__frame figcaption {
  position: absolute;
  inset: auto 0 0;
  padding: 0.9rem 1rem;
  background: linear-gradient(180deg, rgba(17, 17, 17, 0) 0%, rgba(17, 17, 17, 0.82) 100%);
}

.filmstrip__frame span {
  font-family: var(--heading);
  font-size: 0.92rem;
  color: var(--cream);
  letter-spacing: 0.02em;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.45);
}

/* --- Section Intro --- */
.section-intro {
  max-width: 620px;
  margin: 0 auto 2rem;
  text-align: center;
}

.section-kicker {
  display: inline-block;
  margin-bottom: 0.75rem;
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}

.section-heading {
  font-family: var(--heading);
  font-size: 1.9rem;
  color: var(--cream);
  margin-bottom: 0.75rem;
}

.section-copy {
  color: var(--cream-dim);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* --- Reviews --- */
.reviews {
  padding: 4rem 0;
  background: var(--bg);
  border-top: 1px solid var(--divider);
}

.reviews__grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.review-card {
  background: var(--bg-card);
  border: 1px solid var(--divider);
  border-radius: 4px;
  padding: 1.4rem;
}

.review-card p {
  color: var(--cream);
  font-size: 0.92rem;
  line-height: 1.7;
  margin-bottom: 1rem;
}

.review-card footer {
  color: var(--gold);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* --- Location --- */
.location {
  padding: 4rem 0;
  background: var(--bg);
}

.location__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.location h2 {
  font-family: var(--heading);
  font-size: 1.8rem;
  color: var(--gold);
  margin-bottom: 1rem;
}

.location__hours {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
}

.location__hours td {
  padding: 0.4rem 0;
  border-bottom: 1px solid var(--divider);
  font-size: 0.9rem;
}

.location__hours td:first-child {
  color: var(--cream);
  font-weight: 600;
}

.location__hours td:last-child {
  text-align: right;
  color: var(--cream-dim);
}

.location__hours tr:last-child td { border-bottom: none; }

.location__note {
  font-size: 0.85rem;
  color: var(--cream-dim);
  margin-top: 0.5rem;
}

.location__map {
  background: var(--bg-card);
  border: 1px solid var(--divider);
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 280px;
  color: var(--cream-dim);
  font-size: 0.9rem;
  gap: 0.75rem;
}
.location__map svg { opacity: 0.4; }

/* --- Contact Strip --- */
.contact-strip {
  padding: 2rem 0;
  background: var(--bg-alt);
  border-top: 1px solid var(--divider);
  border-bottom: 1px solid var(--divider);
}

.contact-strip__items {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.contact-strip__item {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--cream);
  font-size: 0.95rem;
  transition: color 0.2s;
}
.contact-strip__item:hover { color: var(--gold); }
.contact-strip__item svg { color: var(--gold); flex-shrink: 0; }

/* --- Footer --- */
.footer {
  background: #111;
  border-top: 1px solid var(--divider);
  padding: 2rem 0;
  text-align: center;
}
.footer__brand {
  font-family: var(--heading);
  color: var(--gold);
  font-size: 1rem;
  margin-bottom: 0.6rem;
}
.footer p {
  font-size: 0.85rem;
  color: var(--cream-dim);
  margin-bottom: 0.4rem;
}
.footer a { color: var(--cream-dim); transition: color 0.2s; }
.footer a:hover { color: var(--gold); }

/* ===== Desktop ===== */
@media (min-width: 768px) {
  .hero {
    grid-template-columns: 1fr 1fr;
  }

  .hero__text {
    padding: 4rem 0 4rem 5%;
  }

  .hero__image {
    display: block;
  }

  .pricing__table thead {
    display: table-header-group;
  }

  .pricing__table thead th {
    text-align: left;
    padding: 0.75rem 0;
    font-family: var(--heading);
    font-size: 0.85rem;
    color: var(--cream-dim);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border-bottom: 2px solid var(--gold);
  }

  .pricing__table thead th:last-child {
    text-align: right;
  }

  .pricing__table tbody tr {
    display: table-row;
  }

  .pricing__table tbody td {
    padding: 1rem 0;
    border-bottom: 1px solid var(--divider);
    vertical-align: middle;
  }

  .pricing__price {
    text-align: right;
  }

  .barber__inner {
    grid-template-columns: 300px 1fr;
    gap: 4rem;
  }

  .barber__portrait {
    margin: 0;
  }

  .filmstrip__frame {
    flex: 0 0 340px;
    height: 240px;
  }

  .location__inner {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
  }

  .contact-strip__items {
    flex-direction: row;
    justify-content: center;
    gap: 2.5rem;
  }
}

/* ===== Large Desktop ===== */
@media (min-width: 1024px) {
  .hero__text {
    padding: 5rem 3rem 5rem 8%;
  }

  .hero h1 {
    font-size: 3.5rem;
  }
}
