/* style/the-thao.css */

:root {
  --primary-color: #0A2239;
  --secondary-color: #FFD700;
  --text-dark: #333333;
  --text-light: #ffffff;
  --bg-light: #f4f4f4;
  --bg-dark: #1a1a1a;
  --border-color: #e0e0e0;
}

.page-the-thao {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--bg-light);
}

.page-the-thao section {
  padding: 60px 0;
  margin-bottom: 20px;
}

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

.page-the-thao h1, .page-the-thao h2, .page-the-thao h3, .page-the-thao h4 {
  color: var(--primary-color);
  font-weight: bold;
  margin-bottom: 20px;
}

.page-the-thao h1 {
  font-size: 3.2em;
  text-align: center;
  color: var(--text-light);
}

.page-the-thao h2 {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 40px;
}

.page-the-thao h3 {
  font-size: 1.8em;
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-the-thao h4 {
  font-size: 1.3em;
  margin-bottom: 10px;
}

.page-the-thao p {
  margin-bottom: 15px;
  font-size: 1.1em;
}

.page-the-thao .cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--secondary-color);
  color: var(--primary-color);
  text-decoration: none;
  border-radius: 8px;
  font-size: 1.2em;
  font-weight: bold;
  margin-top: 30px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-the-thao .cta-button:hover {
  background: #e6b800; /* Slightly darker gold */
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.page-the-thao .btn-primary {
  display: inline-block;
  padding: 10px 25px;
  background: var(--primary-color);
  color: var(--text-light);
  text-decoration: none;
  border-radius: 5px;
  font-size: 1em;
  font-weight: bold;
  margin-top: 15px;
  transition: background-color 0.3s ease;
}

.page-the-thao .btn-primary:hover {
  background: #071727; /* Darker primary */
}

.page-the-thao .btn-secondary {
  display: inline-block;
  padding: 10px 25px;
  background: var(--secondary-color);
  color: var(--primary-color);
  text-decoration: none;
  border-radius: 5px;
  font-size: 1em;
  font-weight: bold;
  margin-top: 15px;
  transition: background-color 0.3s ease;
}

.page-the-thao .btn-secondary:hover {
  background: #e6b800; /* Darker secondary */
}

/* Hero Section */
.page-the-thao .hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
  background: linear-gradient(135deg, var(--primary-color) 0%, #000000 100%); /* Dark gradient background for text contrast */
  color: var(--text-light);
}

.page-the-thao .hero-container {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-the-thao .hero-image {
  width: 100%;
  margin-bottom: 30px;
}

.page-the-thao .hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

.page-the-thao .hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
}

.page-the-thao .hero-content p {
  color: #e0e0e0;
  font-size: 1.2em;
  max-width: 800px;
  margin: 0 auto 30px auto;
}

/* Why Choose Us Section */
.page-the-thao .why-choose-us {
  background-color: var(--bg-light);
  padding: 80px 0;
}

.page-the-thao .why-choose-us h2 {
  color: var(--primary-color);
}

.page-the-thao .why-choose-us p {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 50px auto;
}

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

.page-the-thao .feature-item {
  background: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-the-thao .feature-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.page-the-thao .feature-item img {
  width: 100%;
  max-width: 250px; /* Ensure images are not too small */
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
  object-fit: cover;
}

.page-the-thao .feature-item h3 {
  color: var(--primary-color);
  font-size: 1.5em;
  margin-top: 0;
}

.page-the-thao .feature-item p {
  font-size: 1em;
  color: var(--text-dark);
  text-align: left;
}

/* Sports Halls Section */
.page-the-thao .sports-halls {
  background-color: #fcfcfc;
  padding: 80px 0;
}

.page-the-thao .sports-halls h2 {
  color: var(--primary-color);
}

.page-the-thao .sports-halls p {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 50px auto;
}

.page-the-thao .halls-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-the-thao .hall-card {
  background: #ffffff;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-the-thao .hall-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.page-the-thao .hall-card img {
  width: 100%;
  max-width: 300px; /* Ensure images are not too small */
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
  object-fit: contain;
  aspect-ratio: 16/9;
}

.page-the-thao .hall-card h3 {
  color: var(--primary-color);
  font-size: 1.6em;
  margin-top: 0;
}

.page-the-thao .hall-card p {
  font-size: 0.95em;
  color: #555;
  text-align: left;
}

/* Betting Guide Section */
.page-the-thao .betting-guide {
  background-color: var(--bg-light);
  padding: 80px 0;
}

.page-the-thao .betting-guide h2 {
  color: var(--primary-color);
}

.page-the-thao .betting-guide p {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 50px auto;
}

.page-the-thao .guide-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-the-thao .step-item {
  background: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.page-the-thao .step-item img {
  width: 100%;
  max-width: 200px; /* Ensure images are not too small */
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
  object-fit: contain;
}

.page-the-thao .step-item h3 {
  color: var(--primary-color);
  font-size: 1.5em;
  margin-top: 0;
}

.page-the-thao .step-item p {
  font-size: 1em;
  color: var(--text-dark);
  text-align: left;
}

/* Betting Tips Section */
.page-the-thao .betting-tips {
  background-color: #fcfcfc;
  padding: 80px 0;
}

.page-the-thao .betting-tips h2 {
  color: var(--primary-color);
}

.page-the-thao .betting-tips p {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 50px auto;
}

.page-the-thao .tips-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-the-thao .tips-list li {
  background: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.page-the-thao .tips-list li img {
  width: 100%;
  max-width: 200px; /* Ensure images are not too small */
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
  object-fit: contain;
}

.page-the-thao .tips-list li h4 {
  color: var(--primary-color);
  margin-top: 0;
}

.page-the-thao .tips-list li p {
  font-size: 1em;
  color: var(--text-dark);
  text-align: left;
}

/* FAQ Section */
.page-the-thao .faq-section {
  background-color: var(--bg-light);
  padding: 80px 0;
}

.page-the-thao .faq-section h2 {
  color: var(--primary-color);
}

.page-the-thao .faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.page-the-thao .faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-the-thao .faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.page-the-thao .faq-question:hover {
  background: #f5f5f5;
}

.page-the-thao .faq-question h3 {
  margin: 0;
  font-size: 1.25em;
  color: var(--primary-color);
}

.page-the-thao .faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: var(--secondary-color);
  transition: transform 0.3s ease;
}

.page-the-thao .faq-item.active .faq-toggle {
  transform: rotate(45deg);
  color: var(--primary-color);
}

.page-the-thao .faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
  padding: 0 25px;
  background: #f9f9f9;
  border-left: 1px solid var(--border-color);
  border-right: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  border-radius: 0 0 5px 5px;
}

.page-the-thao .faq-item.active .faq-answer {
  max-height: 500px; /* Sufficient height for content */
  padding: 20px 25px;
}

.page-the-thao .faq-answer p {
  margin-bottom: 0;
  color: #555;
}

.page-the-thao .faq-answer a {
  color: var(--primary-color);
  text-decoration: underline;
}

.page-the-thao .faq-answer a:hover {
  color: var(--secondary-color);
}

/* Conclusion Section */
.page-the-thao .conclusion-section {
  background: linear-gradient(135deg, #0A2239 0%, #000000 100%);
  padding: 80px 0;
  text-align: center;
  color: var(--text-light);
}

.page-the-thao .conclusion-section h2 {
  color: var(--secondary-color);
}

.page-the-thao .conclusion-section p {
  color: #e0e0e0;
  max-width: 900px;
  margin: 0 auto 40px auto;
  font-size: 1.2em;
}

.page-the-thao .bottom-cta {
  background: var(--secondary-color);
  color: var(--primary-color);
}

.page-the-thao .bottom-cta:hover {
  background: #e6b800;
  transform: translateY(-3px);
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-the-thao h1 {
    font-size: 2.8em;
  }

  .page-the-thao h2 {
    font-size: 2em;
  }

  .page-the-thao .features-grid, .page-the-thao .halls-grid, .page-the-thao .guide-steps, .page-the-thao .tips-list {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-the-thao section {
    padding: 40px 0;
  }

  .page-the-thao h1 {
    font-size: 2.2em;
  }

  .page-the-thao h2 {
    font-size: 1.8em;
  }

  .page-the-thao h3 {
    font-size: 1.4em;
  }

  .page-the-thao .hero-content p {
    font-size: 1em;
  }

  .page-the-thao .cta-button {
    padding: 12px 30px;
    font-size: 1em;
  }

  .page-the-thao .feature-item, .page-the-thao .hall-card, .page-the-thao .step-item, .page-the-thao .tips-list li {
    padding: 20px;
  }

  .page-the-thao .feature-item img, .page-the-thao .hall-card img, .page-the-thao .step-item img, .page-the-thao .tips-list li img {
    max-width: 180px;
  }

  .page-the-thao .faq-question {
    padding: 15px 20px;
  }

  .page-the-thao .faq-question h3 {
    font-size: 1.1em;
  }

  .page-the-thao .faq-toggle {
    font-size: 20px;
  }

  .page-the-thao .faq-answer {
    padding: 0 20px;
  }

  .page-the-thao .faq-item.active .faq-answer {
    padding: 15px 20px;
  }
}

@media (max-width: 480px) {
  .page-the-thao h1 {
    font-size: 1.8em;
  }

  .page-the-thao h2 {
    font-size: 1.5em;
  }

  .page-the-thao .hero-image {
    margin-bottom: 20px;
  }

  .page-the-thao .cta-button {
    margin-top: 20px;
  }

  .page-the-thao .features-grid, .page-the-thao .halls-grid, .page-the-thao .guide-steps, .page-the-thao .tips-list {
    grid-template-columns: 1fr;
  }

  .page-the-thao .feature-item img, .page-the-thao .hall-card img, .page-the-thao .step-item img, .page-the-thao .tips-list li img {
    max-width: 150px;
  }
}