/*
  home.css — Styles specific to the Home page sections.
*/

/* ---- Hero ---- */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  background: var(--black);
  padding: var(--space-2xl) var(--space-md);
}

.hero-content {
  max-width: 800px;
}

.hero-logo {
  height: clamp(100px, 18vw, 160px);
  margin-inline: auto;
  margin-bottom: var(--space-md);
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 0.5rem;
  box-shadow: var(--shadow-md);
}

.mission-visual img {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 0.5rem;
  box-shadow: var(--shadow-sm);
}

.hero h1 {
  color: var(--white);
  margin-bottom: var(--space-sm);
}

.hero-tagline {
  font-size: clamp(1.125rem, 2.5vw, 1.5rem);
  font-weight: 600;
  color: var(--pink-light);
  margin-bottom: var(--space-md);
}

.hero-location {
  font-size: 1rem;
  font-weight: 500;
  color: var(--white);
  margin-bottom: var(--space-lg);
}

.hero .btn-secondary {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}

.hero .btn-secondary:hover {
  background: var(--white);
  color: var(--black);
}

/* ---- Countdown ---- */
.countdown-section {
  background: var(--purple-dark);
  color: var(--white);
  padding: var(--space-lg) var(--space-md);
  text-align: center;
}

.countdown-section h2 {
  color: var(--white);
  font-size: 1.5rem;
  margin-bottom: var(--space-md);
}

.countdown-grid {
  display: flex;
  justify-content: center;
  gap: clamp(1rem, 4vw, 2.5rem);
  flex-wrap: nowrap;
}

.countdown-unit {
  flex: 1 1 0;
  min-width: 0;
  max-width: 120px;
}

.countdown-value {
  display: block;
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 800;
  line-height: 1;
  color: var(--white);
}

.countdown-label {
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--pink-light);
  margin-top: 0.25rem;
}

.countdown-date {
  margin-top: var(--space-md);
  margin-inline: auto;
  max-width: none;
  text-align: center;
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--white);
}

/* ---- Event Info ---- */
.event-info {
  background: var(--gray-100);
}

.event-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-md);
}

.event-info-card {
  text-align: center;
  padding: var(--space-lg);
}

.event-info-card .icon {
  font-size: 2.5rem;
  margin-bottom: var(--space-sm);
}

.event-info-card h3 {
  color: var(--purple-dark);
  margin-bottom: var(--space-xs);
}

.event-info-card p {
  margin-inline: auto;
  color: var(--gray-700);
}

.event-info .section-header p {
  color: var(--gray-700);
}

/* ---- Mission ---- */
.mission {
  background: linear-gradient(180deg, var(--white) 0%, var(--purple-light) 100%);
}

.mission-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
}

.mission-text h2 {
  color: var(--purple-dark);
  margin-bottom: var(--space-md);
}

.mission-text p {
  margin-bottom: var(--space-sm);
  font-size: 1.0625rem;
  color: var(--gray-900);
}

.mission .section-label {
  color: var(--purple);
}

.mission-highlight p {
  color: var(--gray-900);
}

.mission-highlight {
  background: var(--white);
  border-left: 4px solid var(--pink);
  padding: var(--space-md);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin-top: var(--space-md);
  box-shadow: var(--shadow-sm);
}

.mission-highlight strong {
  color: var(--purple);
}

.mission-visual {
  background: var(--purple);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  color: var(--white);
  text-align: center;
}

.mission-visual img {
  height: 120px;
  margin-inline: auto;
  margin-bottom: var(--space-md);
}

.mission-visual h3 {
  color: var(--white);
  margin-bottom: var(--space-sm);
}

.mission-visual p {
  color: var(--white);
  margin-inline: auto;
}

/* ---- Our Story ---- */
.our-story {
  background: var(--white);
}

.story-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

.story-card {
  text-align: center;
  padding: var(--space-lg);
  border-top: 4px solid var(--pink);
}

.story-card h3 {
  color: var(--purple-dark);
  margin-bottom: var(--space-xs);
}

.story-intro {
  text-align: center;
  max-width: 700px;
  margin-inline: auto;
  font-size: 1.125rem;
  color: var(--gray-700);
}

.story-card p {
  color: var(--gray-700);
}

.our-story .section-header p {
  color: var(--gray-700);
}

/* ---- Impact Stats ---- */
.impact {
  background: var(--purple-dark);
  color: var(--white);
}

.impact .section-header h2 {
  color: var(--white);
}

.impact .section-header p {
  color: var(--white);
  opacity: 0.92;
}

.impact .section-label {
  color: var(--pink-light);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--space-md);
}

.stat-card {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  text-align: center;
  backdrop-filter: blur(8px);
}

