/* style/promotions.css */

/* Base styles for the promotions page */
.page-promotions {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default dark text color for light body background */
  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;
  text-align: center;
}

.page-promotions__dark-bg {
  background-color: #26A9E0; /* Brand primary color */
  color: #FFFFFF;
}

.page-promotions__light-bg {
  background-color: #FFFFFF; /* Brand auxiliary color */
  color: #333333;
}

.page-promotions__section-title {
  font-size: 2.5em;
  margin-bottom: 20px;
  color: inherit;
}

.page-promotions__section-description {
  font-size: 1.1em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: inherit;
}

/* Hero Section */
.page-promotions__hero-section {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 100px 0;
  padding-top: var(--header-offset, 120px); /* Ensure content is not covered by fixed header */
  min-height: 600px;
  overflow: hidden;
}

.page-promotions__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.page-promotions__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  text-align: center;
  color: #FFFFFF;
  background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent overlay for text readability */
  padding: 40px;
  border-radius: 10px;
}

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

.page-promotions__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
}

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

.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: #d86a00;
  border-color: #d86a00;
}

.page-promotions__btn-secondary {
  background-color: #FFFFFF;
  color: #26A9E0; /* Brand primary color for text */
  border: 2px solid #26A9E0;
}

.page-promotions__btn-secondary:hover {
  background-color: #26A9E0;
  color: #FFFFFF;
}

.page-promotions__btn-large {
  padding: 18px 40px;
  font-size: 1.2em;
}

.page-promotions__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

/* Card Grid */
.page-promotions__card-grid,
.page-promotions__promo-grid,
.page-promotions__feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-promotions__card,
.page-promotions__promo-card,
.page-promotions__feature-item {
  background-color: #FFFFFF;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  color: #333333;
  height: 100%; /* Ensure cards have equal height */
}

.page-promotions__card-image,
.page-promotions__promo-image,
.page-promotions__feature-icon {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 15px;
  object-fit: cover;
  min-height: 200px; /* Minimum size requirement */
}

.page-promotions__card-title,
.page-promotions__promo-title {
  font-size: 1.5em;
  color: #26A9E0;
  margin-bottom: 10px;
}

.page-promotions__feature-title {
  font-size: 1.3em;
  color: #26A9E0;
  margin-bottom: 10px;
}

.page-promotions__card-text,
.page-promotions__promo-text,
.page-promotions__feature-text {
  font-size: 1em;
  color: #555555;
  flex-grow: 1; /* Allow text to grow and fill space */
}

.page-promotions__card .page-promotions__btn-secondary,
.page-promotions__promo-card .page-promotions__btn-primary {
  margin-top: auto; /* Push button to the bottom */
  width: auto;
  align-self: center;
}

/* Info Block (Cashback, VIP) */
.page-promotions__info-block {
  display: flex;
  align-items: center;
  gap: 40px;
  text-align: left;
  margin-top: 50px;
}

.page-promotions__info-block--reversed {
  flex-direction: row-reverse;
}

.page-promotions__info-image {
  flex: 1;
  max-width: 50%;
  border-radius: 10px;
  object-fit: cover;
  min-height: 200px; /* Minimum size requirement */
}

.page-promotions__info-content {
  flex: 1;
  max-width: 50%;
}

.page-promotions__info-title {
  font-size: 2em;
  margin-bottom: 20px;
  color: inherit;
}

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

.page-promotions__list li {
  margin-bottom: 10px;
  position: relative;
  padding-left: 25px;
  color: inherit;
}

.page-promotions__list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #EA7C07; /* Login color for checkmark */
  font-weight: bold;
}

/* Terms & Conditions */
.page-promotions__content-block {
  text-align: left;
  margin-top: 40px;
}

.page-promotions__content-subtitle {
  font-size: 1.8em;
  margin-bottom: 20px;
  color: #26A9E0;
}

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

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

