/* Donate Page Premium Styles (mirrors homepage look without home-only scoping) */

/* Container */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* Hero */
section.hero.hero-premium {
  background:
    radial-gradient(800px 500px at 20% 40%, rgba(0,0,0,0.28), transparent 60%),
    radial-gradient(1200px 600px at 80% 10%, rgba(233,133,11,0.22), transparent 60%),
    radial-gradient(900px 500px at 10% 90%, rgba(16,110,60,0.22), transparent 60%),
    linear-gradient(135deg, #0e6b3b 0%, #0c5a32 50%, #0a4a2a 100%);
  padding: 40px 20px 20px 20px;
  padding-top: calc(40px + var(--hero-nav-overlap, 110px));
  margin-top: calc(-1 * var(--hero-nav-overlap, 110px));
  position: relative;
  overflow: hidden;
}

/* Donate and Contact hero - match home page styling exactly */
body.donate-page section.hero.hero-premium,
section#donate-hero.hero.hero-premium {
  padding: 30px 20px 10px 20px !important;
  padding-top: calc(30px + var(--hero-nav-overlap, 110px)) !important;
  min-height: auto !important;
  margin-top: calc(-1 * var(--hero-nav-overlap, 110px));
}

/* Contact hero - reduced padding to minimize white space */
section#contact-hero.hero.hero-premium {
  background:
    radial-gradient(800px 500px at 20% 40%, rgba(0,0,0,0.28), transparent 60%),
    radial-gradient(1200px 600px at 80% 10%, rgba(233,133,11,0.22), transparent 60%),
    radial-gradient(900px 500px at 10% 90%, rgba(16,110,60,0.22), transparent 60%),
    linear-gradient(135deg, #0e6b3b 0%, #0c5a32 50%, #0a4a2a 100%) !important;
  padding: 8px 20px 8px 20px !important;
  padding-top: calc(8px + var(--hero-nav-overlap, 110px)) !important;
  padding-bottom: 8px !important;
  min-height: auto !important;
  margin-top: calc(-1 * var(--hero-nav-overlap, 110px));
  position: relative;
  overflow: hidden;
}

@media (max-width: 768px) {
  body.donate-page section.hero.hero-premium,
  section#donate-hero.hero.hero-premium {
    margin-top: calc(-1 * var(--hero-nav-overlap-mobile, 96px)) !important;
    padding-top: calc(30px + var(--hero-nav-overlap-mobile, 96px)) !important;
  }
  
  section#contact-hero.hero.hero-premium {
    margin-top: calc(-1 * var(--hero-nav-overlap-mobile, 96px)) !important;
    padding-top: calc(8px + var(--hero-nav-overlap-mobile, 96px)) !important;
    padding-bottom: 8px !important;
  }
}

/* Hero layout wrapper - match home page */
body.donate-page section.hero.hero-premium .hero-inner,
section#donate-hero.hero.hero-premium .hero-inner,
section#contact-hero.hero.hero-premium .hero-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0px;
}

/* Hero content container */
body.donate-page section.hero.hero-premium .hero-content,
section#donate-hero.hero.hero-premium .hero-content,
section#contact-hero.hero.hero-premium .hero-content {
  width: 100%;
  max-width: 100%;
  display: block;
  min-height: auto !important;
}

/* Hero text wrapper - centered like home page */
body.donate-page section.hero.hero-premium .hero-copy,
section#donate-hero.hero.hero-premium .hero-copy {
  width: 80%;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

/* Contact page hero-copy - centered like home/donate */
section#contact-hero.hero.hero-premium .hero-copy {
  width: 80%;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

/* H1 Title - match home page */
body.donate-page section.hero.hero-premium .hero-copy h1,
section#donate-hero.hero.hero-premium .hero-copy h1,
section#contact-hero.hero.hero-premium .hero-copy h1 {
  color: #ffffff;
  font-size: 56px;
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 20px 0;
  text-align: center;
}

/* Contact page h1 - centered, reduced margin */
section#contact-hero.hero.hero-premium .hero-copy h1 {
  text-align: center;
  margin-bottom: 12px !important;
}

/* Paragraph - match home page */
body.donate-page section.hero.hero-premium .hero-copy p,
section#donate-hero.hero.hero-premium .hero-copy p,
section#contact-hero.hero.hero-premium .hero-copy p {
  color: #ffffff;
  font-size: 20px;
  line-height: 1.6;
  margin: 0 0 30px 0;
  opacity: 0.95;
  text-align: center;
}

