/* style/khuyen-mai.css */
.page-khuyen-mai {
    font-family: 'Arial', sans-serif;
    color: #E0E0E0; /* Light gray for general text */
    background-color: #1A202C; /* Dark background */
    line-height: 1.6;
}

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

.page-khuyen-mai__section {
    padding: 60px 0;
}

.page-khuyen-mai__section-title {
    font-size: 2.8em;
    color: #FFD700; /* Gold for titles */
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
    text-transform: uppercase;
}

.page-khuyen-mai__section-intro {
    font-size: 1.1em;
    color: #B0B0B0; /* Slightly lighter gray for intros */
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px auto;
}

.page-khuyen-mai__hero {
    background: linear-gradient(135deg, #1A202C 0%, #3a3f4a 100%);
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-khuyen-mai__hero-title {
    font-size: 3.5em;
    color: #FFD700;
    margin-bottom: 20px;
    font-weight: 900;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-khuyen-mai__hero-description {
    font-size: 1.3em;
    color: #F0F0F0;
    max-width: 900px;
    margin: 0 auto 40px auto;
}

.page-khuyen-mai__hero-image-wrapper {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 1000px; /* Adjust as needed */
  opacity: 0.2;
  z-index: 0;
}

.page-khuyen-mai__hero-image {
  width: 100%;
  height: auto;
  display: block;
}

.page-khuyen-mai__hero > .page-khuyen-mai__container {
  position: relative;
  z-index: 1;
}

.page-khuyen-mai__btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 1.1em;
    text-align: center;
}

.page-khuyen-mai__btn--primary {
    background-color: #FFD700;
    color: #1A202C;
    border: 2px solid #FFD700;
}

.page-khuyen-mai__btn--primary:hover {
    background-color: #e6c200;
    border-color: #e6c200;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(255, 215, 0, 0.4);
}

.page-khuyen-mai__btn--secondary {
    background-color: transparent;
    color: #FFD700;
    border: 2px solid #FFD700;
    padding: 10px 20px;
    font-size: 1em;
}

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

.page-khuyen-mai__btn--tertiary {
    background-color: #333;
    color: #FFD700;
    border: 1px solid #FFD700;
    padding: 8px 15px;
    font-size: 0.95em;
}

.page-khuyen-mai__btn--tertiary:hover {
    background-color: #FFD700;
    color: #1A202C;
}

.page-khuyen-mai__btn--center {
    display: block;
    margin: 40px auto 0 auto;
    max-width: 300px;
}

.page-khuyen-mai__why-choose {
    background-color: #242933;
}

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

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

.page-khuyen-mai__feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

.page-khuyen-mai__feature-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
    filter: none; /* Ensure no filter applied */
}

.page-khuyen-mai__feature-title {
    font-size: 1.5em;
    color: #FFD700;
    margin-bottom: 15px;
}

.page-khuyen-mai__feature-description {
    font-size: 1em;
    color: #B0B0B0;
}

.page-khuyen-mai__current-promos {
    background-color: #1A202C;
}

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

.page-khuyen-mai__promo-card {
    background-color: #242933;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

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

.page-khuyen-mai__promo-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    filter: none; /* Ensure no filter applied */
}

.page-khuyen-mai__promo-card h3 {
    font-size: 1.4em;
    color: #FFD700;
    padding: 20px 20px 10px 20px;
    margin-top: 0;
}

.page-khuyen-mai__promo-card p {
    font-size: 0.95em;
    color: #B0B0B0;
    padding: 0 20px 20px 20px;
    flex-grow: 1;
}

.page-khuyen-mai__promo-card .page-khuyen-mai__btn {
    margin: 0 20px 20px 20px;
    width: auto;
    align-self: flex-start;
}

.page-khuyen-mai__how-to-claim {
    background-color: #242933;
}

.page-khuyen-mai__steps-list {
    list-style: none;
    padding: 0;
    counter-reset: step-counter;
    margin-top: 40px;
}

.page-khuyen-mai__steps-list li {
    background-color: #1A202C;
    padding: 25px 30px;
    border-radius: 10px;
    margin-bottom: 20px;
    position: relative;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    border-left: 5px solid #FFD700;
}

.page-khuyen-mai__steps-list li::before {
    counter-increment: step-counter;
    content: "Bước " counter(step-counter);
    position: absolute;
    left: -15px;
    top: -15px;
    background-color: #FFD700;
    color: #1A202C;
    padding: 5px 12px;
    border-radius: 5px;
    font-weight: bold;
    font-size: 0.9em;
}

.page-khuyen-mai__step-title {
    font-size: 1.3em;
    color: #FFD700;
    margin-bottom: 10px;
    margin-top: 0;
}

.page-khuyen-mai__step-description {
    font-size: 1em;
    color: #E0E0E0;
}

.page-khuyen-mai__step-description a {
  color: #FFD700;
  text-decoration: none;
}

.page-khuyen-mai__step-description a:hover {
  text-decoration: underline;
}

.page-khuyen-mai__promo-details {
  background-color: #1A202C;
}

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

.page-khuyen-mai__detail-card {
  background-color: #242933;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.page-khuyen-mai__detail-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

.page-khuyen-mai__detail-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  filter: none; /* Ensure no filter applied */
}

.page-khuyen-mai__detail-card h3 {
  font-size: 1.4em;
  padding: 20px 20px 10px 20px;
  margin-top: 0;
}

.page-khuyen-mai__detail-card h3 a {
  color: #FFD700;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-khuyen-mai__detail-card h3 a:hover {
  color: #e6c200;
  text-decoration: underline;
}

.page-khuyen-mai__detail-card p {
  font-size: 0.95em;
  color: #B0B0B0;
  padding: 0 20px 20px 20px;
  flex-grow: 1;
}

.page-khuyen-mai__detail-card .page-khuyen-mai__btn {
  margin: 0 20px 20px 20px;
  width: auto;
  align-self: flex-start;
}

.page-khuyen-mai__terms-conditions {
    background-color: #242933;
}

.page-khuyen-mai__terms-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
}

