/* style/sports.css */

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

/* Fixed header offset for the first main content section */
.page-sports__hero-section {
  padding-top: var(--header-offset, 120px);
  position: relative;
  overflow: hidden; /* For video */
}

/* Hero Section */
.page-sports__hero-section {
  background: linear-gradient(135deg, #26A9E0, #1a7bbd); /* Using brand color for dark background */
  color: #ffffff; /* Light text for dark background */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-bottom: 60px; /* Adjust as needed */
  position: relative;
  z-index: 1; /* Ensure content is above video */
}

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

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

.page-sports__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
  padding: 20px;
}

.page-sports__hero-title {
  font-size: 3em;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-sports__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
}

.page-sports__hero-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap; /* Ensure buttons wrap on mobile */
}

/* Common button styles */
.page-sports__btn-primary,
.page-sports__btn-secondary,
.page-sports a[class*="button"],
.page-sports a[class*="btn"] {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  cursor: pointer;
  max-width: 100%; /* For mobile button responsiveness */
  box-sizing: border-box; /* For mobile button responsiveness */
  white-space: normal; /* Allow text wrap */
  word-wrap: break-word; /* Allow text wrap */
}

.page-sports__btn-primary {
  background-color: #EA7C07; /* Login color for primary action */
  color: #ffffff;
  border: 2px solid transparent;
}

.page-sports__btn-primary:hover {
  background-color: #d16b06;
}

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

.page-sports__btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

/* Content Area */
.page-sports__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  box-sizing: border-box;
}

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

.page-sports__section-title--white {
  color: #ffffff;
}

.page-sports__section-intro {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

/* About Section */
.page-sports__grid-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

@media (min-width: 768px) {
  .page-sports__grid-container {
    grid-template-columns: 1fr 1fr;
  }
}

.page-sports__text-block p {
  margin-bottom: 15px;
  color: #333333;
}

.page-sports__image-wrapper {
  text-align: center;
}

.page-sports__image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Offerings Section */
.page-sports__offerings-section {
  background-color: #26A9E0; /* Brand color for background */
  color: #ffffff;
  padding: 60px 0;
}

.page-sports__grid-3-col {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-sports__card {
  background-color: #ffffff;
  color: #333333;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: center;
  padding-bottom: 20px;
  display: flex;
  flex-direction: column;
}

.page-sports__card-image {
  width: 100%;
  height: 250px; /* Fixed height for consistency */
  object-fit: cover;
  margin-bottom: 15px;
}

.page-sports__card-title {
  font-size: 1.8em;
  color: #26A9E0;
  margin: 15px 15px 10px;
  font-weight: bold;
}

.page-sports__card-text {
  padding: 0 15px;
  margin-bottom: 20px;
  flex-grow: 1; /* Allows text to take available space */
}

.page-sports__card-link {
  display: inline-block;
  color: #26A9E0;
  text-decoration: none;
  font-weight: bold;
  border: 2px solid #26A9E0;
  padding: 10px 20px;
  border-radius: 5px;
  transition: all 0.3s ease;
  margin-top: auto; /* Push link to bottom */
}

.page-sports__card-link:hover {
  background-color: #26A9E0;
  color: #ffffff;
}

/* Features Section */
.page-sports__features-section {
  padding: 60px 0;
}

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