/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --green:       #1B5E3B;
  --green-light: #E8F5E9;
  --amber:       #FF8F00;
  --amber-light: #FFF8E1;
  --cream:       #FFF8F0;
  --charcoal:    #2D2D2D;
  --gray:        #6B7280;
  --white:       #FFFFFF;
  --nav-h:       72px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--charcoal);
  background: var(--white);
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

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

/* ── Buttons ── */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 6px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: transform 0.18s, box-shadow 0.18s, opacity 0.18s;
  border: none;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,0.15); }

.btn-white  { background: #fff; color: var(--green); }
.btn-amber  { background: var(--amber); color: #fff; }
.btn-green  { background: var(--green); color: #fff; }

.btn-text-green {
  display: inline-block;
  color: var(--green);
  font-weight: 600;
  font-size: 14px;
  transition: gap 0.15s;
}
.btn-text-green:hover { text-decoration: underline; }

.btn-text-amber {
  display: inline-block;
  color: var(--amber);
  font-weight: 600;
  font-size: 14px;
}
.btn-text-amber:hover { text-decoration: underline; }

/* ── Section labels ── */
.section-eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 10px;
}
.section-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  color: var(--green);
  line-height: 1.2;
  margin-bottom: 14px;
}
.section-sub {
  font-size: 17px;
  color: var(--gray);
  max-width: 600px;
  margin: 0 auto 40px;
  text-align: center;
}
.section-cta { text-align: center; margin-top: 48px; }

/* ── Fade-in animation ── */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ════════════════════════════════════════
   NAVIGATION
════════════════════════════════════════ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.97);
  height: var(--nav-h);
  transition: box-shadow 0.25s;
}
.nav.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.10); }

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 17px;
  color: var(--green);
  flex-shrink: 0;
}
.logo-paw { width: 36px; height: 36px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}
.nav-links a {
  display: block;
  padding: 8px 12px;
  font-size: 14px;
  font-weight: 500;
  color: var(--charcoal);
  border-radius: 6px;
  transition: color 0.15s, background 0.15s;
}
.nav-links a:hover, .nav-links a.nav-active {
  color: var(--green);
  background: var(--green-light);
}
.nav-kids {
  color: var(--amber) !important;
  font-weight: 600 !important;
}
.nav-donate {
  background: var(--amber) !important;
  color: #fff !important;
  border-radius: 6px;
  padding: 8px 18px !important;
}
.nav-donate:hover {
  background: #E65100 !important;
  color: #fff !important;
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--charcoal);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}

/* Mobile nav */
@media (max-width: 768px) {
  .nav-hamburger { display: flex; }
  .nav-links {
    position: fixed;
    top: var(--nav-h); left: 0; right: 0; bottom: 0;
    background: #fff;
    flex-direction: column;
    align-items: flex-start;
    padding: 24px;
    gap: 4px;
    transform: translateX(100%);
    transition: transform 0.3s ease;
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links a { font-size: 18px; width: 100%; padding: 14px 16px; }
  .nav-donate { text-align: center !important; }
}

/* ════════════════════════════════════════
   HERO
════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  /* ── Replace this gradient with a real full-width dog photo ──
     background-image: url('../images/hero-dog.jpg');
     background-size: cover;
     background-position: center;
  ── */
  background: linear-gradient(135deg, #0d3320 0%, #1B5E3B 40%, #2E7D52 70%, #FF8F00 100%);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0.2) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  padding-top: var(--nav-h);
  width: 100%;
}

.hero-eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 20px;
}

.hero-headline {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(42px, 7vw, 80px);
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 24px;
}

.hero-sub {
  font-size: clamp(16px, 2vw, 20px);
  color: rgba(255,255,255,0.88);
  max-width: 520px;
  margin-bottom: 40px;
  line-height: 1.6;
}
.hero-sub strong { color: #fff; }

.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-scroll {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 2;
}
.hero-scroll-text {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
}
.hero-scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.6), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.2); }
}

/* ════════════════════════════════════════
   MISSION STRIP
════════════════════════════════════════ */
.mission-strip {
  background: var(--green);
  padding: 60px 0;
  text-align: center;
}

