/* style/khuyen-mai.css */
.page-khuyen-mai {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #FFF1E8; /* Text Main */
  background-color: #140C0C; /* Background */
}

.page-khuyen-mai__hero-section {
  padding-top: 10px; /* Small top padding, relying on body padding for header offset */
  padding-bottom: 60px;
  background-color: #140C0C; /* Background */
}

.page-khuyen-mai__hero-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding: 40px 20px;
  gap: 30px;
}

.page-khuyen-mai__hero-content {
  flex: 1 1 50%;
  min-width: 300px;
}

.page-khuyen-mai__hero-title {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 700;
  line-height: 1.2;
  color: #FFF1E8;
  margin-bottom: 20px;
  max-width: 600px;
}

.page-khuyen-mai__hero-description {
  font-size: 1.1rem;
  color: #FFF1E8;
  margin-bottom: 30px;
  max-width: 600px;
}

.page-khuyen-mai__hero-cta-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.page-khuyen-mai__hero-image {
  flex: 1 1 40%;
  min-width: 300px;
  text-align: center;
}

.page-khuyen-mai__hero-image img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}

.page-khuyen-mai__btn-primary,
.page-khuyen-mai__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 25px;
  border-radius: 50px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-khuyen-mai__btn-primary {
  background: linear-gradient(180deg, #FFB04A 0%, #D86A14 100%); /* Button color */
  color: #FFF1E8;
}

.page-khuyen-mai__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.page-khuyen-mai__btn-secondary {
  background: #2A1212; /* Card BG */
  color: #FFB04A;
  border: 2px solid #FFB04A;
}

.page-khuyen-mai__btn-secondary:hover {
  background: #FFB04A;
  color: #2A1212;
  transform: translateY(-2px);
}

.page-khuyen-mai__btn-small {
  padding: 8px 18px;
  font-size: 0.9rem;
  border-radius: 30px;
}

/* General Section Styling */
.page-khuyen-mai__intro-section,
.page-khuyen-mai__promo-list-section,
.page-khuyen-mai__guide-section,
.page-khuyen-mai__terms-section,
.page-khuyen-mai__why-choose-section,
.page-khuyen-mai__faq-section,
.page-khuyen-mai__cta-bottom-section {
  padding: 60px 0;
  background-color: #140C0C; /* Background */
}

.page-khuyen-mai__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-khuyen-mai__section-title {
  font-size: 2.2rem;
  font-weight: 700;
  color: #FFF1E8;
  text-align: center;
  margin-bottom: 20px;
}

.page-khuyen-mai__section-description {
  font-size: 1.1rem;
  color: #FFF1E8;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px;
}

.page-khuyen-mai__center-content {
  text-align: center;
}

.page-khuyen-mai__center-cta {
  text-align: center;
  margin-top: 40px;
}

/* Intro Section - Icon Boxes */
.page-khuyen-mai__icon-boxes {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}

.page-khuyen-mai__icon-box {
  flex: 1 1 calc(33% - 30px);
  min-width: 280px;
  background-color: #2A1212; /* Card BG */
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  border: 1px solid #6A1E1E; /* Border */
}

.page-khuyen-mai__icon-box-media {
  width: 180px;
  height: 180px;
  margin: 0 auto 20px;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px solid #FFB04A;
}

.page-khuyen-mai__icon-box-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-khuyen-mai__icon-box-title {
  font-size: 1.5rem;
  color: #FFF1E8;
  margin-bottom: 10px;
}

.page-khuyen-mai__icon-box-text {
  font-size: 1rem;
  color: #FFF1E8;
}

/* Promo Cards Section */
.page-khuyen-mai__promo-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-khuyen-mai__promo-card {
  background-color: #2A1212; /* Card BG */
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #6A1E1E; /* Border */
  display: flex;
  flex-direction: column;
}

.page-khuyen-mai__promo-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.page-khuyen-mai__promo-card-content {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.page-khuyen-mai__promo-card-title {
  font-size: 1.4rem;
  color: #FFF1E8;
  margin-bottom: 15px;
  line-height: 1.3;
}

.page-khuyen-mai__promo-card-title a {
  color: #FFF1E8;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-khuyen-mai__promo-card-title a:hover {
  color: #FFB04A;
}

.page-khuyen-mai__promo-card-text {
  font-size: 1rem;
  color: #FFF1E8;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-khuyen-mai__promo-card .page-khuyen-mai__btn-primary {
  align-self: flex-start;
}

/* Guide Section */
.page-khuyen-mai__guide-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-khuyen-mai__guide-list li {
  background-color: #2A1212; /* Card BG */
  padding: 30px;
  border-radius: 10px;
  border: 1px solid #6A1E1E; /* Border */
}

.page-khuyen-mai__guide-step-title {
  font-size: 1.4rem;
  color: #FFB04A;
  margin-bottom: 10px;
}

.page-khuyen-mai__guide-list p {
  font-size: 1rem;
  color: #FFF1E8;
}

.page-khuyen-mai__guide-list a {
  color: #FFB04A;
  text-decoration: none;
}

.page-khuyen-mai__guide-list a:hover {
  text-decoration: underline;
}

/* Terms Section */
.page-khuyen-mai__terms-list {
  list-style: disc;
  padding-left: 25px;
  max-width: 800px;
  margin: 0 auto;
  color: #FFF1E8;
}

.page-khuyen-mai__terms-list li {
  margin-bottom: 10px;
  font-size: 1rem;
}

.page-khuyen-mai__terms-list a {
  color: #FFB04A;
  text-decoration: none;
}

.page-khuyen-mai__terms-list a:hover {
  text-decoration: underline;
}

/* Why Choose Section */
.page-khuyen-mai__why-list {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 800px;
}

.page-khuyen-mai__why-list li {
  background-color: #2A1212; /* Card BG */
  padding: 20px;
  margin-bottom: 15px;
  border-radius: 8px;
  display: flex;
  align-items: flex-start;
  gap: 15px;
  border: 1px solid #6A1E1E; /* Border */
}

.page-khuyen-mai__why-icon {
  font-size: 1.8rem;
  color: #FFB04A;
  line-height: 1;
}

.page-khuyen-mai__why-list li strong {
  color: #FFB04A;
}

/* FAQ Section */
.page-khuyen-mai__faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.page-khuyen-mai__faq-item {
  background-color: #2A1212; /* Card BG */
  border: 1px solid #6A1E1E; /* Border */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-khuyen-mai__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.2rem;
  font-weight: bold;
  color: #FFF1E8;
  cursor: pointer;
  list-style: none;
  user-select: none; /* Prevent text selection */
}

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

.page-khuyen-mai__faq-qtext {
  flex-grow: 1;
}

.page-khuyen-mai__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  margin-left: 15px;
  color: #FFB04A;
}

.page-khuyen-mai__faq-item[open] .page-khuyen-mai__faq-toggle {
  content: '−'; /* Change to minus when open */
}

.page-khuyen-mai__faq-answer {
  padding: 0 25px 20px;
  font-size: 1rem;
  color: #FFF1E8;
}

.page-khuyen-mai__faq-answer p {
  margin-top: 0;
  margin-bottom: 10px;
}

/* CTA Bottom Section */
.page-khuyen-mai__cta-bottom-section .page-khuyen-mai__cta-buttons {
  justify-content: center;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-khuyen-mai__hero-container {
    padding: 30px 15px;
  }

  .page-khuyen-mai__hero-title {
    font-size: clamp(2rem, 5vw, 3rem);
  }

  .page-khuyen-mai__section-title {
    font-size: 2rem;
  }

  .page-khuyen-mai__icon-box {
    flex: 1 1 calc(50% - 30px);
  }

  .page-khuyen-mai__promo-card img {
    height: 200px;
  }
}

@media (max-width: 768px) {
  .page-khuyen-mai__hero-section {
    padding-top: 10px !important;
    padding-bottom: 40px;
  }

  .page-khuyen-mai__hero-container {
    flex-direction: column;
    padding: 20px 15px;
  }

  .page-khuyen-mai__hero-content,
  .page-khuyen-mai__hero-image {
    flex: 1 1 100%;
    min-width: unset;
  }

  .page-khuyen-mai__hero-title {
    text-align: center;
    margin-bottom: 15px;
    font-size: clamp(1.8rem, 7vw, 2.5rem);
  }

  .page-khuyen-mai__hero-description {
    text-align: center;
    font-size: 1rem;
    margin-bottom: 20px;
  }

  .page-khuyen-mai__hero-cta-buttons {
    flex-direction: column;
    gap: 10px;
  }

  .page-khuyen-mai__btn-primary,
  .page-khuyen-mai__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 15px;
    font-size: 0.95rem;
  }

  .page-khuyen-mai__content-area {
    padding: 0 15px;
  }

  .page-khuyen-mai__section-title {
    font-size: 1.8rem;
    margin-bottom: 15px;
  }

  .page-khuyen-mai__section-description {
    font-size: 0.95rem;
    margin-bottom: 30px;
  }

  /* Module 1: Icon Boxes (circular images) */
  .page-khuyen-mai__icon-boxes {
    flex-direction: column;
    gap: 20px;
  }

  .page-khuyen-mai__icon-box {
    flex: 1 1 100%;
    min-width: unset;
    padding: 25px;
  }

  .page-khuyen-mai__icon-box-media {
    width: 150px;
    height: 150px;
    margin-bottom: 15px;
  }

  .page-khuyen-mai__icon-box-media img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
  }

  .page-khuyen-mai__icon-box-title {
    font-size: 1.3rem;
  }

  .page-khuyen-mai__icon-box-text {
    font-size: 0.9rem;
  }

  /* Promo Cards Section */
  .page-khuyen-mai__promo-cards {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-khuyen-mai__promo-card img {
    
  }

  .page-khuyen-mai__promo-card-title {
    font-size: 1.2rem;
  }

  .page-khuyen-mai__promo-card-text {
    font-size: 0.9rem;
  }

  /* Guide Section */
  .page-khuyen-mai__guide-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-khuyen-mai__guide-list li {
    padding: 25px;
  }

  .page-khuyen-mai__guide-step-title {
    font-size: 1.3rem;
  }

  .page-khuyen-mai__guide-list p {
    font-size: 0.9rem;
  }

  /* Terms Section */
  .page-khuyen-mai__terms-list {
    padding-left: 20px;
  }

  .page-khuyen-mai__terms-list li {
    font-size: 0.9rem;
  }

  /* Why Choose Section */
  .page-khuyen-mai__why-list li {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px;
    gap: 10px;
  }

  .page-khuyen-mai__why-icon {
    margin-bottom: 5px;
  }

  /* FAQ Section */
  .page-khuyen-mai__faq-question {
    padding: 15px 20px;
    font-size: 1.1rem;
  }

  .page-khuyen-mai__faq-toggle {
    font-size: 1.3rem;
  }

  .page-khuyen-mai__faq-answer {
    padding: 0 20px 15px;
    font-size: 0.9rem;
  }

  /* General image responsiveness */
  .page-khuyen-mai img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-khuyen-mai__section,
  .page-khuyen-mai__card,
  .page-khuyen-mai__container,
  .page-khuyen-mai__content-area {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-khuyen-mai__cta-buttons {
    flex-wrap: wrap !important;
    gap: 10px;
    padding-left: 15px;
    padding-right: 15px;
  }
}