/* Take a Wish Foundation - "Making Dying Fun Again" */

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

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

:root {
  /* Warm, "caring" charity palette with sinister undertones */
  --primary: #1a1a2e;
  --primary-light: #2d2d44;
  --secondary: #16213e;
  --accent: #e94560;
  --accent-light: #ff6b6b;
  --accent-dark: #c73e54;
  --gold: #f4c430;
  --gold-light: #ffd54f;
  --success: #22c55e;
  --text-light: #ffffff;
  --text-muted: #a0a0a0;
  --text-dark: #1f2937;
  --card-bg: rgba(255, 255, 255, 0.05);
  --card-border: rgba(255, 255, 255, 0.1);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text-light);
  background: var(--primary);
  line-height: 1.6;
  min-height: 100vh;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--accent-light);
}

/* ===== NAVIGATION ===== */
.nav {
  position: fixed;
  top: 36px;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(26, 26, 46, 0.95);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  padding: 16px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--card-border);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.nav-logo {
  height: 40px;
  width: auto;
  filter: brightness(0) invert(1);
}

.nav-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
}

.nav-title span {
  color: var(--accent);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
}

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

.nav-cta {
  background: var(--accent) !important;
  color: white !important;
  padding: 10px 24px !important;
  border-radius: 50px;
  font-weight: 600 !important;
}

.nav-cta:hover {
  background: var(--accent-light) !important;
}

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

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

.btn-primary:hover {
  background: var(--accent-light);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(233, 69, 96, 0.3);
}

.btn-secondary {
  background: transparent;
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: white;
  color: white;
}

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

.btn-gold:hover {
  background: var(--gold-light);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.875rem;
}

.btn-lg {
  padding: 18px 36px;
  font-size: 1.125rem;
}

/* ===== HERO SECTION ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding: 140px 24px 80px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(ellipse at 20% 30%, rgba(233, 69, 96, 0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 70%, rgba(244, 196, 48, 0.1) 0%, transparent 40%);
  pointer-events: none;
}

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

.hero-content {
  max-width: 600px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(233, 69, 96, 0.15);
  color: var(--accent);
  font-size: 0.875rem;
  font-weight: 600;
  padding: 8px 20px;
  border-radius: 50px;
  margin-bottom: 24px;
  border: 1px solid rgba(233, 69, 96, 0.3);
}

.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  color: white;
  margin-bottom: 24px;
  line-height: 1.1;
}

.hero h1 span {
  color: var(--accent);
}

.hero p {
  font-size: 1.25rem;
  color: var(--text-muted);
  margin-bottom: 32px;
  line-height: 1.7;
}

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

.hero-image {
  position: relative;
}

.hero-carousel {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
  aspect-ratio: 4/3;
}

.hero-carousel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ===== STATS BAR ===== */
.stats-bar {
  background: var(--secondary);
  padding: 48px 24px;
  border-top: 1px solid var(--card-border);
  border-bottom: 1px solid var(--card-border);
}

.stats-grid {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}

.stat-item {
  padding: 16px;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 4px;
}

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

/* ===== SECTION UTILITIES ===== */
.section {
  padding: 80px 24px;
}

.section-dark {
  background: var(--primary);
}

.section-darker {
  background: var(--secondary);
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 48px;
}

.section-header h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: white;
  margin-bottom: 16px;
}

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

/* ===== WISH CARDS ===== */
.wishes-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.wish-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.wish-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.wish-card-image {
  position: relative;
  height: 200px;
  overflow: hidden;
  background: var(--secondary);
}

.wish-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.wish-card:hover .wish-card-image img {
  transform: scale(1.05);
}

.wish-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.wish-badge.active {
  background: var(--accent);
  color: white;
}

.wish-badge.fulfilled {
  background: var(--success);
  color: white;
}

.wish-badge.urgent {
  background: var(--gold);
  color: var(--primary);
}

.wish-card-content {
  padding: 20px;
}

.wish-child {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.wish-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  overflow: hidden;
}

.wish-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.wish-child-info h4 {
  font-size: 0.9rem;
  font-weight: 600;
  color: white;
  margin-bottom: 2px;
}

.wish-child-info span {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.wish-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: white;
  margin-bottom: 12px;
  line-height: 1.3;
}

