/* Homepage styles extracted from indexalt.html */

* {
  box-sizing: border-box;
}

html, body {
  height: 100%;
  margin: 0;
  padding: 0;
}

body.home-page,
body.home {
  line-height: 1.6;
  color: #333;
  background: #ffffff;
  margin: 0;
  padding: 0;
}

/* Remove white bar between header and hero */
body.home .site-main,
body.home-page .site-main {
  padding: 0;
}

/* Hide any error/alert bars at top */
.stripe-error-message,
div[class*="error-message"],
div[class*="alert-bar"] {
  display: none !important;
}

/* (legacy .site-header and .main-navigation styles removed; nav is handled by nav-new.css) */

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ========================================
   HOMEPAGE HERO SECTION - CLEAN REDESIGN
   ======================================== */

/* Hero container */
body.home section.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: 30px 20px 10px 20px;
  position: relative;
  overflow: hidden;
  min-height: auto !important;
  margin-top: calc(-1 * var(--hero-nav-overlap, 110px));
  padding-top: calc(30px + var(--hero-nav-overlap, 110px));
}

@media (max-width: 768px) {
  body.home section.hero-premium {
    margin-top: calc(-1 * var(--hero-nav-overlap-mobile, 96px));
    padding-top: calc(30px + var(--hero-nav-overlap-mobile, 96px));
    padding-bottom: 20px;
  }
  
  body.home .hero-premium .hero-copy {
    width: 90%;
    padding: 0 10px;
  }
  
  body.home .hero-snow::before,
  body.home .hero-tree::before,
  body.home .hero-tree-right::before {
    font-size: 60px;
    opacity: 0.08;
  }
}

body.home section.hero-premium::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 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;
}

body.home .hero-snow::before {
  content: '❄️';
  position: absolute;
  font-size: 100px;
  opacity: 0.1;
  top: 20px;
  left: 10%;
  z-index: 1;
  animation: float 6s ease-in-out infinite;
}

body.home .hero-tree::before,
body.home .hero-tree-right::before {
  content: '🎄';
  position: absolute;
  font-size: 120px;
  opacity: 0.1;
  bottom: 20px;
  right: 10%;
  z-index: 1;
  animation: float 8s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
}

/* Hero layout wrapper */
body.home .hero-premium .hero-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0px;
}

/* Hero content container */
body.home .hero-premium .hero-content {
  width: 100%;
  max-width: 100%;
  display: block;
  min-height: auto !important;
}

/* Hero text wrapper */
body.home .hero-premium .hero-copy {
  width: 80%;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

/* H1 Title */
body.home .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;
}

/* Paragraph */
body.home .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;
}

/* Button container */
body.home .hero-premium .hero-copy .hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

/* Button base styles */
body.home .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;
}

/* Primary button (Buy Tickets) */
body.home .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 (Donate) */
body.home .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 */
body.home .hero-premium .hero-copy .cta-button:hover {
  transform: translateY(-3px);
}

body.home .hero-premium .hero-copy .cta-primary:hover {
  box-shadow: 0 15px 40px rgba(233, 133, 11, 0.6);
}

body.home .hero-premium .hero-copy .cta-secondary:hover {
  background: rgba(255, 255, 255, 0.25);
  box-shadow: 0 15px 40px rgba(255, 255, 255, 0.2);
}

/* Raffles Section - background handled in theme style for seamless hero blend */
body.home .raffles-section {
  background: transparent;
  padding: 20px 20px 50px 20px;
}