.page-khuyen-mai__terms-list li {
    background-color: #1A202C;
    padding: 20px 25px;
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    font-size: 1em;
    color: #E0E0E0;
    border-left: 4px solid #FFD700;
}

.page-khuyen-mai__terms-list li p {
  margin: 0;
}

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

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

.page-khuyen-mai__faq-accordion {
    margin-top: 40px;
}

.page-khuyen-mai__faq-item {
    background-color: #242933;
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.page-khuyen-mai__faq-question {
    font-size: 1.2em;
    color: #FFD700;
    padding: 20px 25px;
    margin: 0;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

.page-khuyen-mai__faq-question::after {
    content: '+';
    font-size: 1.5em;
    transition: transform 0.3s ease;
}

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

.page-khuyen-mai__faq-answer {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out, padding 0.5s ease-out;
    color: #E0E0E0;
}

.page-khuyen-mai__faq-answer.open {
    max-height: 200px; /* Adjust as needed */
    padding: 15px 25px 25px 25px;
}

.page-khuyen-mai__faq-answer p {
  margin: 0;
}

.page-khuyen-mai__faq-answer a {
  color: #FFD700;
  text-decoration: none;
}

.page-khuyen-mai__faq-answer a:hover {
  text-decoration: underline;
}

.page-khuyen-mai__cta-bottom {
    background: linear-gradient(90deg, #1A202C, #FFD700);
    padding: 80px 0;
    text-align: center;
}

.page-khuyen-mai__cta-content {
    background-color: rgba(26, 32, 44, 0.85); /* Semi-transparent dark overlay */
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    max-width: 800px;
    margin: 0 auto;
}

.page-khuyen-mai__cta-title {
    font-size: 2.5em;
    color: #FFD700;
    margin-bottom: 20px;
    font-weight: bold;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
}

.page-khuyen-mai__cta-description {
    font-size: 1.2em;
    color: #F0F0F0;
    margin-bottom: 40px;
}

.page-khuyen-mai__cta-description a {
  color: #FFD700;
  text-decoration: none;
}

.page-khuyen-mai__cta-description a:hover {
  text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-khuyen-mai__hero-title {
        font-size: 2.8em;
    }
    .page-khuyen-mai__hero-description,
    .page-khuyen-mai__section-intro {
        font-size: 1em;
    }
    .page-khuyen-mai__section-title {
        font-size: 2.2em;
    }
    .page-khuyen-mai__feature-item,
    .page-khuyen-mai__promo-card,
    .page-khuyen-mai__detail-card {
        padding: 25px;
    }
}

@media (max-width: 768px) {
    .page-khuyen-mai__hero {
        padding: 80px 0;
    }
    .page-khuyen-mai__hero-title {
        font-size: 2.2em;
    }
    .page-khuyen-mai__hero-description {
        font-size: 0.95em;
    }
    .page-khuyen-mai__section {
        padding: 40px 0;
    }
    .page-khuyen-mai__section-title {
        font-size: 1.8em;
    }
    .page-khuyen-mai__features-grid,
    .page-khuyen-mai__promo-list,
    .page-khuyen-mai__detail-list {
        grid-template-columns: 1fr;
    }
    .page-khuyen-mai__steps-list li {
        padding: 20px;
    }
    .page-khuyen-mai__steps-list li::before {
        left: 10px;
        top: -10px;
    }
    .page-khuyen-mai__step-title {
        font-size: 1.2em;
    }
    .page-khuyen-mai__cta-title {
        font-size: 2em;
    }
    .page-khuyen-mai__cta-description {
        font-size: 1em;
    }
}

@media (max-width: 480px) {
    .page-khuyen-mai__hero-title {
        font-size: 1.8em;
    }
    .page-khuyen-mai__btn {
        padding: 12px 20px;
        font-size: 1em;
    }
    .page-khuyen-mai__section-title {
        font-size: 1.6em;
    }
    .page-khuyen-mai__feature-item, .page-khuyen-mai__promo-card, .page-khuyen-mai__detail-card {
        padding: 20px;
    }
    .page-khuyen-mai__promo-card h3,
    .page-khuyen-mai__detail-card h3 {
        font-size: 1.2em;
    }
    .page-khuyen-mai__faq-question {
        font-size: 1.1em;
        padding: 15px 20px;
    }
    .page-khuyen-mai__cta-title {
        font-size: 1.8em;
    }
    .page-khuyen-mai__cta-content {
        padding: 30px;
    }
}