@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:wght@400;600;700&display=swap');

:root {
  --primary: #E8833A;
  --primary-light: #F5A623;
  --primary-dark: #C96A2B;
  --dark: #2D2D2D;
  --text: #4A4A4A;
  --text-light: #7A7A7A;
  --bg: #FAFAF8;
  --white: #FFFFFF;
  --border: #E8E6E1;
  --warm-bg: #FFF8F0;
  --success: #4CAF50;
  --heart: #E74C3C;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: all 0.3s ease;
}

.navbar.scrolled {
  box-shadow: 0 2px 20px rgba(0,0,0,0.06);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--dark);
  font-weight: 700;
  font-size: 1.15rem;
}

.nav-logo .logo-icon {
  font-size: 1.6rem;
}

.nav-logo span {
  font-family: 'Playfair Display', serif;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
  position: relative;
}

.nav-links a:hover {
  color: var(--primary);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.3s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-cta {
  background: var(--primary) !important;
  color: var(--white) !important;
  padding: 0.5rem 1.2rem;
  border-radius: 50px;
  font-size: 0.85rem !important;
  font-weight: 600 !important;
  transition: all 0.3s ease !important;
}

.nav-cta:hover {
  background: var(--primary-dark) !important;
  transform: translateY(-1px);
}

.nav-cta::after {
  display: none !important;
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--dark);
  transition: all 0.3s ease;
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #FFF8F0 0%, #FFE8D6 50%, #FFDCC8 100%);
  padding: 6rem 2rem 4rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(232,131,58,0.15) 0%, transparent 70%);
  border-radius: 50%;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(232,131,58,0.1) 0%, transparent 70%);
  border-radius: 50%;
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 1.5rem;
  box-shadow: 0 2px 12px rgba(232,131,58,0.15);
}

.hero-badge::before {
  content: '🐾';
}

.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.15;
  margin-bottom: 1.5rem;
}

.hero h1 .highlight {
  color: var(--primary);
  position: relative;
}

.hero p {
  font-size: 1.1rem;
  color: var(--text-light);
  margin-bottom: 2rem;
  max-width: 480px;
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-dog-card {
  width: 400px;
  height: 420px;
  background: var(--white);
  border-radius: 24px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.08);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: rotate(2deg);
  transition: transform 0.5s ease;
}

.hero-dog-card:hover {
  transform: rotate(0deg);
}

.hero-dog-img {
  height: 280px;
  background: linear-gradient(135deg, #D4A574 0%, #C4956A 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 6rem;
}

.hero-dog-info {
  padding: 1.2rem 1.5rem;
}

.hero-dog-info h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  color: var(--dark);
  margin-bottom: 0.3rem;
}

.hero-dog-info p {
  font-size: 0.85rem;
  color: var(--text-light);
  margin: 0;
}

.hero-stats {
  display: flex;
  gap: 3rem;
  margin-top: 3rem;
}

.stat-item {
  text-align: left;
}

.stat-number {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-light);
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0.85rem 1.8rem;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(232,131,58,0.35);
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(232,131,58,0.4);
}

.btn-outline {
  background: transparent;
  color: var(--dark);
  border: 2px solid var(--border);
}

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
}

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

.btn-heart:hover {
  background: #C0392B;
  transform: translateY(-2px);
}

/* ===== SECTIONS ===== */
.section {
  padding: 5rem 2rem;
}

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

.section-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 0.8rem;
}

.section-header h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 1rem;
}

.section-header p {
  color: var(--text-light);
  font-size: 1.05rem;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

/* ===== ABOUT / MISSION ===== */
.mission {
  background: var(--white);
}

.mission-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.mission-card {
  background: var(--bg);
  border-radius: 16px;
  padding: 2.5rem 2rem;
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.mission-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.06);
  border-color: var(--border);
}

.mission-icon {
  font-size: 2.5rem;
  margin-bottom: 1.2rem;
}

.mission-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  color: var(--dark);
  margin-bottom: 0.8rem;
}

.mission-card p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.7;
}

/* ===== ADOPTABLE DOGS ===== */
.dogs {
  background: var(--bg);
}

