/* style/the-thao.css */

/* Base styles for the page */
.page-the-thao {
  background-color: #0A0A0A; /* Background color from custom配色 */
  color: #FFF6D6; /* Main text color from custom配色 */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

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

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

.page-the-thao__section-title {
  font-size: 2.8em;
  color: #F2C14E; /* Main color for titles */
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
}

.page-the-thao__section-description {
  font-size: 1.1em;
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: #FFF6D6;
}

/* Hero Section */
.page-the-thao__hero-section {
  position: relative;
  overflow: hidden;
  padding-top: 10px; /* Adhere to fixed header spacing rule */
  padding-bottom: 60px;
  display: flex;
  flex-direction: column; /* Image above text */
  align-items: center;
  justify-content: center;
}

.page-the-thao__hero-image-wrapper {
  width: 100%;
  position: relative;
  z-index: 1;
}

.page-the-thao__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  max-height: 600px; /* Limit hero image height */
}

.page-the-thao__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 40px 20px 0;
  max-width: 900px;
  margin-top: -100px; /* Pull content up slightly over image for visual flow */
  background: linear-gradient(0deg, #0A0A0A 0%, rgba(10,10,10,0.8) 50%, rgba(10,10,10,0) 100%); /* Gradient to blend with image */
  padding-top: 100px;
}

.page-the-thao__hero-title {
  font-size: clamp(2em, 4vw, 3.5em); /* Responsive font size, not fixed large */
  color: #FFD36B; /* Glow color for main title */
  margin-bottom: 15px;
  font-weight: bold;
  line-height: 1.2;
  text-shadow: 0 0 10px rgba(255, 211, 107, 0.7);
}

.page-the-thao__hero-description {
  font-size: 1.2em;
  color: #FFF6D6;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* CTA Button - General Style */
.page-the-thao__cta-button {
  display: inline-block;
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Button color from custom配色 */
  color: #000000; /* Dark text for contrast on bright button */
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(255, 211, 107, 0.4);
}

.page-the-thao__cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(255, 211, 107, 0.6);
}

/* Card Styles */
.page-the-thao__card {
  background-color: #111111; /* Card BG from custom配色 */
  color: #FFF6D6; /* Text Main from custom配色 */
  border: 1px solid #3A2A12; /* Border from custom配色 */
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  text-align: center;
}

.page-the-thao__card img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 15px;
  display: block; /* Ensure images behave as block for spacing */
  margin-left: auto;
  margin-right: auto;
}

.page-the-thao__card h3 {
  font-size: 1.5em;
  color: #F2C14E;
  margin-bottom: 10px;
}

.page-the-thao__card p {
  font-size: 0.95em;
  color: #FFF6D6;
}

/* Why Choose Us Section */
.page-the-thao__why-choose-us-section {
  background-color: #0A0A0A;
}

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

.page-the-thao__feature-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-the-thao__feature-icon {
  width: 100%; /* Ensure feature image takes full width of card */
  height: auto;
  object-fit: cover;
  aspect-ratio: 16/9; /* Maintain aspect ratio */
}

/* Popular Sports Section */
.page-the-thao__popular-sports-section {
  background-color: #0A0A0A;
}

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

.page-the-thao__sport-card {
  text-align: left;
}

.page-the-thao__sport-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  aspect-ratio: 3/2; /* Example aspect ratio */
}

.page-the-thao__sport-title {
  font-size: 1.6em;
  color: #F2C14E;
  margin-top: 15px;
  margin-bottom: 8px;
}

.page-the-thao__sport-text {
  font-size: 1em;
  color: #FFF6D6;
}

/* Guide Section (5 vertical team cards) */
.page-the-thao__guide-section {
  background-color: #0A0A0A;
}

.page-the-thao__guide-steps-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}

.page-the-thao__guide-step-card {
  flex: 0 0 calc(20% - 16px); /* 5 cards per row, accounting for gap */
  max-width: calc(20% - 16px);
  background-color: #111111;
  border: 1px solid #3A2A12;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}