/**
 * Social Projects Page Stylesheet - WildForest Peru
 * Theme: Amazon Rainforest & Eco-Expeditions Theme
 * Version: 2.0.0
 * 
 * Color Distribution:
 * - 55% Whites, beige & neutral backgrounds (#ffffff, #fbf9f4, #f7f4ed, #e8e2d5)
 * - 25% Forest Green (#223717, #16240f)
 * - 10% Jungle Green (#2E7214, #edf7eb)
 * - 7% Peru Red (#8D0A06)
 * - 3% Bright Accents (#ea580c, #0284c7, #f59e0b)
 */

:root {
  --sp-forest: #223717;
  --sp-forest-dark: #16240f;
  --sp-jungle: #2E7214;
  --sp-jungle-light: #3d941b;
  --sp-jungle-soft: #edf7eb;
  --sp-red-peru: #8D0A06;
  --sp-red-peru-hover: #700805;
  --sp-beige: #fbf9f4;
  --sp-sand: #f7f4ed;
  --sp-border: #e8e2d5;
  --sp-text-dark: #1b2416;
  --sp-text-body: #3c4a35;
  --sp-text-muted: #6b7c62;
  --sp-gold: #f59e0b;
}

/* ==========================================================================
   1. Page Wrapper
   ========================================================================== */
.stp-social-page {
  background-color: #ffffff;
  color: var(--sp-text-body);
  font-family: inherit;
  overflow-x: hidden;
}

/* ==========================================================================
   2. Hero Section
   ========================================================================== */
.stp-social-hero {
  position: relative;
  background-color: var(--sp-forest-dark);
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  color: #ffffff;
  padding: 10.5rem 0 5.5rem;
  min-height: 560px;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.stp-social-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(22, 36, 15, 0.28) 0%,
    rgba(22, 36, 15, 0.45) 50%,
    rgba(22, 36, 15, 0.78) 100%
  );
  z-index: 1;
}

.stp-social-hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
}

.stp-social-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #f59e0b;
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 1rem;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
}

.stp-social-hero-title {
  font-family: 'Pochaevsk', Georgia, serif !important;
  font-size: 3.25rem;
  font-weight: 800;
  line-height: 1.18;
  color: #ffffff !important;
  margin-bottom: 1.25rem;
  text-shadow: 0 3px 12px rgba(0, 0, 0, 0.75);
}

@media (max-width: 767.98px) {
  .stp-social-hero-title {
    font-size: 2.15rem;
  }
}

.stp-social-hero-sub {
  font-size: 1.15rem;
  line-height: 1.7;
  color: #f1f5f9;
  max-width: 780px;
  margin: 0 auto 2rem;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.65);
}

/* Hero Stats Counter Bar */
.stp-social-stats-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.25rem;
  margin-top: 2rem;
}