.dogs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
}

.dog-card {
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.3s ease;
  border: 1px solid var(--border);
}

.dog-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.08);
}

.dog-img {
  height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  position: relative;
}

.dog-status {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.3rem 0.8rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
}

.status-available {
  background: #E8F5E9;
  color: #2E7D32;
}

.status-adopted {
  background: #E3F2FD;
  color: #1565C0;
}

.dog-status.reserved {
  background: #FFF3E0;
  color: #E65100;
}

.dog-details {
  padding: 1.5rem;
}

.dog-details h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  color: var(--dark);
  margin-bottom: 0.5rem;
}

.dog-meta {
  display: flex;
  gap: 1rem;
  font-size: 0.82rem;
  color: var(--text-light);
  margin-bottom: 0.8rem;
}

.dog-meta span {
  display: flex;
  align-items: center;
  gap: 4px;
}

.dog-desc {
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.dog-card .btn {
  width: 100%;
  justify-content: center;
  padding: 0.7rem;
  font-size: 0.88rem;
}

/* ===== HOW TO ADOPT ===== */
.process {
  background: var(--white);
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  position: relative;
}

.process-steps::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 15%;
  right: 15%;
  height: 2px;
  background: var(--border);
  z-index: 0;
}

.step {
  text-align: center;
  position: relative;
  z-index: 1;
}

.step-number {
  width: 56px;
  height: 56px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0 auto 1.2rem;
  box-shadow: 0 4px 15px rgba(232,131,58,0.3);
}

.step h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 0.5rem;
}

.step p {
  font-size: 0.85rem;
  color: var(--text-light);
  line-height: 1.6;
}

/* ===== SUCCESS STORIES ===== */
.stories {
  background: linear-gradient(135deg, #2D2D2D 0%, #3D3D3D 100%);
  color: var(--white);
}

.stories .section-tag {
  color: var(--primary-light);
}

.stories .section-header h2 {
  color: var(--white);
}

.stories .section-header p {
  color: #AAAAAA;
}

.stories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.story-card {
  background: rgba(255,255,255,0.08);
  border-radius: 20px;
  padding: 2rem;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.1);
  transition: all 0.3s ease;
}

.story-card:hover {
  background: rgba(255,255,255,0.12);
  transform: translateY(-4px);
}

.story-card .quote {
  font-size: 0.95rem;
  color: #DDDDDD;
  line-height: 1.8;
  margin-bottom: 1.5rem;
  font-style: italic;
}

.story-card .quote::before {
  content: '"';
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  color: var(--primary);
  display: block;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.story-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.story-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.story-author-info h4 {
  font-size: 0.9rem;
  font-weight: 600;
}

.story-author-info p {
  font-size: 0.8rem;
  color: #999;
}

/* ===== DONATE / CTA ===== */
.donate {
  background: var(--warm-bg);
}

.donate-card {
  background: var(--white);
  border-radius: 24px;
  padding: 4rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  box-shadow: 0 12px 48px rgba(0,0,0,0.06);
}

.donate-info h3 {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  color: var(--dark);
  margin-bottom: 1rem;
}

.donate-info p {
  color: var(--text-light);
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.donate-amounts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
  margin-bottom: 1.5rem;
}

.amount-btn {
  padding: 1rem;
  border: 2px solid var(--border);
  border-radius: 12px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
  background: var(--white);
}

.amount-btn:hover,
.amount-btn.active {
  border-color: var(--primary);
  background: var(--warm-bg);
}

.amount-btn .value {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary);
}

.amount-btn .label {
  font-size: 0.75rem;
  color: var(--text-light);
}

.donate-perks {
  list-style: none;
  font-size: 0.9rem;
  color: var(--text-light);
}

