/* style/ththao.css */

/* Custom Colors */
:root {
  --page-ththao-bg: #08160F;
  --page-ththao-card-bg: #11271B;
  --page-ththao-text-main: #F2FFF6;
  --page-ththao-text-secondary: #A7D9B8;
  --page-ththao-btn-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  --page-ththao-border: #2E7A4E;
  --page-ththao-glow: #57E38D;
  --page-ththao-gold: #F2C14E;
  --page-ththao-divider: #1E3A2A;
  --page-ththao-deep-green: #0A4B2C;
}

.page-ththao {
  font-family: 'Arial', sans-serif;
  color: var(--page-ththao-text-main);
  background-color: var(--page-ththao-bg);
}

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

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

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

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

.page-ththao__section-title {
  font-size: clamp(28px, 3.5vw, 48px);
  font-weight: 700;
  margin-bottom: 30px;
  color: var(--page-ththao-text-main);
  line-height: 1.2;
}

.page-ththao__sub-title {
  font-size: clamp(22px, 2.5vw, 32px);
  font-weight: 600;
  margin-top: 40px;
  margin-bottom: 20px;
  color: var(--page-ththao-text-main);
}

.page-ththao p {
  font-size: 18px;
  line-height: 1.7;
  margin-bottom: 20px;
  color: var(--page-ththao-text-secondary);
}

.page-ththao p strong {
  color: var(--page-ththao-text-main);
}

/* Hero Section */
.page-ththao__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 600px;
  padding-top: 10px; /* Small top padding as body handles header offset */
  overflow: hidden;
}

.page-ththao__hero-image-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  max-height: 700px;
  overflow: hidden;
}

.page-ththao__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.7);
}

.page-ththao__hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  max-width: 900px;
  text-align: center;
  padding: 20px;
  box-sizing: border-box;
}

.page-ththao__main-title {
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 800;
  color: var(--page-ththao-gold);
  line-height: 1.1;
  margin-bottom: 20px;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.page-ththao__tagline {
  font-size: clamp(18px, 2vw, 24px);
  color: var(--page-ththao-text-main);
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-ththao__btn-primary,
.page-ththao__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 18px;
  transition: all 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
}

.page-ththao__btn-primary {
  background: var(--page-ththao-btn-gradient);
  color: #ffffff;
  border: 2px solid transparent;
}

.page-ththao__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  box-shadow: 0 0 15px var(--page-ththao-glow);
}

.page-ththao__btn-secondary {
  background: transparent;
  color: var(--page-ththao-text-main);
  border: 2px solid var(--page-ththao-border);
}

.page-ththao__btn-secondary:hover {
  background: var(--page-ththao-deep-green);
  border-color: var(--page-ththao-glow);
  color: var(--page-ththao-glow);
}

/* Content Images */
.page-ththao__image-content {
  width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  max-width: 800px;
  min-width: 200px;
  min-height: 200px;
  object-fit: cover;
}

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

.page-ththao__card {
  background-color: var(--page-ththao-card-bg);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: left;
  display: flex;
  flex-direction: column;
  color: var(--page-ththao-text-secondary);
  border: 1px solid var(--page-ththao-divider);
}

.page-ththao__card-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px;
  min-height: 200px;
}

.page-ththao__card-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--page-ththao-text-main);
}

.page-ththao__feature-card {
  background-color: var(--page-ththao-deep-green);
  padding: 25px;
  border-radius: 10px;
  text-align: left;
  border: 1px solid var(--page-ththao-border);
  color: var(--page-ththao-text-secondary);
}

.page-ththao__feature-title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--page-ththao-text-main);
}

/* Lists */
.page-ththao__list,
.page-ththao__ordered-list {
  list-style: none;
  padding: 0;
  margin: 30px 0;
  text-align: left;
}

.page-ththao__list-item,
.page-ththao__ordered-list .page-ththao__list-item {
  background-color: var(--page-ththao-card-bg);
  border: 1px solid var(--page-ththao-divider);
  padding: 20px;
  margin-bottom: 15px;
  border-radius: 8px;
  font-size: 18px;
  line-height: 1.6;
  color: var(--page-ththao-text-secondary);
}

