/* style/sports.css */

/* Base styles for the page content, ensuring light text on dark body background */
.page-sports {
  color: #ffffff; /* Light text for dark body background */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  background-color: transparent; /* Body background is handled by shared.css */
}

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

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

.page-sports__text-block {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 20px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: #f0f0f0; /* Slightly off-white for readability */
}

.page-sports__highlight {
  color: #26A9E0;
  font-weight: bold;
}

/* Buttons */
.page-sports__btn-primary,
.page-sports__btn-secondary,
.page-sports__inline-link {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  box-sizing: border-box; /* Ensure padding/border included in width */
  white-space: normal; /* Allow text to wrap */
  word-wrap: break-word; /* Break long words */
}

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

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

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

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

.page-sports__inline-link {
  color: #26A9E0;
  text-decoration: underline;
  padding: 0;
  border: none;
  background: none;
}
.page-sports__inline-link:hover {
  color: #1e87b8;
  text-decoration: none;
}

/* Hero Section */
.page-sports__hero-section {
  position: relative;
  width: 100%;
  height: 70vh; /* Adjust as needed */
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Fixed header offset */
  background-color: #0a0a0a; /* Ensure dark background for hero */
}

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

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

.page-sports__hero-content {
  position: relative;
  z-index: 2;
  color: #ffffff;
  max-width: 800px;
  padding: 20px;
}

.page-sports__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: bold;
  color: #ffffff; /* Ensure title is white for contrast */
}

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

.page-sports__hero-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

/* Intro Section */
.page-sports__intro-section {
  background-color: #0a0a0a; /* Explicitly dark background */
  padding: 60px 0;
  color: #ffffff;
}

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

.page-sports__card,
.page-sports__sports-card,
.page-sports__promo-card,
.page-sports__advantage-card {
  background: rgba(255, 255, 255, 0.08); /* Slightly transparent white for dark background */
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #ffffff; /* Light text for dark card background */
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-sports__card:hover,
.page-sports__sports-card:hover,
.page-sports__promo-card:hover,
.page-sports__advantage-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-sports__card-image,
.page-sports__sports-image,
.page-sports__promo-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px; /* Minimum size for images */
  min-height: 200px;
}

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

.page-sports__card-description,
.page-sports__sports-description,
.page-sports__promo-description,
.page-sports__advantage-description {
  font-size: 1em;
  color: #e0e0e0;
}

/* Guide Section */
.page-sports__guide-section {
  background-color: #1a1a1a; /* Slightly lighter dark background */
  padding: 60px 0;
  color: #ffffff;
}

.page-sports__guide-list {
  list-style: none;
  padding: 0;
  margin: 40px 0;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.page-sports__guide-item {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  color: #ffffff;
}

.page-sports__guide-step-title {
  font-size: 1.6em;
  color: #26A9E0;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-sports__guide-item p {
  font-size: 1.1em;
  color: #e0e0e0;
}

.page-sports__guide-cta {
  text-align: center;
  margin-top: 50px;
}

/* Promotions Section */
.page-sports__promotions-section {
  background-color: #0a0a0a;
  padding: 60px 0;
  color: #ffffff;
}

.page-sports__promotions-cta {
  text-align: center;
  margin-top: 50px;
}

/* Why Choose Section */
.page-sports__why-choose-section {
  background-color: #1a1a1a;
  padding: 60px 0;
  color: #ffffff;
}

.page-sports__advantage-card {
  padding: 25px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* FAQ Section */
.page-sports__faq-section {
  background-color: #0a0a0a;
  padding: 60px 0;
  color: #ffffff;
}

.page-sports__faq-list {
  max-width: 900px;
  margin: 40px auto 0 auto;
}