
/* kindnessforafghans.org — minimal responsive CSS */
:root {
  --bg: #ffffff;
  --text: #333333;
  --primary: #0077cc; /* Updated brand color */
  --accent: #00aa88;
  --light-gray: #f4f4f4;
  --border: #dddddd;
}
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  color: var(--text);
  margin: 0;
  padding: 0;
  background: var(--bg);
}
.container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}
/* Header */
.header {
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
  margin-bottom: 40px;
}
.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 15px;
  text-decoration: none;
  color: var(--text);
}
.brand img {
  height: 50px;
  width: auto;
}
.brand h1 {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 700;
}
.nav {
  display: flex;
  gap: 20px;
}
.nav a {
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
}
.nav a:hover, .nav a.active {
  color: var(--primary);
}
.btn {
  display: inline-block;
  background: var(--primary);
  color: white;
  padding: 10px 20px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.2s;
}
.btn:hover {
  background: #005fa3;
}
/* Sections */
.hero {
  text-align: center;
  padding: 60px 20px;
  background: var(--light-gray);
  border-radius: 12px;
  margin-bottom: 40px;
  position: relative; /* For slideshow overlap if needed */
  overflow: hidden;
}
.hero h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  line-height: 1.2;
}
.content {
  margin-bottom: 60px;
}
.section-title {
  border-bottom: 2px solid var(--primary);
  display: inline-block;
  margin-bottom: 20px;
  padding-bottom: 5px;
}

/* Slideshow */
.slideshow-container {
  width: 100%;
  max-width: 800px;
  height: 300px; /* Reduced from 400px */
  margin: 0 auto 40px auto;
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  background: #eee;
}
@media (max-width: 600px) {
  .slideshow-container { height: 180px; } /* Smaller on mobile */
}
.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}
.slide.active {
  opacity: 1;
}
.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Donation Methods */
.donation-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 30px;
}
.method-card {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 25px;
  background: white;
}
.method-card h3 {
  margin-top: 0;
  color: var(--primary);
  border-bottom: 1px solid var(--light-gray);
  padding-bottom: 10px;
}
.detail-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  border-bottom: 1px dashed #eee;
  padding-bottom: 5px;
}
.detail-label {
  font-weight: 600;
  color: #666;
}
.detail-value {
  text-align: right;
  font-family: monospace;
  font-size: 1.1em;
}
/* News */
.news-list { display: flex; flex-direction: column; gap: 40px; }
.news-item { padding-bottom: 40px; border-bottom: 1px solid var(--border); }
.news-item:last-child { border-bottom: none; }
.news-meta { color: #666; font-size: 0.9rem; display: block; margin-bottom: 5px; }
.news-title { margin: 0 0 15px 0; color: var(--text); font-size: 1.5rem; }
.news-content { line-height: 1.8; }
.news-empty { text-align: center; color: #888; font-style: italic; padding: 40px; }
/* Footer */
.footer {
  margin-top: 60px;
  border-top: 1px solid var(--border);
  padding: 40px 0;
  text-align: center;
  color: #666;
  font-size: 0.9rem;
}
@media (max-width: 600px) {
  .header .container { flex-direction: column; text-align: center; }
  .nav { margin-top: 10px; }
  .detail-row { flex-direction: column; text-align: left; }
  .detail-value { text-align: left; margin-top: 2px; }
  .slideshow-container { height: 250px; }
}