.page-ththao__ordered-list .page-ththao__list-item {
  counter-increment: list-counter;
  position: relative;
  padding-left: 50px;
}

.page-ththao__ordered-list .page-ththao__list-item::before {
  content: counter(list-counter);
  position: absolute;
  left: 15px;
  top: 15px;
  background-color: var(--page-ththao-gold);
  color: var(--page-ththao-bg);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
}

.page-ththao__list-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--page-ththao-text-main);
  margin-bottom: 10px;
}

/* FAQ Section */
.page-ththao__faq-list {
  margin-top: 30px;
  text-align: left;
}

.page-ththao__faq-item {
  background-color: var(--page-ththao-card-bg);
  border: 1px solid var(--page-ththao-divider);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-ththao__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  font-size: 18px;
  font-weight: 600;
  color: var(--page-ththao-text-main);
  background-color: var(--page-ththao-deep-green);
  border-bottom: 1px solid var(--page-ththao-divider);
  user-select: none;
}

.page-ththao__faq-item[open] .page-ththao__faq-question {
  border-bottom: 1px solid var(--page-ththao-border);
}

.page-ththao__faq-question::-webkit-details-marker {
  display: none;
}

.page-ththao__faq-question::marker {
  display: none;
}

.page-ththao__faq-qtext {
  flex-grow: 1;
}

.page-ththao__faq-toggle {
  font-size: 24px;
  line-height: 1;
  margin-left: 15px;
  color: var(--page-ththao-gold);
}

.page-ththao__faq-item[open] .page-ththao__faq-toggle {
  content: '−';
}

.page-ththao__faq-answer {
  padding: 20px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--page-ththao-text-secondary);
}

.page-ththao__faq-answer p {
  margin-bottom: 0;
  color: var(--page-ththao-text-secondary);
}

/* Bottom CTA Section */
.page-ththao__cta-bottom {
  padding: 80px 0;
  background-color: var(--page-ththao-deep-green);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-ththao__hero-content {
    max-width: 768px;
  }

  .page-ththao__grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-ththao {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-ththao__section {
    padding: 40px 0;
  }

  .page-ththao__hero-section {
    min-height: 400px;
  }

  .page-ththao__hero-content {
    top: 50%;
    transform: translate(-50%, -50%);
    padding: 15px;
  }

  .page-ththao__main-title {
    font-size: clamp(28px, 6vw, 40px);
    margin-bottom: 15px;
  }

  .page-ththao__tagline {
    font-size: clamp(16px, 3vw, 20px);
    margin-bottom: 30px;
  }

  .page-ththao__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-ththao__btn-primary,
  .page-ththao__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 16px;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-ththao__section-title {
    font-size: clamp(24px, 5vw, 36px);
  }

  .page-ththao__sub-title {
    font-size: clamp(20px, 4vw, 28px);
  }

  /* Image responsiveness */
  .page-ththao img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-ththao__section,
  .page-ththao__card,
  .page-ththao__container,
  .page-ththao__feature-card,
  .page-ththao__hero-image-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  .page-ththao__hero-section {
    padding-top: 10px !important;
  }

  .page-ththao__grid {
    gap: 20px;
  }

  .page-ththao__card-image {
    height: 200px;
  }

  .page-ththao__list-item,
  .page-ththao__ordered-list .page-ththao__list-item {
    padding: 15px;
    padding-left: 45px;
  }

  .page-ththao__ordered-list .page-ththao__list-item::before {
    width: 25px;
    height: 25px;
    font-size: 14px;
    left: 10px;
    top: 10px;
  }

  .page-ththao__faq-question {
    padding: 15px;
    font-size: 16px;
  }

  .page-ththao__faq-toggle {
    font-size: 20px;
  }

  .page-ththao__faq-answer {
    padding: 15px;
    font-size: 15px;
  }
}