/* =====================================================================
   Liam Shea Hair — site styles
   ---------------------------------------------------------------------
   This file is intentionally simple and heavily commented so it's easy
   to tweak by hand. The most common things you'll want to change live
   in the :root variables right below (colours, fonts, spacing).
   ===================================================================== */

:root {
  /* ---- Brand colours (sampled from the original site) ---- */
  --sage:        #a4c2ba;  /* main background (soft green)      */
  --sage-deep:   #8fb0a7;  /* slightly darker sage for contrast */
  --ink:         #2e4642;  /* dark teal — headings & body text  */
  --gold:        #d89a4c;  /* the "Book With Me" button colour  */
  --gold-dark:   #c4863b;  /* button hover                      */
  --terracotta:  #bd5e39;  /* warm accent (links, small touches)*/
  --cream:       #f4efe4;  /* light cards / panels              */
  --cream-soft:  #ece6d7;  /* borders on cream                  */

  /* ---- Fonts ---- */
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --sans:  -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
           "Helvetica Neue", Arial, sans-serif;

  /* ---- Layout ---- */
  --maxw: 1180px;          /* max content width */
  --pad:  clamp(1.25rem, 4vw, 3rem);  /* side padding, scales w/ screen */
}

/* ---------- Base ---------- */
* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--sage);
  color: var(--ink);
  font-family: var(--serif);  /* original site used Kepler (a serif) for body too */
  font-size: 1.1875rem;       /* 19px — serif body reads best a touch larger */
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: var(--terracotta); }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: 0.01em;
  margin: 0 0 0.5em;
}

h1 { font-size: clamp(2.4rem, 6vw, 4rem); }
h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); }
h3 { font-size: 1.5rem; }

p { margin: 0 0 1.1em; }

/* A reusable centered container */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--pad);
}

/* Generic vertical section rhythm */
.section { padding-block: clamp(3rem, 8vw, 6rem); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  padding: 0.7em 1.6em;
  border-radius: 2px;
  transition: background-color .2s ease, transform .2s ease;
}
.btn--primary {
  background: var(--gold);
  color: var(--ink);
}
.btn--primary:hover { background: var(--gold-dark); transform: translateY(-1px); }

.btn--outline {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--ink);
}
.btn--outline:hover { background: var(--ink); color: var(--sage); }

/* ---------- Site header / nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--sage);
  border-bottom: 1px solid rgba(46,70,66,0.08);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1rem;
}
.logo img { height: 54px; width: auto; }

.nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.5vw, 2rem);
}
.nav a {
  font-family: var(--serif);
  font-size: 1.25rem;
  color: var(--ink);
  text-decoration: none;
}
.nav a:not(.btn):hover { color: var(--terracotta); }
.nav .ig { display: inline-flex; }
.nav .ig svg { width: 24px; height: 24px; fill: var(--ink); }
.nav .ig:hover svg { fill: var(--terracotta); }

/* Simple mobile menu: nav links hide behind a toggle on small screens */
.nav-toggle { display: none; }

@media (max-width: 820px) {
  .nav-toggle {
    display: inline-flex;
    background: none; border: 0; cursor: pointer;
    font-family: var(--serif); font-size: 1.15rem; color: var(--ink);
    align-items: center; gap: .4rem;
  }
  .nav {
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
    background: var(--sage);
    padding: 1.5rem var(--pad) 2rem;
    border-bottom: 1px solid rgba(46,70,66,0.12);
    display: none;
  }
  .nav.open { display: flex; }
  .nav .btn--primary { width: 100%; text-align: center; }
}

/* ---------- Hero (home) ---------- */
.hero {
  background: var(--sage);
}
.hero__img {
  width: 100%;
  max-height: 78vh;
  object-fit: cover;
  object-position: center;
}

/* ---------- Intro block ---------- */
.intro { text-align: center; max-width: 760px; margin-inline: auto; }
.intro .lead { font-size: 1.15rem; }

/* ---------- Testimonials ----------
   Alternating rows: a square portrait on one side, the quote + name on the
   other, all on the plain sage background (no cards, no section heading).
   Add the class "testimonial--right" to a row to flip the portrait to the
   right; that's how the rows alternate down the page. */
.testimonial {
  display: grid;
  grid-template-columns: minmax(0, 340px) 1fr;
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: center;
  margin-bottom: clamp(2.5rem, 6vw, 4.5rem);
}
.testimonial:last-of-type { margin-bottom: 0; }
.testimonial .t-photo img { width: 100%; border-radius: 4px; }
.testimonial blockquote {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.3rem, 2.2vw, 1.7rem);
  line-height: 1.5;
  white-space: pre-line;   /* preserves the line breaks in Kenton's poem */
}
.testimonial cite {
  display: block;
  margin-top: 1rem;
  font-style: normal;
  font-family: var(--sans);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-size: 0.9rem;
  color: var(--terracotta);
}
/* Flip the portrait to the right on alternating rows */
.testimonial--right .t-photo { order: 2; }

