/* style/promotions.css */

/* --- Base Styles for .page-promotions --- */
.page-promotions {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light body background */
  background-color: var(--bg-color, #FFFFFF); /* Inherit from shared or default to white */
}

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

.page-promotions__section-title {
  font-size: 2.5em;
  font-weight: bold;
  color: #26A9E0; /* Brand primary color for titles */
  text-align: center;
  margin-bottom: 20px;
  line-height: 1.2;
  max-width: 900px; /* Constraint for h1, extending to h2 for consistency */
  margin-left: auto;
  margin-right: auto;
}

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

.page-promotions__text-center {
  text-align: center;
}

/* --- Hero Section --- */
.page-promotions__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-top: 10px; /* Small top padding, relying on body for header offset */
  padding-bottom: 60px;
  background: linear-gradient(135deg, #e0f2f7 0%, #ffffff 100%); /* Light gradient background */
}

.page-promotions__hero-image {
  width: 100%;
  height: auto;
  max-width: 1200px;
  border-radius: 15px;
  margin-bottom: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.page-promotions__hero-content {
  max-width: 900px;
  padding: 0 20px;
}

.page-promotions__hero-title {
  font-size: clamp(2.5rem, 4vw, 3.5rem); /* Using clamp for H1 font size */
  font-weight: 800;
  color: #26A9E0;
  margin-bottom: 20px;
  line-height: 1.2;
}

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

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

.page-promotions__cta-buttons--centered {
  justify-content: center;
}

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

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

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

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

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

.page-promotions__btn-text {
  color: #26A9E0;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-promotions__btn-text:hover {
  color: #1a7fb3;
  text-decoration: underline;
}

/* --- Overview Section --- */
.page-promotions__overview-section {
  padding: 80px 0;
  background-color: #f8f8f8;
}

.page-promotions__promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-promotions__promo-card {
  background-color: #FFFFFF;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-promotions__promo-card-image {
  width: 100%;
  height: auto;
  max-width: 400px; /* Card images larger than 200x200 */
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
}

.page-promotions__promo-card-title {
  font-size: 1.5em;
  color: #26A9E0;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-promotions__promo-card-description {
  font-size: 1em;
  color: #666666;
  margin-bottom: 20px;
}

/* --- How To Claim Section --- */
.page-promotions__how-to-claim {
  padding: 80px 0;
  background-color: #FFFFFF;
}

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

.page-promotions__step-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 30px;
  position: relative;
}

.page-promotions__step-item:last-child {
  margin-bottom: 0;
}

.page-promotions__step-number {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  background-color: #26A9E0;
  color: #FFFFFF;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.8em;
  font-weight: bold;
  margin-right: 25px;
  box-shadow: 0 4px 15px rgba(38, 169, 224, 0.4);
}

.page-promotions__step-content {
  flex-grow: 1;
}

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

.page-promotions__step-description {
  font-size: 1.1em;
  color: #555555;
}

/* --- Terms & Conditions Section --- */
.page-promotions__terms-section {
  padding: 80px 0;
  background-color: #f8f8f8;
}

.page-promotions__terms-list {
  list-style: disc;
  max-width: 800px;
  margin: 0 auto 40px auto;
  padding-left: 25px;
  color: #555555;
}

.page-promotions__terms-item {
  margin-bottom: 10px;
  font-size: 1em;
}

/* --- FAQ Section --- */
.page-promotions__faq-section {
  padding: 80px 0;
  background-color: #FFFFFF;
}

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

.page-promotions__faq-item {
  background-color: #f0f8ff; /* Light blue background for FAQ item */
  border-radius: 8px;
  margin-bottom: 15px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  overflow: hidden; /* For details tag transition */
}

.page-promotions__faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-weight: bold;
  color: #26A9E0;
  cursor: pointer;
  outline: none;
  font-size: 1.1em;
  list-style: none; /* Hide default marker */
}

.page-promotions__faq-item summary::-webkit-details-marker {
  display: none; /* Hide default marker for webkit browsers */
}

.page-promotions__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.page-promotions__faq-toggle {
  font-size: 1.5em;
  margin-left: 15px;
  transition: transform 0.3s ease;
}

.page-promotions__faq-item[open] .page-promotions__faq-toggle {
  transform: rotate(45deg); /* Rotate plus to become cross */
}

.page-promotions__faq-answer {
  padding: 0 25px 20px 25px;
  color: #555555;
  font-size: 1em;
}

/* --- Call to Action Section (Dark Background) --- */
.page-promotions__cta-section {
  padding: 80px 0;
  text-align: center;
}

.page-promotions__dark-section {
  background-color: #26A9E0; /* Brand primary color */
  color: #FFFFFF; /* White text for dark background */
}

.page-promotions__dark-section .page-promotions__section-title,
.page-promotions__dark-section .page-promotions__section-description {
  color: #FFFFFF; /* Ensure all text is white */
}

.page-promotions__dark-section .page-promotions__btn-primary {
  background-color: #FFFFFF;
  color: #26A9E0;
  border-color: #FFFFFF;
}

.page-promotions__dark-section .page-promotions__btn-primary:hover {
  background-color: #e0f2f7;
  color: #1a7fb3;
  border-color: #e0f2f7;
}

/* --- Mobile Responsive Styles (@media max-width: 768px) --- */
@media (max-width: 768px) {
  /* HERO Section Mobile */
  .page-promotions__hero-section {
    padding-top: 10px !important; /* Small top padding, not var(--header-offset) */
    padding-bottom: 40px;
  }

  .page-promotions__hero-title {
    font-size: 2em;
    margin-bottom: 15px;
  }

  .page-promotions__hero-description {
    font-size: 1em;
    margin-bottom: 25px;
  }

  .page-promotions__cta-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100%; /* Ensure container fills width */
    padding: 0 15px; /* Add padding to container */
    box-sizing: border-box;
  }

  /* Buttons 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-left: 15px;
    padding-right: 15px;
  }

  .page-promotions__cta-buttons,
  .page-promotions__button-group,
  .page-promotions__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }

  /* General Images Mobile */
  .page-promotions img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block;
  }

  /* Content Containers Mobile */
  .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__overview-section,
  .page-promotions__how-to-claim,
  .page-promotions__terms-section,
  .page-promotions__faq-section,
  .page-promotions__cta-section {
    padding: 40px 0;
  }

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

  .page-promotions__section-description {
    font-size: 0.95em;
    margin-bottom: 30px;
  }

  /* Promo Grid Mobile */
  .page-promotions__promo-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

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

  .page-promotions__promo-card-image {
    max-width: 100%;
  }

  /* How To Claim Mobile */
  .page-promotions__step-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .page-promotions__step-number {
    margin-right: 0;
    margin-bottom: 15px;
  }

  .page-promotions__step-title {
    font-size: 1.4em;
  }

  /* FAQ Mobile */
  .page-promotions__faq-item summary {
    padding: 15px 20px;
    font-size: 1em;
  }

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