.stp-social-stat-item {
  background: rgba(22, 36, 15, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50rem;
  padding: 8px 22px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #ffffff;
  font-size: 0.88rem;
  font-weight: 600;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
}

.stp-social-stat-item i {
  color: #a3e635;
  font-size: 0.95rem;
}

/* ==========================================================================
   3. Philosophy / Mission Intro
   ========================================================================== */
.stp-social-intro-section {
  padding: 5rem 0 4rem;
  background-color: #ffffff;
}

.stp-social-intro-lead {
  font-size: 1.3rem;
  line-height: 1.75;
  color: var(--sp-forest);
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.stp-social-intro-desc {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--sp-text-body);
}

.stp-social-intro-desc p {
  margin-bottom: 1.25rem;
}

.stp-social-quote-card {
  background-color: var(--sp-beige);
  border-left: 4px solid var(--sp-jungle);
  border-radius: 0 16px 16px 0;
  padding: 2rem;
  margin-top: 1rem;
}

.stp-social-quote-text {
  font-size: 1.08rem;
  font-style: italic;
  color: var(--sp-forest);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.stp-social-quote-author {
  font-weight: 800;
  color: var(--sp-jungle);
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ==========================================================================
   4. Projects Showcase Section
   ========================================================================== */
.stp-projects-grid-section {
  padding: 5rem 0;
  background-color: var(--sp-beige);
  border-top: 1px solid var(--sp-border);
  border-bottom: 1px solid var(--sp-border);
}

.stp-project-card {
  background-color: #ffffff;
  border: 1px solid var(--sp-border);
  border-radius: 24px;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.4s ease;
  box-shadow: 0 6px 20px rgba(34, 55, 23, 0.04);
}

.stp-project-card:hover {
  transform: translateY(-8px);
  border-color: var(--sp-jungle);
  box-shadow: 0 20px 40px -10px rgba(34, 55, 23, 0.16);
}

.stp-project-img-wrap {
  position: relative;
  width: 100%;
  height: 270px;
  overflow: hidden;
  background-color: var(--sp-forest-dark);
}

.stp-project-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

.stp-project-card:hover .stp-project-img {
  transform: scale(1.08);
}

.stp-project-badge-cat {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 3;
  background: rgba(22, 36, 15, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 50rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.stp-project-badge-cat i {
  color: #a3e635;
}

.stp-project-loc-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 3;
  background: rgba(46, 114, 20, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 50rem;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.stp-project-body {
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.stp-project-title {
  font-family: 'Pochaevsk', Georgia, serif !important;
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--sp-forest);
  margin-bottom: 12px;
  line-height: 1.25;
}

.stp-project-desc {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--sp-text-body);
  margin-bottom: 1.5rem;
}

/* Impact Metrics Box */
.stp-project-impact-box {
  background-color: var(--sp-jungle-soft);
  border: 1px solid rgba(46, 114, 20, 0.2);
  border-radius: 14px;
  padding: 12px 16px;
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 12px;
}

.stp-impact-icon {
  width: 40px;
  height: 40px;
  min-width: 40px;
  background-color: var(--sp-jungle);
  color: #ffffff;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.stp-impact-data .stp-impact-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: var(--sp-jungle);
  text-transform: uppercase;
}

.stp-impact-data .stp-impact-value {
  display: block;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--sp-forest);
  line-height: 1.25;
}

/* ==========================================================================
   5. How Funding Works (Transparency Model)
   ========================================================================== */
.stp-funding-model-section {
  padding: 5.5rem 0;
  background-color: #ffffff;
}

.stp-step-card {
  background-color: var(--sp-beige);
  border: 1px solid var(--sp-border);
  border-radius: 20px;
  padding: 2.25rem 1.75rem;
  height: 100%;
  position: relative;
  transition: transform 0.35s ease, border-color 0.35s ease;
}

.stp-step-card:hover {
  transform: translateY(-5px);
  border-color: var(--sp-jungle);
}

.stp-step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background-color: var(--sp-forest);
  color: #ffffff;
  font-weight: 800;
  font-size: 1.1rem;
  border-radius: 12px;
  margin-bottom: 1.25rem;
}

.stp-step-title {
  font-family: 'Pochaevsk', Georgia, serif !important;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--sp-forest);
  margin-bottom: 10px;
}

.stp-step-text {
  font-size: 0.93rem;
  line-height: 1.65;
  color: var(--sp-text-body);
  margin-bottom: 0;
}

/* ==========================================================================
   6. Call to Action Banner
   ========================================================================== */
.stp-social-cta-section {
  background: linear-gradient(135deg, var(--sp-forest-dark) 0%, var(--sp-forest) 55%, var(--sp-jungle) 100%);
  color: #ffffff;
  padding: 5.5rem 0;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.stp-social-cta-section::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -15%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(46, 114, 20, 0.3) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.stp-social-cta-title {
  font-family: 'Pochaevsk', Georgia, serif !important;
  font-size: 2.65rem;
  font-weight: 800;
  color: #ffffff !important;
  margin-bottom: 1rem;
}

@media (max-width: 767.98px) {
  .stp-social-cta-title {
    font-size: 1.85rem;
  }
}

.stp-social-cta-text {
  font-size: 1.12rem;
  color: #d5decb;
  max-width: 650px;
  margin: 0 auto 2.25rem;
  line-height: 1.7;
}

.stp-social-cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

/* Primary Peru Red CTA Button (7%) */
.btn-social-primary {
  background: linear-gradient(135deg, var(--sp-red-peru) 0%, var(--sp-red-peru-hover) 100%) !important;
  color: #ffffff !important;
  border: 1px solid var(--sp-red-peru) !important;
  font-weight: 800;
  font-size: 1rem;
  padding: 14px 34px;
  border-radius: 50rem;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none !important;
  box-shadow: 0 6px 20px rgba(141, 10, 6, 0.35);
  transition: all 0.3s ease;
}

.btn-social-primary:hover {
  background: linear-gradient(135deg, #a50d08 0%, var(--sp-red-peru) 100%) !important;
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(141, 10, 6, 0.48);
  color: #ffffff !important;
}

/* Secondary WhatsApp Button */
.btn-social-whatsapp {
  background-color: #25d366 !important;
  color: #ffffff !important;
  font-weight: 800;
  font-size: 1rem;
  padding: 14px 30px;
  border-radius: 50rem;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none !important;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35);
  transition: all 0.3s ease;
}

.btn-social-whatsapp:hover {
  background-color: #20ba5a !important;
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.45);
  color: #ffffff !important;
}
