/* style/promotions.css */

:root {
  --page-promotions-bg-color: #08160F;
  --page-promotions-card-bg: #11271B;
  --page-promotions-text-main: #F2FFF6;
  --page-promotions-text-secondary: #A7D9B8;
  --page-promotions-border-color: #2E7A4E;
  --page-promotions-glow-color: #57E38D;
  --page-promotions-gold-color: #F2C14E;
  --page-promotions-divider-color: #1E3A2A;
  --page-promotions-deep-green: #0A4B2C;
  --page-promotions-btn-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
}

.page-promotions {
  background-color: var(--page-promotions-bg-color);
  color: var(--page-promotions-text-main);
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
}

.page-promotions__section {
  padding: 60px 0;
  text-align: center;
}

.page-promotions__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-promotions__dark-section {
  background-color: var(--page-promotions-bg-color);
  color: var(--page-promotions-text-main);
}

.page-promotions__light-bg {
  background-color: #f2fff6; /* Sử dụng màu sáng để đảm bảo tương phản */
  color: #333333; /* Màu chữ tối trên nền sáng */
}

.page-promotions__center-text {
  text-align: center;
}

/* Hero Section */
.page-promotions__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  overflow: hidden;
}

.page-promotions__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
  margin-bottom: 30px;
}

.page-promotions__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 10px;
}

.page-promotions__hero-content {
  max-width: 900px;
  text-align: center;
  z-index: 1;
}

.page-promotions__main-title {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: bold;
  line-height: 1.2;
  color: var(--page-promotions-text-main);
  margin-bottom: 20px;
  text-shadow: 0 0 10px rgba(87, 227, 141, 0.5);
}

.page-promotions__hero-description {
  font-size: 1.2rem;
  color: var(--page-promotions-text-secondary);
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-promotions__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-promotions__btn-primary,
.page-promotions__btn-secondary,
.page-promotions__btn-card {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-promotions__btn-primary {
  background: var(--page-promotions-btn-gradient);
  color: var(--page-promotions-text-main);
  border: none;
  box-shadow: 0 4px 15px rgba(17, 168, 78, 0.4);
}

.page-promotions__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(17, 168, 78, 0.6);
}

.page-promotions__btn-secondary {
  background: transparent;
  color: var(--page-promotions-glow-color);
  border: 2px solid var(--page-promotions-glow-color);
}

.page-promotions__btn-secondary:hover {
  background: var(--page-promotions-glow-color);
  color: var(--page-promotions-bg-color);
}

/* Section Titles and Descriptions */
.page-promotions__section-title {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: bold;
  color: var(--page-promotions-text-main);
  margin-bottom: 20px;
}
.page-promotions__light-bg .page-promotions__section-title {
  color: #333333;
}

.page-promotions__section-description {
  font-size: 1.1rem;
  color: var(--page-promotions-text-secondary);
  max-width: 900px;
  margin: 0 auto 40px auto;
}
.page-promotions__light-bg .page-promotions__section-description {
  color: #555555;
}

/* Promo Grid */
.page-promotions__promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-promotions__promo-card.page-promotions__card {
  background-color: var(--page-promotions-card-bg);
  border: 1px solid var(--page-promotions-border-color);
  border-radius: 12px;
  padding: 25px;
  text-align: left;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  height: 100%;
  color: var(--page-promotions-text-main);
}

.page-promotions__card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
}

.page-promotions__card-title {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--page-promotions-gold-color);
  margin-bottom: 15px;
}

