/* Main Street Barbers — Kelt Signature theme:
   warm cream surfaces, deep forest-green accent,
   serif display (Fraunces) + sans body (Inter). */

:root {
  --cream: #f7f1e6;
  --cream-alt: #efe6d4;
  --ink: #2b2420;
  --ink-soft: #5a5147;
  --forest: #1f3d2e;
  --forest-dark: #15291f;
  --forest-contrast: #f7f1e6;
  --border: #ddd0b8;
  --radius: 10px;
  --max-width: 760px;
  --space-section: clamp(3rem, 6vw, 6rem);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Inter", system-ui, sans-serif;
  background: var(--cream);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3 {
  font-family: "Fraunces", Georgia, serif;
  color: var(--ink);
  margin: 0;
}

a {
  color: inherit;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--forest);
  outline-offset: 3px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Buttons */
.btn {
  display: inline-block;
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius);
  transition: background-color 0.15s ease, transform 0.15s ease;
}

.btn--call {
  background: var(--forest);
  color: var(--forest-contrast);
}

.btn--call:hover {
  background: var(--forest-dark);
}

.btn--small {
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  white-space: nowrap;
}

.btn--large {
  padding: 0.9rem 1.75rem;
  font-size: 1.05rem;
  margin-top: 1.5rem;
}

@media (prefers-reduced-motion: reduce) {
  .btn {
    transition: none;
  }
}

/* Top bar */
.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--cream);
  border-bottom: 1px solid var(--border);
}

.topbar__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0.85rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.topbar__name {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 600;
  font-size: 1.1rem;
}

/* Hero */
.hero {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: clamp(3rem, 8vw, 5.5rem) 1.25rem clamp(2.5rem, 6vw, 4rem);
  text-align: center;
}

.hero__eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--forest);
  margin: 0 0 1rem;
}

.hero__title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 600;
  line-height: 1.15;
  margin-bottom: 1rem;
}

.hero__subtitle {
  font-size: 1.1rem;
  color: var(--ink-soft);
  max-width: 42ch;
  margin: 0 auto;
}

/* Sections */
.section {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: var(--space-section) 1.25rem;
}

.section--alt {
  background: var(--cream-alt);
  max-width: none;
  padding-left: 0;
  padding-right: 0;
}

.section--alt > * {
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

.section__eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--forest);
  margin: 0 0 0.5rem;
}

.section__title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 600;
  margin-bottom: 1.25rem;
}

.section__body {
  color: var(--ink-soft);
  font-size: 1.05rem;
  max-width: 62ch;
}

/* Services */
.services {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.services__item {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
}

.services__name {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
}

.services__desc {
  color: var(--ink-soft);
  font-size: 0.95rem;
  margin: 0;
  max-width: 40ch;
}

.services__price {
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--forest);
  white-space: nowrap;
}

/* Hours */
.hours-table {
  width: 100%;
  max-width: 480px;
  border-collapse: collapse;
}

.hours-table tr {
  border-bottom: 1px solid var(--border);
}

.hours-table tr:last-child {
  border-bottom: none;
}

.hours-table th,
.hours-table td {
  text-align: left;
  padding: 0.85rem 0;
  font-weight: 400;
}

.hours-table th {
  color: var(--ink);
  font-weight: 600;
  width: 55%;
}

.hours-table td {
  color: var(--ink-soft);
}

/* Footer */
.footer {
  background: var(--forest);
  color: var(--forest-contrast);
  text-align: center;
  padding: var(--space-section) 1.25rem 2.5rem;
}

.footer .section__eyebrow {
  color: #cfe0d4;
}

.footer__heading {
  margin-bottom: 0.5rem;
}

.footer__phone {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 600;
  text-decoration: none;
}

.footer__phone:hover {
  text-decoration: underline;
}

.footer__address {
  color: #d9e4dc;
  margin: 0 0 0.5rem;
}

.footer .btn--call {
  background: var(--forest-contrast);
  color: var(--forest);
}

.footer .btn--call:hover {
  background: #e8ddc4;
}

.footer__copyright {
  margin-top: 2.5rem;
  color: #9db7a6;
  font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 600px) {
  .topbar__inner {
    flex-wrap: wrap;
  }

  .services__item {
    flex-direction: column;
    gap: 0.5rem;
  }

  .services__price {
    font-size: 1.2rem;
  }
}
