/* ============================================
   sections.css — Page section styles
   ============================================ */

/* ── HERO ── */
.hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: calc(var(--nav-h) + 60px) 24px 80px;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset:0;
  background-size: cover;
  background-position: center;
  z-index: 0;
}
.hero-bg::after {
  content:'';
  position:absolute; inset:0;
  background: linear-gradient(
    160deg,
    rgba(0,20,70,0.92) 0%,
    rgba(0,57,130,0.87) 45%,
    rgba(0,15,50,0.94) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
}
.hero-flag {
  display: flex;
  flex-direction: column;
  width: 60px;
  border-radius: 6px;
  overflow: hidden;
  margin: 0 auto 28px;
  box-shadow: 0 6px 24px rgba(0,0,0,0.35);
  animation: fadeDown 0.8s ease both;
}
.hero-flag .stripe { height: 20px; }
.hero-flag .stripe.blue  { background: var(--blue); }
.hero-flag .stripe.yellow { background: var(--yellow); }
.hero-eyebrow {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 14px;
  animation: fadeDown 0.8s 0.1s ease both;
  opacity: 0;
  animation-fill-mode: forwards;
}
.hero h1 {
  font-size: clamp(2.2rem, 6vw, 4.2rem);
  font-weight: 900;
  color: white;
  line-height: 1.1;
  margin-bottom: 20px;
  animation: fadeDown 0.8s 0.2s ease both;
  opacity: 0;
  animation-fill-mode: forwards;
}
.hero h1 em { color: var(--yellow); font-style:normal; }
.hero-desc {
  font-size: clamp(0.9rem, 2vw, 1.08rem);
  color: rgba(255,255,255,0.78);
  line-height: 1.75;
  margin-bottom: 38px;
  animation: fadeDown 0.8s 0.3s ease both;
  opacity: 0;
  animation-fill-mode: forwards;
}
.hero-cta {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeDown 0.8s 0.4s ease both;
  opacity: 0;
  animation-fill-mode: forwards;
}
.hero-badges {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 40px;
  animation: fadeDown 0.8s 0.5s ease both;
  opacity: 0;
  animation-fill-mode: forwards;
}
.hero-wave {
  position: absolute;
  bottom: -1px; left:0; right:0;
  z-index: 1;
}

/* ── BANKSY BANNER ── */
.banksy-banner {
  background: #0a0a0a;
  padding: 56px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.banksy-banner-bg {
  position:absolute; inset:0;
  background-size:cover;
  background-position:center;
  opacity: 0.18;
  filter: grayscale(20%);
}
.banksy-banner .container { position:relative; z-index:1; max-width:840px; }
.banksy-quote-line {
  display: inline-block;
  width: 40px; height: 3px;
  background: var(--yellow);
  border-radius: 2px;
  margin-bottom: 24px;
}
.banksy-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.4rem, 3.5vw, 2.2rem);
  font-weight: 900;
  color: var(--yellow);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1.3;
  margin-bottom: 20px;
}
.banksy-text {
  color: rgba(255,255,255,0.78);
  font-size: clamp(0.88rem, 1.8vw, 1rem);
  line-height: 1.85;
  max-width: 700px;
  margin: 0 auto;
}

/* ── ABOUT ── */
#about { background: var(--white); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.about-text p {
  color: var(--text-soft);
  line-height: 1.82;
  font-size: 0.96rem;
  margin-bottom: 14px;
}
.about-card {
  background: linear-gradient(140deg, var(--blue) 0%, var(--blue-dark) 100%);
  border-radius: var(--radius-lg);
  padding: 40px;
  color: white;
  position: relative;
  overflow: hidden;
}
.about-card::before {
  content:'';
  position:absolute;
  bottom:-40px; right:-40px;
  width:220px; height:220px;
  background: rgba(255,215,0,0.1);
  border-radius: 50%;
}
.stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  position: relative; z-index:1;
  margin-bottom: 24px;
}
.stat-item {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-sm);
  padding: 18px;
  text-align: center;
}
.stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 2.1rem;
  font-weight: 900;
  color: var(--yellow);
  display: block;
  line-height: 1;
  margin-bottom: 6px;
}
.stat-label {
  font-size: 0.74rem;
  color: rgba(255,255,255,0.68);
  line-height: 1.4;
}