.mission-quote {
  font-family: 'Caveat', cursive;
  font-size: clamp(20px, 3vw, 28px);
  color: rgba(255,255,255,0.9);
  max-width: 700px;
  margin: 0 auto 48px;
  line-height: 1.5;
}

.mission-counters {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}

.counter-item {
  padding: 12px 48px;
  text-align: center;
}
.counter-num {
  font-family: 'Playfair Display', serif;
  font-size: 48px;
  font-weight: 800;
  color: var(--amber);
  line-height: 1;
}
.counter-plus {
  font-size: 28px;
  font-weight: 700;
  color: var(--amber);
  vertical-align: top;
  margin-top: 6px;
  display: inline-block;
}
.counter-label {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.7);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 6px;
}
.counter-divider {
  width: 1px;
  height: 60px;
  background: rgba(255,255,255,0.2);
}
@media (max-width: 600px) {
  .counter-divider { display: none; }
  .counter-item { padding: 16px 24px; }
}

/* ════════════════════════════════════════
   THE 3 R's
════════════════════════════════════════ */
.three-r {
  padding: 100px 0;
  background: var(--cream);
  text-align: center;
}

.three-r-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 48px;
}

.r-card {
  background: #fff;
  border-radius: 16px;
  padding: 36px 28px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  transition: transform 0.25s, box-shadow 0.25s;
}
.r-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 36px rgba(0,0,0,0.10);
}
.r-card-featured {
  border: 2px solid var(--amber);
}

.r-photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.r-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}
.r-initial {
  font-family: 'Playfair Display', serif;
  font-size: 48px;
  font-weight: 800;
  color: var(--green);
}
.r-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--green);
  margin-bottom: 10px;
}
.r-card p {
  font-size: 15px;
  color: var(--gray);
  line-height: 1.6;
  margin-bottom: 16px;
}

@media (max-width: 768px) {
  .three-r-grid { grid-template-columns: 1fr; max-width: 380px; margin: 48px auto 0; }
}

/* ════════════════════════════════════════
   IMPACT SNAPSHOT
════════════════════════════════════════ */
.impact {
  padding: 100px 0;
  text-align: center;
}

.impact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 48px;
}

.impact-card {
  background: var(--green-light);
  border-radius: 16px;
  padding: 40px 28px;
  text-align: left;
  transition: transform 0.25s;
}
.impact-card:hover { transform: translateY(-4px); }

.impact-icon {
  font-size: 36px;
  margin-bottom: 16px;
}
.impact-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--green);
  margin-bottom: 10px;
}
.impact-card p {
  font-size: 15px;
  color: var(--gray);
  margin-bottom: 20px;
  line-height: 1.6;
}

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

/* ════════════════════════════════════════
   FEATURED STORY
════════════════════════════════════════ */
.featured-story {
  padding: 100px 0;
  background: var(--cream);
}
.story-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.story-image-placeholder {
  background: var(--green-light);
  border-radius: 16px;
  height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 80px;
  /* Replace placeholder with: <img src="images/rescue-story.jpg" alt="Rescue dog"> */
}
.story-content .section-eyebrow { text-align: left; }
.story-content h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 800;
  color: var(--green);
  margin-bottom: 20px;
}
.story-content blockquote {
  font-family: 'Caveat', cursive;
  font-size: 22px;
  color: var(--green);
  border-left: 4px solid var(--amber);
  padding-left: 20px;
  margin: 20px 0;
  line-height: 1.5;
}
.story-content p {
  font-size: 16px;
  color: var(--gray);
  margin-bottom: 28px;
  line-height: 1.7;
}

@media (max-width: 768px) {
  .story-inner { grid-template-columns: 1fr; gap: 32px; }
  .story-image-placeholder { height: 240px; }
}

