/*
 * Beauty salon & spa theme — served at /styles/site.css and linked from every
 * page's headHtml. Shared design lives here (not in Astro components/scoped
 * <style>), so every page stays click-editable in the visual editor while still
 * sharing one look. #c15b7a is filled in at generation time from the owner's
 * chosen brand colour; #c15b7a is the supporting brand colour (degrades to
 * the accent when unset). The look is deliberately calm and editorial: a warm
 * ivory page, serif headings, fine hairlines and generous breathing room — the
 * digital equivalent of walking into a quiet, well-kept salon.
 */

:root {
  --accent: #c15b7a;
  --secondary: #c15b7a;
  --accent-ink: #ffffff;
  --ink: #2a2320;
  --muted: #857a72;
  --line: #ece3d9;
  --paper: #ffffff;
  --wash: #f8f1ea;
  --page: #fcf8f3;
  --radius: 16px;
  --shadow: 0 1px 2px rgba(42, 35, 32, 0.03), 0 18px 44px rgba(42, 35, 32, 0.07);
  --maxw: 70rem;
  --font: "Helvetica Neue", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-display: "Cormorant Garamond", "Playfair Display", Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--page);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: 0.005em;
  margin: 0 0 0.5em;
}
h1 { font-size: clamp(2.5rem, 6vw, 4.25rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1rem; }
a { color: var(--accent); text-underline-offset: 3px; }
img { max-width: 100%; height: auto; }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 1.5rem; }
.narrow { max-width: 46rem; margin-inline: auto; }
.center { text-align: center; }

/* A short decorative hairline used to separate an eyebrow from a heading. */
.rule { width: 46px; height: 1px; background: var(--accent); border: 0; margin: 0 0 1.4rem; }
.center .rule { margin-inline: auto; }

/* Header / nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: color-mix(in srgb, var(--page) 86%, transparent);
  backdrop-filter: saturate(1.3) blur(9px);
  border-bottom: 1px solid var(--line);
}
.site-header .bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.5rem;
  letter-spacing: 0.01em;
  color: var(--ink);
  text-decoration: none;
}
.brand-logo { height: 34px; width: auto; display: block; }
.nav { display: flex; align-items: center; gap: 1.6rem; flex-wrap: wrap; }
.nav a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.nav a:hover { color: var(--ink); }
/* A button in the nav keeps its button text colour (`.nav a` is more specific). */
.nav a.btn, .nav a.btn:hover { color: var(--accent-ink); }

/* Buttons — refined, uppercase, gently spaced. */
.btn {
  display: inline-block;
  background: var(--accent);
  color: var(--accent-ink);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: filter 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.btn:hover { filter: brightness(0.94); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn-ghost:hover { background: var(--ink); color: var(--paper); filter: none; }

/* Sections */
main { display: block; }
.section { padding-block: clamp(3rem, 7vw, 5.5rem); }
/* A whisper of the secondary colour tints the washed sections. */
.section-wash { background: color-mix(in srgb, var(--secondary) 8%, var(--wash)); }
.section-ink { background: var(--ink); color: var(--paper); }
.section-ink h2 { color: var(--paper); }
.section-ink .lead { color: color-mix(in srgb, var(--paper) 75%, transparent); }
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.24em;
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--accent);
  margin: 0 0 0.9rem;
}
.section-ink .eyebrow { color: color-mix(in srgb, var(--paper) 80%, var(--accent)); }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 42rem; }
.center .lead { margin-inline: auto; }

/* Hero — a bright salon photo behind a soft light veil, so the serif headline
 * stays readable. The photo self-hosts at /images/hero.webp (committed into the
 * site); if it's ever missing the veil sits over the secondary-colour wash below,
 * so the hero still looks right. Swap the image in the editor to your own. */
.hero {
  padding-block: clamp(4rem, 10vw, 7.5rem);
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--page) 78%, transparent), color-mix(in srgb, var(--page) 60%, transparent)),
    url("/images/hero.webp") center / cover no-repeat,
    radial-gradient(120% 80% at 50% -10%, color-mix(in srgb, var(--secondary) 12%, transparent), transparent 60%),
    var(--page);
}
.hero .actions { display: flex; gap: 0.8rem; flex-wrap: wrap; margin-top: 1.9rem; }
.center .actions { justify-content: center; }

/* Cards grid */
.grid { display: grid; gap: 1.1rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid.cols-2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 860px) { .grid.cols-3 { grid-template-columns: repeat(3, 1fr); } }
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem;
  box-shadow: var(--shadow);
}
.card h3 { margin-bottom: 0.35rem; }
.card p { color: var(--muted); margin: 0; }

/* Gallery — real salon photos (swap any for your own in the editor). */
.gallery { display: grid; gap: 0.9rem; grid-template-columns: repeat(2, 1fr); margin-top: 2rem; }
@media (min-width: 720px) { .gallery { grid-template-columns: repeat(3, 1fr); } }
.tile {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--secondary) 8%, var(--wash));
}

/* A short intro row: heading beside a paragraph. */
.split { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 820px) { .split { grid-template-columns: 1fr 1fr; gap: 3.5rem; } }

/* Contact details */
.contact-list { list-style: none; padding: 0; margin: 1.4rem 0 0; display: grid; gap: 0.7rem; }
.contact-list a { color: var(--ink); font-weight: 600; text-decoration: none; }
.hours { list-style: none; padding: 0; margin: 1rem 0 0; display: grid; gap: 0.45rem; max-width: 22rem; }
.hours li { display: flex; justify-content: space-between; gap: 1rem; border-bottom: 1px dashed var(--line); padding-bottom: 0.45rem; color: var(--muted); }
.hours li span:last-child { color: var(--ink); font-weight: 600; }

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  background: var(--wash);
  padding-block: 2.25rem;
  color: var(--muted);
  font-size: 0.9rem;
}
.site-footer .bar { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; align-items: center; justify-content: space-between; }
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--accent); }


/* Style: Elegant — serif headings, hairline rules, warm paper. */
:root {
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --radius: 10px;
  --shadow: none;
  --paper: #fbfaf7;
  --wash: #f4f1ea;
  --line: #e7e1d6;
}
body { background: var(--paper); }
h1, h2, h3 { font-family: "Fraunces", Georgia, "Times New Roman", serif; font-weight: 500; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.2rem, 5.5vw, 3.6rem); }
.section { padding-block: clamp(3rem, 8vw, 6rem); }
.card { box-shadow: none; border: 1px solid var(--line); }
.btn { box-shadow: none; }
.btn-ghost { border-color: var(--secondary-ink, var(--secondary)); }
.eyebrow { font-weight: 600; letter-spacing: 0.18em; }