/* ── TIMELINE ── */
.timeline {
  position: relative;
  padding: 8px 0;
  margin-top: 48px;
}
.timeline::before {
  content:'';
  position:absolute;
  left: 17px; top:0; bottom:0;
  width: 2px;
  background: linear-gradient(180deg, var(--blue), var(--yellow));
  border-radius: 2px;
}
.tl-item {
  display: flex;
  gap: 20px;
  margin-bottom: 28px;
  position: relative;
}
.tl-dot {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--blue);
  border: 3px solid white;
  box-shadow: 0 0 0 3px var(--blue);
  flex-shrink: 0;
  display: flex; align-items:center; justify-content:center;
  font-size: 0.75rem;
  color: white;
  font-weight: 800;
  position: relative; z-index:1;
}
.tl-dot.yellow { background:var(--yellow); box-shadow:0 0 0 3px var(--yellow); color:var(--blue-dark); }
.tl-content { padding-top: 4px; }
.tl-year {
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--blue);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 3px;
}
.tl-text {
  font-size: 0.9rem;
  color: var(--text-soft);
  line-height: 1.55;
}
.tl-text strong { color: var(--text); }

/* ── GALLERY ── */
#gallery { background: var(--gray-light); }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
  position: relative;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}
.gallery-item img {
  width:100%; height:100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.gallery-item:hover img { transform:scale(1.05); }
.gallery-caption {
  position: absolute;
  bottom:0; left:0; right:0;
  padding: 14px 16px;
  background: linear-gradient(0deg, rgba(0,20,60,0.85), transparent);
  color: white;
  font-size: 0.82rem;
  font-weight: 500;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}
.gallery-item:hover .gallery-caption { transform:translateY(0); }

/* ── DONATE ── */
#donate { background: white; }
.donate-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 22px;
}
.donate-card {
  border-radius: var(--radius);
  padding: 30px;
  background: white;
  border-top: 4px solid var(--blue);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.donate-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.donate-card.accent { border-top-color: var(--yellow); }
.donate-card.green  { border-top-color: #16a34a; }
.donate-icon {
  width: 48px; height: 48px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--blue), var(--blue-mid));
  display: flex; align-items:center; justify-content:center;
  font-size: 1.4rem;
  margin-bottom: 18px;
}
.donate-icon.yellow { background:linear-gradient(135deg,#e6a800,var(--yellow)); }
.donate-icon.green  { background:linear-gradient(135deg,#15803d,#16a34a); }
.donate-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 14px;
  color: var(--text);
}
.req-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 9px 0;
  border-bottom: 1px solid var(--gray-light);
  gap: 10px;
}
.req-row:last-of-type { border-bottom:none; }
.req-key {
  font-size: 0.75rem;
  color: var(--text-soft);
  font-weight: 600;
  flex-shrink: 0;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.req-val {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text);
  text-align: right;
  word-break: break-all;
}

/* ── MEMBERS ── */
#members { background: var(--gray-light); }
.founders-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}
.founder-card {
  background: white;
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border-bottom: 4px solid transparent;
}
.founder-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-bottom-color: var(--blue);
}
.founder-avatar {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--yellow));
  display: flex; align-items:center; justify-content:center;
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  font-weight: 900;
  color: white;
  margin: 0 auto 16px;
  box-shadow: 0 4px 16px rgba(0,87,183,0.25);
}
.founder-name {
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--text);
  margin-bottom: 5px;
  line-height: 1.35;
}
.founder-role {
  font-size: 0.78rem;
  color: var(--blue);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.buildings-block {
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  border-radius: var(--radius-lg);
  padding: 36px 40px;
  color: white;
}
.buildings-block h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--yellow);
}
.building-list {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.building-tag {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50px;
  padding: 8px 20px;
  font-size: 0.88rem;
  font-weight: 700;
  color: white;
  display: flex; align-items:center; gap:7px;
}

/* ── DOCUMENTS ── */
#documents { background: white; }
.docs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 18px;
}
.doc-card {
  background: var(--gray-light);
  border-radius: var(--radius);
  padding: 24px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  transition: var(--transition);
  border: 1px solid var(--gray);
  text-decoration: none;
  color: var(--text);
}
.doc-card:hover {
  background: white;
  box-shadow: var(--shadow);
  transform: translateY(-3px);
  border-color: var(--blue);
}
.doc-icon {
  width: 46px; height: 46px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--blue), var(--blue-mid));
  display: flex; align-items:center; justify-content:center;
  font-size: 1.3rem;
  flex-shrink: 0;
}
.doc-info strong {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 3px;
  color: var(--text);
}
.doc-info span {
  font-size: 0.75rem;
  color: var(--text-soft);
}
.nonprofit-badge {
  display: flex;
  align-items: center;
  gap: 14px;
  background: linear-gradient(135deg, #f0f9f0, #e6f4ea);
  border: 1px solid #bbf7d0;
  border-radius: var(--radius);
  padding: 20px 24px;
  margin-top: 24px;
}
.nonprofit-badge .icon { font-size: 2rem; }
.nonprofit-badge strong {
  display: block;
  font-size: 0.9rem;
  color: #15803d;
  font-weight: 800;
}
.nonprofit-badge span { font-size: 0.8rem; color: #166534; }

/* ── PARTNER ── */
.partner-section {
  background: var(--blue-deep);
  padding: 48px 0;
  text-align: center;
}
.partner-section p {
  color: rgba(255,255,255,0.65);
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 20px;
}
.partner-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}
.partner-logo-item {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius-sm);
  padding: 12px 24px;
  color: white;
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  transition: var(--transition);
}
.partner-logo-item:hover { background:rgba(255,255,255,0.14); }
.partner-logo-item .sub {
  display:block;
  font-size:0.65rem;
  color:rgba(255,255,255,0.55);
  font-weight:500;
  margin-top:2px;
}

