/* The Beau Dog Grooming Salon
   Simple, static, no animation. */

:root {
  --navy: #0b2a7a;
  --navy-dark: #081d57;
  --sky: #d6e8fa;
  --sky-mid: #8cc4f5;
  --cream: #f6efe6;
  --white: #ffffff;
  --text: #11214d;
  --max: 46rem;
}

*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--cream);
  color: var(--text);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
}

img { max-width: 100%; height: auto; }

a { color: var(--navy); text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
a:hover { color: var(--navy-dark); text-decoration-thickness: 2px; }

:focus-visible { outline: 3px solid var(--navy); outline-offset: 2px; }

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--navy);
  color: var(--white);
  padding: 0.5rem 1rem;
  z-index: 20;
}
.skip-link:focus { left: 0; }

/* Header and corner menu */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 1.25rem;
  background: var(--white);
  border-bottom: 3px solid var(--navy);
  position: relative;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--navy);
  font-weight: 700;
  font-size: 1.2rem;
  text-decoration: none;
}

.menu { position: relative; }

.menu summary {
  list-style: none;
  cursor: pointer;
  background: var(--navy);
  color: var(--white);
  padding: 0.5rem 1.1rem;
  border-radius: 0.4rem;
  font-weight: 600;
  user-select: none;
}
.menu summary::-webkit-details-marker { display: none; }
.menu summary::after { content: " \25BE"; }
.menu[open] summary::after { content: " \25B4"; }

.menu nav {
  position: absolute;
  right: 0;
  top: calc(100% + 0.5rem);
  min-width: 12rem;
  background: var(--white);
  border: 2px solid var(--navy);
  border-radius: 0.5rem;
  z-index: 10;
}
.menu ul { list-style: none; margin: 0; padding: 0.35rem; }
.menu li a {
  display: block;
  padding: 0.6rem 0.9rem;
  border-radius: 0.3rem;
  text-decoration: none;
  font-weight: 600;
}
.menu li a:hover { background: var(--sky); }
.menu li a[aria-current="page"] { background: var(--navy); color: var(--white); }

/* Page content */
main {
  max-width: var(--max);
  margin: 0 auto;
  padding: 2rem 1.25rem 3rem;
}

h1, h2, h3 { color: var(--navy); line-height: 1.25; }
h1 { font-size: 2rem; margin: 0 0 1rem; }
h2 { font-size: 1.5rem; margin: 2.5rem 0 0.75rem; }
h3 { font-size: 1.15rem; margin: 0 0 0.5rem; }

/* Home */
.hero { text-align: center; }
.hero .logo { width: min(22rem, 85%); margin: 0 auto 1.5rem; display: block; }
.hero h1 { font-size: 1.9rem; }
.taglines { list-style: none; padding: 0; margin: 0 0 1.5rem; font-size: 1.15rem; }
.taglines li { margin: 0.15rem 0; }
.social { margin: 1.5rem 0 0; }

.button {
  display: inline-block;
  background: var(--navy);
  color: var(--white);
  padding: 0.75rem 1.6rem;
  border-radius: 0.4rem;
  font-weight: 700;
  text-decoration: none;
}
.button:hover { background: var(--navy-dark); color: var(--white); }
.button.secondary { background: var(--white); color: var(--navy); border: 2px solid var(--navy); }
.button.secondary:hover { background: var(--sky); color: var(--navy); }
.button-row { display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: center; }

/* Cards and tables */
.card {
  background: var(--white);
  border: 2px solid var(--navy);
  border-radius: 0.75rem;
  overflow: hidden;
  margin: 0 0 1.5rem;
}
.card > h3 {
  margin: 0;
  background: var(--navy);
  color: var(--white);
  padding: 0.75rem 1rem;
}
.card > h3 small { display: block; font-weight: 400; font-size: 0.9rem; }
.card-body { padding: 1rem; }
.card-body > :first-child { margin-top: 0; }
.card-body > :last-child { margin-bottom: 0; }

.columns { display: grid; gap: 1.5rem; }
@media (min-width: 40rem) { .columns { grid-template-columns: 1fr 1fr; } }

.price-table { width: 100%; border-collapse: collapse; }
.price-table th, .price-table td {
  text-align: left;
  padding: 0.45rem 0;
  border-bottom: 1px solid var(--sky);
}
.price-table td:last-child, .price-table th:last-child { text-align: right; white-space: nowrap; }
.price-table tr:last-child td { border-bottom: 0; }
.price-table caption { text-align: left; font-weight: 600; padding-bottom: 0.4rem; }

.matrix { width: 100%; border-collapse: collapse; background: var(--white); }
.matrix th, .matrix td { padding: 0.5rem 0.6rem; border-bottom: 1px solid var(--sky); text-align: right; }
.matrix th:first-child, .matrix td:first-child { text-align: left; }
.matrix thead th { background: var(--navy); color: var(--white); }
.matrix tbody th { font-weight: 600; }
.matrix .eg { display: block; font-weight: 400; font-size: 0.85rem; }
.table-scroll { overflow-x: auto; border: 2px solid var(--navy); border-radius: 0.75rem; margin: 0 0 1rem; }

.note {
  background: var(--sky);
  border-radius: 0.5rem;
  padding: 0.75rem 1rem;
  margin: 1rem 0;
}
.small { font-size: 0.9rem; }

.checklist { margin: 0; padding-left: 1.2rem; }
.checklist li { margin: 0.3rem 0; }

/* Footer */
.site-footer {
  background: var(--navy);
  color: var(--white);
  text-align: center;
  padding: 1.5rem 1.25rem;
}
.site-footer p { margin: 0.25rem 0; }
.site-footer a { color: var(--white); }
.site-footer a:hover { color: var(--sky); }
