/* style/promotions.css */

/* Base styles for the promotions page */
.page-promotions {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: transparent; /* Body background handled by shared.css */
}

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

.page-promotions__section-title {
  font-size: clamp(24px, 3.5vw, 40px);
  font-weight: 700;
  margin-bottom: 30px;
  text-align: center;
  line-height: 1.2;
  color: #26A9E0; /* Brand color for titles on light backgrounds */
}

.page-promotions__section-title--white {
  color: #ffffff; /* White color for titles on dark backgrounds */
}

/* Hero Section */
.page-promotions__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  text-align: center;
  overflow: hidden;
  background-color: #0d0d0d; /* Explicitly dark background for contrast */
  color: #ffffff;
}

.page-promotions__hero-image {
  width: 100%;
  height: auto;
  max-height: 675px;
  object-fit: cover;
  display: block;
  margin-bottom: 30px;
}

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

.page-promotions__main-title {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 20px;
  color: #ffffff;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.page-promotions__hero-description {
  font-size: clamp(16px, 2vw, 20px);
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #f0f0f0;
}

.page-promotions__cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
}

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

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

.page-promotions__btn-primary:hover {
  background-color: #1a8cc2;
  border-color: #1a8cc2;
}

.page-promotions__btn-primary--large {
  padding: 18px 40px;
  font-size: 20px;
}

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

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

/* Overview Section */
.page-promotions__overview-section,
.page-promotions__claim-guide,
.page-promotions__tips-section,
.page-promotions__cta-final {
  padding: 80px 0;
  background-color: #ffffff; /* Light background */
  color: #333333; /* Dark text for light background */
}

.page-promotions__overview-section p {
  font-size: 17px;
  max-width: 900px;
  margin: 0 auto 20px auto;
  text-align: center;
}

/* Types Section */
.page-promotions__types-section,
.page-promotions__terms-conditions,
.page-promotions__faq-section {
  padding: 80px 0;
  background-color: #26A9E0; /* Brand color dark background */
  color: #ffffff; /* White text for dark background */
}

.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: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  min-height: 450px;
}

.page-promotions__promo-card-image {
  width: 100%;
  max-width: 400px;
  height: auto;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
}

.page-promotions__promo-card-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 15px;
  color: #ffffff;
  line-height: 1.3;
}

.page-promotions__promo-card p {
  font-size: 16px;
  margin-bottom: 25px;
  flex-grow: 1;
}

/* Claim Guide */
.page-promotions__claim-guide p {
  font-size: 17px;
  max-width: 900px;
  margin: 0 auto 30px auto;
  text-align: center;
}

.page-promotions__step-list {
  list-style: none;
  padding: 0;
  margin: 40px auto 0 auto;
  max-width: 900px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.page-promotions__step-list li {
  background-color: #f8f8f8;
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  counter-increment: step-counter;
  position: relative;
  text-align: left;
}

.page-promotions__step-list li::before {
  content: "0" counter(step-counter);
  position: absolute;
  top: -15px;
  left: 25px;
  font-size: 48px;
  font-weight: 900;
  color: #e0e0e0;
  opacity: 0.6;
  z-index: 0;
}

.page-promotions__step-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #26A9E0;
  position: relative;
  z-index: 1;
}

.page-promotions__step-list p {
  font-size: 16px;
  text-align: left;
  margin-bottom: 0;
  position: relative;
  z-index: 1;
}

/* Terms & Conditions */
.page-promotions__terms-conditions p {
  font-size: 17px;
  max-width: 900px;
  margin: 0 auto 30px auto;
  text-align: center;
}

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

.page-promotions__terms-list li {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 25px;
  margin-bottom: 20px;
  text-align: left;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-promotions__terms-item-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #ffffff;
}

.page-promotions__terms-list p {
  font-size: 16px;
  margin-bottom: 0;
  text-align: left;
}

.page-promotions__inline-link {
  color: #ffffff;
  text-decoration: underline;
  font-weight: 600;
}

.page-promotions__inline-link:hover {
  color: #f0f0f0;
}

/* Tips Section */
.page-promotions__tips-list {
  list-style: none;
  padding: 0;
  margin: 40px auto 0 auto;
  max-width: 900px;
}

.page-promotions__tips-list li {
  background-color: #f8f8f8;
  border-left: 5px solid #26A9E0;
  border-radius: 8px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  text-align: left;
}

.page-promotions__tips-item-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #26A9E0;
}

.page-promotions__tips-list p {
  font-size: 16px;
  margin-bottom: 0;
  text-align: left;
}

