/* =========================================================
   The Puppy Practice — shared styles
   Every page links to this one file, so changing a color or
   font here updates the whole site.
   ========================================================= */

:root {
  /* Brand colors — edit these to adjust the whole site */
  --navy: #1f2a44;
  --navy-soft: #2e3b5c;
  --gold: #c9a24a;
  --gold-light: #e6cf94;
  --cream: #faf5ea;
  --cream-dark: #f1e8d4;
  --white: #ffffff;
  --text: #2b2b2b;
  --muted: #5f6472;

  --font-heading: "Playfair Display", Georgia, serif;
  --font-body: "Nunito", "Segoe UI", Arial, sans-serif;

  --radius: 14px;
  --max-width: 1080px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--cream);
}

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

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

h1, h2, h3 {
  font-family: var(--font-heading);
  color: var(--navy);
  line-height: 1.2;
  margin: 0 0 0.5em;
}
h1 { font-size: clamp(2rem, 5vw, 3.1rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.2rem); }
h3 { font-size: 1.25rem; }

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- Header / navigation ---------- */
.site-header {
  background: var(--navy);
  position: sticky;
  top: 0;
  z-index: 10;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 80px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--cream);
  font-family: var(--font-heading);
  font-size: 1.3rem;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-size: 1.75rem; font-weight: 700; }
@media (max-width: 760px) { .brand-name { font-size: 1.35rem; } }
.tagline {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-light);
}
.motto {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 1.5rem;
  color: var(--gold);
  border-left: 3px solid var(--gold);
  padding-left: 14px;
  margin: 22px 0 10px;
}
.footer-motto {
  font-family: var(--font-heading);
  font-style: italic;
  color: var(--gold-light);
  font-size: 1rem;
  margin-bottom: 10px !important;
}
.brand img {
  height: 58px;
  width: 58px;
  border-radius: 50%;
  background: var(--cream);
  border: 2px solid var(--gold);
  padding: 2px;
}
.hero-logo {
  width: 150px;
  height: auto;
  margin: 0 auto 18px;
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--gold);
  color: var(--cream);
  border-radius: 8px;
  padding: 6px 12px;
  font-size: 1rem;
  cursor: pointer;
}
.site-nav ul {
  list-style: none;
  display: flex;
  gap: 24px;
  margin: 0;
  padding: 0;
}
.site-nav a {
  color: var(--cream);
  text-decoration: none;
  font-weight: 600;
}
.site-nav a:hover { color: var(--gold-light); }

@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .site-nav {
    display: none;
    position: absolute;
    top: 80px; left: 0; right: 0;
    background: var(--navy);
    padding: 12px 20px 20px;
  }
  .site-nav.open { display: block; }
  .site-nav ul { flex-direction: column; gap: 14px; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 12px 26px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  border: 2px solid var(--gold);
  transition: background 0.2s, color 0.2s;
}
.btn-gold { background: var(--gold); color: var(--navy); }
.btn-gold:hover { background: var(--gold-light); }
.btn-outline { background: transparent; color: var(--navy); }
.btn-outline:hover { background: var(--gold); }

/* ---------- Sections ---------- */
section { padding: 72px 0; }
.section-alt { background: var(--white); }
.section-navy { background: var(--navy); color: var(--cream); }
.section-navy h2, .section-navy h3 { color: var(--cream); }
.section-intro {
  max-width: 640px;
  margin: 0 auto 40px;
  text-align: center;
  color: var(--muted);
}
.section-navy .section-intro { color: var(--cream-dark); }
.eyebrow {
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 8px;
}
.center { text-align: center; }

/* Hero */
.hero {
  padding: 96px 0 88px;
  text-align: center;
  background:
    radial-gradient(circle at 20% 20%, var(--cream-dark), transparent 55%),
    var(--cream);
  border-bottom: 4px solid var(--gold);
}
.hero p {
  max-width: 620px;
  margin: 0 auto 30px;
  font-size: 1.15rem;
  color: var(--muted);
}
.hero .actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* Card grid — add or remove cards freely; the grid adapts */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
}
.card {
  background: var(--cream);
  border: 1px solid var(--cream-dark);
  border-top: 4px solid var(--gold);
  border-radius: var(--radius);
  padding: 28px;
}
.section-alt .card { background: var(--cream); }
.card .icon { font-size: 2rem; margin-bottom: 8px; }
.card p { color: var(--muted); margin: 0 0 12px; }
.badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--navy);
  color: var(--gold-light);
}
.badge-ready { background: var(--gold); color: var(--navy); }

/* About */
.about {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 48px;
  align-items: center;
}
.about-photo {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  background: var(--cream-dark);
  border: 3px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  overflow: hidden;
}
.about-photo img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 760px) {
  .about { grid-template-columns: 1fr; }
  .about-photo { max-width: 320px; margin: 0 auto; }
}

/* Contact */
.contact-box {
  max-width: 620px;
  margin: 0 auto;
  text-align: center;
}
.contact-box a.email {
  color: var(--gold-light);
  font-size: 1.2rem;
  font-weight: 700;
  word-break: break-all;
}

/* Footer */
.site-footer {
  background: #161e31;
  color: var(--cream-dark);
  padding: 32px 0;
  font-size: 0.9rem;
  text-align: center;
}
.site-footer a { color: var(--gold-light); }
.site-footer p { margin: 4px 0; }

/* Simple inner-page header (used by page-template.html) */
.page-hero {
  padding: 64px 0 48px;
  text-align: center;
  border-bottom: 4px solid var(--gold);
}

/* Waitlist form (MailerLite) */
.waitlist-form {
  margin: 28px auto 0;
  max-width: 480px;
  text-align: left;
}