.page-promotions__card-text {
  font-size: 1rem;
  color: var(--page-promotions-text-secondary);
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-promotions__btn-card {
  width: 100%;
  text-align: center;
  padding: 12px 20px;
  font-size: 1rem;
  margin-top: auto;
}

/* Steps Guide */
.page-promotions__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-promotions__step-item {
  background-color: #ffffff; /* Sáng hơn trên nền light-bg */
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  color: #333333;
}

.page-promotions__step-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px auto;
  background-color: var(--page-promotions-deep-green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-promotions__step-icon img {
  
  
  display: block;
}

.page-promotions__step-title {
  font-size: 1.4rem;
  font-weight: bold;
  color: var(--page-promotions-deep-green);
  margin-bottom: 10px;
}

.page-promotions__step-text {
  font-size: 1rem;
  color: #555555;
}

.page-promotions__center-cta {
  margin-top: 50px;
}

/* Terms Section */
.page-promotions__terms-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  margin-top: 40px;
  text-align: left;
}

.page-promotions__terms-item {
  background-color: var(--page-promotions-card-bg);
  border: 1px solid var(--page-promotions-divider-color);
  border-radius: 10px;
  padding: 25px;
  color: var(--page-promotions-text-main);
}

.page-promotions__terms-title {
  font-size: 1.4rem;
  font-weight: bold;
  color: var(--page-promotions-gold-color);
  margin-bottom: 10px;
}

.page-promotions__terms-text {
  font-size: 1rem;
  color: var(--page-promotions-text-secondary);
}

/* Why Choose Section */
.page-promotions__benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-promotions__benefit-item.page-promotions__card {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  color: #333333;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.page-promotions__benefit-title {
  font-size: 1.4rem;
  font-weight: bold;
  color: var(--page-promotions-deep-green);
  margin-bottom: 10px;
}

.page-promotions__benefit-text {
  font-size: 1rem;
  color: #555555;
}

/* FAQ Section */
.page-promotions__faq-list {
  max-width: 900px;
  margin: 40px auto 0 auto;
  text-align: left;
}

.page-promotions__faq-item {
  background-color: var(--page-promotions-card-bg);
  border: 1px solid var(--page-promotions-border-color);
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  color: var(--page-promotions-text-main);
}

.page-promotions__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.2rem;
  font-weight: bold;
  color: var(--page-promotions-gold-color);
  cursor: pointer;
  transition: background-color 0.3s ease;
  user-select: none;
}

.page-promotions__faq-question:hover {
  background-color: var(--page-promotions-deep-green);
}

.page-promotions__faq-item[open] .page-promotions__faq-question {
  background-color: var(--page-promotions-deep-green);
}

.page-promotions__faq-toggle {
  font-size: 1.8rem;
  line-height: 1;
  transition: transform 0.3s ease;
}

.page-promotions__faq-item[open] .page-promotions__faq-toggle {
  transform: rotate(45deg);
}

.page-promotions__faq-answer {
  padding: 0 25px 20px 25px;
  font-size: 1rem;
  color: var(--page-promotions-text-secondary);
}

/* CTA Bottom Section */
.page-promotions__cta-bottom {
  padding: 80px 0;
  background-image: url('[GALLERY:bg:1920x400:okvip,promotions,cta_background,green_gold,abstract_lines]');
  background-size: cover;
  background-position: center;
}

.page-promotions__large-btn {
  padding: 18px 40px;
  font-size: 1.2rem;
  margin-top: 30px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-promotions__main-title {
    font-size: clamp(2rem, 5vw, 3rem);
  }
  .page-promotions__section-title {
    font-size: clamp(1.8rem, 4.5vw, 2.5rem);
  }
}

@media (max-width: 768px) {
  .page-promotions__section {
    padding: 40px 0;
  }
  .page-promotions__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important; /* body handles header offset */
  }
  .page-promotions__container {
    padding: 0 15px;
  }
  .page-promotions__promo-grid,
  .page-promotions__steps-grid,
  .page-promotions__terms-list,
  .page-promotions__benefits-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  /* Image responsive */
  .page-promotions img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-promotions__hero-image-wrapper,
  .page-promotions__promo-card,
  .page-promotions__step-icon,
  .page-promotions__card-image {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  /* Button responsive */
  .page-promotions__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-promotions__btn-primary,
  .page-promotions__btn-secondary,
  .page-promotions__btn-card,
  .page-promotions a[class*="button"],
  .page-promotions a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-promotions__cta-buttons,
  .page-promotions__button-group,
  .page-promotions__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }

  .page-promotions__faq-question {
    font-size: 1.1rem;
    padding: 15px 20px;
  }
  .page-promotions__faq-answer {
    padding: 0 20px 15px 20px;
  }
}

@media (max-width: 480px) {
  .page-promotions__main-title {
    font-size: clamp(1.8rem, 7vw, 2.5rem);
  }
  .page-promotions__hero-description {
    font-size: 1rem;
  }
  .page-promotions__btn-primary,
  .page-promotions__btn-secondary {
    font-size: 1rem;
    padding: 12px 20px;
  }
  .page-promotions__section-title {
    font-size: clamp(1.6rem, 6vw, 2.2rem);
  }
  .page-promotions__card-title,
  .page-promotions__step-title,
  .page-promotions__terms-title,
  .page-promotions__benefit-title {
    font-size: 1.3rem;
  }
}