.wish-excerpt {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Progress Bar */
.progress-container {
  margin-bottom: 16px;
}

.progress-bar {
  height: 8px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 8px;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent-light) 100%);
  border-radius: 4px;
  transition: width 0.5s ease;
}

.progress-fill.funded {
  background: linear-gradient(90deg, var(--success) 0%, #4ade80 100%);
}

.progress-stats {
  display: flex;
  justify-content: space-between;
  font-size: 0.875rem;
}

.progress-raised {
  color: var(--accent);
  font-weight: 700;
}

.progress-goal {
  color: var(--text-muted);
}

/* Wish Meta */
.wish-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 16px;
  border-top: 1px solid var(--card-border);
}

.wish-donors {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.wish-donors strong {
  color: white;
}

.wish-time {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.wish-time.urgent {
  color: var(--gold);
  font-weight: 600;
}

.wish-actions {
  display: flex;
  gap: 8px;
  margin-top: 16px;
}

.wish-actions .btn {
  flex: 1;
  padding: 10px 16px;
  font-size: 0.875rem;
}

/* ===== TEAM SECTION ===== */
.team-grid {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.team-card {
  text-align: center;
}

.team-photo {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 20px;
  border: 4px solid var(--card-border);
  transition: border-color 0.3s ease;
}

.team-card:hover .team-photo {
  border-color: var(--accent);
}

.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-card h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: white;
  margin-bottom: 4px;
}

.team-card .role {
  font-size: 0.875rem;
  color: var(--accent);
  margin-bottom: 12px;
}

.team-card .contact {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.team-card .contact a {
  color: var(--text-muted);
}

.team-card .contact a:hover {
  color: var(--accent);
}

/* ===== GALLERY ===== */
.gallery-grid {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
}

.gallery-item {
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.gallery-item:hover {
  transform: scale(1.05);
  z-index: 1;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ===== ABOUT SECTION ===== */
.about-content {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-text h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 700;
  color: white;
  margin-bottom: 20px;
}

.about-text p {
  color: var(--text-muted);
  margin-bottom: 16px;
  line-height: 1.8;
}

.about-image {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.about-image img {
  width: 100%;
  height: auto;
}

/* ===== CTA SECTION ===== */
.cta-section {
  padding: 100px 24px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
  text-align: center;
}

.cta-section h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: white;
  margin-bottom: 16px;
}

.cta-section p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.25rem;
  max-width: 600px;
  margin: 0 auto 32px;
}

.cta-section .btn {
  background: white;
  color: var(--accent);
}

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

/* ===== FOOTER ===== */
footer {
  background: #0f0f1a;
  color: white;
  padding: 60px 24px 24px;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 40px;
}


  .nonprofit-footer-badge {
    display: inline-block;
    background: var(--secondary);
    color: white);
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 12px;
    margin-top: 12px;
  }

.footer-brand h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.footer-brand h3 span {
  color: var(--accent);
}

.footer-brand p {
  color: var(--text-muted);
  line-height: 1.7;
  font-size: 0.9rem;
}

.footer-disclaimer {
  font-size: 0.75rem;
  color: var(--text-muted);
  opacity: 0.6;
  margin-top: 16px;
  font-style: italic;
}

.footer-links h4 {
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
  color: var(--accent);
}

.footer-links a {
  display: block;
  color: var(--text-muted);
  margin-bottom: 12px;
  font-size: 0.9rem;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: white;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.875rem;
}

/* ===== PARTNER BADGE ===== */
.partner-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(233, 69, 96, 0.15);
  color: var(--accent);
  font-size: 0.7rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 4px;
  margin-left: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-image {
    max-width: 500px;
    margin: 0 auto;
  }

  .wishes-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .footer-content {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }

  .about-content {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav {
    padding: 12px 20px;
  }

  .nav-links {
    display: none;
  }

  .hero {
    padding: 120px 20px 60px;
    min-height: auto;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .stat-number {
    font-size: 1.75rem;
  }

  .wishes-grid {
    grid-template-columns: 1fr;
  }

  .team-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }

  .team-photo {
    width: 120px;
    height: 120px;
  }

  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .section-header h2 {
    font-size: 1.75rem;
  }
}
