/* style/sports.css */

/* Base Styles */
.page-sports {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #f0f0f0; /* Light text for dark background */
  background-color: var(--dark-bg, #0A2240);
}

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

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

.page-sports__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  text-align: justify;
}

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

.page-sports__hero-content {
  max-width: 900px;
  z-index: 1;
  position: relative;
}

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

.page-sports__hero-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

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

.page-sports__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3; /* Slightly transparent to let text stand out */
}

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

.page-sports__btn-primary {
  background-color: #E6B34B;
  color: #0A2240;
  border: 2px solid #E6B34B;
}

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

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

.page-sports__btn-secondary:hover {
  background-color: #E6B34B;
  color: #0A2240;
}

.page-sports__btn-link {
  color: #E6B34B;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-sports__btn-link:hover {
  color: #f7d780;
  text-decoration: underline;
}

.page-sports__cta-buttons--center {
  text-align: center;
  margin-top: 40px;
}

/* Section Backgrounds */
.page-sports__dark-bg {
  background-color: #0A2240;
  color: #ffffff;
  padding: 60px 0;
}

.page-sports__light-bg {
  background-color: #ffffff;
  color: #333333;
  padding: 60px 0;
}

/* About Section */
.page-sports__about-section .page-sports__section-title {
  color: #0A2240;
}

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

.page-sports__feature-card {
  background-color: rgba(255, 255, 255, 0.1);
  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;
}

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

.page-sports__feature-icon {
  width: 100px;
  height: 100px;
  margin-bottom: 20px;
  object-fit: contain;
  max-width: 100%;
  height: auto;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-sports__card-title {
  font-size: 1.5em;
  color: #E6B34B;
  margin-bottom: 15px;
  font-weight: bold;
}

/* Guide Section */
.page-sports__guide-section .page-sports__section-title {
  color: #0A2240;
}

.page-sports__guide-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.page-sports__guide-list li {
  background-color: #f9f9f9;
  border-left: 5px solid #E6B34B;
  padding: 20px;
  margin-bottom: 15px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  color: #333333;
  font-size: 1.1em;
}

.page-sports__guide-list li strong {
  color: #0A2240;
}

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

.page-sports__promo-card {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  color: #ffffff;
}

.page-sports__promo-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  margin-bottom: 20px;
  max-width: 100%;
  height: auto;
  display: block;
}

.page-sports__promo-card .page-sports__card-title {
  font-size: 1.3em;
  margin-top: 0;
  padding: 0 20px;
}

.page-sports__promo-card p {
  padding: 0 20px 20px;
  font-size: 1em;
}

.page-sports__promo-card .page-sports__btn-link {
  display: block;
  padding: 15px 20px;
  background-color: rgba(230, 179, 75, 0.2);
  border-top: 1px solid rgba(230, 179, 75, 0.3);
}

.page-sports__promo-card .page-sports__btn-link:hover {
  background-color: rgba(230, 179, 75, 0.4);
}

/* Video Section */
.page-sports__video-section .page-sports__section-title,
.page-sports__video-section .page-sports__text-block {
  color: #0A2240;
}

.page-sports__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  margin-top: 40px;
  background-color: #000;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-sports__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: pointer;
}

/* FAQ Section */
.page-sports__faq-list {
  margin-top: 40px;
}

.page-sports__faq-item {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #ffffff;
}

.page-sports__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-sports__faq-question h3 {
  margin: 0;
  font-size: 1.2em;
  color: #E6B34B;
}

.page-sports__faq-toggle {
  font-size: 1.8em;
  font-weight: bold;
  color: #E6B34B;
  transition: transform 0.3s ease;
}

.page-sports__faq-item.active .page-sports__faq-toggle {
  transform: rotate(45deg);
}

.page-sports__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #f0f0f0;
}

.page-sports__faq-item.active .page-sports__faq-answer {
  max-height: 1000px !important; /* Sufficiently large */
  padding: 20px;
}

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

/* Bottom CTA Section */
.page-sports__cta-bottom-content {
  text-align: center;
  padding: 60px 20px;
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  color: #0A2240;
}

.page-sports__cta-bottom-content .page-sports__section-title {
  color: #0A2240;
  margin-bottom: 20px;
}

.page-sports__cta-bottom-content .page-sports__text-block {
  font-size: 1.2em;
  margin-bottom: 30px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-sports__hero-title {
    font-size: 3em;
  }
  .page-sports__hero-description {
    font-size: 1.2em;
  }
  .page-sports__section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-sports__hero-section {
    padding: 60px 15px;
  }
  .page-sports__hero-title {
    font-size: 2.5em;
  }
  .page-sports__hero-description {
    font-size: 1em;
  }
  .page-sports__hero-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-sports__btn-primary,
  .page-sports__btn-secondary {
    width: 100%;
    padding: 12px 20px;
  }
  .page-sports__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-sports__text-block {
    font-size: 0.95em;
  }
  .page-sports__features-grid,
  .page-sports__promotions-grid {
    grid-template-columns: 1fr;
  }
  .page-sports__container {
    padding: 0 15px;
  }
  
  /* Mobile responsive images */
  .page-sports img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  /* Mobile responsive video */
  .page-sports video,
  .page-sports__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-sports__video-section,
  .page-sports__video-container,
  .page-sports__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  .page-sports__video-section {
    padding-top: var(--header-offset, 120px) !important;
  }
  
  /* Mobile responsive buttons */
  .page-sports__cta-button,
  .page-sports__btn-primary,
  .page-sports__btn-secondary,
  .page-sports a[class*="button"],
  .page-sports a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-sports__cta-buttons,
  .page-sports__button-group,
  .page-sports__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }
  .page-sports__cta-buttons {
    flex-direction: column;
  }
  
  /* Content area padding for mobile */
  .page-sports__section,
  .page-sports__card,
  .page-sports__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}

@media (max-width: 480px) {
  .page-sports__hero-title {
    font-size: 2em;
  }
  .page-sports__section-title {
    font-size: 1.5em;
  }
}