/* ============================================
   THE TALA PROJECT - Custom Styles
   ============================================ */

/* Grayscale treatment for "problem" sections */
.grayscale-section img {
  filter: grayscale(100%);
  transition: filter 0.3s ease;
}

/* Scroll-triggered fade-in */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-in-delay-1 { transition-delay: 0.15s; }
.fade-in-delay-2 { transition-delay: 0.3s; }
.fade-in-delay-3 { transition-delay: 0.45s; }

/* Mobile nav */
.mobile-nav {
  transform: translateX(100%);
  transition: transform 0.3s ease-in-out;
}
.mobile-nav.open {
  transform: translateX(0);
}

/* Stat counter styling */
.stat-number {
  font-variant-numeric: tabular-nums;
}

/* Smooth page transitions */
html {
  scroll-behavior: smooth;
}

/* Star glow for brand mark */
.star-glow {
  filter: drop-shadow(0 0 6px rgba(200, 145, 58, 0.4));
}

/* Gradient divider between dark and light sections */
.dark-to-light-gradient {
  background: linear-gradient(to bottom, #0a0a0a 0%, #1a1612 40%, #2a1f15 60%, #FFFBF5 100%);
}

/* Team member photo styling */
.team-photo {
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center top;
}

/* Gold button hover glow */
.btn-gold {
  transition: all 0.2s ease;
}
.btn-gold:hover {
  box-shadow: 0 0 20px rgba(200, 145, 58, 0.3);
}

/* Outline button on dark */
.btn-outline-light {
  transition: all 0.2s ease;
}
.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* Active nav link */
.nav-active {
  color: #C8913A;
}

/* Form input focus styles */
input:focus, textarea:focus, select:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(200, 145, 58, 0.4);
}

/* Stripe donate button pulse */
@keyframes gentle-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(200, 145, 58, 0.4); }
  50% { box-shadow: 0 0 0 8px rgba(200, 145, 58, 0); }
}
.pulse-gold {
  animation: gentle-pulse 3s infinite;
}

/* Pillar card hover */
.pillar-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.pillar-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(200, 145, 58, 0.15);
}

/* Legal page content styling */
.legal-content h2 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}
.legal-content h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}
.legal-content p {
  margin-bottom: 1rem;
  line-height: 1.7;
}
.legal-content ul {
  list-style: disc;
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}
.legal-content li {
  margin-bottom: 0.5rem;
}
