/* style/promotions.css */

/* General Styles */
.page-promotions {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Dark text on light body background */
  background-color: #ffffff;
}

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

/* Section Styling */
.page-promotions__section {
  padding: 60px 0;
  text-align: center;
}

.page-promotions__section-title {
  font-size: 36px;
  margin-bottom: 40px;
  color: #26A9E0; /* Brand color for titles */
  font-weight: bold;
}

.page-promotions__paragraph {
  font-size: 18px;
  margin-bottom: 20px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

/* Color Contrast Styling */
.page-promotions__light-bg {
  background-color: #ffffff;
  color: #333333;
}

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

/* Hero Section */
.page-promotions__hero-section {
  padding-top: var(--header-offset, 120px); /* Fixed header offset */
  padding-bottom: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #f5f5f5;
  color: #333333;
  text-align: center;
}

.page-promotions__hero-content {
  flex: 1;
  padding-right: 40px;
  text-align: left;
}

.page-promotions__hero-title {
  font-size: 48px;
  font-weight: bold;
  margin-bottom: 20px;
  color: #26A9E0;
  line-height: 1.2;
}

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

.page-promotions__hero-image-wrapper {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-promotions__hero-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  min-width: 200px;
  min-height: 200px;
}

/* CTA Buttons */
.page-promotions__cta-buttons {
  display: flex;
  gap: 15px;
  margin-top: 30px;
  justify-content: flex-start;
}

.page-promotions__btn-primary,
.page-promotions__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 18px;
  transition: background-color 0.3s ease, color 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: #1e87b7;
  border-color: #1e87b7;
}

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

.page-promotions__btn-secondary:hover {
  background-color: #e0f2f7;
  color: #1e87b7;
}

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

.page-promotions__card {
  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;
  color: #333333;
}

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

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

.page-promotions__card-text {
  font-size: 16px;
  margin-bottom: 20px;
  flex-grow: 1;
}

/* How-To-Claim Steps */
.page-promotions__steps-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
  color: #ffffff;
}

.page-promotions__step-item {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 25px;
  text-align: left;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
}

.page-promotions__step-number {
  font-size: 40px;
  font-weight: bold;
  color: #ffffff;
  margin-bottom: 15px;
  display: block;
}

.page-promotions__step-title {
  font-size: 22px;
  color: #ffffff;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-promotions__step-description {
  font-size: 16px;
  color: #f0f0f0;
}

.page-promotions__image-guide {
  margin-top: 50px;
  text-align: center;
}

.page-promotions__guide-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  min-width: 200px;
  min-height: 200px;
}

/* Benefits List */
.page-promotions__benefits-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
  text-align: left;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-promotions__benefits-list li {
  font-size: 18px;
  margin-bottom: 15px;
  padding-left: 30px;
  position: relative;
  color: #333333;
}

.page-promotions__benefits-list li::before {
  content: '✅';
  position: absolute;
  left: 0;
  color: #26A9E0;
}

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

.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-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-size: 20px;
  font-weight: bold;
  list-style: none;
  color: #ffffff;
}

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

.page-promotions__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  margin-left: 15px;
  color: #ffffff;
}

.page-promotions__faq-answer {
  padding: 0 25px 20px;
  font-size: 16px;
  color: #f0f0f0;
  text-align: left;
}

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

/* Responsive Design */
@media (max-width: 992px) {
  .page-promotions__hero-section .page-promotions__container {
    flex-direction: column;
  }
  .page-promotions__hero-content {
    padding-right: 0;
    margin-bottom: 40px;
    text-align: center;
  }
  .page-promotions__hero-title {
    font-size: 40px;
  }
  .page-promotions__hero-description {
    font-size: 18px;
  }
  .page-promotions__cta-buttons {
    justify-content: center;
  }
  .page-promotions__section-title {
    font-size: 30px;
  }
}

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

  /* Container adjustments for mobile padding */
  .page-promotions__container {
    padding: 0 15px;
  }

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

  .page-promotions__section-title {
    font-size: 26px;
    margin-bottom: 30px;
  }

  .page-promotions__hero-section {
    padding-top: var(--header-offset, 120px) !important;
    padding-bottom: 40px;
  }

  .page-promotions__hero-title {
    font-size: 32px;
  }

  .page-promotions__hero-description {
    font-size: 16px;
  }

  .page-promotions__cta-buttons {
    flex-direction: column;
    gap: 10px;
    width: 100%;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Buttons responsive for mobile */
  .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: 12px 20px !important;
    font-size: 16px !important;
  }

  /* Images responsive for mobile */
  .page-promotions img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
    min-width: unset !important;
    min-height: unset !important;
  }

  /* Card and section containers responsive for mobile */
  .page-promotions__section,
  .page-promotions__card,
  .page-promotions__container,
  .page-promotions__promo-grid,
  .page-promotions__steps-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden !important;
  }

  /* FAQ items for mobile */
  .page-promotions__faq-item summary {
    font-size: 18px;
    padding: 15px 20px;
  }
  .page-promotions__faq-answer {
    padding: 0 20px 15px;
  }

  /* Ensure content images are at least 200px on desktop, but flexible on mobile */
  .page-promotions__card-image,
  .page-promotions__guide-image {
    min-width: 200px;
    min-height: 200px;
  }
  /* Override for mobile to allow flexibility */
  @media (max-width: 768px) {
    .page-promotions__card-image,
    .page-promotions__guide-image {
      min-width: unset !important;
      min-height: unset !important;
    }
  }

  /* Ensure no image filter is applied */
  .page-promotions img {
    filter: none !important;
  }
}