/* style/khuyn-mi.css */

.page-khuyn-mi {
  font-family: 'Arial', sans-serif;
  color: #333;
  line-height: 1.6;
  background-color: #f8f8f8;
}

.page-khuyn-mi__hero {
  background: linear-gradient(135deg, #FFD700, #8B0000);
  color: #fff;
  padding: 80px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 30px;
  position: relative;
  overflow: hidden;
}

.page-khuyn-mi__hero-content {
  max-width: 900px;
  z-index: 1;
}

.page-khuyn-mi__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.15;
  overflow: hidden;
}

.page-khuyn-mi__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-khuyn-mi__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  font-weight: bold;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  color: #fff;
}

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

.page-khuyn-mi__hero-btn {
  display: inline-block;
  background-color: #FFD700; /* Main color */
  color: #8B0000; /* Auxiliary color for text */
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: 2px solid #FFD700;
}

.page-khuyn-mi__hero-btn:hover {
  background-color: #e6c200;
  transform: translateY(-3px);
}

.page-khuyn-mi__section-title {
  font-size: 2.5em;
  color: #8B0000; /* Auxiliary color */
  text-align: center;
  margin-bottom: 20px;
  padding-top: 40px;
  font-weight: bold;
}

.page-khuyn-mi__section-description {
  font-size: 1.1em;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px auto;
  color: #555;
}