/* ── CONTACT ── */
#contact { background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue-deep) 100%); }
#contact .section-eyebrow { color: var(--yellow); }
#contact .section-title { color: white; }
.social-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
  margin-bottom: 44px;
}
.social-card {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  padding: 24px 20px;
  text-align: center;
  color: white;
  transition: var(--transition);
}
.social-card:hover {
  background: var(--yellow);
  border-color: var(--yellow);
  color: var(--blue-dark);
  transform: translateY(-4px);
  box-shadow: 0 8px 28px rgba(255,215,0,0.25);
}
.social-icon { font-size: 1.9rem; margin-bottom: 10px; display:block; }
.social-name { font-weight: 800; font-size: 0.9rem; margin-bottom: 4px; }
.social-handle { font-size: 0.74rem; opacity: 0.65; }
.social-card:hover .social-handle { opacity:0.8; }
.contact-details {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.contact-item {
  display: flex;
  align-items: center;
  gap: 9px;
  color: rgba(255,255,255,0.72);
  font-size: 0.9rem;
}
.contact-item a { color: var(--yellow); }
.contact-item a:hover { text-decoration:underline; }

/* ── FOOTER ── */
footer {
  background: #020d1f;
  color: rgba(255,255,255,0.38);
  padding: 32px 24px;
  text-align: center;
  font-size: 0.78rem;
  line-height: 1.8;
}
footer strong { color: rgba(255,255,255,0.6); display:block; margin-bottom:6px; }
footer a { color: rgba(255,255,255,0.45); }
footer a:hover { color: var(--yellow); }
.footer-links {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 10px;
  flex-wrap: wrap;
}

/* ── RESPONSIVE ── */
@media(max-width:900px) {
  .about-grid { grid-template-columns: 1fr; gap:36px; }
  .founders-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
}
@media(max-width:600px) {
  .founders-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: 1fr 1fr; }
  .hero h1 { font-size: 2rem; }
  .hero-cta { flex-direction:column; align-items:center; }
  .hero-cta .btn { width:100%; justify-content:center; }
  .about-card { padding:28px 20px; }
  .buildings-block { padding:24px 20px; }
}