/* Carousel container */
body.home .raffles-section .raffles-hero {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Features Section */
.features {
  padding: 80px 20px;
  background: #f4f4f4;
}

.features h2 {
  text-align: center;
  font-size: 36px;
  margin-bottom: 50px;
  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: white;
  padding: 35px;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.feature-icon {
  font-size: 50px;
  margin-bottom: 20px;
}

.feature-card h3 {
  font-size: 22px;
  margin-bottom: 15px;
  color: #106e3c;
}

.feature-card p {
  color: #666;
  line-height: 1.7;
}

/* About Section */
.about {
  padding: 80px 20px;
  background: white;
}

.about-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.about h2 {
  font-size: 36px;
  margin-bottom: 25px;
  color: #106e3c;
}

.about p {
  font-size: 18px;
  color: #666;
  line-height: 1.8;
  margin-bottom: 20px;
}

/* Mission Section */
.mission {
  padding: 80px 20px;
  background: #f4f4f4;
}

.mission-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 50px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.mission-text h2 {
  font-size: 36px;
  margin-bottom: 25px;
  color: #106e3c;
}

.mission-text p {
  font-size: 18px;
  color: #666;
  line-height: 1.8;
  margin-bottom: 25px;
}

.impact-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin: 40px 0;
  padding: 30px;
  background: white;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.stat { text-align: center; }
.stat-number { font-size: 32px; font-weight: bold; color: #e9850b; margin-bottom: 8px; }
.stat-label { font-size: 14px; color: #666; font-weight: 500; }

.learn-more-button {
  display: inline-block;
  background: #106e3c;
  color: white;
  padding: 15px 30px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.3s ease;
  box-shadow: 0 3px 10px rgba(16, 110, 60, 0.3);
  min-height: 44px;
  line-height: 1.2;
}

.learn-more-button:hover {
  background: #0d5a31;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(16, 110, 60, 0.4);
}

.mission-visual { text-align: center; position: relative; }
.mission-icon { font-size: 120px; margin-bottom: 20px; opacity: 0.8; }
.mission-hearts { display: flex; justify-content: center; gap: 15px; }
.heart { font-size: 30px; animation: pulse 2s ease-in-out infinite; }
.heart:nth-child(2) { animation-delay: 0.5s; }
.heart:nth-child(3) { animation-delay: 1s; }

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(1.2); opacity: 1; }
}

/* Business Section */
.business {
  padding: 80px 20px;
  background: #f4f4f4; /* match features section */
  color: #2c3e50;
  text-align: center;
}

.business h2 { font-size: 36px; margin-bottom: 20px; }
.business p { font-size: 18px; margin-bottom: 30px; opacity: 0.95; max-width: 700px; margin-left: auto; margin-right: auto; }

.business-button {
  display: inline-block;
  background: #106e3c; /* same as learn-more-button */
  color: #ffffff;
  padding: 15px 30px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.3s ease;
  box-shadow: 0 3px 10px rgba(16, 110, 60, 0.3);
  border: none;
  cursor: pointer;
  text-align: center; /* center text */
  min-height: 44px;
  line-height: 1.2;
}

.business-button:hover {
  background: #0d5a31;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(16, 110, 60, 0.4);
}

/* Raffles carousel styling */
.raffles-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}

.raffles-title {
  margin: 0;
  font-weight: 700;
  color: #106e3c;
}

.raffles-controls {
  display: flex;
  gap: 0.5rem;
}

.raffles-nav {
  background: rgba(255, 255, 255, 0.85);
  color: #106e3c;
  border: 0;
  border-radius: 999px;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,.2);
  z-index: 2;
  padding: 0;
}

.raffles-nav:focus-visible { outline: 3px solid #106e3c; outline-offset: 2px; }

.raffles-viewport {
  overflow: hidden;
}

.raffles-track {
  display: flex;
  gap: 16px;
  transition: transform .3s ease;
  will-change: transform;
}

.raffle-card {
  flex: 0 0 300px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
}

/* Raffles CTA under carousel */
.raffles-more {
  text-align: center;
  margin: 20px 0 0;
}

.see-raffles-button {
  display: inline-block;
  background: #106e3c;
  color: #ffffff;
  padding: 12px 26px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  box-shadow: 0 6px 20px rgba(16,110,60,.25);
  transition: transform .2s ease, box-shadow .2s ease;
  min-height: 44px;
  line-height: 1.2;
}
.see-raffles-button:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(16,110,60,.35); }

.raffle-card:hover::before { opacity: 0.9; }

