/* style/khuyen-mai.css */
:root {
  --primary-color: #FFD700; /* Gold */
  --secondary-color: #000080; /* Dark Blue */
  --text-dark: #333333;
  --text-light: #ffffff;
  --background-light: #f5f5f5;
  --background-dark: #1a1a1a;
  --border-color: #e0e0e0;
  --accent-color: #FF4500; /* OrangeRed for strong accents */
}

.page-khuyen-mai {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--background-light);
}

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

/* Hero Section */
.page-khuyen-mai .hero-khuyen-mai {
  background: linear-gradient(135deg, var(--secondary-color) 0%, #000050 100%);
  color: var(--text-light);
  padding: 80px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  border-bottom: 5px solid var(--primary-color);
}

.page-khuyen-mai .hero-image-wrapper {
  width: 100%;
  max-width: 900px; /* Adjust based on image aspect ratio */
  margin-top: 40px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.page-khuyen-mai .hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-khuyen-mai .hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.page-khuyen-mai .hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  font-weight: bold;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  color: var(--primary-color);
}

.page-khuyen-mai .hero-title .highlight {
  color: var(--text-light);
}

.page-khuyen-mai .hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  line-height: 1.5;
  color: #e0e0e0;
}

.page-khuyen-mai .cta-button {
  display: inline-block;
  background-color: var(--primary-color);
  color: var(--secondary-color);
  padding: 18px 45px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 1.4em;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
  border: none;
  cursor: pointer;
}

