/* style/promotions.css */
.page-promotions {
  color: #ffffff; /* Sẽ được điều chỉnh bởi hệ thống màu thông minh nếu body background thay đổi */
  background-color: #000000; /* Kế thừa từ body, đảm bảo tương phản với chữ trắng */
}

.page-promotions__first-section {
  padding-top: 120px; /* Khoảng cách cho thanh nav cố định */
}

.page-promotions__hero-banner {
  position: relative;
  width: 100%;
  padding: 80px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  color: #ffffff;
  background: linear-gradient(135deg, #0056b3, #004080); /* Màu nền đậm hơn để text trắng nổi bật */
}

.page-promotions__hero-content {
  max-width: 900px;
  z-index: 1;
  position: relative;
}

.page-promotions__main-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.2;
  color: #ffc107; /* Màu vàng nổi bật */
}

.page-promotions__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  line-height: 1.6;
  color: #f0f0f0;
}

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

.page-promotions__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-promotions__section {
  padding: 60px 20px;
  width: 100%;
  box-sizing: border-box;
}

.page-promotions__container {
  max-width: 1200px;
  margin: 0 auto;
}

.page-promotions__section-title {
  font-size: 2.5em;
  margin-bottom: 25px;
  text-align: center;
  font-weight: 700;
  color: #ffc107;
}

.page-promotions__section-description {
  font-size: 1.1em;
  line-height: 1.6;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: #e0e0e0;
}

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

.page-promotions__grid--3-cols {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.page-promotions__grid--2-cols {
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
}

.page-promotions__card {
  background: rgba(255, 255, 255, 0.05); /* Nền hơi trong suốt */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-promotions__card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-promotions__card-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
}

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

.page-promotions__card-title {
  font-size: 1.5em;
  margin-bottom: 15px;
  font-weight: 600;
  color: #ffc107;
}

.page-promotions__card-text {
  font-size: 1em;
  line-height: 1.6;
  color: #e0e0e0;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-promotions__btn-primary,
.page-promotions__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.05em;
  transition: all 0.3s ease;
  text-align: center;
  white-space: nowrap;
  cursor: pointer;
}

.page-promotions__btn-primary {
  background: #ffc107;
  color: #1a1a1a; /* Màu chữ đậm trên nền vàng */
  border: 2px solid #ffc107;
  margin-top: 20px;
}

.page-promotions__btn-primary:hover {
  background: #e0a800;
  border-color: #e0a800;
  color: #000000;
}

.page-promotions__btn-secondary {
  background: transparent;
  color: #ffc107;
  border: 2px solid #ffc107;
  margin-top: 15px;
}

.page-promotions__btn-secondary:hover {
  background: #ffc107;
  color: #1a1a1a;
}

/* Dark sections */
.page-promotions__dark-section {
  background-color: #1a1a1a;
  color: #ffffff;
}

.page-promotions__dark-section .page-promotions__section-title {
  color: #ffc107;
}

.page-promotions__dark-section .page-promotions__section-description {
  color: #f0f0f0;
}

.page-promotions__card--dark-bg {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.page-promotions__card--dark-bg .page-promotions__card-title {
  color: #ffc107;
}

.page-promotions__card--dark-bg .page-promotions__card-text {
  color: #f0f0f0;
}

.page-promotions__text-block {
  max-width: 900px;
  margin: 40px auto;
  line-height: 1.7;
  font-size: 1.05em;
  color: #e0e0e0;
}

.page-promotions__text-block strong {
  color: #ffc107;
}

.page-promotions__list {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

.page-promotions__list li {
  margin-bottom: 10px;
  padding-left: 30px;
  position: relative;
  color: #e0e0e0;
}

.page-promotions__list li::before {
  content: '✔';
  color: #ffc107;
  position: absolute;
  left: 0;
  font-weight: bold;
}

.page-promotions__list-strong {
  color: #ffc107;
}

/* FAQ Section */
.page-promotions__faq-section {
  background-color: #0d0d0d;
  color: #ffffff;
}

.page-promotions__faq-list {
  max-width: 900px;
  margin: 40px auto 0 auto;
}

.page-promotions__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-promotions__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease;
  color: #ffc107;
}

.page-promotions__faq-question:hover {
  background: rgba(255, 255, 255, 0.12);
}

.page-promotions__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 1.15em;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none;
  color: #ffffff;
}

.page-promotions__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  line-height: 1;
  color: #ffc107;
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
}

