/* style/promotions.css */
.page-promotions {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Dark text for light body background */
  background-color: #f5f5f5; /* Consistent with body background */
}

/* Fixed header offset for main content */
.page-promotions__hero-section {
  padding-top: var(--header-offset, 120px);
}

.page-promotions__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #FFFFFF;
  background-color: #26A9E0;
  padding: 80px 20px;
  min-height: 500px;
  overflow: hidden;
  box-sizing: border-box;
}

.page-promotions__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
}

.page-promotions__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #FFFFFF;
}

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

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

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

.page-promotions__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow long words to break */
  box-sizing: border-box;
  max-width: 100%;
}

.page-promotions__btn-primary {
  background-color: #EA7C07; /* Login color for primary action */
  color: #FFFFFF;
  border: 2px solid #EA7C07;
}

.page-promotions__btn-primary:hover {
  background-color: #d16b00;
  transform: translateY(-2px);
}

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

.page-promotions__btn-secondary:hover {
  background-color: #e0e0e0;
  transform: translateY(-2px);
}

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

.page-promotions__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 20px;
  color: #26A9E0;
}

.page-promotions__section-title--white {
  color: #FFFFFF;
}

.page-promotions__section-intro {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #333333;
}

.page-promotions__section-intro--white {
  color: #f0f0f0;
}

.page-promotions__promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-bottom: 60px;
}

.page-promotions__promo-card {
  background-color: #FFFFFF;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-promotions__promo-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-promotions__promo-card-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  margin-bottom: 20px;
  min-width: 200px; /* Enforce min width */
  min-height: 200px; /* Enforce min height */
}

.page-promotions__promo-card-title {
  font-size: 1.5em;
  color: #26A9E0;
  margin: 0 20px 15px;
}

.page-promotions__promo-card-description {
  font-size: 1em;
  color: #555555;
  margin: 0 20px 25px;
  flex-grow: 1;
}

.page-promotions__promo-card-button {
  margin: 0 20px 20px;
}

.page-promotions__section-block {
  background-color: #FFFFFF;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  padding: 40px;
  text-align: center;
  margin-top: 40px;
  margin-bottom: 60px;
}

.page-promotions__section-block .page-promotions__section-title {
  color: #26A9E0;
  margin-top: 0;
}

.page-promotions__section-block .page-promotions__section-intro {
  color: #555555;
  margin-bottom: 30px;
}

.page-promotions__how-to-claim {
  background-color: #26A9E0;
  color: #FFFFFF;
}

.page-promotions__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  text-align: center;
}

.page-promotions__step-item {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

.page-promotions__step-icon {
  background-color: #EA7C07;
  color: #FFFFFF;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2em;
  font-weight: bold;
  margin-bottom: 20px;
}

.page-promotions__step-title {
  font-size: 1.5em;
  color: #FFFFFF;
  margin-bottom: 15px;
}

.page-promotions__step-description {
  color: #f0f0f0;
  margin-bottom: 25px;
  flex-grow: 1;
}

.page-promotions__step-button {
  width: 100%;
}

.page-promotions__terms-conditions {
  background-color: #f5f5f5;
}

.page-promotions__terms-list {
  list-style: none;
  padding: 0;
  max-width: 900px;
  margin: 0 auto 40px;
}

.page-promotions__terms-item {
  background-color: #FFFFFF;
  border-left: 5px solid #26A9E0;
  padding: 20px;
  margin-bottom: 15px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  color: #333333;
}

.page-promotions__terms-item strong {
  color: #26A9E0;
}

.page-promotions__faq-section {
  background-color: #FFFFFF;
}

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

.page-promotions__faq-item {
  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: 20px;
  background-color: #f9f9f9;
  cursor: pointer;
  font-size: 1.1em;
  font-weight: bold;
  color: #333333;
  transition: background-color 0.3s ease;
}

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

.page-promotions__faq-question h3 {
  margin: 0;
  color: #26A9E0;
}

.page-promotions__faq-toggle {
  font-size: 1.5em;
  font-weight: bold;
  color: #26A9E0;
  transition: transform 0.3s ease;
}

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

.page-promotions__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #555555;
}

.page-promotions__faq-item.active .page-promotions__faq-answer {
  max-height: 1000px !important; /* Sufficiently large value */
  padding: 20px;
}

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

.page-promotions__faq-answer a {
  color: #EA7C07;
  text-decoration: none;
}

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

.page-promotions__cta-section {
  background-color: #26A9E0;
  color: #FFFFFF;
  text-align: center;
  padding: 80px 20px;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
  .page-promotions__hero-title {
    font-size: 3em;
  }
  .page-promotions__section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-promotions__hero-section {
    padding: 60px 15px;
  }
  .page-promotions__hero-title {
    font-size: 2.5em;
  }
  .page-promotions__hero-description {
    font-size: 1em;
  }
  .page-promotions__cta-button {
    padding: 12px 25px;
    font-size: 0.9em;
  }
  .page-promotions__content-area {
    padding: 40px 15px;
  }
  .page-promotions__section-title {
    font-size: 1.8em;
  }
  .page-promotions__section-intro {
    font-size: 0.95em;
  }
  .page-promotions__promo-grid,
  .page-promotions__steps-grid {
    grid-template-columns: 1fr;
  }
  .page-promotions__promo-card-image {
    height: 200px;
  }
  .page-promotions__section-block {
    padding: 30px;
  }
  .page-promotions__terms-item {
    padding: 15px;
  }
  .page-promotions__faq-question {
    padding: 15px;
    font-size: 1em;
  }
  .page-promotions__faq-answer {
    padding: 0 15px;
  }
  .page-promotions__faq-item.active .page-promotions__faq-answer {
    padding: 15px;
  }
  .page-promotions__cta-buttons {
    flex-direction: column;
  }

  /* Mobile image responsive adaptation */
  .page-promotions img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-promotions__section,
  .page-promotions__card,
  .page-promotions__container,
  .page-promotions__promo-card,
  .page-promotions__step-item,
  .page-promotions__section-block,
  .page-promotions__terms-item,
  .page-promotions__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Buttons responsive adaptation */
  .page-promotions__cta-button,
  .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;
    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;
  }
}

@media (max-width: 480px) {
  .page-promotions__hero-title {
    font-size: 2em;
  }
  .page-promotions__section-title {
    font-size: 1.5em;
  }
  .page-promotions__promo-card-title {
    font-size: 1.3em;
  }
  .page-promotions__step-title {
    font-size: 1.3em;
  }
}

/* Color Contrast Fixes (if needed, applying to default light body background) */
.page-promotions__dark-bg {
  background-color: #26A9E0; /* Brand primary color */
  color: #FFFFFF;
}

.page-promotions__light-bg {
  background-color: #FFFFFF;
  color: #333333;
}

.page-promotions p, .page-promotions li {
  color: #333333; /* Default text color for light backgrounds */
}

.page-promotions__dark-bg p, .page-promotions__dark-bg li {
  color: #f0f0f0; /* Lighter text for dark backgrounds */
}

.page-promotions__dark-bg h2, .page-promotions__dark-bg h3 {
  color: #FFFFFF; /* White headings for dark backgrounds */
}