/* style/sports.css */

/* Base styles for the page content */
.page-sports {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #f0f0f0; /* Light text for dark body background */
  background-color: transparent; /* Body background is handled by shared.css (#000000) */
  padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
}

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

/* Section Titles and Descriptions */
.page-sports__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
  color: #26A9E0; /* Brand color for titles on light backgrounds */
}

.page-sports__section-title--white {
  color: #FFFFFF; /* White for titles on dark backgrounds */
}

.page-sports__section-description {
  font-size: 1.1em;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 50px auto;
  color: #333333;
}

.page-sports__section-description--white {
  color: #f0f0f0;
}

/* Hero Section */
.page-sports__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
  min-height: 600px;
  overflow: hidden;
  color: #FFFFFF;
}

.page-sports__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background-color: rgba(0, 0, 0, 0.5); /* Overlay to ensure text readability */
}

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

.page-sports__hero-title {
  font-size: 3.5em;
  color: #FFFFFF;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-sports__hero-description {
  font-size: 1.3em;
  color: #f0f0f0;
  max-width: 800px;
  margin-bottom: 40px;
}

/* CTA Buttons */
.page-sports__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
  flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

.page-sports__btn-primary,
.page-sports__btn-secondary,
.page-sports__btn-link {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  white-space: nowrap; /* Prevent text from breaking initially */
  box-sizing: border-box;
  max-width: 100%; /* Ensure button doesn't exceed container */
}

.page-sports__btn-primary {
  background-color: #26A9E0; /* Main brand color */
  color: #FFFFFF;
  border: 2px solid #26A9E0;
}

.page-sports__btn-primary:hover {
  background-color: #1a7fb4;
  border-color: #1a7fb4;
}

.page-sports__btn-secondary {
  background-color: transparent;
  color: #FFFFFF;
  border: 2px solid #FFFFFF;
}

.page-sports__btn-secondary:hover {
  background-color: #FFFFFF;
  color: #26A9E0;
}

.page-sports__btn-link {
  background-color: #EA7C07; /* Login color for specific actions */
  color: #FFFFFF;
  border: 2px solid #EA7C07;
  padding: 10px 20px;
  font-size: 0.9em;
  margin-top: 15px;
}

.page-sports__btn-link:hover {
  background-color: #c96a06;
  border-color: #c96a06;
}

.page-sports__btn-link--white {
  background-color: transparent;
  color: #FFFFFF;
  border: 2px solid #FFFFFF;
}

.page-sports__btn-link--white:hover {
  background-color: #FFFFFF;
  color: #26A9E0;
}

/* Introduction Section */
.page-sports__introduction-section {
  padding: 80px 20px;
  background-color: #FFFFFF; /* Light background */
  color: #333333; /* Dark text for light background */
}

.page-sports__introduction-section .page-sports__section-description {
  color: #333333;
}

/* Features Section */
.page-sports__features-section {
  padding: 80px 20px;
  background-color: #000000; /* Dark background from body */
  color: #FFFFFF;
}

.page-sports__feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-sports__feature-card {
  background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent white on dark bg */
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
  color: #FFFFFF;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-sports__feature-card:hover {
  transform: translateY(-10px);
}

.page-sports__feature-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
}

.page-sports__card-title {
  font-size: 1.5em;
  margin-bottom: 15px;
  font-weight: bold;
  color: #26A9E0; /* Brand color for titles */
}

.page-sports__card-title--white {
  color: #FFFFFF;
}

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

.page-sports__card-text--white {
  color: #f0f0f0;
}

/* Video Section */
.page-sports__video-section {
  padding: 80px 20px;
  background-color: #000000; /* Dark background */
  text-align: center;
  color: #FFFFFF;
}

.page-sports__video-wrapper {
  position: relative;
  width: 100%;
  max-width: 800px; /* Max width for video */
  margin: 40px auto;
  background-color: #000;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.page-sports__video-link {
  display: block;
  cursor: pointer;
}

.page-sports__video {
  width: 100%;
  height: auto;
  display: block;
}

.page-sports__video-caption {
  font-size: 0.9em;
  margin-top: 20px;
  color: #f0f0f0;
}

/* How-To Section */
.page-sports__how-to-section {
  padding: 80px 20px;
  background-color: #FFFFFF; /* Light background */
  color: #333333;
}

.page-sports__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-sports__step-card {
  background-color: #f9f9f9;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #333333;
}

.page-sports__step-number {
  background-color: #26A9E0;
  color: #FFFFFF;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8em;
  font-weight: bold;
  margin-bottom: 20px;
}

/* Promotions Section */
.page-sports__promotions-section {
  padding: 80px 20px;
  background-color: #000000; /* Dark background */
  color: #FFFFFF;
}

.page-sports__promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-sports__promo-card {
  background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent white on dark bg */
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
  color: #FFFFFF;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-sports__promo-card:hover {
  transform: translateY(-10px);
}

.page-sports__promo-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
}

.page-sports__cta-promotions {
  margin-top: 50px;
  text-align: center;
}