/* ==========================================================================
   DEEPAM TRUST — ACTIVITIES PAGE STYLES (activities/activities.css)
   ========================================================================== */

/* ---------- Activities Hero (With Background Image as Requested) ---------- */
.act-hero {
  position: relative;
  min-height: 480px;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 80px 0 60px;
  background: #1A0305;
  text-align: center;
}

.act-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.act-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.36;
  filter: saturate(1.1) brightness(0.85);
  transform: scale(1.02);
  transition: transform 12s ease-out;
}

.act-hero:hover .act-hero-bg img {
  transform: scale(1.08);
}

.act-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26, 3, 5, 0.94) 0%, rgba(95, 12, 18, 0.78) 60%, rgba(193, 25, 35, 0.45) 100%);
  z-index: 1;
}

.act-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 860px;
  margin: 0 auto;
  color: #FFFFFF;
}

.act-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  color: var(--accent-gold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: rgba(255, 255, 255, 0.12);
  padding: 6px 18px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 211, 122, 0.3);
  margin-bottom: 20px;
}

.act-hero-eyebrow svg {
  color: var(--accent-gold);
}

.act-hero-h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.3rem, 4.2vw, 3.6rem);
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.18;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
}

.act-hero-sub {
  font-size: clamp(1.05rem, 1.3vw, 1.2rem);
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.88);
  max-width: 680px;
  margin: 0 auto 30px;
}

.btn-donate-act {
  background: var(--primary);
  color: #FFFFFF;
  padding: 15px 32px;
  font-size: 15.5px;
  box-shadow: 0 6px 20px rgba(193, 25, 35, 0.4);
}

.btn-donate-act:hover {
  background: #FFFFFF;
  color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(255, 255, 255, 0.3);
}

.btn-donate-act svg {
  transition: transform var(--transition-fast);
}

.btn-donate-act:hover svg {
  transform: translateX(4px);
}

/* ---------- Activities Section (Strictly 40px padding) ---------- */
.activities-section {
  padding: 40px 0 !important;
  background: #FFFFFF;
}

.act-section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 38px;
}

.act-tag {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary);
  background: var(--primary-subtle);
  border: 1px solid var(--border-light);
  padding: 5px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
}

.act-section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.4vw, 2.75rem);
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}

.act-subtitle {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.7;
}

.act-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.act-card {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  border: 1.5px solid var(--border-light);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-smooth), box-shadow var(--transition-smooth), border-color var(--transition-fast);
  position: relative;
}

.act-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card-hover);
  border-color: var(--primary);
}

.act-media-wrap {
  position: relative;
  height: 230px;
  overflow: hidden;
  background: #E5E7EB;
}

.act-media-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-smooth);
}

.act-card:hover .act-media-wrap img {
  transform: scale(1.08);
}

.act-icon-badge {
  position: absolute;
  bottom: 14px;
  right: 16px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 2px solid var(--primary);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: transform var(--transition-fast), background var(--transition-fast), color var(--transition-fast);
}

.act-card:hover .act-icon-badge {
  background: var(--primary);
  color: #FFFFFF;
  transform: scale(1.1);
}

.act-body {
  padding: 26px 22px 28px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.act-body h3 {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 19.5px;
  color: var(--text-main);
  margin-bottom: 10px;
  line-height: 1.35;
}

.act-body p {
  font-size: 14.5px;
  line-height: 1.68;
  color: var(--text-body);
}

/* ---------- Responsive Breakpoints for Activities ---------- */
@media (max-width: 1024px) {
  .act-cards-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}

@media (max-width: 680px) {
  .act-hero {
    padding: 60px 0 44px;
    min-height: auto;
  }
  .act-cards-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .act-media-wrap {
    height: 200px;
  }
  .act-body {
    padding: 20px 18px;
  }
}
