/* ============================================================
   The Milton Barber Shop — Design Tokens
   The ONLY source of colors, type, spacing, and shared classes.
   ============================================================ */

:root {
  /* ---- Color ---- */
  --color-ink:        #2B1B10;  /* near-black espresso brown — headings, footer bg */
  --color-primary:    #4A2E1B;  /* deep saddle brown — primary surfaces, hero gradient mid */
  --color-amber:      #B0762E;  /* warm amber — accents, dividers, icons, stars */
  --color-red:        #9C3B26;  /* barbershop brick red — buttons, links, highlights */
  --color-red-hover:  #7E2F1E;  /* button hover state */
  --color-cream:      #FAF4E8;  /* page background */
  --color-paper:      #FFFDF7;  /* card / raised surface background */
  --color-text:       #3A2B1E;  /* body text on light backgrounds */
  --color-text-soft:  #6E5A47;  /* secondary text, captions */
  --color-text-ondark:#F6EBDA;  /* body text on dark backgrounds */
  --color-line:       #E5D8C3;  /* hairline borders on light backgrounds */

  /* ---- Hero gradient (the only "hero image") ---- */
  --gradient-hero: linear-gradient(165deg, #2B1B10 0%, #4A2E1B 55%, #6B4423 100%);

  /* ---- Type ----
     Headings:   Fraunces (warm, slightly old-style serif — sign-painter charm)
     Body & UI:  Karla (humanist sans, friendly and plain-spoken)              */
  --font-heading: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-body:    'Karla', 'Helvetica Neue', Arial, sans-serif;

  --text-h1: clamp(2.4rem, 5.5vw, 3.6rem);
  --text-h2: clamp(1.8rem, 3.5vw, 2.4rem);
  --text-h3: 1.25rem;
  --text-body: 1.0625rem;   /* 17px */
  --text-small: 0.875rem;
  --text-eyebrow: 0.8125rem; /* uppercase kicker above headings */

  /* ---- Spacing & shape ---- */
  --space-section: 96px;         /* desktop vertical section padding */
  --space-section-mobile: 56px;
  --space-gap: 32px;             /* default grid/flex gap */
  --radius: 8px;                 /* cards, buttons, images */
  --radius-pill: 999px;          /* badges */
  --container-max: 1080px;
  --shadow-card: 0 2px 12px rgba(43, 27, 16, 0.08);
}

/* ---- Reset & base ---- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: var(--text-body);
  line-height: 1.65;
  color: var(--color-text);
  background: var(--color-cream);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-family: var(--font-heading); color: var(--color-ink); line-height: 1.15; }
h1 { font-size: var(--text-h1); font-weight: 600; }
h2 { font-size: var(--text-h2); font-weight: 600; }
h3 { font-size: var(--text-h3); font-weight: 600; }
img { max-width: 100%; display: block; }
a { color: var(--color-red); }

/* ---- Shared layout classes ---- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}
.section {
  padding-top: var(--space-section);
  padding-bottom: var(--space-section);
}
@media (max-width: 720px) {
  .section { padding-top: var(--space-section-mobile); padding-bottom: var(--space-section-mobile); }
}

/* ---- Eyebrow kicker (small caps line above an h2) ---- */
.eyebrow {
  font-family: var(--font-body);
  font-size: var(--text-eyebrow);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-amber);
  display: block;
  margin-bottom: 12px;
}

/* ---- Buttons (the ONLY button styles on the site) ---- */
.btn {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border-radius: var(--radius);
  padding: 16px 32px;
  transition: background 0.15s ease, color 0.15s ease;
}
.btn-primary {
  background: var(--color-red);
  color: #FFFDF7;
}
.btn-primary:hover { background: var(--color-red-hover); }
.btn-ghost {
  background: transparent;
  color: var(--color-text-ondark);
  border: 1.5px solid rgba(246, 235, 218, 0.45);
}
.btn-ghost:hover { border-color: var(--color-text-ondark); }

/* ---- Badge pill ---- */
.badge {
  display: inline-block;
  font-size: var(--text-small);
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: rgba(176, 118, 46, 0.16);
  color: var(--color-amber);
}

/* ---- Card ---- */
.card {
  background: var(--color-paper);
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 28px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(43, 27, 16, 0.14);
}