.page-khuyen-mai .cta-button:hover {
  background-color: #FFC107; /* Slightly darker gold */
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

/* General Section Styling */
.page-khuyen-mai section {
  padding: 60px 0;
}

.page-khuyen-mai .section-title {
  font-size: 2.5em;
  color: var(--secondary-color);
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

.page-khuyen-mai .section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: var(--primary-color);
  border-radius: 2px;
}

.page-khuyen-mai .section-intro p {
  font-size: 1.1em;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 20px auto;
}

/* Promotion Types Grid */
.page-khuyen-mai .section-promotion-types {
  background-color: var(--background-dark);
  color: var(--text-light);
}

.page-khuyen-mai .section-promotion-types .section-title {
  color: var(--primary-color);
}

.page-khuyen-mai .section-promotion-types p {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px auto;
  color: #ccc;
}

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

.page-khuyen-mai .promo-card {
  background-color: #2a2a2a;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-khuyen-mai .promo-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.5);
}

.page-khuyen-mai .promo-image {
  width: 100%;
  height: 220px; /* Fixed height for consistency */
  object-fit: cover;
  border-bottom: 3px solid var(--primary-color);
}

.page-khuyen-mai .promo-card .card-title {
  font-size: 1.6em;
  color: var(--primary-color);
  margin: 25px 15px 15px;
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-khuyen-mai .promo-card .card-description {
  font-size: 1em;
  color: #b0b0b0;
  padding: 0 20px;
  margin-bottom: 25px;
  flex-grow: 1;
}

.page-khuyen-mai .promo-card .card-button {
  display: inline-block;
  background-color: var(--primary-color);
  color: var(--secondary-color);
  padding: 12px 30px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 1.1em;
  font-weight: bold;
  margin-bottom: 25px;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
}

.page-khuyen-mai .promo-card .card-button:hover {
  background-color: #FFC107;
  transform: translateY(-2px);
}

/* How to Claim Section */
.page-khuyen-mai .section-how-to-claim ol {
  max-width: 800px;
  margin: 40px auto;
  padding-left: 25px;
  list-style-type: decimal;
}

.page-khuyen-mai .section-how-to-claim ol li {
  background-color: #ffffff;
  padding: 20px;
  margin-bottom: 15px;
  border-left: 5px solid var(--primary-color);
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  font-size: 1.1em;
  color: var(--text-dark);
}

.page-khuyen-mai .section-how-to-claim ol li strong {
  color: var(--secondary-color);
}

.page-khuyen-mai .section-how-to-claim p {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 20px auto;
}

.page-khuyen-mai .cta-button.secondary {
  background-color: var(--secondary-color);
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
  font-size: 1.2em;
  padding: 15px 40px;
  margin-top: 30px;
}

.page-khuyen-mai .cta-button.secondary:hover {
  background-color: #000050;
  color: #ffffff;
  border-color: #FFC107;
}

/* Terms & Conditions Section */
.page-khuyen-mai .section-terms-conditions {
  background-color: var(--background-light);
}

.page-khuyen-mai .section-terms-conditions ul {
  max-width: 900px;
  margin: 40px auto;
  padding-left: 25px;
  list-style-type: disc;
}

.page-khuyen-mai .section-terms-conditions ul li {
  background-color: #ffffff;
  padding: 15px;
  margin-bottom: 10px;
  border-left: 3px solid var(--secondary-color);
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  font-size: 1em;
}

.page-khuyen-mai .section-terms-conditions p {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 20px auto;
}

/* Why SM66 Section */
.page-khuyen-mai .section-why-sm66 {
  background-color: var(--secondary-color);
  color: var(--text-light);
}

.page-khuyen-mai .section-why-sm66 .section-title {
  color: var(--primary-color);
}

.page-khuyen-mai .section-why-sm66 p {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px auto;
  color: #e0e0e0;
}

.page-khuyen-mai .feature-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-khuyen-mai .feature-item {
  background-color: #000060;
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.page-khuyen-mai .feature-item:hover {
  transform: translateY(-5px);
  background-color: #000070;
}

.page-khuyen-mai .feature-icon {
  width: 100px; /* Increased size */
  height: 100px; /* Increased size */
  object-fit: contain;
  margin-bottom: 20px;
  filter: drop-shadow(0 0 5px rgba(255, 215, 0, 0.5)); /* Subtle glow */
}

.page-khuyen-mai .feature-item h4 {
  font-size: 1.5em;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.page-khuyen-mai .feature-item p {
  font-size: 1em;
  color: #b0b0b0;
}

/* FAQ Section */
.page-khuyen-mai .section-faq {
  background-color: var(--background-light);
}

.page-khuyen-mai .faq-list {
  max-width: 900px;
  margin: 40px auto;
}

.page-khuyen-mai .faq-item {
  margin-bottom: 15px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-khuyen-mai .faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background-color: #ffffff;
  cursor: pointer;
  font-size: 1.2em;
  font-weight: bold;
  color: var(--secondary-color);
  transition: background-color 0.3s ease;
}

.page-khuyen-mai .faq-question:hover {
  background-color: #f0f0f0;
}

.page-khuyen-mai .faq-question h3 {
  margin: 0;
  font-size: 1em;
  color: var(--secondary-color);
}

.page-khuyen-mai .faq-toggle {
  font-size: 1.5em;
  font-weight: bold;
  color: var(--primary-color);
  transition: transform 0.3s ease;
}

.page-khuyen-mai .faq-item.active .faq-toggle {
  transform: rotate(45deg);
}

.page-khuyen-mai .faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
  background-color: #fcfcfc;
  padding: 0 25px;
  color: var(--text-dark);
}

.page-khuyen-mai .faq-item.active .faq-answer {
  max-height: 500px; /* Adjust as needed */
  padding: 20px 25px;
  border-top: 1px solid var(--border-color);
}

.page-khuyen-mai .faq-answer p {
  margin: 0;
  font-size: 1em;
}

/* Final CTA Section */
.page-khuyen-mai .section-final-cta {
  background-color: var(--primary-color);
  color: var(--secondary-color);
  text-align: center;
}

.page-khuyen-mai .section-final-cta .section-title {
  color: var(--secondary-color);
}

.page-khuyen-mai .section-final-cta p {
  font-size: 1.2em;
  max-width: 900px;
  margin: 0 auto 40px auto;
  color: #333;
}

.page-khuyen-mai .cta-button.primary-large {
  background-color: var(--secondary-color);
  color: var(--primary-color);
  padding: 20px 50px;
  font-size: 1.5em;
  border: 2px solid var(--primary-color);
}

.page-khuyen-mai .cta-button.primary-large:hover {
  background-color: #000050;
  color: #ffffff;
  border-color: #FFC107;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-khuyen-mai .hero-title {
    font-size: 2.8em;
  }
  .page-khuyen-mai .hero-description {
    font-size: 1.1em;
  }
  .page-khuyen-mai .cta-button {
    font-size: 1.2em;
    padding: 15px 35px;
  }
  .page-khuyen-mai .section-title {
    font-size: 2em;
  }
  .page-khuyen-mai .promo-card .card-title {
    font-size: 1.4em;
  }
  .page-khuyen-mai .feature-icon {
    width: 80px;
    height: 80px;
  }
}

@media (max-width: 768px) {
  .page-khuyen-mai .hero-khuyen-mai {
    padding: 60px 15px;
  }
  .page-khuyen-mai .hero-title {
    font-size: 2.2em;
  }
  .page-khuyen-mai .hero-description {
    font-size: 1em;
  }
  .page-khuyen-mai .cta-button {
    font-size: 1.1em;
    padding: 12px 30px;
  }
  .page-khuyen-mai section {
    padding: 40px 0;
  }
  .page-khuyen-mai .section-title {
    font-size: 1.8em;
  }
  .page-khuyen-mai .promo-grid {
    grid-template-columns: 1fr;
  }
  .page-khuyen-mai .promo-card .card-title {
    font-size: 1.3em;
  }
  .page-khuyen-mai .promo-card .card-description {
    font-size: 0.95em;
  }
  .page-khuyen-mai .section-how-to-claim ol li,
  .page-khuyen-mai .section-terms-conditions ul li {
    font-size: 0.95em;
    padding: 15px;
  }
  .page-khuyen-mai .feature-list {
    grid-template-columns: 1fr;
  }
  .page-khuyen-mai .feature-icon {
    width: 70px;
    height: 70px;
  }
  .page-khuyen-mai .faq-question {
    padding: 15px 20px;
    font-size: 1.1em;
  }
  .page-khuyen-mai .faq-question h3 {
    font-size: 0.95em;
  }
  .page-khuyen-mai .faq-answer {
    padding: 0 20px;
  }
  .page-khuyen-mai .faq-item.active .faq-answer {
    padding: 15px 20px;
  }
  .page-khuyen-mai .cta-button.primary-large {
    padding: 15px 35px;
    font-size: 1.3em;
  }
}

@media (max-width: 480px) {
  .page-khuyen-mai .hero-title {
    font-size: 1.8em;
  }
  .page-khuyen-mai .hero-description {
    font-size: 0.9em;
  }
  .page-khuyen-mai .cta-button {
    font-size: 1em;
    padding: 10px 25px;
  }
  .page-khuyen-mai .section-title {
    font-size: 1.5em;
  }
  .page-khuyen-mai .promo-card .card-title {
    font-size: 1.2em;
  }
  .page-khuyen-mai .promo-image {
    height: 180px;
  }
  .page-khuyen-mai .faq-question h3 {
    font-size: 0.9em;
  }
  .page-khuyen-mai .cta-button.primary-large {
    font-size: 1.1em;
    padding: 12px 30px;
  }
  .page-khuyen-mai .hero-image-wrapper {
    margin-top: 20px;
  }
}