.page-promotions__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: bold;
  cursor: pointer;
  background-color: rgba(0, 0, 0, 0.2);
  transition: background-color 0.3s ease;
}

.page-promotions__faq-question:hover {
  background-color: rgba(0, 0, 0, 0.3);
}

.page-promotions__faq-question h3 {
  margin: 0;
  color: inherit;
}

.page-promotions__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
  color: #EA7C07; /* Login color for toggle icon */
}

.page-promotions__faq-item.active .page-promotions__faq-toggle {
  transform: rotate(45deg); /* Plus sign rotates to a cross */
  content: '−'; /* Change to minus sign */
}

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

.page-promotions__faq-item.active .page-promotions__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show content */
  padding: 15px 25px 25px;
}

.page-promotions__faq-answer p {
  margin: 0;
  color: #E0E0E0;
}

/* Final CTA */
.page-promotions__cta-final .page-promotions__cta-buttons {
  margin-top: 50px;
}

.page-promotions__cta-final .page-promotions__btn-large + .page-promotions__btn-large {
  margin-left: 20px;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-promotions__hero-title {
    font-size: 3em;
  }
  .page-promotions__hero-description {
    font-size: 1.1em;
  }
  .page-promotions__section-title {
    font-size: 2em;
  }
  .page-promotions__info-block {
    flex-direction: column;
    text-align: center;
  }
  .page-promotions__info-block--reversed {
    flex-direction: column;
  }
  .page-promotions__info-image,
  .page-promotions__info-content {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .page-promotions__section {
    padding: 40px 0;
  }
  .page-promotions__hero-section {
    min-height: 400px;
    padding: 80px 0;
    padding-top: var(--header-offset, 120px) !important;
  }
  .page-promotions__hero-content {
    padding: 20px;
  }
  .page-promotions__hero-title {
    font-size: 2em;
  }
  .page-promotions__hero-description {
    font-size: 1em;
  }
  .page-promotions__section-title {
    font-size: 1.8em;
  }
  .page-promotions__section-description {
    font-size: 0.95em;
  }
  .page-promotions__card-grid,
  .page-promotions__promo-grid,
  .page-promotions__feature-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 30px;
  }
  .page-promotions__card,
  .page-promotions__promo-card,
  .page-promotions__feature-item {
    padding: 20px;
  }
  .page-promotions__card-title,
  .page-promotions__promo-title {
    font-size: 1.3em;
  }
  .page-promotions__feature-title {
    font-size: 1.1em;
  }
  .page-promotions__info-block {
    gap: 20px;
  }
  .page-promotions__info-title {
    font-size: 1.5em;
  }
  .page-promotions__content-subtitle {
    font-size: 1.4em;
  }
  .page-promotions__faq-question {
    padding: 15px 20px;
    font-size: 1.1em;
  }
  .page-promotions__faq-answer {
    padding: 0 20px;
  }
  .page-promotions__faq-item.active .page-promotions__faq-answer {
    padding: 10px 20px 20px;
  }
  .page-promotions__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-promotions__cta-final .page-promotions__btn-large + .page-promotions__btn-large {
    margin-left: 0;
  }

  /* Image responsive adaptations */
  .page-promotions img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-promotions__section,
  .page-promotions__card,
  .page-promotions__container,
  .page-promotions__info-block,
  .page-promotions__promo-card,
  .page-promotions__feature-item,
  .page-promotions__hero-section,
  .page-promotions__hero-content,
  .page-promotions__content-block,
  .page-promotions__faq-list,
  .page-promotions__faq-item,
  .page-promotions__cta-buttons {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden !important;
  }
  .page-promotions__hero-section {
    padding-left: 0;
    padding-right: 0;
  }
  .page-promotions__hero-content {
    width: calc(100% - 30px) !important;
  }

  /* Button responsive adaptations */
  .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 {
    flex-wrap: wrap !important;
    gap: 10px;
  }
}