.page-promotions__faq-item.active .page-promotions__faq-toggle {
  color: #ffffff;
  transform: rotate(45deg); /* Thay đổi từ dấu + sang X */
}

.page-promotions__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease;
  padding: 0 25px;
  opacity: 0;
  background: rgba(255, 255, 255, 0.03);
  color: #e0e0e0;
}

.page-promotions__faq-item.active .page-promotions__faq-answer {
  max-height: 2000px !important; /* Đủ lớn để chứa mọi nội dung */
  padding: 20px 25px !important;
  opacity: 1;
}

.page-promotions__faq-answer p {
  margin: 0;
  line-height: 1.7;
  font-size: 0.95em;
  color: #e0e0e0;
}

/* CTA Section */
.page-promotions__cta-section {
  padding: 80px 20px;
  text-align: center;
  background: linear-gradient(90deg, #0056b3, #004080); /* Nền xanh đậm */
}

.page-promotions__cta-content {
  max-width: 900px;
}

.page-promotions__cta-section .page-promotions__section-title {
  color: #ffc107;
  margin-bottom: 20px;
}

.page-promotions__cta-section .page-promotions__section-description {
  color: #f0f0f0;
  margin-bottom: 40px;
}

.page-promotions__cta-section .page-promotions__btn-primary,
.page-promotions__cta-section .page-promotions__btn-secondary {
  margin: 0 15px 20px 15px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-promotions__main-title {
    font-size: 2.8em;
  }
  .page-promotions__section-title {
    font-size: 2em;
  }
  .page-promotions__grid--3-cols {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-promotions__first-section {
    padding-top: 100px !important; /* Khoảng cách cho thanh nav cố định trên mobile */
  }
  .page-promotions__hero-banner {
    padding: 60px 15px;
  }
  .page-promotions__main-title {
    font-size: 2.2em;
  }
  .page-promotions__hero-description {
    font-size: 1em;
  }
  .page-promotions__section {
    padding: 40px 15px;
  }
  .page-promotions__section-title {
    font-size: 1.8em;
  }
  .page-promotions__section-description,
  .page-promotions__text-block p,
  .page-promotions__list li,
  .page-promotions__faq-answer p {
    font-size: 0.95em;
  }
  .page-promotions__grid,
  .page-promotions__grid--3-cols,
  .page-promotions__grid--2-cols {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-promotions__card-image {
    height: 200px;
  }
  .page-promotions__card-title {
    font-size: 1.3em;
  }
  .page-promotions__btn-primary,
  .page-promotions__btn-secondary {
    width: 100%;
    margin: 10px 0;
    font-size: 1em;
    padding: 10px 20px;
  }
  .page-promotions__faq-question {
    padding: 15px 20px;
  }
  .page-promotions__faq-question h3 {
    font-size: 1em;
  }
  .page-promotions__faq-toggle {
    font-size: 20px;
    width: 24px;
    height: 24px;
  }
  .page-promotions__faq-answer {
    padding: 0 20px;
  }
  .page-promotions__faq-item.active .page-promotions__faq-answer {
    padding: 15px 20px !important;
  }
  .page-promotions img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-promotions__section,
  .page-promotions__card,
  .page-promotions__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-promotions__hero-banner .page-promotions__hero-content {
    padding-left: 0;
    padding-right: 0;
  }
  .page-promotions__cta-section .page-promotions__btn-primary,
  .page-promotions__cta-section .page-promotions__btn-secondary {
    margin: 10px 0;
  }
}