/* ===========================
   HOME PAGE CSS
   =========================== */

/* ==============================
   HERO
   ============================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: url('../assets/images/hero_volleyball.png') center center / cover no-repeat;
  z-index: 0;
  transition: transform 0.1s linear;
  will-change: transform;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
      rgba(0, 30, 80, 0.85) 0%,
      rgba(130, 0, 17, 0.75) 50%,
      rgba(0, 20, 60, 0.85) 100%);
  z-index: 1;
}

.hero .container {
  position: relative;
  z-index: 2;
  padding-top: 190px;
  padding-bottom: 120px;
}

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

.hero-badge {
  margin-bottom: 28px;
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 20px;
}

.hero-title-line {
  display: block;
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 4px;
}

.hero-title-main {
  display: block;
  background: linear-gradient(135deg, #fff 0%, var(--gold-light) 50%, var(--gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 40px rgba(212, 175, 55, 0.4));
}

.hero-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 36px;
  line-height: 1.7;
}

/* Medals row */
.hero-medals {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  margin-bottom: 40px;
}

.hero-medal-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.hero-medal-text {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.75);
  font-weight: 600;
}

/* CTA Buttons */
.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ==============================
   HIGHLIGHTS
   ============================== */
.highlights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.highlight-card {
  padding: 40px 32px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.highlight-card.featured-highlight {
  background: linear-gradient(135deg, rgba(0, 87, 184, 0.08), rgba(212, 175, 55, 0.06));
  border-color: rgba(212, 175, 55, 0.25);
}

.highlight-crown {
  font-size: 28px;
  margin-bottom: -8px;
  animation: float1 3s ease-in-out infinite;
}

.highlight-icon {
  font-size: 52px;
  margin-bottom: 20px;
  display: block;
}

.gold-icon {
  filter: drop-shadow(0 0 16px rgba(212, 175, 55, 0.6));
}

.highlight-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 14px;
}

.highlight-desc {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ==============================
   QUICK NAV GRID
   ============================== */
.quick-nav-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

/* ==============================
   CTA SECTION
   ============================== */
.cta-section {
  position: relative;
  padding: 100px 0;
  overflow: hidden;
  text-align: center;
}

.cta-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--dark) 0%, var(--royal-blue-dark) 50%, var(--dark) 100%);
  background-size: 200% 200%;
  animation: gradientShift 8s ease infinite;
}

.cta-overlay {
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.cta-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto;
}

.cta-title {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 900;
  color: var(--white);
  margin-bottom: 16px;
}

.cta-subtitle {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 40px;
  line-height: 1.7;
}

.cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ==============================
   RESPONSIVE
   ============================== */
@media (max-width: 1024px) {
  .quick-nav-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .hero-medals {
    gap: 16px;
  }

  .highlights-grid {
    grid-template-columns: 1fr;
  }

  .quick-nav-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 480px) {
  .quick-nav-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .hero-medals {
    flex-wrap: wrap;
    gap: 16px;
  }
}