/* CSS Variables & Theme Setup */
:root {
  --primary-color: #7c3aed;
  --primary-hover: #6d28d9;
  --secondary-color: #06b6d4;
  --urgent-color: #e11d48;
  --urgent-hover: #be123c;
  --bg-light: #f8fafc;
  --text-dark: #0f172a;
  --text-muted: #64748b;
  --white: #ffffff;
  --border-color: #e2e8f0;
  --font-family: 'Inter', sans-serif;
  --radius: 12px;
}

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

body {
  font-family: var(--font-family);
  color: var(--text-dark);
  background-color: var(--bg-light);
  line-height: 1.6;
}

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

/* Crisis Banner */
.crisis-banner {
  background-color: #ffe4e6;
  border-bottom: 1px solid #fecdd3;
  padding: 10px 0;
  color: #9f1239;
  font-size: 0.95rem;
}

.crisis-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 10px 20px;
  border-radius: var(--radius);
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  transition: background-color 0.2s ease;
  border: none;
  cursor: pointer;
}

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

.btn-secondary { background: var(--white); color: var(--text-dark); }
.btn-secondary:hover { background: var(--border-color); }

.btn-urgent { background: var(--urgent-color); color: var(--white); padding: 6px 14px; font-size: 0.85rem; }
.btn-urgent:hover { background: var(--urgent-hover); }

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

.full-width { width: 100%; }

/* Navigation */
.navbar {
  background: var(--white);
  border-bottom: 1px solid var(--border-color);
  padding: 15px 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary-color);
  text-decoration: none;
}

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

.nav-links a {
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 500;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, #7c3aed 0%, #4c1d95 100%);
  color: var(--white);
  padding: 80px 0;
  text-align: center;
}

.hero h1 {
  font-size: 2.8rem;
  margin-bottom: 16px;
}

.hero p {
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto 30px auto;
  opacity: 0.9;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 15px;
}

/* Grids */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 40px;
  align-items: center;
}

/* Impact Cards */
.impact-cards {
  margin-top: -40px;
  margin-bottom: 60px;
}

.card {
  background: var(--white);
  padding: 30px;
  border-radius: var(--radius);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.action-card .icon { font-size: 2rem; margin-bottom: 12px; }
.action-card h3 { margin-bottom: 8px; }
.action-card p { color: var(--text-muted); margin-bottom: 16px; }
.card-link { color: var(--primary-color); font-weight: 600; text-decoration: none; }

/* Cats Section */
.cats-section { padding: 40px 0; }
.section-header { text-align: center; margin-bottom: 40px; }
.section-header h2 { font-size: 2rem; }
.section-header p { color: var(--text-muted); }

.cat-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  border: 1px solid var(--border-color);
}

.cat-image-wrapper {
  position: relative;
  height: 220px;
}

.cat-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.badge {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}

.badge-urgent { background: var(--urgent-color); color: white; }
.badge-available { background: #10b981; color: white; }
.badge-reserved { background: #64748b; color: white; }

.cat-details { padding: 20px; }
.cat-details h3 { margin-bottom: 4px; }
.cat-meta { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 10px; }
.cat-desc { margin-bottom: 20px; font-size: 0.95rem; }

/* About Section */
.about-section { padding: 60px 0; background: var(--white); margin-top: 40px; }
.about-image img { width: 100%; border-radius: var(--radius); }

/* Footer */
.footer { background: var(--text-dark); color: var(--white); padding-top: 50px; }
.footer-content { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 30px; padding-bottom: 40px; }
.footer-links ul { list-style: none; }
.footer-links a, .footer-info a { color: #94a3b8; text-decoration: none; }
.footer-bottom { background: #020617; padding: 20px 0; text-align: center; font-size: 0.85rem; color: #64748b; }

/* Responsive adjustments */
@media (max-width: 768px) {
  .hero h1 { font-size: 2rem; }
  .nav-links { display: none; } /* Add a mobile hamburger menu JS script if expanding */
}
