/* style/sports.css */

/* Base styles for the page */
.page-sports {
  font-family: 'Arial', sans-serif;
  color: #ffffff; /* Default text color for dark body background */
  background-color: #0a0a0a; /* Matches body background */
  line-height: 1.6;
}

.page-sports__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  box-sizing: border-box;
}

.page-sports__section-title {
  font-size: 2.8em;
  color: #FFCC00; /* Gold color for section titles */
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-sports__text-block {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 20px;
  color: #f0f0f0;
}

.page-sports__text-block a {
  color: #FFCC00; /* Gold for links in text blocks */
  text-decoration: underline;
}

/* Hero Section */
.page-sports__hero-section {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  min-height: 700px;
  padding: 80px 20px;
  padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
  background: linear-gradient(135deg, #CC0000 0%, #800000 100%); /* Brand colors for hero background */
  color: #ffffff;
}

.page-sports__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.page-sports__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
}

.page-sports__hero-section .page-sports__container {
  position: relative;
  z-index: 1;
  max-width: 900px;
}

.page-sports__hero-title {
  font-size: 4.5em;
  margin-bottom: 20px;
  color: #FFCC00; /* Gold for main title */
  font-weight: bold;
  text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.7);
  line-height: 1.1;
}

.page-sports__hero-description {
  font-size: 1.4em;
  margin-bottom: 40px;
  color: #f0f0f0;
  line-height: 1.5;
}

.page-sports__hero-cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

/* Buttons */
.page-sports__btn-primary,
.page-sports__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-sports__btn-primary {
  background-color: #CC0000; /* Primary red */
  color: #ffffff;
  border: 2px solid #CC0000;
}

.page-sports__btn-primary:hover {
  background-color: #FFCC00;
  color: #CC0000;
  border-color: #FFCC00;
}

.page-sports__btn-secondary {
  background-color: transparent;
  color: #FFCC00; /* Secondary gold */
  border: 2px solid #FFCC00;
}

.page-sports__btn-secondary:hover {
  background-color: #FFCC00;
  color: #CC0000;
}

.page-sports__btn-centered {
  display: block;
  margin: 30px auto 0 auto;
  max-width: 300px;
}

/* Section backgrounds */
.page-sports__dark-bg {
  background-color: #0d0d0d; /* Slightly lighter than body for contrast */
  color: #ffffff;
  padding: 60px 0;
}

.page-sports__light-bg {
  background-color: #1a1a1a; /* Dark gray for contrast with dark-bg */
  color: #f0f0f0;
  padding: 60px 0;
}

/* Feature Grid */
.page-sports__feature-grid, .page-sports__sports-grid, .page-sports__promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-sports__feature-card, .page-sports__sport-card, .page-sports__promo-card {
  background-color: rgba(255, 255, 255, 0.08); /* Semi-transparent white for cards */
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, background-color 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #f0f0f0;
}

.page-sports__feature-card:hover, .page-sports__sport-card:hover, .page-sports__promo-card:hover {
  transform: translateY(-10px);
  background-color: rgba(255, 255, 255, 0.15);
}

.page-sports__feature-icon, .page-sports__sport-image, .page-sports__promo-image {
  width: 100%;
  max-width: 400px; /* Ensure images are not too wide */
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
}

.page-sports__card-title {
  font-size: 1.8em;
  color: #FFCC00; /* Gold for card titles */
  margin-bottom: 15px;
  font-weight: bold;
}

.page-sports__card-text {
  font-size: 1em;
  color: #cccccc;
}

.page-sports__card-text a {
  color: #FFCC00;
  text-decoration: underline;
}

/* Lists */
.page-sports__guide-list, .page-sports__benefits-list {
  list-style: none;
  padding: 0;
  margin: 30px auto;
  max-width: 800px;
  text-align: left;
}

.page-sports__guide-list li, .page-sports__benefits-list li {
  background-color: rgba(255, 255, 255, 0.05);
  margin-bottom: 15px;
  padding: 15px 25px;
  border-left: 5px solid #CC0000;
  border-radius: 5px;
  font-size: 1.1em;
  color: #f0f0f0;
}

