/* /css/homepage.css */

/* Hero section */
.hero-section {
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  padding: 3rem 2rem;
  margin-bottom: 3rem;
  text-align: center;
  transition: background-color 0.3s;
}

.hero-logo {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 2rem auto;
  display: block;
  border: 4px solid #ddd;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: border-color 0.3s;
}

.hero-title {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  color: #333;
  font-weight: bold;
}

.hero-subtitle {
  font-size: 1.3rem;
  color: #666;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  transition: color 0.3s;
}

.hero-description {
  font-size: 1.1rem;
  color: #555;
  max-width: 800px;
  margin: 0 auto 2rem auto;
  line-height: 1.7;
  transition: color 0.3s;
}

/* Current season highlight */
.current-season {
  background: linear-gradient(135deg, #007bff, #0056b3);
  color: white;
  padding: 2rem;
  border-radius: 12px;
  margin: 2rem auto;
  max-width: 500px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
}

.current-season h3 {
  color: white;
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.current-season p {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  opacity: 0.9;
}

.cta-button {
  background-color: white;
  color: #007bff;
  padding: 1rem 2rem;
  border: none;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: bold;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  text-decoration: none;
  color: #0056b3;
}

/* League navigation */
.league-nav {
  margin-bottom: 3rem;
}

.nav-header {
  text-align: center;
  margin-bottom: 2rem;
}

.nav-header h2 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.nav-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.nav-card {
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
  text-decoration: none;
  color: inherit;
  border: 1px solid #ddd;
}

.nav-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  text-decoration: none;
  color: inherit;
}

.nav-card-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: #007bff;
}

.nav-card-title {
  font-size: 1.3rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
  color: #333;
}

.nav-card-description {
  color: #666;
  font-size: 0.95rem;
  transition: color 0.3s;
}

/* Season history */
.season-history {
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  margin-bottom: 3rem;
  transition: background-color 0.3s;
}

.section-header {
  background-color: #333;
  color: white;
  padding: 1.5rem;
  text-align: center;
}

.section-header h3 {
  color: white;
  margin: 0;
  font-size: 1.8rem;
}

.seasons-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 0;
}

.season-card {
  padding: 2rem;
  border-right: 1px solid #eee;
  border-bottom: 1px solid #eee;
  text-align: center;
  transition: all 0.3s ease;
  background-color: #fff;
  text-decoration: none;
  color: inherit;
  position: relative;
}

.season-card:hover {
  background-color: #f8f9fa;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  text-decoration: none;
  color: inherit;
}

.season-card.current {
  background: linear-gradient(135deg, #007bff, #0056b3);
  color: white;
}

.season-card.current:hover {
  background: linear-gradient(135deg, #0056b3, #004085);
  color: white;
}

.season-card.current .season-title,
.season-card.current .season-status {
  color: white;
}

.season-title {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
  color: #333;
}

.season-status {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 1rem;
  transition: color 0.3s;
}

.season-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1rem;
}

.season-stat {
  text-align: center;
}

.season-stat-value {
  font-size: 1.2rem;
  font-weight: bold;
  color: #007bff;
  transition: color 0.3s;
}

.season-card.current .season-stat-value {
  color: white;
}

.season-stat-label {
  font-size: 0.8rem;
  color: #666;
  margin-top: 0.2rem;
  transition: color 0.3s;
}

.season-card.current .season-stat-label {
  color: rgba(255, 255, 255, 0.8);
}

.current-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background-color: #28a745;
  color: white;
  padding: 0.3rem 0.6rem;
  border-radius: 12px;
  font-size: 0.7rem;
  font-weight: bold;
  text-transform: uppercase;
}

.champion-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.champion-logo {
    width: 32px;
    height: 32px;
    border-radius: 4px;
}


/* Mobile responsive */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }

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

  .info-sections {
    grid-template-columns: 1fr;
  }

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

  .footer-links {
    flex-direction: column;
    gap: 1rem;
  }

  header h1 {
    font-size: 1.6rem;
    flex-direction: column;
    gap: 0.5rem;
  }

  .header-logo {
    width: 35px;
    height: 35px;
  }

  .hero-logo {
    width: 100px;
    height: 100px;
  }

  .current-season {
    margin: 2rem 0;
    padding: 1.5rem;
  }
}

@media (max-width: 480px) {
  main {
    padding: 1rem;
  }

  .hero-section {
    padding: 2rem 1rem;
  }

  .nav-card, .season-card {
    padding: 1.5rem;
  }

  .hero-title {
    font-size: 2rem;
  }

  .season-stats {
    grid-template-columns: 1fr;
  }
}