/* Contact page paragraph - centered, reduced margin */
section#contact-hero.hero.hero-premium .hero-copy p {
  text-align: center;
  margin-bottom: 20px !important;
}

/* Button container - match home page */
body.donate-page section.hero.hero-premium .hero-copy .hero-buttons,
section#donate-hero.hero.hero-premium .hero-copy .hero-buttons,
section#contact-hero.hero.hero-premium .hero-copy .hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 0 !important;
}

/* Button base styles - match home page */
body.donate-page section.hero.hero-premium .hero-copy .cta-button,
section#donate-hero.hero.hero-premium .hero-copy .cta-button,
section#contact-hero.hero.hero-premium .hero-copy .cta-button {
  display: inline-block;
  padding: 20px 50px;
  font-size: 18px;
  font-weight: 800;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

/* Primary button - match home page */
body.donate-page section.hero.hero-premium .hero-copy .cta-primary,
section#donate-hero.hero.hero-premium .hero-copy .cta-primary,
section#contact-hero.hero.hero-premium .hero-copy .cta-primary {
  background: linear-gradient(135deg, #f59e0b, #e9850b);
  color: #ffffff;
  box-shadow: 0 10px 30px rgba(233, 133, 11, 0.45);
}

/* Secondary button - match home page */
body.donate-page section.hero.hero-premium .hero-copy .cta-secondary,
section#donate-hero.hero.hero-premium .hero-copy .cta-secondary,
section#contact-hero.hero.hero-premium .hero-copy .cta-secondary {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  border: 2px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 10px 30px rgba(255, 255, 255, 0.1);
}

/* Button hover states - match home page */
body.donate-page section.hero.hero-premium .hero-copy .cta-button:hover,
section#donate-hero.hero.hero-premium .hero-copy .cta-button:hover,
section#contact-hero.hero.hero-premium .hero-copy .cta-button:hover {
  transform: translateY(-3px);
}

body.donate-page section.hero.hero-premium .hero-copy .cta-primary:hover,
section#donate-hero.hero.hero-premium .hero-copy .cta-primary:hover,
section#contact-hero.hero.hero-premium .hero-copy .cta-primary:hover {
  box-shadow: 0 15px 40px rgba(233, 133, 11, 0.6);
}

body.donate-page section.hero.hero-premium .hero-copy .cta-secondary:hover,
section#donate-hero.hero.hero-premium .hero-copy .cta-secondary:hover,
section#contact-hero.hero.hero-premium .hero-copy .cta-secondary:hover {
  background: rgba(255, 255, 255, 0.25);
}

section.hero.hero-premium::after {
  content: '';
  position: absolute; inset: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.08"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.08"/><circle cx="50" cy="10" r="0.5" fill="white" opacity="0.08"/><circle cx="10" cy="60" r="0.5" fill="white" opacity="0.08"/><circle cx="90" cy="40" r="0.5" fill="white" opacity="0.08"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  pointer-events: none;
}

