/* style/khuyen-mai.css */
.page-khuyen-mai {
  font-family: 'Arial', sans-serif;
  color: #333;
  line-height: 1.6;
  background-color: #f8f9fa;
}

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

.page-khuyen-mai__hero {
  background: linear-gradient(135deg, #007bff 0%, #0056b3 100%); /* Darker blue for better contrast */
  color: #fff;
  padding: 80px 0;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.page-khuyen-mai__hero-content {
  z-index: 1;
  max-width: 900px;
}

.page-khuyen-mai__title {
  font-size: 3.5em;
  margin-bottom: 20px;
  font-weight: bold;
  color: #ffc107; /* Auxiliary color for emphasis */
}

.page-khuyen-mai__subtitle {
  font-size: 1.3em;
  margin-bottom: 40px;
  opacity: 0.9;
}

.page-khuyen-mai__hero-image {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 50%;
  max-width: 600px;
  height: auto;
  opacity: 0.2;
  filter: grayscale(100%); /* Allowed for stylistic effect without changing original color */
  z-index: 0;
}

.page-khuyen-mai__btn {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  margin: 10px;
  cursor: pointer;
  border: none;
}

.page-khuyen-mai__btn--primary {
  background-color: #ffc107; /* Auxiliary color */
  color: #007bff; /* Primary color for text for contrast */
}

.page-khuyen-mai__btn--primary:hover {
  background-color: #e0a800;
  transform: translateY(-3px);
}

.page-khuyen-mai__btn--secondary {
  background-color: transparent;
  color: #ffc107;
  border: 2px solid #ffc107;
}

.page-khuyen-mai__btn--secondary:hover {
  background-color: #ffc107;
  color: #007bff;
  transform: translateY(-3px);
}

.page-khuyen-mai__btn--small {
  padding: 10px 20px;
  font-size: 0.9em;
  border-radius: 5px;
}

.page-khuyen-mai__btn--large {
  padding: 18px 35px;
  font-size: 1.2em;
}

.page-khuyen-mai__section {
  padding: 60px 0;
  background-color: #fff;
  margin-bottom: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  border-radius: 10px;
}

.page-khuyen-mai__section:nth-of-type(even) {
  background-color: #f2f4f6;
}

.page-khuyen-mai__section-title {
  font-size: 2.8em;
  color: #007bff; /* Primary color */
  text-align: center;
  margin-bottom: 25px;
  font-weight: bold;
}

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

.page-khuyen-mai__intro-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  text-align: center;
}

.page-khuyen-mai__intro-item {
  background-color: #f8f9fa;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
  transition: transform 0.3s ease;
}

.page-khuyen-mai__intro-item:hover {
  transform: translateY(-5px);
}

.page-khuyen-mai__intro-icon {
  width: 70px;
  height: 70px;
  margin-bottom: 20px;
  color: #007bff; /* Primary color for icons if SVG */
}

.page-khuyen-mai__item-title {
  font-size: 1.5em;
  color: #007bff;
  margin-bottom: 15px;
}

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

.page-khuyen-mai__promo-card {
  background-color: #f8f9fa;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-khuyen-mai__promo-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

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

.page-khuyen-mai__promo-content {
  padding: 25px;
}

.page-khuyen-mai__card-title {
  font-size: 1.6em;
  color: #007bff;
  margin-bottom: 15px;
  min-height: 50px;
}

.page-khuyen-mai__card-description {
  font-size: 1em;
  color: #555;
  margin-bottom: 20px;
  min-height: 100px;
}

.page-khuyen-mai__faq {
  background-color: #fff;
}

.page-khuyen-mai__faq-item {
  background-color: #f8f9fa;
  border: 1px solid #eee;
  border-radius: 8px;
  margin-bottom: 15px;
  padding: 20px 25px;
}

.page-khuyen-mai__faq-question {
  font-size: 1.4em;
  color: #007bff;
  margin-bottom: 10px;
  cursor: pointer;
  position: relative;
  padding-right: 30px;
}

.page-khuyen-mai__faq-question::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 0;
  font-size: 1.2em;
  font-weight: bold;
  color: #ffc107;
  transition: transform 0.3s ease;
}

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

.page-khuyen-mai__faq-answer {
  font-size: 1em;
  color: #666;
  display: none;
  padding-top: 10px;
  border-top: 1px dashed #eee;
  margin-top: 10px;
}

.page-khuyen-mai__faq-answer.active {
  display: block;
}

.page-khuyen-mai__detail-list {
  background-color: #f2f4f6;
}

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

.page-khuyen-mai__detail-card {
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  padding: 30px;
  transition: transform 0.3s ease;
}

.page-khuyen-mai__detail-card:hover {
  transform: translateY(-5px);
}

.page-khuyen-mai__detail-title {
  font-size: 1.8em;
  color: #007bff;
  margin-bottom: 15px;
}

.page-khuyen-mai__detail-title a {
  text-decoration: none;
  color: inherit;
}

.page-khuyen-mai__detail-title a:hover {
  color: #ffc107;
}

.page-khuyen-mai__detail-description {
  font-size: 1em;
  color: #666;
  margin-bottom: 20px;
  min-height: 80px;
}

.page-khuyen-mai__cta {
  background: linear-gradient(90deg, #007bff, #0056b3);
  color: #fff;
  padding: 80px 0;
  text-align: center;
}

.page-khuyen-mai__cta-title {
  font-size: 3em;
  margin-bottom: 20px;
  color: #ffc107;
}

.page-khuyen-mai__cta-description {
  font-size: 1.2em;
  max-width: 800px;
  margin: 0 auto 40px auto;
  opacity: 0.9;
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .page-khuyen-mai__title {
    font-size: 2.8em;
  }
  .page-khuyen-mai__subtitle {
    font-size: 1.1em;
  }
  .page-khuyen-mai__section-title {
    font-size: 2.2em;
  }
  .page-khuyen-mai__hero-image {
    width: 70%;
  }
}

@media (max-width: 768px) {
  .page-khuyen-mai__hero {
    padding: 60px 0;
  }
  .page-khuyen-mai__title {
    font-size: 2.2em;
  }
  .page-khuyen-mai__subtitle {
    font-size: 1em;
  }
  .page-khuyen-mai__hero-actions {
    flex-direction: column;
  }
  .page-khuyen-mai__btn {
    width: 80%;
  }
  .page-khuyen-mai__section {
    padding: 40px 0;
  }
  .page-khuyen-mai__section-title {
    font-size: 1.8em;
  }
  .page-khuyen-mai__intro-grid, .page-khuyen-mai__promo-grid, .page-khuyen-mai__promo-detail-grid {
    grid-template-columns: 1fr;
  }
  .page-khuyen-mai__card-description, .page-khuyen-mai__detail-description {
    min-height: auto;
  }
  .page-khuyen-mai__cta-title {
    font-size: 2.2em;
  }
  .page-khuyen-mai__cta-description {
    font-size: 1em;
  }
  .page-khuyen-mai__hero-image {
    display: none; /* Hide on small screens for better readability */
  }
}

@media (max-width: 480px) {
  .page-khuyen-mai__title {
    font-size: 1.8em;
  }
  .page-khuyen-mai__subtitle {
    font-size: 0.9em;
  }
  .page-khuyen-mai__btn {
    padding: 12px 20px;
    font-size: 1em;
    margin: 5px;
  }
  .page-khuyen-mai__section-title {
    font-size: 1.5em;
  }
  .page-khuyen-mai__card-title, .page-khuyen-mai__detail-title {
    font-size: 1.3em;
  }
  .page-khuyen-mai__faq-question {
    font-size: 1.2em;
  }
  .page-khuyen-mai__cta-title {
    font-size: 1.8em;
  }
}