.donate-perks li {
  padding: 0.4rem 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.donate-perks li::before {
  content: '✓';
  color: var(--success);
  font-weight: 700;
}

/* ===== CONTACT ===== */
.contact {
  background: var(--white);
}

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

.contact-info-cards {
  display: grid;
  gap: 1.2rem;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  padding: 1.5rem;
  background: var(--bg);
  border-radius: 16px;
  transition: all 0.3s ease;
}

.contact-card:hover {
  transform: translateX(4px);
}

.contact-icon {
  width: 52px;
  height: 52px;
  background: var(--warm-bg);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.contact-card h4 {
  font-size: 0.9rem;
  color: var(--dark);
  margin-bottom: 0.2rem;
}

.contact-card p {
  font-size: 0.88rem;
  color: var(--text-light);
}

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

.contact-form input,
.contact-form textarea,
.contact-form select {
  padding: 0.9rem 1.2rem;
  border: 2px solid var(--border);
  border-radius: 12px;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  transition: border-color 0.2s;
  background: var(--bg);
}

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

.contact-form textarea {
  resize: vertical;
  min-height: 120px;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--dark);
  color: #CCC;
  padding: 3rem 2rem 1.5rem;
}

.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand h3 {
  font-family: 'Playfair Display', serif;
  color: var(--white);
  font-size: 1.3rem;
  margin-bottom: 0.8rem;
}

.footer-brand p {
  font-size: 0.88rem;
  line-height: 1.7;
  color: #999;
}

.footer-col h4 {
  color: var(--white);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 0.5rem;
}

.footer-col ul li a {
  color: #999;
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.2s;
}

.footer-col ul li a:hover {
  color: var(--primary-light);
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: #777;
}

.footer-social {
  display: flex;
  gap: 1rem;
}

.footer-social a {
  color: #999;
  text-decoration: none;
  font-size: 1.2rem;
  transition: color 0.2s;
}

.footer-social a:hover {
  color: var(--primary-light);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero p { margin: 0 auto 2rem; }
  .hero-buttons { justify-content: center; }
  .hero-image { display: none; }
  .hero-stats { justify-content: center; }
  .process-steps { grid-template-columns: repeat(2, 1fr); gap: 2.5rem; }
  .process-steps::before { display: none; }
  .donate-card { grid-template-columns: 1fr; padding: 2.5rem; }
  .stories-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .hero h1 { font-size: 2.5rem; }
  .section { padding: 3.5rem 1.5rem; }
  .mission-grid { grid-template-columns: 1fr; }
  .dogs-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .donate-amounts { grid-template-columns: repeat(2, 1fr); }
  .hero-stats { flex-direction: column; gap: 1.5rem; align-items: center; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate-in {
  opacity: 0;
  animation: fadeInUp 0.6s ease forwards;
}

.animate-in:nth-child(2) { animation-delay: 0.1s; }
.animate-in:nth-child(3) { animation-delay: 0.2s; }
.animate-in:nth-child(4) { animation-delay: 0.3s; }

/* Page-specific: About */
.about-hero {
  padding-top: 10rem;
  padding-bottom: 4rem;
  background: linear-gradient(135deg, #FFF8F0 0%, #FFE8D6 100%);
  text-align: center;
}

.about-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  color: var(--dark);
  margin-bottom: 1rem;
}

.about-hero p {
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.1rem;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
  padding: 5rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.about-text h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  color: var(--dark);
  margin-bottom: 1rem;
}

.about-text p {
  color: var(--text-light);
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.about-values {
  display: grid;
  gap: 1.2rem;
}

.value-item {
  display: flex;
  gap: 1rem;
  padding: 1.2rem;
  background: var(--bg);
  border-radius: 14px;
}

.value-icon {
  font-size: 1.8rem;
  flex-shrink: 0;
}

.value-item h4 {
  color: var(--dark);
  font-size: 1rem;
  margin-bottom: 0.3rem;
}

.value-item p {
  font-size: 0.85rem;
  color: var(--text-light);
  margin: 0;
}

/* Page-specific: Contact */
.contact-hero {
  padding-top: 10rem;
  padding-bottom: 4rem;
  background: linear-gradient(135deg, #FFF8F0 0%, #FFE8D6 100%);
  text-align: center;
}

.contact-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  color: var(--dark);
  margin-bottom: 1rem;
}

.contact-hero p {
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.1rem;
}