/* style/sports.css */

/* Base styles for the page content */
.page-sports {
  font-family: Arial, sans-serif;
  color: #333333; /* Default text color for light background */
  background-color: #FFFFFF; /* Page background */
  line-height: 1.6;
}

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

/* Hero Section */
.page-sports__hero-section {
  position: relative;
  width: 100%;
  padding-top: var(--header-offset, 120px); /* Space for fixed header */
  background-color: #26A9E0; /* Brand primary color */
  color: #FFFFFF;
  text-align: center;
  overflow: hidden; /* Ensure video doesn't overflow */
}

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

.page-sports__hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.5); /* Darken video for text readability, not changing color */
}

.page-sports__hero-content {
  position: relative;
  z-index: 1;
  padding: 80px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 500px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

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

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

.page-sports__cta-button {
  display: inline-block;
  background-color: #EA7C07; /* Login/CTA color */
  color: #FFFFFF;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-sports__cta-button:hover {
  background-color: #d16b05;
}

/* General Section Styles */
.page-sports__section {
  padding: 60px 0;
  text-align: center;
}

.page-sports__section--light {
  background-color: #FFFFFF;
  color: #333333;
}

.page-sports__section--brand-primary {
  background-color: #26A9E0;
  color: #FFFFFF;
}

.page-sports__section-title {
  font-size: 2.5em;
  margin-bottom: 30px;
  color: inherit; /* Inherit color from section */
}

.page-sports__section-subtitle {
  font-size: 1.2em;
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: inherit;
}

/* Features/Cards Layout */
.page-sports__features-grid,
.page-sports__sports-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-sports__card {
  background-color: #FFFFFF;
  color: #333333;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%; /* Ensure cards have equal height */
  display: flex;
  flex-direction: column;
}