/* Kawa Farms K9 Training — site styles */

:root {
  --green-dark: #1e3d2f;
  --green: #2d6a4f;
  --green-light: #52b788;
  --gold: #d4a54a;
  --cream: #faf7f0;
  --text: #29302c;
  --muted: #6b7268;
  --white: #ffffff;
  --radius: 10px;
  --shadow: 0 8px 24px rgba(20, 40, 30, 0.12);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--cream);
  line-height: 1.6;
}

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

a { color: var(--green); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 {
  font-family: Georgia, "Times New Roman", serif;
  color: var(--green-dark);
  margin: 0 0 .5em;
  line-height: 1.2;
}

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Header / Nav ---------- */
.site-header {
  background: var(--green-dark);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0,0,0,.15);
}

.nav-wrap {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  font-family: Georgia, serif;
  font-size: 1.3rem;
  font-weight: bold;
}
.brand img { height: 44px; width: 44px; border-radius: 50%; }
.brand span small { display: block; font-family: "Segoe UI", sans-serif; font-size: .6rem; font-weight: normal; letter-spacing: .12em; color: var(--green-light); text-transform: uppercase; }

nav.main-nav ul {
  list-style: none;
  display: flex;
  gap: 4px;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}
nav.main-nav a {
  color: var(--white);
  text-decoration: none;
  padding: 10px 14px;
  border-radius: 6px;
  font-size: .92rem;
  letter-spacing: .02em;
  white-space: nowrap;
}
nav.main-nav a:hover, nav.main-nav a.active { background: var(--green); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.6rem;
  cursor: pointer;
}