.hero-inner { max-width: 1400px; margin: 0 auto; }
.hero-content { width: 100%; }
.hero-copy { width: 80%; max-width: 1200px; margin: 0 auto; text-align: left; }
.hero-copy h1 { color: #ffffff; font-size: 56px; font-weight: 700; line-height: 1.2; margin: 0 0 18px 0; }
.hero-copy p { color: #ffffff; font-size: 20px; line-height: 1.6; margin: 0 0 24px 0; opacity: 0.95; }

.hero-buttons { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.cta-button { display: inline-block; padding: 16px 36px; font-size: 16px; font-weight: 800; border: none; border-radius: 50px; cursor: pointer; transition: all .3s ease; text-decoration: none; }
.cta-primary { background: linear-gradient(135deg, #f59e0b, #e9850b); color: #fff; box-shadow: 0 10px 30px rgba(233,133,11,.45); }
.cta-secondary { background: rgba(255,255,255,.15); color: #fff; border: 2px solid rgba(255,255,255,.5); box-shadow: 0 10px 30px rgba(255,255,255,.1); }
.cta-button:hover { transform: translateY(-3px); }

/* Decorative */
.hero-snow::before { content: '❄️'; position: absolute; font-size: 100px; opacity:.1; top:20px; left:10%; z-index:1; animation: float 6s ease-in-out infinite; }
.hero-tree::before, .hero-tree-right::before { content:'🎄'; position:absolute; font-size:120px; opacity:.1; bottom:20px; right:10%; z-index:1; animation: float 8s ease-in-out infinite; }
@keyframes float { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-20px)} }

/* Sections */
.features, .about, .mission { padding: 70px 20px; }
.features { background: #f4f4f4; }
.features h2, .about h2, .mission-text h2 { text-align:left; font-size: 36px; margin-bottom: 25px; color: #106e3c; }
.feature-grid { display:grid; grid-template-columns: repeat(auto-fit, minmax(280px,1fr)); gap:30px; max-width:1000px; margin:0 auto; }
.feature-card { background:#fff; padding:35px; border-radius:15px; text-align:left; box-shadow:0 4px 15px rgba(0,0,0,.08); transition:transform .3s, box-shadow .3s; }
.feature-card:hover { transform:translateY(-5px); box-shadow:0 8px 25px rgba(0,0,0,.12); }
.feature-icon { font-size:40px; margin-bottom:14px; }

.about { background:#fff; }
.about-content { max-width:800px; margin:0 auto; text-align:left; }
.about p { font-size:18px; color:#666; line-height:1.8; margin-bottom:20px; }
.about-list { margin: 0 0 1rem 1.1rem; }

.mission { background:#f4f4f4; }
.mission-content { display:grid; grid-template-columns: 2fr 1fr; gap:50px; align-items:center; max-width:1200px; margin:0 auto; }
.mission-text p { font-size:18px; color:#666; line-height:1.8; margin-bottom:20px; }
.impact-stats { display:grid; grid-template-columns: repeat(3,1fr); gap:30px; margin:30px 0; padding:24px; background:#fff; border-radius:15px; box-shadow:0 4px 15px rgba(0,0,0,.08); }
.stat { text-align:center; }
.stat-number { font-size:32px; font-weight:700; color:#e9850b; margin-bottom:6px; }
.stat-label { font-size:14px; color:#666; font-weight:500; }

/* Register section */
.raffles-section { background:#fff; padding: 20px 20px 50px; }
.raffles-hero { width:100%; max-width:1200px; margin:0 auto; padding:0 20px; }
.raffles-title { color:#106e3c; font-weight:700; }
.raffles-track .raffle-card { border-radius: 12px; box-shadow: 0 8px 24px rgba(0,0,0,.12); }

/* FAQ */
.features#donate-faq .feature-card { text-align:left; }

/* Donate page specific adjustments */
body.donate-page .site-main { padding-top: 0; }

/* Responsive - match home page */
@media (max-width: 768px) {
  .hero-copy,
  body.donate-page section.hero.hero-premium .hero-copy,
  section#donate-hero.hero.hero-premium .hero-copy,
  section#contact-hero.hero.hero-premium .hero-copy {
    width: 90%;
  }
  
  .hero-copy h1,
  body.donate-page section.hero.hero-premium .hero-copy h1,
  section#donate-hero.hero.hero-premium .hero-copy h1,
  section#contact-hero.hero.hero-premium .hero-copy h1 {
    font-size: 40px;
  }
  
  .hero-copy p,
  body.donate-page section.hero.hero-premium .hero-copy p,
  section#donate-hero.hero.hero-premium .hero-copy p,
  section#contact-hero.hero.hero-premium .hero-copy p {
    font-size: 18px;
  }
  
  .mission-content {
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: left;
  }
  
  .impact-stats {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 20px;
  }
  
  .feature-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .cta-button {
    padding: 18px 40px;
    font-size: 17px;
    min-height: 44px;
  }
  
  .hero-buttons {
    flex-wrap: wrap;
    gap: 12px;
  }
}

@media (max-width: 480px) {
  .hero-copy h1,
  body.donate-page section.hero.hero-premium .hero-copy h1,
  section#donate-hero.hero.hero-premium .hero-copy h1,
  section#contact-hero.hero.hero-premium .hero-copy h1 {
    font-size: 30px;
  }
  
  .hero-copy p,
  body.donate-page section.hero.hero-premium .hero-copy p,
  section#donate-hero.hero.hero-premium .hero-copy p,
  section#contact-hero.hero.hero-premium .hero-copy p {
    font-size: 16px;
  }
  
  .container {
    padding: 0 15px;
  }
  
  .cta-button {
    padding: 16px 32px;
    font-size: 16px;
    min-height: 44px;
    width: 100%;
  }
  
  .hero-buttons {
    flex-direction: column;
    gap: 12px;
  }
  
  .hero-buttons .cta-button {
    width: 100%;
    max-width: 100%;
  }
  
  .impact-stats {
    padding: 16px;
    gap: 16px;
  }
  
  .stat-number {
    font-size: 24px;
  }
  
  .feature-card {
    padding: 25px;
  }
}


