/* style/promotions.css */

/* Base styles for the promotions page */
.page-promotions {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Light text for dark body background */
  background-color: transparent; /* Body background is 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(28px, 4vw, 42px);
  font-weight: 700;
  color: #26A9E0; /* Brand color for titles */
  text-align: center;
  margin-bottom: 30px;
  line-height: 1.2;
}

.page-promotions__section-description {
  font-size: 18px;
  line-height: 1.7;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px auto;
  color: #f0f0f0;
}

/* Hero Section */
.page-promotions__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  text-align: center;
  overflow: hidden;
}

.page-promotions__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  margin-bottom: 30px;
}

.page-promotions__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 10px;
}

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

.page-promotions__main-title {
  font-weight: 800;
  color: #FFFFFF; /* White for H1 on brand color background */
  margin-bottom: 20px;
  line-height: 1.2;
  letter-spacing: 0.5px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.page-promotions__hero-description {
  font-size: 20px;
  margin-bottom: 30px;
  line-height: 1.7;
  color: #f0f0f0;
}

/* Buttons */
.page-promotions__btn-primary {
  display: inline-block;
  background: #26A9E0;
  color: #ffffff;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 18px;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
  box-sizing: border-box;
}

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

.page-promotions__cta-button {
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

/* Overview Section */
.page-promotions__overview-section {
  padding: 60px 0;
  background-color: #1a1a1a; /* Darker background for contrast */
}

/* Promotion List Section */
.page-promotions__promo-list {
  padding: 60px 0;
  background-color: #0a0a0a;
}

.page-promotions__cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  justify-content: center;
}

.page-promotions__promo-card {
  background: rgba(255, 255, 255, 0.08); /* Semi-transparent white for dark body */
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  color: #ffffff;
}

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

.page-promotions__card-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
  min-width: 200px; /* Min size requirement */
  min-height: 200px; /* Min size requirement */
}

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

.page-promotions__card-description {
  font-size: 16px;
  color: #f0f0f0;
  margin-bottom: 25px;
  flex-grow: 1;
}

/* How to Claim Section */
.page-promotions__how-to-claim {
  padding: 60px 0;
  background-color: #1a1a1a;
}

.page-promotions__steps-list {
  list-style: none;
  padding: 0;
  max-width: 800px;
  margin: 0 auto;
}

.page-promotions__step-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 25px;
  font-size: 18px;
  color: #f0f0f0;
  line-height: 1.7;
}

.page-promotions__step-number {
  font-size: 28px;
  font-weight: 700;
  color: #26A9E0;
  margin-right: 15px;
  flex-shrink: 0;
}

.page-promotions__step-item p {
  margin: 0;
  text-align: left;
}

/* Terms & Conditions Section */
.page-promotions__terms-conditions {
  padding: 60px 0;
  background-color: #0a0a0a;
}

.page-promotions__terms-list {
  list-style: disc;
  padding-left: 25px;
  max-width: 900px;
  margin: 0 auto;
  color: #f0f0f0;
  font-size: 17px;
}

.page-promotions__terms-item {
  margin-bottom: 10px;
  line-height: 1.6;
}

/* FAQ Section */
.page-promotions__faq-section {
  padding: 60px 0;
  background-color: #1a1a1a;
}

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

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

.page-promotions__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 20px;
  font-weight: 600;
  color: #26A9E0;
  cursor: pointer;
  transition: background-color 0.3s ease;
  user-select: none;
  list-style: none;
}

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

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

.page-promotions__faq-toggle {
  font-size: 28px;
  line-height: 1;
  font-weight: normal;
  transition: transform 0.3s ease;
}

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

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

/* Bottom CTA Section */
.page-promotions__cta-bottom {
  padding: 60px 0;
  text-align: center;
  background-color: #26A9E0; /* Brand color background for strong CTA */
}

.page-promotions__cta-bottom .page-promotions__section-title,
.page-promotions__cta-bottom .page-promotions__section-description {
  color: #ffffff;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-promotions__hero-content {
    padding: 0 20px;
  }
}

@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: 40px 15px;
    padding-top: 10px !important; /* body handles header offset */
  }

  .page-promotions__main-title {
    font-size: clamp(24px, 7vw, 36px);
  }

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

  .page-promotions__btn-primary,
  .page-promotions__cta-button {
    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__hero-image,
  .page-promotions__card-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-promotions__promo-card,
  .page-promotions__overview-section,
  .page-promotions__promo-list,
  .page-promotions__how-to-claim,
  .page-promotions__terms-conditions,
  .page-promotions__faq-section,
  .page-promotions__cta-bottom {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 0;
    padding-right: 0;
  }

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

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

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

  .page-promotions__card-description,
  .page-promotions__step-item p,
  .page-promotions__terms-item,
  .page-promotions__faq-answer {
    font-size: 15px;
  }

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

  .page-promotions__step-item {
    flex-direction: column;
    align-items: flex-start;
  }

  .page-promotions__step-number {
    margin-bottom: 5px;
  }
}

/* Content area image size minimum enforcement */
.page-promotions__hero-image, .page-promotions__card-image {
  min-width: 200px;
  min-height: 200px;
}

.page-promotions img:not(.page-promotions__hero-image):not(.page-promotions__card-image) {
  max-width: 100%;
  height: auto;
  display: block;
  min-width: 200px;
  min-height: 200px;
}

/* Ensure text contrast for default light background elements */
.page-promotions__light-bg {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.page-promotions__dark-bg {
  background: #0a0a0a;
  color: #ffffff;
}
.page-promotions__hero-section.page-promotions__dark-bg {
  background: #0a0a0a;
}

.page-promotions__cta-bottom.page-promotions__dark-bg {
  background: #26A9E0;
}