/* Cattle Dog Co. — shared styles */

:root {
  /* Blue Heeler */
  --slate: #3e5060;
  --slate-dark: #263038;
  --slate-light: #6f8496;

  /* Red Heeler */
  --rust: #b8552f;
  --rust-dark: #8f3f21;
  --rust-light: #e07a4d;

  /* Neutrals */
  --cream: #f7f1e6;
  --tan: #d9bd93;
  --ink: #2a221c;
  --white: #ffffff;

  --radius: 14px;
  --shadow: 0 6px 20px rgba(38, 48, 56, 0.12);
  --max-width: 1120px;

  --font-heading: "Baloo 2", "Trebuchet MS", sans-serif;
  --font-body: "Nunito", "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  line-height: 1.15;
  margin: 0 0 0.5em;
  color: var(--slate-dark);
}

p {
  margin: 0 0 1em;
}

a {
  color: var(--rust);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

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

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ---------- Header / Nav ---------- */

.site-header {
  background: var(--slate-dark);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow);
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 1.5rem;
  max-width: var(--max-width);
  margin: 0 auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: var(--white);
}

.brand .paw {
  font-size: 1.6rem;
}

.brand small {
  display: block;
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--tan);
  text-transform: uppercase;
}

.nav-toggle {
  display: none;
  background: none;
  border: 2px solid var(--tan);
  border-radius: 8px;
  color: var(--white);
  font-size: 1.3rem;
  padding: 0.3rem 0.6rem;
  cursor: pointer;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.6rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: var(--white);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--rust-light);
  text-decoration: none;
}

@media (max-width: 780px) {
  .nav-toggle {
    display: inline-block;
  }
  .nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    gap: 0.9rem;
    padding-top: 1rem;
  }
  .nav-links.open {
    display: flex;
  }
  .nav-bar {
    flex-wrap: wrap;
  }
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  padding: 0.75rem 1.6rem;
  border-radius: 999px;
  font-weight: 800;
  font-family: var(--font-heading);
  letter-spacing: 0.02em;
  border: 2px solid transparent;
  cursor: pointer;
}

.btn-primary {
  background: var(--rust);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--rust-dark);
  text-decoration: none;
}

.btn-outline {
  background: transparent;
  border-color: var(--white);
  color: var(--white);
}

.btn-outline:hover {
  background: var(--white);
  color: var(--slate-dark);
  text-decoration: none;
}

/* ---------- Hero ---------- */

.hero {
  background: linear-gradient(135deg, var(--slate) 0%, var(--slate-dark) 100%);
  color: var(--white);
  padding: 4.5rem 0;
  text-align: center;
}

.hero h1 {
  color: var(--white);
  font-size: clamp(2.2rem, 5vw, 3.4rem);
}

.hero p.lead {
  font-size: 1.2rem;
  max-width: 640px;
  margin: 0 auto 1.8rem;
  color: var(--cream);
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.page-hero {
  background: linear-gradient(135deg, var(--rust) 0%, var(--rust-dark) 100%);
  color: var(--white);
  padding: 3rem 0;
  text-align: center;
}

.page-hero h1 {
  color: var(--white);
}

.page-hero p {
  color: var(--cream);
  max-width: 600px;
  margin: 0 auto;
}

/* ---------- Sections ---------- */

section {
  padding: 3.5rem 0;
}

.section-alt {
  background: var(--white);
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 2.5rem;
}

.eyebrow {
  display: inline-block;
  color: var(--rust);
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.8rem;
  margin-bottom: 0.5rem;
}

/* ---------- Cards / Grid ---------- */

.grid {
  display: grid;
  gap: 1.8rem;
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.8rem;
  border-top: 5px solid var(--slate);
}

.card.rust-top {
  border-top-color: var(--rust);
}

.card .icon {
  font-size: 2rem;
  margin-bottom: 0.6rem;
}

.card h3 {
  margin-bottom: 0.4rem;
}

.card .price-tag {
  display: inline-block;
  margin-top: 0.8rem;
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--rust);
}

/* placeholder image blocks */
.placeholder-img {
  background: repeating-linear-gradient(
    45deg,
    var(--tan),
    var(--tan) 12px,
    var(--cream) 12px,
    var(--cream) 24px
  );
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--slate-dark);
  font-weight: 700;
  font-family: var(--font-heading);
  text-align: center;
  min-height: 220px;
  box-shadow: var(--shadow);
}

/* real photos, styled to match the placeholder blocks they replace */
.feature-photo {
  width: 100%;
  min-height: 220px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: block;
}

.card-photo {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: var(--radius);
  margin-bottom: 1rem;
  box-shadow: var(--shadow);
  display: block;
}

/* ---------- Pricing table ---------- */

.pricing-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.pricing-card .pricing-head {
  background: var(--slate-dark);
  color: var(--white);
  padding: 1.4rem;
  text-align: center;
}

.pricing-card.featured .pricing-head {
  background: var(--rust);
}

.pricing-card .pricing-head .amount {
  font-family: var(--font-heading);
  font-size: 2rem;
  display: block;
}

.pricing-card ul {
  list-style: none;
  margin: 0;
  padding: 1.4rem;
  flex: 1;
}

.pricing-card li {
  padding: 0.4rem 0;
  border-bottom: 1px dashed var(--tan);
}

.pricing-card li:last-child {
  border-bottom: none;
}

.pricing-card .pricing-cta {
  padding: 0 1.4rem 1.4rem;
  text-align: center;
}

/* ---------- Alumni wall ---------- */

.alumni-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.6rem;
  text-align: center;
}

.alumni-card .avatar {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  margin: 0 auto 1rem;
  background: linear-gradient(135deg, var(--slate-light), var(--rust-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  overflow: hidden;
}

.alumni-card .avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.alumni-card .role {
  color: var(--rust);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.5rem;
}

.alumni-card .quote {
  font-style: italic;
  color: var(--slate);
}

/* ---------- Pet of the month ---------- */

.potm-feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

@media (max-width: 780px) {
  .potm-feature {
    grid-template-columns: 1fr;
  }
}

.potm-badge {
  display: inline-block;
  background: var(--rust);
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 700;
  padding: 0.35rem 1rem;
  border-radius: 999px;
  margin-bottom: 1rem;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
}

.fun-facts {
  list-style: none;
  padding: 0;
  margin: 1.2rem 0;
}

.fun-facts li {
  padding: 0.35rem 0 0.35rem 1.6rem;
  position: relative;
}

.fun-facts li::before {
  content: "🐾";
  position: absolute;
  left: 0;
}

/* ---------- Contact ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
}

@media (max-width: 780px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

form.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-form label {
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 0.3rem;
  display: block;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.7rem 0.9rem;
  border: 2px solid var(--tan);
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 1rem;
  background: var(--white);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--rust);
}

.contact-info-card {
  background: var(--slate-dark);
  color: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
}

.contact-info-card h3 {
  color: var(--white);
}

.contact-info-card .row {
  display: flex;
  gap: 0.8rem;
  margin-bottom: 1rem;
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--slate-dark);
  color: var(--cream);
  padding: 2.5rem 0 1.5rem;
  margin-top: 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 1.5rem;
}

@media (max-width: 780px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

.site-footer h4 {
  color: var(--tan);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-footer a {
  color: var(--cream);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 1.2rem;
  text-align: center;
  font-size: 0.85rem;
  color: var(--slate-light);
}