/* Soft inner glow for depth */
.raffle-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 16px;
  box-shadow: inset 0 0 0 1px rgba(16,110,60,0.06);
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  .raffle-card::before { animation: none; }
}
.
.raffle-card.placeholder {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.raffle-image {
  position: relative;
  height: 180px;
  background: #f3f4f6;
}

.raffle-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.raffle-image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #9ca3af;
  font-size: 32px;
}

.raffle-status-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  backdrop-filter: blur(4px);
  background: rgba(255, 255, 255, 0.85);
}

.raffle-price-badge {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #111827;
  font-weight: 800;
  padding: 8px 12px;
  border-radius: 10px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.raffle-card .raffle-time-pill {
  position: absolute;
  top: 12px;
  left: 12px;
  right: auto;
  bottom: auto;
  background: rgba(255, 255, 255, 0.92);
  color: #0f172a;
  font-weight: 800;
  border-radius: 999px;
  padding: 6px 10px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(0,0,0,0.06);
  backdrop-filter: saturate(140%) blur(6px);
  font-size: 12px;
}

.status-live {
  color: #106e3c;
  border: 1px solid #bfe6d1;
}

.status-upcoming {
  color: #b86e00;
  border: 1px solid #ffe1b3;
}

.raffle-card-body {
  padding: 14px 16px;
}

.raffle-name {
  margin: 0 0 8px 0;
  font-size: 1.1rem;
  color: #111827;
  font-weight: 700;
}

.raffle-meta-line {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.raffle-meta {
  font-size: 0.9rem;
  color: #4b5563;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.raffle-progress {
  height: 8px;
  background: #f3f4f6;
  border-radius: 999px;
  overflow: hidden;
  margin-top: 10px;
}

.raffle-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, #10b981, #059669);
}

.raffle-progress-meta {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: #6b7280;
  margin-top: 6px;
}

.raffle-card-footer {
  padding: 12px 16px 16px;
  margin-top: auto;
}

.btn-small {
  padding: 0.6rem 1rem;
  font-size: 0.95rem;
  border-radius: 10px;
}

@media (max-width: 768px) {
  body.home .hero-premium .hero-copy {
    width: 90%;
  }
  
  body.home .hero-premium .hero-copy h1 {
    font-size: 40px;
  }
  
  body.home .hero-premium .hero-copy p {
    font-size: 18px;
  }
  
  .features h2, .about h2, .business h2, .mission-text h2 { font-size: 28px; }
  .mission-content { grid-template-columns: 1fr; gap: 30px; text-align: center; }
  .impact-stats { grid-template-columns: 1fr; gap: 20px; margin: 30px 0; padding: 20px; }
  .stat-number { font-size: 28px; }
  .mission-icon { font-size: 80px; }
  .heart { font-size: 24px; }
}

@media (max-width: 480px) {
  body.home section.hero-premium {
    padding: 20px 15px 15px 15px;
    padding-top: calc(20px + var(--hero-nav-overlap-mobile, 96px));
  }
  
  body.home .hero-premium .hero-copy {
    width: 100%;
    padding: 0;
  }
  
  body.home .hero-premium .hero-copy h1 { 
    font-size: 30px; 
    margin-bottom: 16px;
  }
  
  body.home .hero-premium .hero-copy p { 
    font-size: 16px; 
    margin-bottom: 24px;
  }
  
  body.home .hero-snow::before,
  body.home .hero-tree::before,
  body.home .hero-tree-right::before {
    font-size: 40px;
    opacity: 0.06;
  }
  
  .container { padding: 0 15px; }
  
  .raffle-card { flex-basis: 280px; }
  
  .raffles-nav {
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    font-size: 0.875rem;
  }
  
  .raffles-title {
    font-size: 1.25rem;
  }
  
  .feature-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .feature-card {
    padding: 25px;
  }
  
  .impact-stats {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 16px;
  }
  
  .stat-number {
    font-size: 24px;
  }
  
  .cta-button {
    padding: 16px 36px;
    font-size: 16px;
    min-height: 44px;
  }
  
  .hero-buttons {
    flex-direction: column;
    gap: 12px;
  }
  
  .hero-buttons .cta-button {
    width: 100%;
    max-width: 100%;
  }
}


