/* style/ththao.css */

:root {
  --primary-color: #FF8C1A;
  --secondary-color: #FFA53A;
  --button-gradient: linear-gradient(180deg, #FFA53A 0%, #D96800 100%);
  --card-bg: #17191F;
  --background-color: #0D0E12;
  --text-main-color: #FFF3E6;
  --border-color: #A84F0C;
  --glow-color: #FFB04D;
  --deep-orange: #D96800;
  --light-text-color: #FFF3E6;
  --dark-text-color: #333333;
  --white-color: #ffffff;
  --black-color: #000000;
}

.page-ththao {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-main-color); /* Body background is dark, so text is light */
  background-color: var(--background-color); /* This will be overridden by shared.css body background */
  direction: ltr;
}

/* Ensure main content is visible below header */
.page-ththao__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  background: var(--background-color);
  overflow: hidden;
}

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

.page-ththao__hero-image {
  width: 100%;
  margin-bottom: 30px;
}

.page-ththao__hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 8px;
  object-fit: cover;
}

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

.page-ththao__main-title {
  font-size: 2.8em;
  font-weight: bold;
  color: var(--text-main-color);
  margin-bottom: 20px;
  line-height: 1.2;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-ththao__description {
  font-size: 1.2em;
  color: var(--light-text-color);
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-ththao__cta-button {
  display: inline-block;
  padding: 15px 40px;
  text-decoration: none;
  border-radius: 5px;
  font-size: 18px;
  font-weight: bold;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  max-width: 100%; /* For responsive buttons */
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-ththao__btn-primary {
  background: var(--button-gradient);
  color: var(--white-color);
}

.page-ththao__btn-primary:hover {
  background: linear-gradient(180deg, var(--deep-orange) 0%, var(--secondary-color) 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-ththao__btn-secondary {
  background: var(--primary-color);
  color: var(--white-color);
}

.page-ththao__btn-secondary:hover {
  background: var(--deep-orange);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

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

.page-ththao__section-title {
  font-size: 2.2em;
  font-weight: bold;
  text-align: center;
  margin-bottom: 40px;
  color: var(--text-main-color);
}

.page-ththao__text-block {
  font-size: 1.1em;
  line-height: 1.8;
  margin-bottom: 20px;
  color: var(--light-text-color);
  text-align: justify;
}

.page-ththao__intro-section {
  padding: 80px 0;
}

.page-ththao__features-section,
.page-ththao__promotions-section,
.page-ththao__faq-section,
.page-ththao__cta-bottom-section {
  padding: 80px 0;
  background-color: var(--background-color);
}

.page-ththao__why-choose-section {
  padding: 80px 0;
  background-color: #1a1a1a; /* Slightly lighter dark background for contrast */
  color: var(--text-main-color);
}

.page-ththao__guide-section {
  padding: 80px 0;
  background-color: #1a1a1a; /* Slightly lighter dark background for contrast */
  color: var(--text-main-color);
}

.page-ththao__dark-section {
  background-color: var(--background-color);
  color: var(--text-main-color);
}

.page-ththao__light-bg {
  background-color: #1a1a1a;
  color: var(--text-main-color);
}

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

.page-ththao__card {
  background-color: var(--card-bg);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: var(--text-main-color);
  border: 1px solid var(--border-color);
}

.page-ththao__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-ththao__feature-icon,
.page-ththao__reason-icon,
.page-ththao__promo-image {
  width: 100%;
  height: auto;
  max-width: 100%;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
  display: block;
}

.page-ththao__feature-card .page-ththao__feature-icon,
.page-ththao__why-choose-item .page-ththao__reason-icon {
  max-width: 250px; /* Smaller icons for these cards */
  margin-left: auto;
  margin-right: auto;
  height: 150px;
}

.page-ththao__card-title {
  font-size: 1.5em;
  font-weight: bold;
  margin-bottom: 15px;
  color: var(--primary-color);
}

.page-ththao__card-description {
  font-size: 1em;
  color: var(--light-text-color);
  line-height: 1.7;
  text-align: justify;
}

.page-ththao__guide-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-ththao__guide-item {
  background-color: var(--card-bg);
  border-radius: 10px;
  padding: 30px;
  margin-bottom: 20px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
  border-left: 5px solid var(--primary-color);
}

.page-ththao__guide-item:last-child {
  margin-bottom: 0;
}

.page-ththao__guide-step-title {
  font-size: 1.4em;
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.page-ththao__guide-item p {
  color: var(--light-text-color);
  font-size: 1.05em;
  line-height: 1.7;
  text-align: justify;
}

.page-ththao__guide-item a {
  color: var(--secondary-color);
  text-decoration: none;
  font-weight: bold;
}

.page-ththao__guide-item a:hover {
  text-decoration: underline;
}

.page-ththao__promo-card .page-ththao__btn-primary {
  margin-top: 20px;
  padding: 10px 25px;
  font-size: 16px;
}

.page-ththao__promo-note {
  text-align: center;
  margin-top: 40px;
  font-style: italic;
  color: var(--light-text-color);
}

.page-ththao__cta-bottom-content {
  text-align: center;
}

.page-ththao__cta-bottom-section .page-ththao__section-title {
  margin-bottom: 20px;
}

.page-ththao__cta-bottom-section .page-ththao__text-block {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 40px;
}

/* FAQ Styles */
details.page-ththao__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid var(--border-color);
  overflow: hidden;
  background: var(--card-bg);
  color: var(--text-main-color);
}
details.page-ththao__faq-item summary.page-ththao__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
}
details.page-ththao__faq-item summary.page-ththao__faq-question::-webkit-details-marker {
  display: none;
}
details.page-ththao__faq-item summary.page-ththao__faq-question:hover {
  background: #252525; /* Slightly lighter card background on hover */
}
.page-ththao__faq-qtext {
  flex: 1;
  font-size: 1.1em;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: var(--light-text-color);
}
.page-ththao__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: var(--primary-color);
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}
details.page-ththao__faq-item .page-ththao__faq-answer {
  padding: 0 20px 20px;
  background: #1a1a1a; /* Slightly lighter than card bg for answer */
  border-radius: 0 0 5px 5px;
  color: var(--light-text-color);
}
.page-ththao__faq-answer p {
  margin: 0;
  padding: 0;
  text-align: justify;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-ththao__main-title {
    font-size: 2.4em;
  }
  .page-ththao__section-title {
    font-size: 1.8em;
  }
  .page-ththao__description,
  .page-ththao__text-block {
    font-size: 1em;
  }
  .page-ththao__card-title {
    font-size: 1.3em;
  }
  .page-ththao__cta-button {
    padding: 12px 30px;
    font-size: 16px;
  }
}

@media (max-width: 768px) {
  .page-ththao__hero-section {
    padding-top: 10px !important;
    padding-bottom: 40px;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-ththao__hero-image img {
    border-radius: 4px;
  }
  .page-ththao__main-title {
    font-size: 2em;
    margin-bottom: 15px;
  }
  .page-ththao__description {
    font-size: 0.95em;
    margin-bottom: 20px;
  }
  .page-ththao__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-ththao__cta-button {
    padding: 12px 25px;
    font-size: 16px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-ththao__container {
    padding: 20px 15px;
  }
  .page-ththao__section-title {
    font-size: 1.6em;
    margin-bottom: 30px;
  }
  .page-ththao__grid-container {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-ththao__card {
    padding: 20px;
  }
  .page-ththao__card-title {
    font-size: 1.2em;
  }
  .page-ththao__card-description {
    font-size: 0.95em;
  }
  .page-ththao__guide-item {
    padding: 20px;
  }
  .page-ththao__guide-step-title {
    font-size: 1.2em;
  }
  .page-ththao__guide-item p {
    font-size: 0.95em;
  }
  details.page-ththao__faq-item summary.page-ththao__faq-question { padding: 15px; }
  .page-ththao__faq-qtext { font-size: 1em; }
  details.page-ththao__faq-item .page-ththao__faq-answer { padding: 0 15px 15px; }

  /* Force responsive images */
  .page-ththao img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-ththao__section, .page-ththao__card, .page-ththao__container, .page-ththao__cta-buttons {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}