/* style/sports.css */

/* General Styles for .page-sports scope */
.page-sports {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background: var(--bg-dark, #0d0d0d); /* Inherit from shared or use fallback dark */
}

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

.page-sports__section-title {
  font-size: 36px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 20px;
  color: #FFD700; /* Gold for titles */
}

.page-sports__section-description {
  font-size: 18px;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px;
  color: #f0f0f0;
}

/* Main H1 Title (after hero and product showcase) */
.page-sports__main-title {
  font-size: 48px;
  font-weight: 800;
  text-align: center;
  margin-bottom: 20px;
  color: #FFD700;
  line-height: 1.2;
}

.page-sports__description {
  font-size: 20px;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px;
  color: #f8f8f8;
}

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

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

.page-sports__btn-primary {
  background: #FFD700; /* Gold */
  color: #8B0000; /* Dark Red */
  border: 2px solid #FFD700;
}

.page-sports__btn-primary:hover {
  background: #e6c200;
  border-color: #e6c200;
  color: #6a0000;
}

.page-sports__btn-secondary {
  background: transparent;
  color: #FFD700; /* Gold */
  border: 2px solid #FFD700;
}

.page-sports__btn-secondary:hover {
  background: #FFD700;
  color: #8B0000; /* Dark Red */
}

.page-sports__btn-link {
  background: transparent;
  color: #FFD700;
  border: none;
  padding: 0;
  font-size: 16px;
  text-decoration: underline;
}

.page-sports__btn-link:hover {
  color: #e6c200;
}

.page-sports__btn-large {
  padding: 18px 40px;
  font-size: 20px;
}

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

/* Sections with light background */
.page-sports__light-bg {
  background: #f8f8f8; /* Light background */
  color: #333333; /* Dark text for light background */
}

.page-sports__light-bg .page-sports__section-title {
  color: #8B0000; /* Dark red for titles on light background */
}

.page-sports__light-bg .page-sports__section-description {
  color: #555555;
}

.page-sports__light-bg .page-sports__btn-link {
  color: #8B0000;
}

.page-sports__light-bg .page-sports__btn-link:hover {
  color: #6a0000;
}

/* Sections with dark background (primary for this page) */
.page-sports__dark-section {
  background: #1a1a1a; /* Dark background, slightly lighter than body */
  color: #ffffff;
}

.page-sports__dark-section .page-sports__section-title {
  color: #FFD700;
}

.page-sports__dark-section .page-sports__section-description {
  color: #f0f0f0;
}

/* HERO Section */
.page-sports__hero-section {
  position: relative;
  padding-bottom: 0;
  padding-left: 0;
  padding-right: 0;
  padding-top: 0; /* Assuming shared.css sets body padding-top */
  margin-top: 0;
  width: 100%;
  overflow: hidden;
}

.page-sports__hero-container {
  position: relative;
  margin: 0 auto;
  width: 100%;
}

.page-sports__hero-image {
  width: 100%;
  margin: 0;
}

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

/* Product Showcase Section */
.page-sports__products-section {
  width: 100%;
  padding: 60px 20px;
  background: var(--bg-dark, #0d0d0d); /* Match body background */
  box-sizing: border-box;
}

.page-sports__products-container {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 4fr 2fr; /* Desktop: 4 small cards, 2 large cards */
  gap: 20px;
}

.page-sports__products-grid {
  display: grid;
  gap: 20px;
}

.page-sports__products-grid--small {
  grid-template-columns: repeat(4, 1fr); /* Desktop: 4 columns */
}

.page-sports__products-grid--large {
  grid-template-columns: repeat(2, 1fr); /* Desktop: 2 columns */
}

.page-sports__product-card {
  width: 100%;
  max-width: 300px; /* Max width for each card */
  border-radius: 0; /* No border-radius */
  overflow: hidden;
  background: transparent;
  box-shadow: none; /* No box-shadow */
  transition: transform 0.3s ease;
}

.page-sports__product-card:hover {
  transform: translateY(-3px);
}

.page-sports__product-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.page-sports__product-card-image {
  width: 100%;
  max-width: 300px; /* Max width for image container */
  overflow: hidden;
}

.page-sports__product-card-image img {
  max-width: 100%;
  width: 100%;
  height: auto; /* Maintain original aspect ratio */
  display: block;
}

/* Introduction Section (H1 is here) */
.page-sports__introduction-section {
  padding: 80px 20px;
}

/* Features Section */
.page-sports__features-section {
  padding: 80px 20px;
}

.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: #ffffff; /* White background for light section */
  color: #333333;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  text-align: center;
  transition: transform 0.3s ease;
}

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

.page-sports__feature-card img {
  width: 100%;
  height: auto;
  max-width: 400px; /* Example size, adjust as needed */
  margin: 0 auto 20px;
  border-radius: 5px;
}

.page-sports__feature-title {
  font-size: 24px;
  color: #8B0000;
  margin-bottom: 10px;
}

.page-sports__feature-text {
  font-size: 16px;
  color: #555555;
}

/* Guide Section */
.page-sports__guide-section {
  padding: 80px 20px;
}

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

.page-sports__guide-item {
  text-align: center;
  background: rgba(255, 255, 255, 0.08); /* Slightly transparent white for dark section */
  padding: 30px;
  border-radius: 10px;
  transition: background 0.3s ease;
}

.page-sports__guide-item:hover {
  background: rgba(255, 255, 255, 0.15);
}

.page-sports__guide-item img {
  width: 100%;
  height: auto;
  max-width: 300px; /* Example size */
  margin: 0 auto 20px;
  border-radius: 5px;
}

.page-sports__guide-title {
  font-size: 22px;
  color: #FFD700;
  margin-bottom: 10px;
}

.page-sports__guide-text {
  font-size: 16px;
  color: #f0f0f0;
}

.page-sports__guide-text a {
  color: #FFD700;
  text-decoration: underline;
}

.page-sports__guide-text a:hover {
  color: #e6c200;
}

/* Promotions Section */
.page-sports__promotions-section {
  padding: 80px 20px;
}

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