/* style/promotions.css */
.page-promotions {
  background-color: #08160F;
  color: #F2FFF6; /* Main text color for dark background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

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

.page-promotions__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding as body handles header offset */
  position: relative;
  overflow: hidden;
  background-color: #0A4B2C; /* Deep Green for hero background */
}

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

.page-promotions__hero-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.page-promotions__hero-content {
  max-width: 800px;
  z-index: 1;
}

.page-promotions__main-title {
  font-size: 2.8em;
  font-weight: 700;
  line-height: 1.2;
  color: #F2C14E; /* Gold for main title */
  margin-bottom: 20px;
}

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

.page-promotions__section-title {
  font-size: 2.2em;
  font-weight: 700;
  color: #F2C14E; /* Gold for section titles */
  text-align: center;
  margin-bottom: 20px;
  position: relative;
}

.page-promotions__section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background-color: #2AD16F;
  margin: 10px auto 0;
  border-radius: 2px;
}

.page-promotions__section-description {
  font-size: 1.1em;
  color: #A7D9B8; /* Secondary text color */
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px;
}

.page-promotions__dark-section {
  background-color: #0A4B2C;
  color: #F2FFF6;
}

.page-promotions__dark-bg {
  background-color: #08160F;
  color: #F2FFF6;
}

.page-promotions__light-bg {
  background-color: #11271B; /* Card BG color for light section */
  color: #F2FFF6;
}

/* Buttons */
.page-promotions__btn-primary,
.page-promotions__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-promotions__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #F2FFF6;
  border: none;
  margin: 10px;
}

.page-promotions__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  box-shadow: 0 0 15px #57E38D;
}

.page-promotions__btn-secondary {
  background: transparent;
  color: #2AD16F;
  border: 2px solid #2AD16F;
  margin: 10px;
}

.page-promotions__btn-secondary:hover {
  background-color: #2AD16F;
  color: #08160F;
  box-shadow: 0 0 15px rgba(42, 209, 111, 0.5);
}

.page-promotions__button-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}

/* Promotions List */
.page-promotions__promo-list {
  padding: 80px 0;
}

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

.page-promotions__promo-card {
  background-color: #11271B;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
  border: 1px solid #2E7A4E;
  display: flex;
  flex-direction: column;
}

.page-promotions__promo-card:hover {
  transform: translateY(-5px);
}

.page-promotions__card-image {
  width: 100%;
  height: 220px; /* Fixed height for consistency */
  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.4em;
  color: #F2C14E;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-promotions__card-text {
  color: #A7D9B8;
  margin-bottom: 20px;
  flex-grow: 1;
}

/* How to Claim Section */
.page-promotions__how-to-claim {
  padding: 80px 0;
}

.page-promotions__claim-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
  margin-top: 50px;
}

.page-promotions__steps-text {
  flex: 1;
  min-width: 300px;
}

.page-promotions__steps-list {
  list-style: none;
  padding: 0;
}

.page-promotions__step-item {
  background-color: #0A4B2C;
  border-left: 5px solid #2AD16F;
  padding: 20px 25px;
  margin-bottom: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

.page-promotions__step-description {
  color: #A7D9B8;
}

.page-promotions__steps-image-wrapper {
  flex: 1;
  min-width: 300px;
  text-align: center;
}

.page-promotions__steps-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

/* Benefits Section */
.page-promotions__benefits {
  padding: 80px 0;
}

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

.page-promotions__benefit-item {
  background-color: #11271B;
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  border: 1px solid #2E7A4E;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-promotions__benefit-icon {
  width: 100px;
  height: 100px;
  margin-bottom: 20px;
  object-fit: contain;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-promotions__benefit-title {
  font-size: 1.2em;
  color: #F2C14E;
  margin-bottom: 10px;
}

.page-promotions__benefit-text {
  color: #A7D9B8;
}

/* FAQ Section */
.page-promotions__faq-section {
  padding: 80px 0;
}

.page-promotions__faq-list {
  margin-top: 50px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-promotions__faq-item {
  background-color: #0A4B2C;
  border: 1px solid #2E7A4E;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-promotions__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.15em;
  font-weight: 600;
  color: #F2FFF6;
  cursor: pointer;
  background-color: #1E3A2A; /* Slightly different background for question */
  user-select: none;
  list-style: none;
}

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

.page-promotions__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
  color: #2AD16F;
}

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

.page-promotions__faq-answer {
  padding: 0 25px 20px;
  color: #A7D9B8;
  font-size: 1em;
}

.page-promotions__faq-answer p {
  margin-top: 10px;
  margin-bottom: 0;
}

/* Final CTA Section */
.page-promotions__final-cta {
  padding: 80px 0;
  text-align: center;
}

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

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

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

  .page-promotions__hero-section {
    padding: 40px 15px;
  }

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

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

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

  .page-promotions__section-description {
    margin-bottom: 30px;
  }

  .page-promotions__grid {
    grid-template-columns: 1fr;
  }

  .page-promotions__claim-steps {
    flex-direction: column;
  }

  .page-promotions__steps-image-wrapper {
    order: -1; /* Image above text on mobile */
  }

  .page-promotions__benefits-grid {
    grid-template-columns: 1fr;
  }

  .page-promotions__promo-card,
  .page-promotions__benefit-item,
  .page-promotions__faq-item {
    margin-left: 15px;
    margin-right: 15px;
  }

  /* Mobile image and container responsiveness */
  .page-promotions img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-promotions__hero-section,
  .page-promotions__promo-list,
  .page-promotions__how-to-claim,
  .page-promotions__benefits,
  .page-promotions__faq-section,
  .page-promotions__final-cta,
  .page-promotions__container,
  .page-promotions__promo-card,
  .page-promotions__benefit-item,
  .page-promotions__faq-item,
  .page-promotions__claim-steps,
  .page-promotions__steps-image-wrapper,
  .page-promotions__button-group {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  .page-promotions__hero-section {
    padding-top: 10px !important; /* body already handles --header-offset */
  }

  .page-promotions__button-group {
    flex-direction: column;
    gap: 10px;
  }
  
  .page-promotions__btn-primary,
  .page-promotions__btn-secondary,
  .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;
    margin: 0; /* Remove horizontal margin for full width */
  }

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

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