/* style/promotions.css */

/* Base styles for the page-promotions scope */
.page-promotions {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Dark text for light body background */
  background-color: var(--background-color, #FFFFFF);
}

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

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

.page-promotions__section-title {
  font-size: 2.5em;
  color: #26A9E0;
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  line-height: 1.2;
}

.page-promotions__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  text-align: center;
}

/* Hero Section */
.page-promotions__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 0 60px 0; /* Small top padding, no var(--header-offset) */
  background: linear-gradient(135deg, #e0f2f7, #ffffff);
}

.page-promotions__hero-image-wrapper {
  width: 100%;
  max-width: 1920px;
  margin-bottom: 30px;
}

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

.page-promotions__hero-content {
  max-width: 900px;
  text-align: center;
  padding: 0 20px;
}

.page-promotions__main-title {
  font-size: 3em;
  color: #000000;
  margin-bottom: 20px;
  line-height: 1.1;
  font-weight: 700;
}

.page-promotions__hero-description {
  font-size: 1.2em;
  color: #555555;
  margin-bottom: 30px;
}

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

.page-promotions__btn-primary,
.page-promotions__btn-secondary,
.page-promotions__btn-small {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  box-sizing: border-box;
  text-align: center;
}

.page-promotions__btn-primary {
  background-color: #26A9E0;
  color: #ffffff;
  border: 2px solid #26A9E0;
}

.page-promotions__btn-primary:hover {
  background-color: #1a7fb3;
  border-color: #1a7fb3;
}

.page-promotions__btn-secondary {
  background-color: #ffffff;
  color: #26A9E0;
  border: 2px solid #26A9E0;
}

.page-promotions__btn-secondary:hover {
  background-color: #f0f0f0;
  color: #1a7fb3;
  border-color: #1a7fb3;
}

.page-promotions__btn-small {
  padding: 10px 20px;
  font-size: 0.9em;
  background-color: #EA7C07;
  color: #ffffff;
  border: 2px solid #EA7C07;
}

.page-promotions__btn-small:hover {
  background-color: #c76505;
  border-color: #c76505;
}

/* Promotions Grid */
.page-promotions__promotion-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-promotions__promotion-card {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 25px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}

.page-promotions__card-image {
  width: 100%;
  max-width: 400px; /* Ensure images are not too small */
  height: 300px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

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

.page-promotions__card-description {
  font-size: 1em;
  color: #555555;
  margin-bottom: 20px;
  flex-grow: 1;
}

/* VIP Program Section */
.page-promotions__vip-program {
  background-color: #26A9E0;
  color: #ffffff;
}

.page-promotions__vip-program .page-promotions__section-title {
  color: #ffffff;
}

.page-promotions__vip-program .page-promotions__text-block {
  color: #e0f2f7;
  text-align: left;
}

.page-promotions__vip-content {
  display: flex;
  align-items: center;
  gap: 40px;
}

.page-promotions__vip-content ul {
  list-style: none;
  padding: 0;
  margin-top: 20px;
}

.page-promotions__vip-content ul li {
  margin-bottom: 10px;
  font-size: 1.1em;
  color: #e0f2f7;
}

.page-promotions__vip-content ul li strong {
  color: #ffffff;
}

.page-promotions__vip-image {
  width: 100%;
  max-width: 500px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* How to Claim Section */
.page-promotions__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-promotions__step-card {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  padding: 30px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-promotions__step-title {
  font-size: 1.6em;
  color: #26A9E0;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-promotions__step-card p {
  color: #555555;
  margin-bottom: 20px;
  flex-grow: 1;
}

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

.page-promotions__advantage-item {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.07);
  padding: 25px;
  text-align: center;
}

.page-promotions__advantage-title {
  font-size: 1.4em;
  color: #26A9E0;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-promotions__advantage-item p {
  color: #555555;
}

/* FAQ Section */
.page-promotions__faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.page-promotions__faq-item {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-promotions__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.15em;
  font-weight: 600;
  color: #333333;
  cursor: pointer;
  background-color: #f9f9f9;
  border-bottom: 1px solid #e0e0e0;
  list-style: none; /* For details/summary */
}

.page-promotions__faq-item summary::-webkit-details-marker {
  display: none;
}

.page-promotions__faq-item summary::marker {
  display: none;
}

.page-promotions__faq-question:hover {
  background-color: #f0f8ff;
}

.page-promotions__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  color: #26A9E0;
}

.page-promotions__faq-answer {
  padding: 20px 25px;
  font-size: 1em;
  color: #555555;
  border-top: 1px solid #e0e0e0;
}

.page-promotions__faq-item[open] .page-promotions__faq-answer {
  border-top: none;
}

/* Conclusion Section */
.page-promotions__conclusion {
  background-color: #26A9E0;
  color: #ffffff;
  text-align: center;
}

.page-promotions__conclusion .page-promotions__section-title {
  color: #ffffff;
}

.page-promotions__conclusion .page-promotions__text-block {
  color: #e0f2f7;
  margin-bottom: 40px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-promotions__main-title {
    font-size: 2.5em;
  }

  .page-promotions__section-title {
    font-size: 2em;
  }

  .page-promotions__hero-description {
    font-size: 1.1em;
  }

  .page-promotions__vip-content {
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  .page-promotions {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-promotions__section {
    padding: 40px 0;
  }

  .page-promotions__main-title {
    font-size: 2em;
  }

  .page-promotions__section-title {
    font-size: 1.8em;
  }

  .page-promotions__hero-description {
    font-size: 1em;
  }

  .page-promotions__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-promotions__btn-primary,
  .page-promotions__btn-secondary,
  .page-promotions__btn-small {
    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__promotion-card,
  .page-promotions__step-card,
  .page-promotions__advantage-item,
  .page-promotions__faq-item {
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  }

  .page-promotions img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-promotions__hero-image {
    height: auto;
  }

  .page-promotions__card-image {
    height: 200px; /* Adjust height for mobile cards */
  }

  /* All content containers must adapt to mobile width */
  .page-promotions__container,
  .page-promotions__hero-section,
  .page-promotions__promotions-overview,
  .page-promotions__featured-promotions,
  .page-promotions__vip-program,
  .page-promotions__how-to-claim,
  .page-promotions__why-choose,
  .page-promotions__faq-section,
  .page-promotions__conclusion {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-promotions__hero-section {
    padding-top: 10px !important;
    padding-bottom: 40px !important;
  }

  .page-promotions__vip-content .page-promotions__text-block {
    order: 2;
  }

  .page-promotions__vip-image {
    order: 1;
    margin-bottom: 30px;
  }
}

@media (max-width: 480px) {
  .page-promotions__main-title {
    font-size: 1.8em;
  }

  .page-promotions__section-title {
    font-size: 1.5em;
  }

  .page-promotions__faq-question {
    font-size: 1em;
    padding: 15px 20px;
  }

  .page-promotions__faq-answer {
    padding: 15px 20px;
  }
}