/* style/sports.css */

/* Custom CSS Variables for color scheme */
:root {
  --primary-color: #FFD700; /* Gold */
  --secondary-color: #8B0000; /* Dark Red */
  --text-light: #ffffff;
  --text-dark: #333333;
  --bg-dark: #1a1a1a;
  --bg-light: #f8f9fa; /* Slightly off-white for light sections */
  --card-bg-dark-section: rgba(255, 255, 255, 0.1); /* Semi-transparent white for cards on dark background */
  --card-bg-light-section: #ffffff; /* White for cards on light background */
  --border-color: #444444; /* Darker border for dark background */
  --border-color-light: #e0e0e0; /* Lighter border for light background */
}

/* Base styles for the page-sports scope */
.page-sports {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-light); /* Default text color for dark body background */
  background-color: var(--bg-dark); /* Inherited from body, but good to define for consistency */
  overflow-x: hidden; /* Prevent horizontal scroll for the main content area */
}

/* Fixed header offset for the first section */
.page-sports__hero-section {
  padding-top: var(--header-offset, 120px); /* Ensures content is below fixed header */
}

/* General section styling */
.page-sports__section-title {
  font-size: 2.8em;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.page-sports__section-description {
  font-size: 1.1em;
  color: var(--text-light);
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px auto;
  line-height: 1.8;
}

/* Container for content */
.page-sports__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

/* Background variants for sections */
.page-sports__dark-bg {
  background-color: var(--bg-dark);
  color: var(--text-light);
}

.page-sports__light-bg {
  background-color: var(--bg-light);
  color: var(--text-dark); /* Dark text on light background */
}

/* Hero Section */
.page-sports__hero-section {
  position: relative;
  text-align: center;
  padding-bottom: 80px;
  background: linear-gradient(135deg, rgba(26, 26, 26, 0.9), rgba(139, 0, 0, 0.7)), url('[GALLERY:bg:1920x1080:gk88,sports_stadium,abstract_pattern,dark_gold]') no-repeat center center/cover;
}

.page-sports__hero-section .page-sports__container {
  padding-top: 60px;
}

.page-sports__main-title {
  font-size: 3.5em;
  color: var(--primary-color);
  margin-bottom: 25px;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-sports__description {
  font-size: 1.3em;
  color: var(--text-light);
  max-width: 900px;
  margin: 0 auto 40px auto;
  line-height: 1.7;
}

.page-sports__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
  margin-bottom: 60px;
  flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text wrapping */
  text-align: center;
  max-width: 100%; /* Ensure responsiveness */
  box-sizing: border-box; /* Include padding and border in element's total width */
}

.page-sports__cta-button {
  display: inline-block;
  padding: 16px 40px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-sports__cta-button--primary {
  background-color: var(--primary-color);
  color: var(--bg-dark); /* Dark text on gold button for contrast */
  border: 2px solid var(--primary-color);
}

.page-sports__cta-button--primary:hover {
  background-color: #e6c200; /* Slightly darker gold */
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-sports__cta-button--secondary {
  background-color: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.page-sports__cta-button--secondary:hover {
  background-color: var(--primary-color);
  color: var(--bg-dark);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-sports__hero-image {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 40px auto 0 auto;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

/* Grid Layout for Advantages and Promotions */
.page-sports__grid-layout {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 50px;
}