/* style/sports.css */

/* Base Styles & Typography */
.page-sports {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: transparent; /* Body background is handled by shared.css */
}

.page-sports__section-padding {
  padding: 80px 20px;
}

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

.page-sports__section-title {
  font-size: 2.5em;
  color: #ffffff;
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-sports__paragraph {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 20px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-sports__paragraph a,
.page-sports__card-description a,
.page-sports__faq-answer a {
  color: #FFFF00; /* Link color for better visibility on dark background */
  text-decoration: underline;
}

/* Hero Section */
.page-sports__hero-section {
  position: relative;
  width: 100%;
  height: 100vh; /* Full viewport height */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #ffffff;
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Account for fixed header */
  box-sizing: border-box;
}

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

.page-sports__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 2;
}

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

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

.page-sports__hero-description {
  font-size: 1.4em;
  margin-bottom: 40px;
}

.page-sports__hero-cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* Buttons */
.page-sports__btn-primary,
.page-sports__btn-secondary,
.page-sports__btn-download,
.page-sports__btn-small {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  box-sizing: border-box;
  text-align: center;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Ensure long words break */
}

.page-sports__btn-primary {
  background-color: #C30808; /* Custom color for Register/Login */
  color: #FFFF00; /* Custom font color for Register/Login */
  border: 2px solid #C30808;
}

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

.page-sports__btn-secondary {
  background-color: transparent;
  color: #FFFF00; /* Custom font color for Register/Login */
  border: 2px solid #C30808; /* Custom color for Register/Login */
}

.page-sports__btn-secondary:hover {
  background-color: rgba(195, 8, 8, 0.2);
  transform: translateY(-2px);
}

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

.page-sports__btn-download:hover {
  background-color: #005c2e;
  transform: translateY(-2px);
}

.page-sports__btn-small {
  padding: 10px 20px;
  font-size: 0.9em;
  background-color: #017439;
  color: #ffffff;
  border: 1px solid #017439;
  margin-top: 15px;
}

.page-sports__btn-small:hover {
  background-color: #005c2e;
  transform: translateY(-1px);
}

/* Section Specific Styles */
.page-sports__intro-section .page-sports__section-title {
  color: #ffffff;
}

.page-sports__sports-types-section {
  background-color: rgba(1, 116, 57, 0.1); /* Light transparent green */
}

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

.page-sports__sport-card {
  background-color: rgba(255, 255, 255, 0.05); /* Slightly transparent white for cards on dark background */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  padding-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-sports__sport-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  margin-bottom: 20px;
}

.page-sports__card-title {
  font-size: 1.5em;
  color: #ffffff;
  margin-bottom: 10px;
  padding: 0 15px;
}

.page-sports__card-description {
  font-size: 0.95em;
  color: #cccccc;
  padding: 0 15px;
  text-align: center;
  flex-grow: 1;
}

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

.page-sports__feature-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  list-style: none;
  padding: 0;
  margin-top: 40px;
}