:root {
  color-scheme: light;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  position: relative;
  background: radial-gradient(circle at top, rgba(255, 255, 255, 0.9), rgba(227, 237, 247, 0.9));
}

.texture-overlay {
  background-image:
    linear-gradient(135deg, rgba(255, 255, 255, 0.35) 0%, rgba(255, 255, 255, 0) 40%),
    linear-gradient(45deg, rgba(11, 39, 73, 0.05) 25%, transparent 25%, transparent 50%, rgba(11, 39, 73, 0.05) 50%, rgba(11, 39, 73, 0.05) 75%, transparent 75%, transparent);
  background-size: 100% 100%, 40px 40px;
  pointer-events: none;
}

.hero-image {
  background-image:
    linear-gradient(rgba(11, 39, 73, 0.55), rgba(11, 39, 73, 0.45)),
    url('../images/01.png');
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
}

#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #ffffff;
  padding: 4rem 1.5rem;
  overflow: hidden;
}

.hero-image-layer {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(11, 39, 73, 0.68);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 52rem;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.volunteer-image {
  background-image:
    linear-gradient(rgba(178, 34, 52, 0.35), rgba(11, 39, 73, 0.35)),
    url('https://images.unsplash.com/photo-1523923835833-65cc38c11943?auto=format&fit=crop&w=1600&q=80');
  background-position: center;
  background-size: cover;
}

.gallery-card {
  position: relative;
  overflow: hidden;
  border-radius: 1.5rem;
  box-shadow: 0 25px 45px -20px rgba(11, 39, 73, 0.45);
  transition: transform 300ms ease, box-shadow 300ms ease;
}

.gallery-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
}

.gallery-card:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow: 0 30px 55px -25px rgba(11, 39, 73, 0.6);
}

.gallery-card figcaption {
  padding: 1rem 1.25rem 1.5rem;
  background: rgba(11, 39, 73, 0.85);
  color: #f7f5f2;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
}

.font-playfair {
  font-family: 'Playfair Display', serif;
}

.font-sourcesans {
  font-family: 'Source Sans 3', 'Source Sans Pro', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.animate-fade-up {
  opacity: 1;
  transform: translateY(0);
  animation: fade-up 1.1s ease forwards;
}

.delay-200 {
  animation-delay: 0.2s;
}

.logo-glow {
  filter:
    drop-shadow(0 0 28px rgba(255, 255, 255, 0.85))
    drop-shadow(0 0 60px rgba(255, 255, 255, 0.45));
}

.hero-logo {
  height: clamp(7rem, 12vw, 9.5rem);
}

.hero-logo-large {
  height: auto;
}

.hero-logo-wrapper {
  display: flex;
  justify-content: center;
  margin-bottom: 1.25rem;
  position: relative;
}

.hero-logo-wrapper::before {
  content: "";
  position: absolute;
  inset: -1.5rem;
  border-radius: 9999px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.45) 0%, rgba(255, 255, 255, 0.08) 55%, rgba(255, 255, 255, 0) 75%);
  filter: blur(2px);
  z-index: -1;
  opacity: 0.9;
}

.timeline-card {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 1.5rem;
  padding: 2rem;
  box-shadow: 0 20px 40px -24px rgba(11, 39, 73, 0.3);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  border: 1px solid rgba(11, 39, 73, 0.08);
}

.timeline-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.35rem;
  color: #0b2749;
}

.sponsor-card {
  background: rgba(15, 36, 65, 0.85);
  border-radius: 1.75rem;
  padding: 2rem;
  box-shadow: 0 25px 45px -24px rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.sponsor-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
}

.sponsor-card p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.75);
}

.dedication-item {
  background: rgba(255, 255, 255, 0.92);
  border-radius: 1.25rem;
  padding: 1.2rem 1.6rem;
  box-shadow: 0 15px 35px -20px rgba(11, 39, 73, 0.25);
  border: 1px solid rgba(11, 39, 73, 0.08);
}
.spinner-border {
  width: 1.25rem;
  height: 1.25rem;
  border: 2px solid rgba(255, 255, 255, 0.7);
  border-top-color: transparent;
  border-radius: 9999px;
  animation: spin 0.65s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
