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

:root {
  --teal: #1a8a8a;
  --teal-dark: #0d6e6e;
  --teal-deep: #0a4f4f;
  --purple: #6B3FA0;
  --purple-light: #8B5FC0;
  --coral: #E8627C;
  --coral-soft: #f0a0b0;
  --warm-cream: #faf8f5;
  --text-dark: #1a1a2e;
  --text-mid: #444;
  --text-light: #777;
  --white: #ffffff;
  --gradient-hero: linear-gradient(135deg, #1a8a8a 0%, #4a6fa5 30%, #6B3FA0 60%, #8B5FC0 100%);
  --gradient-story: linear-gradient(135deg, #6B3FA0 0%, #1a8a8a 100%);
  --gradient-cta: linear-gradient(135deg, #E8627C 0%, #6B3FA0 100%);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', -apple-system, sans-serif; color: var(--text-dark); line-height: 1.6; background: var(--warm-cream); }

/* ===== NAV ===== */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(10, 79, 79, 0.95); backdrop-filter: blur(12px);
  padding: 0 24px; height: 64px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.nav-logo span { color: var(--white); font-family: 'Playfair Display', serif; font-size: 18px; font-weight: 700; letter-spacing: 0.5px; }
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a { color: rgba(255,255,255,0.85); text-decoration: none; font-size: 14px; font-weight: 500; transition: color 0.2s; }
.nav-links a:hover, .nav-links a.active { color: var(--white); }
.nav-donate { background: var(--coral); color: var(--white) !important; padding: 8px 20px; border-radius: 24px; font-weight: 600 !important; transition: transform 0.2s, box-shadow 0.2s; }
.nav-donate:hover { transform: translateY(-1px); box-shadow: 0 4px 16px rgba(232,98,124,0.4); }
@media (max-width: 768px) {
  .nav-links a:not(.nav-donate) { display: none; }
  nav { padding: 0 16px; }
}

/* ===== SHARED COMPONENTS ===== */
.page-hero {
  padding: 120px 24px 80px; text-align: center; position: relative; overflow: hidden;
}
.page-hero.teal { background: var(--gradient-hero); }
.page-hero.purple { background: var(--gradient-story); }
.page-hero.coral { background: var(--gradient-cta); }
.page-hero.deep { background: var(--teal-deep); }
.page-hero h1 {
  font-family: 'Playfair Display', serif; font-size: 48px; color: var(--white);
  margin-bottom: 16px; max-width: 700px; margin-left: auto; margin-right: auto;
}
.page-hero p { font-size: 18px; color: rgba(255,255,255,0.85); max-width: 600px; margin: 0 auto; line-height: 1.7; }
@media (max-width: 768px) { .page-hero h1 { font-size: 32px; } }

.section { padding: 80px 24px; }
.section.white { background: var(--white); }
.section.cream { background: var(--warm-cream); }
.section.dark { background: var(--teal-deep); color: var(--white); }
.section-inner { max-width: 900px; margin: 0 auto; }

.section-header { text-align: center; margin-bottom: 48px; }
.section-header h2 { font-family: 'Playfair Display', serif; font-size: 36px; color: var(--text-dark); margin-bottom: 12px; }
.section-header p { font-size: 16px; color: var(--text-mid); max-width: 600px; margin: 0 auto; }
.section.dark .section-header h2 { color: var(--white); }
.section.dark .section-header p { color: rgba(255,255,255,0.7); }

.btn-primary {
  display: inline-block; background: var(--coral); color: var(--white); padding: 14px 32px;
  border-radius: 28px; font-size: 16px; font-weight: 600; text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s; border: none; cursor: pointer;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 24px rgba(232,98,124,0.4); }
.btn-outline {
  display: inline-block; border: 2px solid rgba(255,255,255,0.5); color: var(--white); padding: 12px 28px;
  border-radius: 28px; font-size: 16px; font-weight: 500; text-decoration: none;
  transition: background 0.2s, border-color 0.2s;
}
.btn-outline:hover { background: rgba(255,255,255,0.1); border-color: var(--white); }
.btn-teal {
  display: inline-block; background: var(--teal); color: var(--white); padding: 12px 28px;
  border-radius: 28px; font-size: 15px; font-weight: 600; text-decoration: none;
  transition: transform 0.2s, background 0.2s;
}
.btn-teal:hover { transform: translateY(-2px); background: var(--teal-dark); }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
@media (max-width: 768px) { .two-col { grid-template-columns: 1fr; gap: 24px; } }

.card { background: var(--white); border: 1px solid #e8e4e0; border-radius: 16px; padding: 32px; }
.card h3 { font-family: 'Playfair Display', serif; font-size: 20px; color: var(--teal-dark); margin-bottom: 10px; }
.card p { font-size: 14px; color: var(--text-mid); line-height: 1.7; }

.badge {
  display: inline-block; background: linear-gradient(135deg, var(--teal), var(--purple));
  color: var(--white); padding: 6px 18px; border-radius: 20px; font-size: 12px; font-weight: 600;
  letter-spacing: 1px; text-transform: uppercase; margin-bottom: 16px;
}

/* ===== TEAM GRID ===== */
.team-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; }
.team-member { text-align: center; }
.team-member img {
  width: 120px; height: 120px; border-radius: 50%; object-fit: cover;
  border: 3px solid var(--teal); margin-bottom: 12px; box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}
.team-member .name { font-size: 14px; font-weight: 600; color: var(--text-dark); }
.team-member .role { font-size: 12px; color: var(--text-light); }
@media (max-width: 768px) {
  .team-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .team-member img { width: 100px; height: 100px; }
}

/* ===== FOOTER ===== */
footer {
  background: var(--text-dark); padding: 60px 24px 32px; color: rgba(255,255,255,0.6);
}
.footer-inner { max-width: 900px; margin: 0 auto; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand h3 { font-family: 'Playfair Display', serif; color: var(--white); font-size: 20px; margin-bottom: 12px; }
.footer-brand p { font-size: 13px; line-height: 1.7; }
.footer-links h4 { color: var(--white); font-size: 13px; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 16px; }
.footer-links a { display: block; color: rgba(255,255,255,0.6); text-decoration: none; font-size: 14px; margin-bottom: 8px; }
.footer-links a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1); padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
}
.footer-bottom p { font-size: 12px; }
.footer-social { display: flex; gap: 16px; }
.footer-social a { color: rgba(255,255,255,0.5); text-decoration: none; font-size: 14px; }
.footer-social a:hover { color: var(--white); }
@media (max-width: 768px) { .footer-grid { grid-template-columns: 1fr; gap: 24px; } }

/* ===== DONATE TIERS ===== */
.donate-tiers { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 24px; }
.donate-tier {
  background: rgba(255,255,255,0.15); border: 2px solid rgba(255,255,255,0.3);
  border-radius: 12px; padding: 16px 20px; min-width: 120px; cursor: pointer;
  transition: background 0.2s, border-color 0.2s, transform 0.2s; text-align: center;
}
.donate-tier:hover, .donate-tier.active {
  background: rgba(255,255,255,0.25); border-color: var(--white); transform: translateY(-2px);
}
.donate-tier .tier-amount { font-size: 24px; font-weight: 700; color: var(--white); }
.donate-tier .tier-desc { font-size: 11px; color: rgba(255,255,255,0.7); margin-top: 4px; }

/* ===== BLOCKQUOTE ===== */
.quote-block {
  background: var(--teal-deep); border-radius: 16px; padding: 32px; text-align: center;
  margin: 32px 0;
}
.quote-block blockquote {
  font-family: 'Playfair Display', serif; font-size: 18px; font-style: italic;
  line-height: 1.6; margin-bottom: 12px; color: rgba(255,255,255,0.9);
}
.quote-block cite { font-size: 13px; color: rgba(255,255,255,0.6); font-style: normal; }

/* ===== PHOTO GRID ===== */
.photo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.photo-grid img { width: 100%; height: 220px; object-fit: cover; border-radius: 12px; }
.photo-grid img.wide { grid-column: span 2; }
.photo-grid img.tall { grid-row: span 2; height: 452px; }
@media (max-width: 768px) {
  .photo-grid { grid-template-columns: 1fr 1fr; }
  .photo-grid img { height: 180px; }
  .photo-grid img.tall { height: 372px; }
}

/* ===== TABLE ===== */
.styled-table { width: 100%; border-collapse: collapse; margin: 16px 0; }
.styled-table th {
  text-align: left; padding: 12px 16px; background: var(--teal); color: var(--white);
  font-size: 13px; font-weight: 600;
}
.styled-table th:first-child { border-radius: 8px 0 0 0; }
.styled-table th:last-child { border-radius: 0 8px 0 0; }
.styled-table td { padding: 12px 16px; border-bottom: 1px solid #eee; font-size: 14px; color: var(--text-mid); }

/* ===== FORM ===== */
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 13px; font-weight: 600; color: var(--text-dark); margin-bottom: 6px; }
.form-group input, .form-group textarea, .form-group select {
  width: 100%; padding: 12px 16px; border: 1px solid #ddd; border-radius: 8px;
  font-family: 'Inter', sans-serif; font-size: 14px; background: var(--white);
  transition: border-color 0.2s;
}
.form-group input:focus, .form-group textarea:focus { border-color: var(--teal); outline: none; }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 768px) { .form-row { grid-template-columns: 1fr; } }

/* ===== MEDIA VIDEO ===== */
.video-embed {
  position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden;
  border-radius: 16px; box-shadow: 0 8px 32px rgba(0,0,0,0.1);
}
.video-embed iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0; }