/* ════════════════════════════════════════
   KIDS' CORNER TEASER
════════════════════════════════════════ */
.kids-teaser {
  padding: 80px 0;
  background: linear-gradient(135deg, #FF8F00 0%, #F57C00 100%);
}
.kids-teaser-inner {
  display: flex;
  align-items: center;
  gap: 40px;
  max-width: 800px;
  margin: 0 auto;
  text-align: left;
}
.kids-teaser-icon {
  font-size: 80px;
  flex-shrink: 0;
  animation: wiggle 2s ease-in-out infinite;
}
@keyframes wiggle {
  0%, 100% { transform: rotate(-5deg); }
  50% { transform: rotate(5deg); }
}
.kids-teaser-content h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 800;
  color: #fff;
  margin-bottom: 12px;
}
.kids-teaser-content p {
  font-size: 16px;
  color: rgba(255,255,255,0.9);
  margin-bottom: 24px;
  line-height: 1.6;
}
.kids-teaser .btn-amber {
  background: #fff;
  color: var(--amber);
  font-size: 16px;
}
.kids-teaser .btn-amber:hover {
  background: #fff;
  box-shadow: 0 6px 24px rgba(0,0,0,0.2);
}

@media (max-width: 600px) {
  .kids-teaser-inner { flex-direction: column; text-align: center; }
}

/* ════════════════════════════════════════
   NEWSLETTER
════════════════════════════════════════ */
.newsletter {
  padding: 100px 0;
  text-align: center;
}
.newsletter h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  color: var(--green);
  margin-bottom: 12px;
}
.newsletter > .container > p {
  font-size: 17px;
  color: var(--gray);
  margin-bottom: 36px;
}
.newsletter-form { max-width: 560px; margin: 0 auto; }
.form-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.form-row input {
  flex: 1;
  min-width: 160px;
  padding: 14px 18px;
  border: 2px solid #e0e0e0;
  border-radius: 6px;
  font-size: 15px;
  font-family: 'Inter', sans-serif;
  transition: border-color 0.2s;
  outline: none;
}
.form-row input:focus { border-color: var(--green); }
.form-row .btn { flex-shrink: 0; }

/* ════════════════════════════════════════
   PARTNERS
════════════════════════════════════════ */
.partners {
  padding: 60px 0;
  background: var(--green-light);
  overflow: hidden;
}
.partners-label {
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 32px;
}
.partners-track-wrapper {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
  mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}
.partners-track {
  display: flex;
  gap: 32px;
  animation: scrollPartners 22s linear infinite;
  width: max-content;
}
.partner-logo {
  background: #fff;
  border-radius: 10px;
  padding: 16px 28px;
  font-size: 13px;
  font-weight: 600;
  color: var(--green);
  text-align: center;
  line-height: 1.4;
  min-width: 140px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  white-space: nowrap;
}
@keyframes scrollPartners {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ════════════════════════════════════════
   FOOTER
════════════════════════════════════════ */
.footer {
  background: var(--green);
  color: rgba(255,255,255,0.85);
  padding: 72px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.15);
}

.footer-paw { width: 40px; height: 40px; margin-bottom: 12px; }
.footer-name {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 18px;
  color: #fff;
  margin-bottom: 4px;
}
.footer-tagline {
  font-family: 'Caveat', cursive;
  font-size: 18px;
  color: var(--amber);
  margin-bottom: 12px;
}
.footer-mission { font-size: 14px; line-height: 1.6; max-width: 220px; }

.footer-links h4,
.footer-contact h4,
.footer-social h4 {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 16px;
}
.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 8px; }
.footer-links a { font-size: 14px; transition: color 0.15s; }
.footer-links a:hover { color: var(--amber); }
.footer-contact p { font-size: 14px; margin-bottom: 8px; }
.footer-contact a { transition: color 0.15s; }
.footer-contact a:hover { color: var(--amber); }

.social-icons { display: flex; gap: 12px; margin-top: 4px; }
.social-icon {
  width: 38px;
  height: 38px;
  background: rgba(255,255,255,0.12);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: background 0.2s;
}
.social-icon svg { width: 18px; height: 18px; }
.social-icon:hover { background: var(--amber); }

.footer-bottom {
  padding: 24px 0;
  text-align: center;
}
.footer-bottom p { font-size: 13px; color: rgba(255,255,255,0.55); margin-bottom: 6px; }
.footer-bottom a { color: rgba(255,255,255,0.55); transition: color 0.15s; }
.footer-bottom a:hover { color: var(--amber); }
.footer-nonprofit { font-size: 12px !important; }

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
}
