/* =============================================
   HELPING HANDS — Template 10
   Impact-driven non-profit with coral + dark slate
   Font: Raleway (display) + Crimson Text (body)
   Hero: Impact Counter Bar
   ============================================= */

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

/* ---------- Design Tokens ---------- */
:root {
  --hh-coral:        #e8614d;
  --hh-coral-dark:   #c04a38;
  --hh-coral-light:  #f8a99a;
  --hh-dark-slate:   #2d3436;
  --hh-charcoal:     #636e72;
  --hh-cream:        #fff5f3;
  --hh-white:        #ffffff;
  --hh-light-gray:   #f8f6f5;
  --hh-text:         #2d3436;
  --hh-text-light:   #636e72;

  --hh-font-display: 'Raleway', -apple-system, sans-serif;
  --hh-font-body:    'Crimson Text', Georgia, serif;

  --hh-radius:     8px;
  --hh-radius-lg:  16px;
  --hh-radius-xl:  24px;
  --hh-shadow:     0 2px 12px rgba(45,52,54,0.08);
  --hh-shadow-lg:  0 8px 32px rgba(45,52,54,0.12);
  --hh-transition: 0.3s ease;
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--hh-font-body);
  color: var(--hh-text);
  background: var(--hh-white);
  line-height: 1.75;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--hh-font-display);
  line-height: 1.2;
  color: var(--hh-dark-slate);
  font-weight: 700;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

.hh-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Demo Banner ---------- */
.hh-demo-banner {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 36px;
  background: var(--hh-dark-slate);
  color: var(--hh-cream);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-family: var(--hh-font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  z-index: 1000;
}

.hh-demo-banner a {
  color: var(--hh-coral-light);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ---------- Navigation ---------- */
.hh-nav {
  position: fixed;
  top: 36px;
  left: 0;
  width: 100%;
  height: 72px;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(45,52,54,0.08);
  z-index: 960;
  transition: background var(--hh-transition), box-shadow var(--hh-transition);
}

.hh-nav.scrolled {
  box-shadow: 0 2px 16px rgba(45,52,54,0.1);
}

.hh-nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.hh-nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--hh-font-display);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--hh-dark-slate);
}

.hh-nav-logo svg {
  width: 30px;
  height: 30px;
  color: var(--hh-coral);
}

.hh-nav-logo em {
  font-style: normal;
  color: var(--hh-coral);
}

.hh-nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.hh-nav-links a {
  font-family: var(--hh-font-display);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--hh-charcoal);
  transition: color var(--hh-transition);
}

.hh-nav-links a:hover { color: var(--hh-coral); }

.hh-nav-cta {
  padding: 0.5rem 1.25rem;
  background: var(--hh-coral);
  color: var(--hh-white) !important;
  border-radius: 100px;
  font-weight: 600;
  transition: background var(--hh-transition), transform var(--hh-transition);
}

.hh-nav-cta:hover {
  background: var(--hh-coral-dark) !important;
  transform: translateY(-1px);
}

/* Hamburger */
.hh-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.hh-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--hh-dark-slate);
  border-radius: 2px;
  transition: transform var(--hh-transition), opacity var(--hh-transition);
}

.hh-hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hh-hamburger.active span:nth-child(2) { opacity: 0; }
.hh-hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ---------- Buttons ---------- */
.hh-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0.75rem 1.75rem;
  font-family: var(--hh-font-display);
  font-size: 0.88rem;
  font-weight: 600;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  transition: all var(--hh-transition);
}

.hh-btn-coral {
  background: var(--hh-coral);
  color: var(--hh-white);
}
.hh-btn-coral:hover {
  background: var(--hh-coral-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(232,97,77,0.35);
}

.hh-btn-outline {
  background: transparent;
  color: var(--hh-dark-slate);
  border: 2px solid var(--hh-dark-slate);
}
.hh-btn-outline:hover {
  background: var(--hh-dark-slate);
  color: var(--hh-white);
  transform: translateY(-2px);
}

.hh-btn-white {
  background: var(--hh-white);
  color: var(--hh-coral);
}
.hh-btn-white:hover {
  background: var(--hh-cream);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

/* ---------- Section Helpers ---------- */
.hh-section { padding: 100px 0; }

.hh-section-header {
  text-align: center;
  margin-bottom: 60px;
}

.hh-eyebrow {
  display: inline-block;
  font-family: var(--hh-font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--hh-coral);
  margin-bottom: 16px;
}

.hh-section-title {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin-bottom: 16px;
}

.hh-section-title em {
  font-style: normal;
  font-weight: 300;
  color: var(--hh-coral);
}

.hh-section-subtitle {
  max-width: 600px;
  margin: 0 auto;
  color: var(--hh-text-light);
  font-size: 1.1rem;
}

/* ---------- Scroll Reveal ---------- */
.hh-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.hh-reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   HERO — Impact Counter Bar
   ============================================ */
.hh-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 108px;
  overflow: hidden;
}

.hh-hero-bg {
  position: absolute;
  inset: 0;
}

.hh-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hh-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(45,52,54,0.88) 0%,
    rgba(45,52,54,0.6) 60%,
    rgba(45,52,54,0.3) 100%
  );
}

