/* ================================
   Global Container Styles
================================ */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Hero Section */
.sports-hero {
  position: relative;
  width: 100%;
  height: 100vh; /* or min-height: 80vh; depending on your preference */
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Dark Overlay */
.sports-hero .hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7); /* Adjust opacity for a lighter/darker overlay */
  z-index: 1;
}

/* Centered Hero Content */
.sports-hero .hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  padding: 2rem;
}

/* Main Bold Text */
.hero-main-text {
  font-family: 'Oswald', sans-serif;
  font-size: 4rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #fff;
  margin-bottom: 0.5rem;
  line-height: 1.2;
}

/* Partial Color Highlight */
.hero-main-text .highlight-text {
  color: #00A650; /* DraftNaija accent color */
}

/* Subheading */
.hero-subtext {
  font-family: 'Oswald', sans-serif;
  font-size: 2rem;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 1rem;
  letter-spacing: 1px;
}

/* Tagline */
.hero-tagline {
  font-family: 'Open Sans', sans-serif;
  font-size: 1.2rem;
  color: #ccc;
  margin-bottom: 2rem;
  line-height: 1.4;
}

/* Call-to-Action Button */
.btn-cta {
  display: inline-block;
  background-color: #00A650;
  color: #fff;
  padding: 0.75rem 1.5rem;
  font-family: 'Oswald', sans-serif;
  font-size: 1rem;
  text-transform: uppercase;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.btn-cta:hover {
  background-color: #00B85C;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .hero-main-text {
    font-size: 2.5rem;
  }
  .hero-subtext {
    font-size: 1.5rem;
  }
  .hero-tagline {
    font-size: 1rem;
  }
}


/* ================================
   Featured NFL Contests Section
================================ */
.nfl-featured {
  background-color: #111; /* Dark background */
  padding: 4rem 2rem;
  text-align: center;
  color: #fff;
  width: 100%;
}

.nfl-featured .section-title {
  font-family: 'Oswald', sans-serif;
  font-size: 2.5rem;
  text-transform: uppercase;
  margin-bottom: 2rem;
  color: #00A650; /* DraftNaija accent color */
}

/* Grid Layout for Contest Cards */
.contest-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin: 0 auto;
}

/* Individual Contest Card */
.contest-card {
  position: relative;
  height: 300px;
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  cursor: pointer;
  perspective: 1000px; /* Enables 3D hover effect */
  box-shadow: 0 4px 12px rgba(0,0,0,0.4);
}

/* 3D Hover Effect */
.contest-card:hover {
  transform: scale(1.03) rotateX(3deg) rotateY(3deg);
  box-shadow: 0 8px 16px rgba(0,0,0,0.6);
}

/* Animated Gradient Backgrounds for Each Card */
.contest-card.card1 {
  background: linear-gradient(45deg, #006633, #00A650, #00B85C);
  background-size: 300% 300%;
  animation: gradientShift 8s ease infinite;
}
.contest-card.card2 {
  background: linear-gradient(45deg, #00573d, #007B3B, #00A650);
  background-size: 300% 300%;
  animation: gradientShift 8s ease infinite;
}
.contest-card.card3 {
  background: linear-gradient(45deg, #003d29, #00664B, #008F4E);
  background-size: 300% 300%;
  animation: gradientShift 8s ease infinite;
}

/* Gradient Shift Animation */
@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Dark Overlay for Text Readability */
.contest-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6); /* Increase opacity for a darker overlay if needed */
  z-index: 1;
  transition: background 0.3s ease;
}

.contest-card:hover::before {
  background: rgba(0, 0, 0, 0.8);
}

/* Contest Info: Positioned Above Overlay */
.contest-info {
  position: relative;
  z-index: 2;
  padding: 1.5rem;
  color: #fff;
}

/* Contest Title */
.contest-title {
  font-family: 'Oswald', sans-serif;
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #00A650;
}

/* Contest Description */
.contest-description {
  font-family: 'Open Sans', sans-serif;
  font-size: 1rem;
  margin-bottom: 1rem;
  color: #ccc;
}

/* Read More Button */
.btn-readmore {
  display: inline-block;
  background-color: #00A650;
  color: #fff;
  padding: 0.5rem 1rem;
  text-transform: uppercase;
  font-family: 'Oswald', sans-serif;
  font-size: 0.9rem;
  border: none;
  border-radius: 4px;
  text-decoration: none;
  transition: background-color 0.3s ease;
}
.btn-readmore:hover {
  background-color: #00B85C;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .contest-card {
    height: 220px;
  }
  .contest-title {
    font-size: 1.5rem;
  }
  .contest-description {
    font-size: 0.95rem;
  }
  .btn-readmore {
    font-size: 0.85rem;
  }
}
/* ================================
   Latest NFL News Section
================================ */
.nfl-news {
  background-color: #1a1a1a;
  padding: 4rem 2rem;
  color: #fff;
  text-align: center;
  width: 100%;
}

.nfl-news .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section-title {
  font-family: 'Oswald', sans-serif;
  font-size: 2.5rem;
  text-transform: uppercase;
  margin-bottom: 2rem;
  color: #00A650;
}

/* Grid Layout for News Items */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin: 0 auto;
}

/* News Item Card */
.news-item {
  background-color: #222;
  border-radius: 8px;
  padding: 1.5rem;
  text-align: left;
  overflow: hidden;
  position: relative;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.news-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.5);
}

/* News Header */
.news-header {
  margin-bottom: 1rem;
}

.news-title {
  font-family: 'Oswald', sans-serif;
  font-size: 1.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
  color: #00A650;
}

.news-excerpt {
  font-family: 'Open Sans', sans-serif;
  font-size: 1rem;
  color: #ccc;
}

/* Read More Button */
.btn-readmore {
  background-color: transparent;
  border: 2px solid #00A650;
  color: #00A650;
  padding: 0.5rem 1rem;
  text-transform: uppercase;
  font-family: 'Oswald', sans-serif;
  font-size: 0.9rem;
  cursor: pointer;
  border-radius: 4px;
  transition: background-color 0.3s, color 0.3s;
  width: 100%;
  text-align: center;
  margin-top: 0.5rem;
}

.btn-readmore:hover {
  background-color: #00A650;
  color: #fff;
}

/* Hidden Details Panel */
.news-details {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  font-family: 'Open Sans', sans-serif;
  font-size: 0.95rem;
  color: #ccc;
  margin-top: 1rem;
  line-height: 1.4;
}

/* Expanded State for News Item */
.news-item.active .news-details {
  max-height: 300px;  /* Adjust as needed; can also use 'max-height: 1000px' if content is very long */
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .news-title {
    font-size: 1.5rem;
  }
  .news-excerpt {
    font-size: 0.95rem;
  }
  .btn-readmore {
    font-size: 0.85rem;
  }
  .news-details {
    font-size: 0.9rem;
  }
}