.stat-number {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 800;
  color: var(--pink-light);
  line-height: 1;
}

.stat-label {
  font-size: 1.125rem;
  font-weight: 600;
  margin-top: var(--space-xs);
  color: var(--white);
}

/* ---- Winners Podium ---- */
.winners {
  background: var(--gray-100);
}

.podium {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: var(--space-sm);
  margin-top: var(--space-lg);
  flex-wrap: wrap;
}

.podium-place {
  text-align: center;
  flex: 0 1 200px;
}

.podium-block {
  border-radius: var(--radius-md) var(--radius-md) 0 0;
  padding: var(--space-md);
  color: var(--white);
  font-weight: 700;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  transition: transform var(--transition);
}

.podium-block:hover {
  transform: translateY(-6px);
}

.podium-place.first .podium-block {
  background: linear-gradient(180deg, #ffd700, #daa520);
  height: 200px;
  color: var(--black);
}

.podium-place.second .podium-block {
  background: linear-gradient(180deg, #c0c0c0, #a0a0a0);
  height: 160px;
  color: var(--black);
}

.podium-place.third .podium-block {
  background: linear-gradient(180deg, #cd7f32, #a0522d);
  height: 130px;
  color: var(--black);
}

.podium-medal {
  font-size: 2.5rem;
  margin-bottom: var(--space-xs);
}

.podium-name {
  font-size: 1.125rem;
}

.podium-rank {
  font-size: 0.875rem;
  font-weight: 600;
  color: inherit;
  margin-top: 0.25rem;
}

.winners .section-header p {
  color: var(--gray-700);
}

/* ---- Quotes ---- */
.quotes {
  background: var(--white);
}

.quotes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-md);
}

.quote-card {
  padding: var(--space-lg);
  border-left: 4px solid var(--purple);
  background: var(--purple-light);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.quote-card blockquote {
  font-style: italic;
  font-size: 1.0625rem;
  color: var(--gray-900);
  margin-bottom: var(--space-sm);
}

.quote-card cite {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--purple-dark);
  font-style: normal;
}

.quotes .section-header p {
  color: var(--gray-700);
}

/* ---- Sponsors ---- */
.sponsors {
  background: var(--gray-100);
}

.sponsor-logos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
  max-width: 960px;
  margin-inline: auto;
}

.sponsor-logo-item {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 120px;
  transition: transform var(--transition), box-shadow var(--transition);
}

.sponsor-logo-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.sponsor-logo-item img {
  max-width: 100%;
  max-height: 72px;
  width: auto;
  height: auto;
  object-fit: contain;
}

/* ---- CTA Banner ---- */
.cta-banner {
  background: linear-gradient(135deg, var(--purple) 0%, var(--pink) 100%);
  color: var(--white);
  text-align: center;
  padding: var(--space-xl) var(--space-md);
}

.cta-banner h2 {
  color: var(--white);
  margin-bottom: var(--space-sm);
}

.cta-banner p {
  color: var(--white);
  margin-inline: auto;
  margin-bottom: var(--space-md);
}

.sponsors .section-header p {
  color: var(--gray-700);
}

.cta-banner .btn-secondary {
  background: var(--white);
  color: var(--purple-dark);
  border-color: var(--white);
}

.cta-banner .btn-secondary:hover {
  background: var(--purple-light);
  color: var(--purple-dark);
}

/* ---- Animations (scroll reveal) ---- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---- Home Responsive ---- */
@media (max-width: 768px) {
  .hero {
    min-height: 80vh;
    padding-top: calc(var(--header-height) + var(--space-lg));
    padding-bottom: var(--space-xl);
  }

  .hero-logo {
    height: clamp(130px, 32vw, 160px);
    padding: 0.75rem;
    margin-bottom: var(--space-lg);
  }

  .countdown-grid {
    gap: 0.5rem;
    max-width: 360px;
    margin-inline: auto;
  }

  .countdown-value {
    font-size: clamp(1.875rem, 8vw, 2.75rem);
  }

  .countdown-label {
    font-size: 0.6875rem;
    letter-spacing: 0.06em;
  }

  .countdown-date {
    font-size: 1rem;
    padding-inline: 0.5rem;
  }

  .mission-content {
    grid-template-columns: 1fr;
  }

  .podium {
    flex-direction: column;
    align-items: center;
  }

  .podium-place.first { order: 1; }
  .podium-place.second { order: 2; }
  .podium-place.third { order: 3; }

  .podium-place.first .podium-block,
  .podium-place.second .podium-block,
  .podium-place.third .podium-block {
    height: auto;
    min-height: 100px;
    width: 100%;
    max-width: 280px;
  }
}