.hh-hero-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
  padding: 0 24px;
  margin-left: 8%;
  margin-bottom: 80px;
}

.hh-hero-eyebrow {
  font-family: var(--hh-font-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--hh-coral-light);
  margin-bottom: 20px;
}

.hh-hero-title {
  font-size: clamp(2.4rem, 5.5vw, 3.6rem);
  color: var(--hh-white);
  margin-bottom: 20px;
  font-weight: 800;
  line-height: 1.1;
}

.hh-hero-title em {
  font-style: normal;
  font-weight: 300;
  color: var(--hh-coral-light);
}

.hh-hero-desc {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.8);
  margin-bottom: 32px;
  line-height: 1.8;
}

.hh-hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Impact Counter Bar */
.hh-counter-bar {
  position: relative;
  z-index: 2;
  background: var(--hh-coral);
  padding: 32px 0;
}

.hh-counter-bar-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.hh-counter-item {
  color: var(--hh-white);
}

.hh-counter-number {
  font-family: var(--hh-font-display);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 800;
  line-height: 1;
  margin-bottom: 4px;
}

.hh-counter-label {
  font-family: var(--hh-font-display);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.85;
}

/* ============================================
   MISSION / ABOUT
   ============================================ */
.hh-mission {
  background: var(--hh-white);
}

.hh-mission-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hh-mission-image {
  position: relative;
  border-radius: var(--hh-radius-lg);
  overflow: hidden;
  box-shadow: var(--hh-shadow-lg);
}

.hh-mission-image img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}

.hh-mission-accent {
  position: absolute;
  top: -12px;
  left: -12px;
  width: 80px;
  height: 80px;
  background: var(--hh-coral);
  border-radius: var(--hh-radius);
  z-index: -1;
}

.hh-mission-text h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 20px;
}

.hh-mission-text p {
  color: var(--hh-text-light);
  margin-bottom: 16px;
  font-size: 1.05rem;
}

/* ============================================
   CAUSES
   ============================================ */
.hh-causes {
  background: var(--hh-light-gray);
}

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

.hh-cause-card {
  background: var(--hh-white);
  border-radius: var(--hh-radius-lg);
  overflow: hidden;
  box-shadow: var(--hh-shadow);
  transition: transform var(--hh-transition), box-shadow var(--hh-transition);
}

.hh-cause-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--hh-shadow-lg);
}

.hh-cause-image {
  height: 200px;
  overflow: hidden;
  position: relative;
}

.hh-cause-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.hh-cause-card:hover .hh-cause-image img { transform: scale(1.05); }

.hh-cause-category {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 12px;
  background: var(--hh-coral);
  color: var(--hh-white);
  font-family: var(--hh-font-display);
  font-size: 0.7rem;
  font-weight: 700;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hh-cause-body {
  padding: 24px;
}

.hh-cause-body h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.hh-cause-body p {
  font-size: 0.92rem;
  color: var(--hh-text-light);
  margin-bottom: 20px;
  line-height: 1.6;
}

/* Progress Bar */
.hh-progress-wrap {
  margin-bottom: 12px;
}

.hh-progress-header {
  display: flex;
  justify-content: space-between;
  font-family: var(--hh-font-display);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--hh-dark-slate);
  margin-bottom: 6px;
}

.hh-progress-bar {
  height: 8px;
  background: rgba(232,97,77,0.15);
  border-radius: 100px;
  overflow: hidden;
}

.hh-progress-fill {
  height: 100%;
  background: var(--hh-coral);
  border-radius: 100px;
  transition: width 1.5s ease;
}

.hh-cause-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--hh-font-display);
  font-size: 0.8rem;
  color: var(--hh-charcoal);
}

.hh-cause-donate {
  font-weight: 700;
  color: var(--hh-coral);
  transition: color var(--hh-transition);
}

.hh-cause-donate:hover { color: var(--hh-coral-dark); }

/* ============================================
   VOLUNTEER
   ============================================ */
.hh-volunteer {
  background: var(--hh-white);
}

