/* style/promotions.css */

/* Base styles for the promotions page */
.page-promotions {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light backgrounds */
}

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

.page-promotions__section-title {
  font-size: clamp(2em, 4vw, 2.8em);
  font-weight: 700;
  color: #26A9E0;
  text-align: center;
  margin-bottom: 40px;
  line-height: 1.2;
}

.page-promotions__text-block {
  font-size: 1.1em;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 30px auto;
}

/* Hero Section */
.page-promotions__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 0 60px 0; /* body handles top padding, this is decorative */
  color: #ffffff;
  text-align: center;
  overflow: hidden;
}

.page-promotions__hero-image-wrapper {
  position: relative;
  width: 100%;
  max-height: 500px; /* Limit height for aesthetic */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-promotions__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover; /* Ensure image covers the area without distortion */
}

.page-promotions__hero-content {
  position: relative; /* Ensure content is above the image but not overlapping */
  z-index: 1;
  padding: 40px 20px;
  background-color: #26A9E0; /* Use brand color as background for text */
  color: #ffffff;
  width: 100%;
  box-sizing: border-box;
}

.page-promotions__main-title {
  font-size: clamp(2.5em, 5vw, 3.5em); /* Responsive H1 font size */
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 20px;
  color: #ffffff;
}

.page-promotions__intro-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-promotions__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  text-align: center;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

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

.page-promotions__btn-primary:hover {
  background-color: #d46c00;
}

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

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

/* General Section Styling */
.page-promotions__intro-section,
.page-promotions__how-to-claim,
.page-promotions__benefits,
.page-promotions__cta-final {
  padding: 60px 0;
  text-align: center;
}

.page-promotions__promo-types,
.page-promotions__terms-conditions,
.page-promotions__faq-section {
  padding: 60px 0;
  text-align: center;
  background-color: #26A9E0; /* Dark background for sections */
  color: #ffffff;
}

.page-promotions__promo-types .page-promotions__section-title,
.page-promotions__terms-conditions .page-promotions__section-title,
.page-promotions__faq-section .page-promotions__section-title {
  color: #ffffff;
}

.page-promotions__promo-types .page-promotions__text-block,
.page-promotions__terms-conditions .page-promotions__text-block,
.page-promotions__faq-section .page-promotions__text-block {
  color: #f0f0f0;
}

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

.page-promotions__promo-card {
  background-color: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  text-align: left;
  color: #333333;
}

.page-promotions__card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.page-promotions__promo-card h3 {
  font-size: 1.4em;
  font-weight: 700;
  margin: 20px 20px 10px 20px;
  color: #26A9E0;
}

.page-promotions__promo-card p {
  font-size: 1em;
  margin: 0 20px 20px 20px;
  flex-grow: 1;
}

.page-promotions__promo-card .page-promotions__cta-button {
  margin: 0 20px 20px 20px;
  width: calc(100% - 40px);
  background-color: #26A9E0;
  color: #ffffff;
}

.page-promotions__promo-card .page-promotions__cta-button:hover {
  background-color: #1e87b8;
}

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

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

.page-promotions__step-image {
  width: 200px;
  height: 150px;
  object-fit: contain;
  margin-bottom: 20px;
  display: block;
}

.page-promotions__step-item h3 {
  font-size: 1.3em;
  font-weight: 700;
  margin-bottom: 15px;
  color: #26A9E0;
}

.page-promotions__step-item p {
  font-size: 0.95em;
  color: #555555;
}

/* Benefits List */
.page-promotions__benefits-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.page-promotions__benefit-item {
  background-color: #ffffff;
  border-left: 5px solid #26A9E0;
  padding: 20px;
  border-radius: 8px;
  text-align: left;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  font-size: 1.05em;
  color: #333333;
}

/* FAQ Section */
.page-promotions__faq-list {
  max-width: 900px;
  margin: 40px auto 0 auto;
  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.15em;
  font-weight: bold;
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  user-select: none;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}

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

.page-promotions__faq-item summary {
  list-style: none; /* Remove default marker */
}

.page-promotions__faq-item summary::-webkit-details-marker {
  display: none; /* For Webkit browsers */
}

.page-promotions__faq-qtext {
  color: #ffffff;
}

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

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

.page-promotions__faq-answer {
  padding: 15px 25px 20px 25px;
  font-size: 1em;
  line-height: 1.7;
  color: #f0f0f0;
}

.page-promotions__faq-answer p {
  margin-bottom: 0;
  text-align: left;
}

/* Final CTA Section */
.page-promotions__cta-final {
  background-color: #f8f9fa;
}

.page-promotions__cta-final .page-promotions__section-title {
  color: #26A9E0;
}

.page-promotions__cta-final .page-promotions__text-block {
  color: #333333;
}

.page-promotions__cta-final .page-promotions__cta-buttons .page-promotions__btn-secondary {
  background-color: transparent;
  color: #26A9E0;
  border: 2px solid #26A9E0;
}

.page-promotions__cta-final .page-promotions__cta-buttons .page-promotions__btn-secondary:hover {
  background-color: #26A9E0;
  color: #ffffff;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .page-promotions__container {
    padding-left: 15px !important;
    padding-right: 15px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-promotions__hero-section {
    padding-top: 10px !important; /* body handles --header-offset, this is just small decorative top padding */
    padding-bottom: 40px;
  }

  .page-promotions__hero-content {
    padding: 30px 15px;
  }

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

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

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

  .page-promotions__cta-button {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

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

  .page-promotions__text-block {
    font-size: 1em;
    margin-bottom: 20px;
  }

  .page-promotions__promo-grid,
  .page-promotions__steps-grid,
  .page-promotions__benefits-list {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 30px;
  }

  .page-promotions__promo-card,
  .page-promotions__step-item,
  .page-promotions__benefit-item {
    padding: 20px;
  }

  .page-promotions__card-image,
  .page-promotions__step-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-promotions__promo-card h3 {
    font-size: 1.2em;
  }

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

  .page-promotions__faq-answer {
    padding: 10px 20px 15px 20px;
    font-size: 0.95em;
  }

  /* Ensure all images are responsive */
  .page-promotions img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    box-sizing: border-box !important;
  }

  /* Ensure all video containers are responsive */
  .page-promotions video,
  .page-promotions__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-promotions__video-section,
  .page-promotions__video-container,
  .page-promotions__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
}

/* Color contrast safety classes (if needed) */
.page-promotions__dark-bg {
  background-color: #26A9E0;
  color: #ffffff;
}

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

.page-promotions__text-contrast-fix {
  color: #333333 !important;
  text-shadow: none !important;
}