/* 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: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  color: #ffffff;
}

.page-promotions__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-size: 18px;
  font-weight: 600;
  color: #ffffff;
  background-color: rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: background-color 0.3s ease;
}

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

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

.page-promotions__faq-item summary {
  list-style: none;
}

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

.page-promotions__faq-toggle {
  font-size: 24px;
  font-weight: 900;
  line-height: 1;
  margin-left: 15px;
  color: #26A9E0;
}

.page-promotions__faq-item[open] .page-promotions__faq-toggle {
  color: #ffffff;
}

.page-promotions__faq-answer {
  padding: 20px 25px;
  font-size: 16px;
  color: #f0f0f0;
  background-color: rgba(255, 255, 255, 0.02);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

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

/* Final CTA Section */
.page-promotions__cta-final .page-promotions__section-title {
  color: #26A9E0;
}

.page-promotions__cta-final p {
  font-size: 18px;
  max-width: 800px;
  margin: 0 auto 30px auto;
  text-align: center;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-promotions__hero-image {
    max-height: 500px;
  }
  .page-promotions__promo-card {
    min-height: 400px;
  }
}

@media (max-width: 768px) {
  .page-promotions__container {
    padding: 0 15px;
  }

  .page-promotions__hero-section,
  .page-promotions__overview-section,
  .page-promotions__types-section,
  .page-promotions__claim-guide,
  .page-promotions__terms-conditions,
  .page-promotions__tips-section,
  .page-promotions__faq-section,
  .page-promotions__cta-final {
    padding: 40px 0;
  }

  .page-promotions__hero-image {
    max-height: 350px;
    margin-bottom: 20px;
  }

  .page-promotions__main-title {
    font-size: clamp(28px, 8vw, 40px);
  }

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

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

  .page-promotions__btn-primary,
  .page-promotions__btn-secondary {
    font-size: 16px;
    padding: 12px 20px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-promotions__btn-primary--large {
    font-size: 18px;
    padding: 15px 25px;
  }

  .page-promotions__section-title {
    font-size: clamp(20px, 6vw, 32px);
    margin-bottom: 20px;
  }

  .page-promotions__promo-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-promotions__promo-card {
    min-height: auto;
    padding: 20px;
  }

  .page-promotions__promo-card-image {
    max-width: 100%;
    margin-bottom: 15px;
  }

  .page-promotions__promo-card-title {
    font-size: 20px;
  }

  .page-promotions__step-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-promotions__step-list li::before {
    font-size: 36px;
    top: -10px;
  }

  .page-promotions__step-title,
  .page-promotions__terms-item-title,
  .page-promotions__tips-item-title {
    font-size: 18px;
  }

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

  .page-promotions__faq-toggle {
    font-size: 20px;
  }

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

  /* Mobile image responsiveness */
  .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 {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .page-promotions__hero-section {
    padding-top: 10px !important; /* body handles --header-offset, this is decorative */
  }

  /* Ensure no horizontal scroll for elements containing images/videos/buttons */
  .page-promotions__hero-section,
  .page-promotions__overview-section,
  .page-promotions__types-section,
  .page-promotions__claim-guide,
  .page-promotions__terms-conditions,
  .page-promotions__tips-section,
  .page-promotions__faq-section,
  .page-promotions__cta-final,
  .page-promotions__promo-card,
  .page-promotions__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .page-promotions__cta-buttons {
    flex-wrap: wrap !important;
    gap: 10px;
  }
  .page-promotions__cta-buttons a {
    width: 100%; /* Make buttons full width on mobile */
  }
}

@media (max-width: 480px) {
  .page-promotions__hero-image {
    max-height: 250px;
  }
  .page-promotions__main-title {
    font-size: clamp(24px, 7vw, 36px);
  }
  .page-promotions__hero-description {
    font-size: 15px;
  }
  .page-promotions__btn-primary,
  .page-promotions__btn-secondary {
    font-size: 15px;
    padding: 10px 15px;
  }
  .page-promotions__btn-primary--large {
    font-size: 16px;
    padding: 12px 20px;
  }
  .page-promotions__section-title {
    font-size: clamp(18px, 5vw, 28px);
  }
  .page-promotions__promo-card {
    padding: 15px;
  }
  .page-promotions__promo-card-title {
    font-size: 18px;
  }
  .page-promotions__step-title,
  .page-promotions__terms-item-title,
  .page-promotions__tips-item-title {
    font-size: 17px;
  }
  .page-promotions__faq-question {
    font-size: 15px;
  }
}