@media (max-width: 720px) {
  .testimonial { grid-template-columns: 1fr; }
  .testimonial--right .t-photo { order: 0; }
  .testimonial .t-photo img { max-width: 300px; margin-inline: auto; }
}

/* ---------- Two-column feature (about, book intro) ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.split img { border-radius: 4px; }
@media (max-width: 820px) {
  .split { grid-template-columns: 1fr; }
}

/* Prose column keeps a comfortable reading width */
.prose { max-width: 68ch; }
.prose h2 { margin-top: 1.5rem; }

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--terracotta);
  color: var(--cream);
  text-align: center;
}
.cta-band h2 { color: var(--cream); }
.cta-band .btn--primary { margin-top: 1rem; }

/* ---------- Pricing ---------- */
.price-list {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  border-top: 1px solid rgba(46,70,66,0.18);
}
.price-list li {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;          /* keep the price aligned to the top when a description wraps */
  gap: 1.5rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid rgba(46,70,66,0.18);
}
.price-list .svc-name { font-family: var(--serif); font-size: 1.3rem; }
.price-list .svc-meta { display: block; font-family: var(--sans); font-size: 0.95rem; opacity: 0.8; }
/* short description under a service name */
.price-list .svc-desc {
  display: block;
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.45;
  opacity: 0.85;
  margin-top: 0.35rem;
  max-width: 52ch;
}
.price-list .svc-desc a { color: var(--terracotta); }
.price-list .svc-price { font-family: var(--serif); font-size: 1.3rem; white-space: nowrap; }

/* sub-group heading on the Services page (Haircuts / Colour) */
.svc-group {
  font-size: 1.7rem;
  margin: 2.75rem 0 0;
}
.svc-group + .price-list { margin-top: 1rem; }

.note-card {
  background: transparent;               /* matches the sage page background */
  border-left: 4px solid var(--gold);    /* subtle gold accent stripe */
  padding: 0.5rem 0 0.5rem 1.5rem;
  margin-top: 2.5rem;
}
.note-card :last-child { margin-bottom: 0; }

/* ---------- Forms ---------- */
.form-wrap { max-width: 640px; }
.field { margin-bottom: 1.4rem; }
.field label,
fieldset > legend {
  display: block;
  font-weight: 600;
  margin-bottom: 0.4rem;
}
.field .req { color: var(--terracotta); }
.field input,
.field textarea,
.field select {
  width: 100%;
  font: inherit;
  color: var(--ink);
  background: var(--cream);
  border: 1px solid var(--cream-soft);
  border-radius: 3px;
  padding: 0.7rem 0.85rem;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: 2px solid var(--gold);
  outline-offset: 1px;
}
fieldset {
  border: 1px solid rgba(46,70,66,0.2);
  border-radius: 4px;
  padding: 1rem 1.25rem 0.25rem;
  margin: 0 0 1.4rem;
}
.check {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin-bottom: 0.9rem;
  font-weight: 400;
}
.check input { width: auto; margin-top: 0.35rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }

/* ---------- Contact details ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
}
@media (max-width: 820px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-details h3 { margin-bottom: 0.2rem; }
.contact-details address {
  font-style: normal;
  font-size: 1.15rem;
  margin-bottom: 1.5rem;
}

/* ---------- Booking paths ---------- */
.paths {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
}
@media (max-width: 820px) { .paths { grid-template-columns: 1fr; } }
.path-card {
  background: var(--cream);
  border-radius: 4px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
}
.path-card h3 { margin-bottom: 0.5rem; }
.path-card .btn { margin-top: auto; align-self: flex-start; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: var(--sage);
  padding-block: clamp(2.5rem, 6vw, 4rem);
}
.site-footer a { color: var(--sage); text-decoration: none; }
.site-footer a:hover { color: var(--gold); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
}
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr; gap: 2.5rem; } }
.site-footer h4 {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 500;
  margin: 0 0 0.75rem;
}
.footer-nav { list-style: none; margin: 0; padding: 0; }
.footer-nav li { margin-bottom: 0.4rem; }
.land-ack {
  font-size: 0.95rem;
  line-height: 1.6;
  opacity: 0.9;
  max-width: 46ch;
}
.footer-bottom {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(164,194,186,0.2);
  font-size: 0.85rem;
  opacity: 0.75;
}

/* Small helper */
.center { text-align: center; }
.mt-2 { margin-top: 2rem; }