.page-khuyn-mi__promotions-overview, .page-khuyn-mi__featured-promotions, .page-khuyn-mi__how-to-claim, .page-khuyn-mi__terms-conditions, .page-khuyn-mi__faq, .page-khuyn-mi__cta-bottom {
  padding: 40px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.page-khuyn-mi__promotion-categories {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.page-khuyn-mi__category-card {
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-top: 5px solid #FFD700; /* Main color */
}

.page-khuyn-mi__category-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.page-khuyn-mi__category-title {
  font-size: 1.6em;
  color: #8B0000; /* Auxiliary color */
  margin-bottom: 15px;
  font-weight: bold;
}

.page-khuyn-mi__category-text {
  font-size: 1em;
  color: #666;
  margin-bottom: 25px;
}

.page-khuyn-mi__category-btn {
  display: inline-block;
  background-color: #8B0000; /* Auxiliary color */
  color: #fff;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-khuyn-mi__category-btn:hover {
  background-color: #6a0000;
}

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

.page-khuyn-mi__promotion-card {
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-khuyn-mi__promotion-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.page-khuyn-mi__promotion-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.page-khuyn-mi__promotion-details {
  padding: 25px;
}

.page-khuyn-mi__promotion-title {
  font-size: 1.8em;
  color: #8B0000; /* Auxiliary color */
  margin-bottom: 15px;
  font-weight: bold;
}

.page-khuyn-mi__promotion-text {
  font-size: 1em;
  color: #666;
  margin-bottom: 15px;
}

.page-khuyn-mi__promotion-list {
  list-style: disc inside;
  color: #555;
  margin-bottom: 20px;
  padding-left: 20px;
}

.page-khuyn-mi__promotion-list li {
  margin-bottom: 8px;
}

.page-khuyn-mi__promotion-btn {
  display: inline-block;
  background-color: #FFD700; /* Main color */
  color: #8B0000; /* Auxiliary color for text */
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
  border: 2px solid #FFD700;
}

.page-khuyn-mi__promotion-btn:hover {
  background-color: #e6c200;
}

.page-khuyn-mi__how-to-claim .page-khuyn-mi__claim-steps {
  list-style: none;
  counter-reset: step-counter;
  padding: 0;
  max-width: 800px;
  margin: 30px auto;
}

.page-khuyn-mi__how-to-claim .page-khuyn-mi__claim-steps li {
  counter-increment: step-counter;
  margin-bottom: 20px;
  padding-left: 60px;
  position: relative;
  font-size: 1.1em;
  color: #444;
}

.page-khuyn-mi__how-to-claim .page-khuyn-mi__claim-steps li::before {
  content: counter(step-counter);
  position: absolute;
  left: 0;
  top: 0;
  background-color: #8B0000; /* Auxiliary color */
  color: #fff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.2em;
}

.page-khuyn-mi__how-to-claim .page-khuyn-mi__claim-steps li strong {
  color: #8B0000;
}

.page-khuyn-mi__claim-btn {
  display: block;
  width: fit-content;
  margin: 40px auto 0 auto;
  background-color: #FFD700; /* Main color */
  color: #8B0000; /* Auxiliary color for text */
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.2em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: 2px solid #FFD700;
}

.page-khuyn-mi__claim-btn:hover {
  background-color: #e6c200;
  transform: translateY(-3px);
}

.page-khuyn-mi__terms-conditions .page-khuyn-mi__terms-list {
  list-style: disc inside;
  max-width: 800px;
  margin: 30px auto;
  padding-left: 20px;
  color: #555;
  font-size: 1.1em;
}

.page-khuyn-mi__terms-conditions .page-khuyn-mi__terms-list li {
  margin-bottom: 10px;
}

.page-khuyn-mi__terms-btn {
  display: block;
  width: fit-content;
  margin: 40px auto 0 auto;
  background-color: #8B0000; /* Auxiliary color */
  color: #fff;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-khuyn-mi__terms-btn:hover {
  background-color: #6a0000;
}

.page-khuyn-mi__faq-item {
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  margin-bottom: 20px;
  padding: 20px 25px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-khuyn-mi__faq-question {
  font-size: 1.3em;
  color: #8B0000; /* Auxiliary color */
  margin-bottom: 10px;
  cursor: pointer;
  position: relative;
  padding-right: 30px;
}

.page-khuyn-mi__faq-question::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 0;
  font-size: 1.5em;
  font-weight: bold;
  color: #FFD700; /* Main color */
  transition: transform 0.3s ease;
}

.page-khuyn-mi__faq-question.active::after {
  content: '-';
  transform: rotate(180deg);
}

.page-khuyn-mi__faq-answer {
  font-size: 1em;
  color: #555;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease-out, padding 0.5s ease-out;
  padding-top: 0;
}

.page-khuyn-mi__faq-answer.active {
  max-height: 200px; /* Adjust as needed */
  padding-top: 15px;
}

.page-khuyn-mi__cta-bottom {
  background: linear-gradient(135deg, #8B0000, #FFD700);
  color: #fff;
  padding: 60px 20px;
  text-align: center;
  margin-top: 50px;
}

.page-khuyn-mi__cta-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  font-weight: bold;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
  color: #fff;
}

.page-khuyn-mi__cta-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #eee;
}

.page-khuyn-mi__cta-btn {
  display: inline-block;
  background-color: #FFD700; /* Main color */
  color: #8B0000; /* Auxiliary color for text */
  padding: 15px 35px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.2em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  margin: 0 10px;
  border: 2px solid #FFD700;
}

.page-khuyn-mi__cta-btn:hover {
  background-color: #e6c200;
  transform: translateY(-3px);
}

.page-khuyn-mi__cta-btn--secondary {
  background-color: transparent;
  color: #FFD700; /* Main color for text */
  border: 2px solid #FFD700;
}

.page-khuyn-mi__cta-btn--secondary:hover {
  background-color: #FFD700;
  color: #8B0000;
}

/* Responsive Design */
@media (max-width: 768px) {
  .page-khuyn-mi__hero {
    padding: 60px 15px;
  }

  .page-khuyn-mi__hero-title {
    font-size: 2.5em;
  }

  .page-khuyn-mi__hero-description,
  .page-khuyn-mi__section-description,
  .page-khuyn-mi__cta-description {
    font-size: 1em;
  }

  .page-khuyn-mi__section-title {
    font-size: 2em;
  }

  .page-khuyn-mi__promotion-categories,
  .page-khuyn-mi__promotion-grid {
    grid-template-columns: 1fr;
  }

  .page-khuyn-mi__category-card,
  .page-khuyn-mi__promotion-card {
    margin-bottom: 20px;
  }

  .page-khuyn-mi__promotion-title {
    font-size: 1.5em;
  }

  .page-khuyn-mi__cta-title {
    font-size: 2em;
  }

  .page-khuyn-mi__cta-btn {
    display: block;
    margin: 15px auto;
  }
}

@media (max-width: 480px) {
  .page-khuyn-mi__hero-title {
    font-size: 2em;
  }

  .page-khuyn-mi__hero-btn {
    font-size: 1em;
    padding: 12px 25px;
  }

  .page-khuyn-mi__section-title {
    font-size: 1.8em;
  }

  .page-khuyn-mi__category-title {
    font-size: 1.4em;
  }

  .page-khuyn-mi__promotion-title {
    font-size: 1.3em;
  }

  .page-khuyn-mi__faq-question {
    font-size: 1.1em;
  }

  .page-khuyn-mi__cta-title {
    font-size: 1.8em;
  }
}