/* style/sports.css */

/* Base styles for the page, ensuring light text on dark body background */
.page-sports {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for the page content, contrasting with dark body background */
  background-color: transparent; /* Body handles the background, this section is transparent */
}

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

.page-sports__section {
  padding: 60px 0;
  text-align: center;
}

.page-sports__dark-bg {
  background-color: #26A9E0;
  color: #ffffff;
}

.page-sports__light-bg {
  background-color: #0d0d0d; /* Slightly lighter dark for contrast sections */
  color: #ffffff;
}

.page-sports__light-text {
  color: #ffffff;
}

.page-sports__section-title {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 700;
  margin-bottom: 20px;
  color: #ffffff; /* Ensure titles are light on dark backgrounds */
  line-height: 1.2;
  letter-spacing: -0.5px;
}

.page-sports__text-block {
  font-size: 1.1rem;
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: #f0f0f0;
}

.page-sports__keyword {
  font-weight: bold;
  color: #EA7C07; /* Highlight keywords with a contrasting color */
}

/* Hero Section */
.page-sports__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 10px 0 60px 0; /* body handles padding-top */
  background-color: #1a1a1a; /* Dark background for hero section */
}

.page-sports__hero-image-wrapper {
  width: 100%;
  max-height: 500px;
  overflow: hidden;
}

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

.page-sports__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 40px 20px;
  text-align: center;
  background: rgba(0, 0, 0, 0.6); /* Semi-transparent overlay for readability */
  border-radius: 10px;
  margin-top: -150px; /* Pull content up slightly over the image for visual flow, not overlap */
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
}

.page-sports__main-title {
  font-size: clamp(2.5rem, 5vw, 3.8rem);
  font-weight: 900;
  color: #ffffff;
  margin-bottom: 15px;
  line-height: 1.1;
  letter-spacing: -1px;
}

.page-sports__description {
  font-size: 1.2rem;
  margin-bottom: 30px;
  color: #f0f0f0;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-sports__highlight-text {
  color: #EA7C07;
  font-weight: bold;
}

.page-sports__cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

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

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

.page-sports__btn-primary:hover {
  background-color: #1e87c0;
  border-color: #1e87c0;
  transform: translateY(-2px);
}

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

.page-sports__btn-secondary:hover {
  background-color: #26A9E0;
  color: #ffffff;
  transform: translateY(-2px);
}

/* Why Link New Section */
.page-sports__why-link-new {
  padding: 80px 0;
  background-color: #0a0a0a; /* Darker background for contrast */
}

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

.page-sports__feature-card {
  background-color: #1a1a1a;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: left;
  transition: transform 0.3s ease;
  color: #ffffff;
}

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

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

.page-sports__card-title {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: #26A9E0;
}

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

/* Sports Offer Section */
.page-sports__sports-offer {
  background-color: #26A9E0;
  padding: 80px 0;
}

.page-sports__sports-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
  text-align: left;
}

.page-sports__feature-item {
  background-color: rgba(0, 0, 0, 0.3);
  border-radius: 10px;
  padding: 30px;
  color: #ffffff;
}

.page-sports__feature-heading {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: #ffffff;
}

.page-sports__feature-description {
  font-size: 1rem;
  color: #f0f0f0;
}

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

/* Access Guide Section */
.page-sports__access-guide {
  background-color: #0a0a0a;
  padding: 80px 0;
}

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

.page-sports__step-item {
  background-color: #1a1a1a;
  border-radius: 10px;
  padding: 30px;
  text-align: left;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: #ffffff;
}

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

.page-sports__step-title {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: #26A9E0;
}

.page-sports__step-description {
  font-size: 1rem;
  color: #f0f0f0;
}

/* Promotions Section */
.page-sports__promotions {
  background-color: #26A9E0;
  padding: 80px 0;
}

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

.page-sports__promo-card {
  background-color: rgba(0, 0, 0, 0.3);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: left;
  color: #ffffff;
  display: flex;
  flex-direction: column;
}

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

.page-sports__promo-card .page-sports__card-title {
  color: #ffffff;
}

.page-sports__promo-card .page-sports__card-text {
  flex-grow: 1;
  margin-bottom: 20px;
}

.page-sports__promo-card .page-sports__btn-secondary {
  align-self: flex-start;
}

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

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

.page-sports__faq-item {
  background-color: #1a1a1a;
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #ffffff;
}

.page-sports__faq-item summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-size: 1.1rem;
  font-weight: bold;
  color: #26A9E0;
  background-color: #1a1a1a;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-sports__faq-item summary::-webkit-details-marker {
  display: none;
}

.page-sports__faq-item[open] summary {
  color: #EA7C07;
}

.page-sports__faq-qtext {
  flex-grow: 1;
  color: #ffffff;
}

.page-sports__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  margin-left: 15px;
  color: #EA7C07;
}

.page-sports__faq-answer {
  padding: 20px 25px;
  font-size: 1rem;
  color: #f0f0f0;
}

.page-sports__faq-answer p {
  margin-bottom: 0;
}

/* Call to Action Section */
.page-sports__call-to-action {
  background-color: #1a1a1a;
  padding: 80px 0;
}

.page-sports__cta-content {
  max-width: 900px;
  margin: 0 auto;
}

/* Media Queries for Responsiveness */
@media (max-width: 1024px) {
  .page-sports__hero-content {
    margin-top: -100px;
    padding: 30px 20px;
  }

  .page-sports__main-title {
    font-size: clamp(2.2rem, 4.5vw, 3.5rem);
  }

  .page-sports__description {
    font-size: 1.1rem;
  }
}

@media (max-width: 768px) {
  .page-sports__section {
    padding: 40px 0;
  }

  .page-sports__section-title {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
  }

  .page-sports__text-block {
    font-size: 1rem;
    margin-bottom: 30px;
    padding: 0 15px;
  }

  .page-sports__hero-section {
    padding-top: 10px !important; /* body handles --header-offset, this is for visual spacing */
    padding-bottom: 40px;
  }

  .page-sports__hero-image-wrapper {
    max-height: 300px;
  }

  .page-sports__hero-content {
    margin-top: -80px;
    padding: 25px 15px;
  }

  .page-sports__main-title {
    font-size: clamp(2rem, 7vw, 2.8rem);
  }

  .page-sports__description {
    font-size: 0.95rem;
    margin-bottom: 20px;
  }

  .page-sports__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
  }

  .page-sports__btn-primary,
  .page-sports__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1rem;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-sports__container {
    padding: 0 15px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Image responsiveness */
  .page-sports img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-sports__feature-card,
  .page-sports__promo-card,
  .page-sports__step-item {
    padding: 20px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  /* FAQ responsiveness */
  .page-sports__faq-item summary {
    padding: 15px 20px;
    font-size: 1rem;
  }

  .page-sports__faq-answer {
    padding: 15px 20px;
    font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
  .page-sports__hero-content {
    margin-top: -60px;
    padding: 20px 10px;
  }

  .page-sports__main-title {
    font-size: clamp(1.8rem, 8vw, 2.5rem);
  }

  .page-sports__description {
    font-size: 0.9rem;
  }

  .page-sports__btn-primary,
  .page-sports__btn-secondary {
    font-size: 0.9rem;
    padding: 10px 15px;
  }
}