@media (max-width: 880px) {
  .nav-toggle { display: block; }
  nav.main-nav {
    display: none;
    width: 100%;
    order: 3;
  }
  nav.main-nav.open { display: block; }
  nav.main-nav ul { flex-direction: column; padding: 10px 0 18px; }
  .nav-wrap { flex-wrap: wrap; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background-size: cover;
  background-position: center;
  color: var(--white);
  display: flex;
  align-items: center;
  min-height: 62vh;
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(15,30,22,.55) 0%, rgba(15,30,22,.75) 100%);
}
.hero-content { position: relative; z-index: 2; max-width: 720px; padding: 40px 24px; margin: 0 auto; text-align: center; }
.hero h1 { color: var(--white); font-size: 2.6rem; margin-bottom: .3em; }
.hero p { font-size: 1.15rem; color: #eef5ef; }

.hero.small { min-height: 34vh; }
.hero.small h1 { font-size: 2.1rem; }

.btn {
  display: inline-block;
  background: var(--gold);
  color: var(--green-dark);
  padding: 13px 28px;
  border-radius: 999px;
  font-weight: bold;
  margin-top: 18px;
  letter-spacing: .02em;
  box-shadow: var(--shadow);
}
.btn:hover { background: #e3b968; text-decoration: none; }
.btn.outline { background: transparent; border: 2px solid var(--white); color: var(--white); }
.btn.outline:hover { background: rgba(255,255,255,.15); }

/* ---------- Sections ---------- */
section { padding: 64px 0; }
section.alt { background: var(--white); }
.section-title { text-align: center; max-width: 680px; margin: 0 auto 42px; }
.section-title h2 { font-size: 2rem; }
.section-title p { color: var(--muted); }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
@media (max-width: 800px) {
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
}

.card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 30px 26px;
}
.card h3 { font-size: 1.25rem; }
.card ul { padding-left: 1.1em; color: var(--text); }

.split-image {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.callout {
  background: var(--green-dark);
  color: var(--white);
  border-radius: var(--radius);
  padding: 44px;
  text-align: center;
}
.callout h2 { color: var(--white); }
.callout a.btn { margin-top: 10px; }

.testimonial {
  background: var(--white);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius);
  padding: 24px 26px;
  box-shadow: var(--shadow);
}
.testimonial p.quote { font-style: italic; margin-bottom: 10px; }
.testimonial p.who { color: var(--muted); font-size: .9rem; margin: 0; }

.stats-bar {
  background: var(--green);
  color: var(--white);
  padding: 28px 0;
}
.stats-bar .grid-3 { text-align: center; }
.stats-bar strong { display: block; font-size: 1.8rem; font-family: Georgia, serif; }
.stats-bar span { font-size: .85rem; letter-spacing: .05em; text-transform: uppercase; opacity: .85; }

table.rates { width: 100%; border-collapse: collapse; background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
table.rates th, table.rates td { text-align: left; padding: 14px 18px; border-bottom: 1px solid #eee; }
table.rates th { background: var(--green-dark); color: var(--white); }

/* ---------- Footer ---------- */
footer.site-footer {
  background: var(--green-dark);
  color: #cfe3d6;
  padding: 48px 0 24px;
  margin-top: 40px;
}
footer.site-footer .grid-3 { gap: 32px; }
footer.site-footer h4 { color: var(--white); font-size: 1rem; text-transform: uppercase; letter-spacing: .05em; }
footer.site-footer a { color: #cfe3d6; }
footer.site-footer a:hover { color: var(--white); }
footer.site-footer ul { list-style: none; padding: 0; margin: 0; }
footer.site-footer li { margin-bottom: 8px; }
.social-row { display: flex; gap: 12px; margin-top: 10px; }
.social-row a {
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,.1);
  display: flex; align-items: center; justify-content: center;
  font-size: .85rem;
}
.social-row a:hover { background: var(--green); text-decoration: none; }
.footer-bottom {
  text-align: center;
  margin-top: 34px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.12);
  font-size: .85rem;
  color: #9fb8a8;
}
.footer-bottom a { color: #9fb8a8; }

/* ---------- Contact page ---------- */
.contact-block { display: flex; align-items: flex-start; gap: 18px; margin-bottom: 24px; }
.contact-block .icon {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--green-light); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; font-size: 1.1rem;
}

.form-row { margin-bottom: 16px; }
.form-row label { display: block; font-weight: bold; margin-bottom: 6px; font-size: .9rem; }
.form-row input, .form-row textarea {
  width: 100%; padding: 12px 14px; border-radius: 6px; border: 1px solid #ccd6cf; font-size: 1rem; font-family: inherit;
}

.badge-strip { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 20px; }
.badge-strip span {
  background: rgba(255,255,255,.15); color: var(--white);
  padding: 6px 14px; border-radius: 999px; font-size: .8rem;
}

/* ---------- Blog ---------- */
.blog-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
@media (max-width: 800px) { .blog-grid { grid-template-columns: 1fr; } }

.blog-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.blog-card img { width: 100%; height: 220px; object-fit: cover; }
.blog-card .blog-card-body { padding: 22px 24px 26px; }
.blog-card h3 { font-size: 1.2rem; margin-bottom: 6px; }
.blog-card h3 a { color: var(--green-dark); }
.blog-card h3 a:hover { color: var(--green); text-decoration: none; }
.blog-meta { color: var(--muted); font-size: .85rem; margin-bottom: 10px; }
.blog-card p.excerpt { color: var(--text); margin: 0; }

.blog-post-header { max-width: 760px; margin: 0 auto 30px; text-align: center; }
.blog-post-header h1 { font-size: 2.1rem; }
.blog-post-hero { max-width: 900px; margin: 0 auto 36px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.blog-post-hero img { width: 100%; height: auto; }

article.blog-body { max-width: 760px; margin: 0 auto; }
article.blog-body h2 { font-size: 1.4rem; margin-top: 1.6em; }
article.blog-body h3 { font-size: 1.15rem; margin-top: 1.4em; }
article.blog-body p { margin: 0 0 1.2em; }
article.blog-body ul, article.blog-body ol { padding-left: 1.3em; margin: 0 0 1.2em; }
article.blog-body li { margin-bottom: .5em; }
article.blog-body em { color: var(--muted); }
article.blog-body .lead { font-size: 1.15rem; color: var(--green-dark); font-style: italic; }

.blog-back { max-width: 760px; margin: 40px auto 0; }
.blog-nav-links { max-width: 760px; margin: 50px auto 0; padding-top: 24px; border-top: 1px solid #e4ddd0; text-align: center; }
