/* style/promotions.css */
.page-promotions {
  color: #ffffff; /* Light text for dark body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  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;
}

/* Sections */
.page-promotions__hero-section {
  position: relative;
  display: flex;
  align-items: center;
  padding-top: var(--header-offset, 120px);
  padding-bottom: 60px;
  background: linear-gradient(135deg, #017439, #005f2f); /* Brand primary color gradient */
  color: #ffffff;
  overflow: hidden;
}

.page-promotions__hero-section .page-promotions__container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
}

.page-promotions__hero-content {
  flex: 1;
  min-width: 300px;
  text-align: left;
}

.page-promotions__main-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: bold;
  color: #FFFF00; /* Register/Login font color for main title */
}

.page-promotions__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  opacity: 0.9;
}

.page-promotions__hero-image-wrapper {
  flex: 1;
  min-width: 300px;
  text-align: center;
}

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

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

.page-promotions__btn-primary,
.page-promotions__btn-secondary {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 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: #C30808; /* Custom Register/Login button color */
  color: #FFFF00; /* Custom Register/Login font color */
  border: 2px solid #C30808;
}

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

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

.page-promotions__btn-secondary:hover {
  background-color: #f0f0f0;
  border-color: #f0f0f0;
}

.page-promotions__intro-section,
.page-promotions__terms-conditions,
.page-promotions__tips-section,
.page-promotions__conclusion {
  padding: 80px 0;
  color: #333333; /* Dark text for light background */
}

.page-promotions__featured-promos,
.page-promotions__how-to-claim,
.page-promotions__faq-section {
  padding: 80px 0;
  color: #ffffff; /* Light text for dark background */
}

.page-promotions__light-bg {
  background-color: #ffffff; /* Custom Background color */
}

.page-promotions__dark-section {
  background-color: #017439; /* Brand primary color */
}

.page-promotions__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 50px;
  font-weight: bold;
  line-height: 1.3;
}

.page-promotions__dark-section .page-promotions__section-title {
  color: #FFFF00; /* Custom Register/Login font color */
}

.page-promotions__light-bg .page-promotions__section-title {
  color: #017439; /* Brand primary color */
}

.page-promotions__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  text-align: justify;
}

.page-promotions__text-block a {
  color: #C30808; /* Link color for dark text areas */
  text-decoration: underline;
}

.page-promotions__text-block a:hover {
  color: #e02f2f;
}

.page-promotions__content-image {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 40px auto;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-promotions__promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 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 6px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #ffffff;
}

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

.page-promotions__card-title {
  font-size: 1.8em;
  margin-bottom: 15px;
  font-weight: bold;
  color: #FFFF00; /* Custom Register/Login font color for card titles */
}

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

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

.page-promotions__card-text a {
  color: #C30808;
  text-decoration: underline;
}

.page-promotions__card-text a:hover {
  color: #e02f2f;
}

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

.page-promotions__list-item {
  background-color: #f9f9f9;
  margin-bottom: 15px;
  padding: 20px 25px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  font-size: 1.05em;
  line-height: 1.8;
  color: #333333;
}

.page-promotions__list-item strong {
  color: #017439; /* Brand primary color */
}

.page-promotions__list-item a {
  color: #C30808;
  text-decoration: underline;
}

.page-promotions__list-item a:hover {
  color: #e02f2f;
}

/* FAQ Section */
.page-promotions__faq-list {
  max-width: 900px;
  margin: 0 auto;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

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

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

.page-promotions__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: bold;
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0.15);
  transition: background-color 0.3s ease;
  color: #FFFF00; /* Custom Register/Login font color for questions */
}

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

.page-promotions__faq-title {
  margin: 0;
  flex-grow: 1;
  color: #FFFF00;
}

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

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

.page-promotions__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #ffffff; /* Light text for dark background */
}

.page-promotions__faq-item.active .page-promotions__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show content */
  padding: 15px 25px 25px 25px;
}

.page-promotions__faq-answer p {
  margin-bottom: 10px;
}

.page-promotions__faq-answer p:last-child {
  margin-bottom: 0;
}

.page-promotions__faq-answer a {
  color: #C30808;
  text-decoration: underline;
}

.page-promotions__faq-answer a:hover {
  color: #e02f2f;
}

.page-promotions__cta-buttons--bottom {
  justify-content: center;
  margin-top: 40px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-promotions__main-title {
    font-size: 2.8em;
  }

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

@media (max-width: 768px) {
  .page-promotions__hero-section .page-promotions__container {
    flex-direction: column;
    text-align: center;
  }

  .page-promotions__hero-content {
    text-align: center;
  }

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

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

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

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

  .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;
  }

  .page-promotions__intro-section,
  .page-promotions__featured-promos,
  .page-promotions__terms-conditions,
  .page-promotions__how-to-claim,
  .page-promotions__tips-section,
  .page-promotions__faq-section,
  .page-promotions__conclusion {
    padding: 40px 0;
  }

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

  .page-promotions__text-block {
    font-size: 0.95em;
  }

  .page-promotions__list-item {
    font-size: 0.9em;
    padding: 15px;
  }

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

  .page-promotions__faq-answer {
    padding: 0 20px;
  }

  .page-promotions__faq-item.active .page-promotions__faq-answer {
    padding: 10px 20px 20px 20px;
  }

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

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

  .page-promotions__section,
  .page-promotions__card,
  .page-promotions__container,
  .page-promotions__hero-image-wrapper,
  .page-promotions__promo-card,
  .page-promotions__faq-list,
  .page-promotions__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden;
  }
  .page-promotions__container {
    padding-left: 15px;
    padding-right: 15px;
  }
}

@media (max-width: 480px) {
  .page-promotions__main-title {
    font-size: 1.8em;
  }

  .page-promotions__section-title {
    font-size: 1.5em;
  }

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

  .page-promotions__card-title {
    font-size: 1.5em;
  }
}