.hh-volunteer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.hh-vol-card {
  text-align: center;
  padding: 36px 20px;
  background: var(--hh-light-gray);
  border-radius: var(--hh-radius-lg);
  border: 2px solid transparent;
  transition: border-color var(--hh-transition), transform var(--hh-transition), box-shadow var(--hh-transition);
}

.hh-vol-card:hover {
  border-color: var(--hh-coral);
  transform: translateY(-4px);
  box-shadow: var(--hh-shadow-lg);
}

.hh-vol-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(232,97,77,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 1.5rem;
}

.hh-vol-card h3 {
  font-size: 1rem;
  margin-bottom: 8px;
}

.hh-vol-tag {
  display: inline-block;
  padding: 3px 10px;
  background: var(--hh-coral);
  color: var(--hh-white);
  font-family: var(--hh-font-display);
  font-size: 0.68rem;
  font-weight: 700;
  border-radius: 100px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.hh-vol-card p {
  font-size: 0.88rem;
  color: var(--hh-text-light);
  line-height: 1.6;
}

/* ============================================
   IMPACT STORIES
   ============================================ */
.hh-stories {
  background: var(--hh-dark-slate);
  color: var(--hh-white);
}

.hh-stories .hh-section-title { color: var(--hh-white); }

.hh-stories-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.hh-story-card {
  display: flex;
  gap: 20px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--hh-radius-lg);
  padding: 28px;
  transition: background var(--hh-transition);
}

.hh-story-card:hover { background: rgba(255,255,255,0.1); }

.hh-story-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}

.hh-story-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hh-story-body h4 {
  font-size: 1.05rem;
  color: var(--hh-white);
  margin-bottom: 4px;
}

.hh-story-role {
  font-family: var(--hh-font-display);
  font-size: 0.75rem;
  color: var(--hh-coral-light);
  font-weight: 600;
  margin-bottom: 12px;
}

.hh-story-body p {
  font-size: 0.92rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.65;
}

/* ============================================
   CTA
   ============================================ */
.hh-cta {
  background: linear-gradient(135deg, var(--hh-coral) 0%, var(--hh-coral-dark) 100%);
  color: var(--hh-white);
  text-align: center;
  padding: 80px 0;
}

.hh-cta h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  color: var(--hh-white);
  margin-bottom: 16px;
}

.hh-cta p {
  max-width: 560px;
  margin: 0 auto 32px;
  font-size: 1.1rem;
  color: rgba(255,255,255,0.85);
}

/* ============================================
   FOOTER
   ============================================ */
.hh-footer {
  background: var(--hh-dark-slate);
  color: rgba(255,255,255,0.65);
  padding: 60px 0 32px;
}

.hh-footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.hh-footer-brand p {
  margin-top: 16px;
  font-size: 0.9rem;
  line-height: 1.7;
}

.hh-footer h4 {
  font-family: var(--hh-font-display);
  font-size: 0.95rem;
  color: var(--hh-white);
  margin-bottom: 16px;
}

.hh-footer ul li { margin-bottom: 8px; }

.hh-footer ul a {
  font-size: 0.88rem;
  transition: color var(--hh-transition);
}

.hh-footer ul a:hover { color: var(--hh-coral-light); }

.hh-footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--hh-font-display);
  font-size: 0.8rem;
}

.hh-footer-social {
  display: flex;
  gap: 16px;
}

.hh-footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--hh-transition), border-color var(--hh-transition);
}

.hh-footer-social a:hover {
  background: var(--hh-coral);
  border-color: var(--hh-coral);
}

.hh-footer-social svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .hh-nav-links { display: none; }
  .hh-hamburger { display: flex; }

  .hh-nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 108px;
    left: 0;
    width: 100%;
    background: var(--hh-white);
    padding: 32px 24px;
    gap: 20px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    z-index: 950;
  }

  .hh-counter-bar-inner { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .hh-volunteer-grid { grid-template-columns: repeat(2, 1fr); }
  .hh-footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .hh-hero-content { margin-left: 0; }
  .hh-mission-grid { grid-template-columns: 1fr; gap: 40px; }
  .hh-causes-grid { grid-template-columns: 1fr; }
  .hh-stories-grid { grid-template-columns: 1fr; }
  .hh-volunteer-grid { grid-template-columns: 1fr; }
  .hh-footer-grid { grid-template-columns: 1fr; }
  .hh-footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
}

@media (max-width: 480px) {
  .hh-hero-title { font-size: 2rem; }
  .hh-hero-actions { flex-direction: column; }
  .hh-counter-bar-inner { grid-template-columns: repeat(2, 1fr); }
}