.page-sports__guide-list li strong, .page-sports__benefits-list li strong {
  color: #FFCC00;
}

.page-sports__guide-list li a, .page-sports__benefits-list li a {
  color: #FFCC00;
  text-decoration: underline;
}

/* Video Section */
.page-sports__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  max-width: 100%;
  background: #000;
  margin: 40px auto;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

.page-sports__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  cursor: pointer;
}

/* FAQ Section */
.page-sports__faq-list {
  margin-top: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-sports__faq-item {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  color: #f0f0f0;
}

.page-sports__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: bold;
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0.15);
  transition: background-color 0.3s ease;
}

.page-sports__faq-question:hover {
  background-color: rgba(255, 255, 255, 0.25);
}

.page-sports__faq-toggle {
  font-size: 1.5em;
  font-weight: bold;
  color: #FFCC00;
  transition: transform 0.3s ease;
}

.page-sports__faq-item.active .page-sports__faq-toggle {
  transform: rotate(45deg);
  color: #CC0000;
}

.page-sports__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #cccccc;
}

.page-sports__faq-item.active .page-sports__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show content */
  padding: 15px 25px;
}

.page-sports__faq-answer p {
  margin-bottom: 0;
  font-size: 1em;
  line-height: 1.5;
}

.page-sports__faq-answer a {
  color: #FFCC00;
  text-decoration: underline;
}

/* Call to Action Section */
.page-sports__call-to-action-section {
  text-align: center;
  padding: 80px 20px;
  background-color: #CC0000; /* Primary brand color for strong CTA */
  color: #ffffff;
}

.page-sports__call-to-action-section .page-sports__section-title {
  color: #ffffff;
}

.page-sports__call-to-action-section .page-sports__hero-description {
  color: #f0f0f0;
}

.page-sports__call-to-action-section .page-sports__cta-buttons {
  margin-top: 40px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-sports__hero-title {
    font-size: 3.5em;
  }
  .page-sports__hero-description {
    font-size: 1.2em;
  }
  .page-sports__section-title {
    font-size: 2.2em;
  }
}

@media (max-width: 768px) {
  .page-sports__hero-section {
    min-height: 500px;
    padding-top: var(--header-offset, 120px) !important;
  }

  .page-sports__hero-title {
    font-size: 2.8em;
  }

  .page-sports__hero-description {
    font-size: 1em;
  }

  .page-sports__hero-cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-sports__btn-primary,
  .page-sports__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-sports__cta-buttons,
  .page-sports__button-group,
  .page-sports__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }

  .page-sports__section-title {
    font-size: 1.8em;
  }

  .page-sports__text-block {
    font-size: 0.95em;
  }

  .page-sports__feature-grid, .page-sports__sports-grid, .page-sports__promo-grid {
    grid-template-columns: 1fr;
  }

  .page-sports__feature-card, .page-sports__sport-card, .page-sports__promo-card {
    padding: 20px;
  }

  .page-sports__feature-icon, .page-sports__sport-image, .page-sports__promo-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-sports__video-wrapper {
    margin: 20px auto;
    padding-left: 15px;
    padding-right: 15px;
    box-sizing: border-box;
  }

  .page-sports video,
  .page-sports__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-sports__video-section,
  .page-sports__video-container,
  .page-sports__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  .page-sports__faq-question {
    font-size: 1em;
    padding: 15px 20px;
  }

  .page-sports__faq-answer {
    padding: 0 20px;
  }

  .page-sports__faq-item.active .page-sports__faq-answer {
    padding: 10px 20px;
  }

  .page-sports p,
  .page-sports li {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-sports__container {
    padding-left: 15px;
    padding-right: 15px;
  }
}

@media (max-width: 480px) {
  .page-sports__hero-title {
    font-size: 2.2em;
  }
  .page-sports__section-title {
    font-size: 1.5em;
  }
  .page-sports__btn-primary, .page-sports__btn-secondary {
    font-size: 1em;
    padding: 12px 20px;
  }
}