:root {
  --green-dark: #0d3b2e;
  --green: #1a6b4e;
  --green-light: #2d8a6b;
  --gold: #f4b942;
  --gold-bright: #ffd166;
  --coral: #ff7b54;
  --cream: #fff8f0;
  --text: #1e1e1e;
  --text-light: #555;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Poppins', system-ui, sans-serif;
  color: var(--text);
  line-height: 1.7;
  background: #fff;
  overflow-x: hidden;
}

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

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

/* Header */
header {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  z-index: 1000;
  transition: all 0.3s ease;
  box-shadow: 0 2px 20px rgba(0,0,0,0.06);
}

header.scrolled { background: rgba(255,255,255,0.98); box-shadow: 0 4px 24px rgba(0,0,0,0.1); }

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 28px;
  max-width: 1200px;
  margin: 0 auto;
}

.logo { display: flex; align-items: center; gap: 12px; }
.logo img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }

.brand-name {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--green-dark);
  letter-spacing: -0.3px;
  background: linear-gradient(135deg, var(--green-dark), var(--green));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-links { display: flex; list-style: none; gap: 32px; align-items: center; }
.nav-links a { text-decoration: none; color: var(--green-dark); font-weight: 500; transition: color 0.2s; }
.nav-links a:hover { color: var(--gold); }

.cta-btn {
  background: var(--gold);
  color: var(--green-dark) !important;
  padding: 10px 22px;
  border-radius: 30px;
  font-weight: 600;
}
.cta-btn:hover { background: var(--gold-bright); }

.hamburger { display: none; font-size: 1.8rem; cursor: pointer; }

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  background: url('assets/dogs/happy-golden.jpg') center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(13,59,46,0.55) 0%, rgba(244,185,66,0.25) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 0 20px;
}

.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: 4.2rem;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 16px;
  text-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.hero .tagline {
  font-size: 1.35rem;
  margin-bottom: 32px;
  font-weight: 500;
  opacity: 0.95;
}

.hero-buttons { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; }

.btn {
  display: inline-block;
  padding: 16px 36px;
  border-radius: 40px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.05rem;
  transition: all 0.3s ease;
}

.btn.primary {
  background: var(--gold);
  color: var(--green-dark);
  box-shadow: 0 8px 25px rgba(244,185,66,0.4);
}
.btn.primary:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(244,185,66,0.5); }

.btn.secondary {
  background: transparent;
  color: white;
  border: 2px solid white;
}
.btn.secondary:hover { background: white; color: var(--green-dark); }

/* Sections */
.section { padding: 100px 0; }
.section.alt { background: var(--cream); }

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: 2.8rem;
  color: var(--green-dark);
  text-align: center;
  margin-bottom: 12px;
}

.section-lead {
  text-align: center;
  font-size: 1.2rem;
  color: var(--text-light);
  max-width: 680px;
  margin: 0 auto 20px;
}

.coming-soon {
  text-align: center;
  font-style: italic;
  color: var(--text-light);
  margin: 0 auto 36px;
  font-size: 1.05rem;
  max-width: 400px;
}

/* Mission */
.mission-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 50px;
  align-items: center;
}

.mission-text p { margin-bottom: 18px; font-size: 1.05rem; }
.mission-image img { border-radius: 20px; box-shadow: 0 20px 40px rgba(0,0,0,0.12); }

/* Dog Gallery */
.dog-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}

.dog-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(0,0,0,0.08);
  transition: transform 0.3s ease;
}

.dog-card:hover { transform: translateY(-8px); }

.dog-card img { height: 280px; object-fit: cover; width: 100%; }
.dog-card p { padding: 18px 20px; text-align: center; font-weight: 500; color: var(--green-dark); }

/* Features */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.feature {
  background: white;
  padding: 28px;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}

.feature h3 { color: var(--green); margin-bottom: 10px; font-size: 1.25rem; }

.sanctuary-image { text-align: center; margin-bottom: 20px; }
.sanctuary-image img { border-radius: 20px; box-shadow: 0 16px 40px rgba(0,0,0,0.12); max-height: 520px; object-fit: cover; margin: 0 auto; }
.caption { font-style: italic; color: var(--text-light); margin-top: 12px; }

/* Help */
.help-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}

.help-card {
  background: white;
  padding: 36px 28px;
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 12px 32px rgba(0,0,0,0.08);
}

.help-card.highlight {
  background: linear-gradient(135deg, var(--green-dark), var(--green));
  color: white;
}

.help-card.highlight h3,
.help-card.highlight p { color: white; }

.help-card h3 { font-size: 1.5rem; margin-bottom: 14px; color: var(--green); }

/* Timeline */
.timeline {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin: 40px 0;
}

.step {
  background: white;
  padding: 24px;
  border-radius: 16px;
  border-left: 5px solid var(--gold);
  box-shadow: 0 6px 18px rgba(0,0,0,0.05);
}

.step h4 { color: var(--green-dark); margin-bottom: 8px; }
.budget-note { text-align: center; font-style: italic; color: var(--text-light); margin-top: 20px; }

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.contact-grid img { border-radius: 16px; box-shadow: 0 10px 30px rgba(0,0,0,0.1); }

/* Footer */
footer {
  background: var(--green-dark);
  color: white;
  padding: 60px 0 30px;
  text-align: center;
}

.footer-logo { width: 64px; height: 64px; border-radius: 50%; margin: 0 auto 12px; object-fit: cover; }
.brand-name-footer {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.3rem;
  margin-bottom: 8px;
  color: var(--gold-light, #e8d5a3);
}
.map-container {
  margin: 24px auto;
  max-width: 500px;
}
.map-link {
  margin-top: 10px;
  font-size: 0.95rem;
}
.map-link a {
  color: var(--gold-light, #e8d5a3);
  text-decoration: none;
  font-weight: 500;
}
.map-link a:hover { text-decoration: underline; }

/* Animations */
.fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-up.delay-1 { transition-delay: 0.15s; }
.fade-up.delay-2 { transition-delay: 0.3s; }

/* Responsive */
@media (max-width: 768px) {
  .nav-links {
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background: white;
    flex-direction: column;
    padding: 20px;
    gap: 16px;
    display: none;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
  }
  .nav-links.active { display: flex; }
  .hamburger { display: block; }

  .hero h1 { font-size: 2.6rem; }
  .mission-grid,
  .contact-grid { grid-template-columns: 1fr; }
  .section { padding: 70px 0; }
}
