/* style/promotions.css */
.page-promotions {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light background */
  background-color: #FFFFFF; /* Ensures a consistent background */
}

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

/* Hero Section */
.page-promotions__hero-section {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 500px;
  padding-top: var(--header-offset, 120px);
  text-align: center;
  overflow: hidden;
  color: #FFFFFF; /* Light text for dark background */
  background: linear-gradient(90deg, #017439 0%, #005f2f 100%); /* Brand color gradient */
}

.page-promotions__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.2; /* Subtle overlay */
}

.page-promotions__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 40px;
  background-color: rgba(0, 0, 0, 0.4); /* Dark overlay for text readability */
  border-radius: 10px;
}

.page-promotions__main-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  font-weight: bold;
  color: #FFFF00; /* Yellow for prominence */
}

.page-promotions__intro-text {
  font-size: 1.3em;
  margin-bottom: 30px;
  color: #FFFFFF;
}

/* Section Titles & Descriptions */
.page-promotions__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 20px;
  color: #017439; /* Brand color */
  font-weight: bold;
}

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

/* Buttons */
.page-promotions__btn-primary,
.page-promotions__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.2s ease;
  cursor: pointer;
  text-align: center;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

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

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

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

.page-promotions__btn-secondary:hover {
  background-color: #f0f0f0;
  transform: translateY(-2px);
}

/* Specific button colors */
.page-promotions__btn-register {
  background-color: #C30808;
  border-color: #C30808;
  color: #FFFF00; /* Yellow font for register */
}

.page-promotions__btn-register:hover {
  background-color: #a00606;
  border-color: #a00606;
}

.page-promotions__btn-login {
  background-color: #C30808;
  border-color: #C30808;
  color: #FFFF00; /* Yellow font for login */
}

.page-promotions__btn-login:hover {
  background-color: #a00606;
  border-color: #a00606;
}

/* Current Promotions Section */
.page-promotions__current-promos {
  padding: 80px 0;
  background-color: #FFFFFF;
}

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

.page-promotions__promo-card {
  background-color: #f9f9f9;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: center;
  padding-bottom: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 500px; /* Ensure cards have minimum height */
}

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

.page-promotions__card-title {
  font-size: 1.5em;
  color: #017439;
  margin: 20px 15px 10px;
  font-weight: bold;
}

.page-promotions__card-description {
  font-size: 1em;
  color: #555555;
  padding: 0 15px 20px;
  flex-grow: 1;
}

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

.page-promotions__how-to-claim .page-promotions__section-title,
.page-promotions__how-to-claim .page-promotions__section-description {
  color: #FFFFFF;
}

.page-promotions__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
}

.page-promotions__step-item {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-promotions__step-title {
  font-size: 1.4em;
  color: #FFFF00; /* Yellow for emphasis */
  margin-bottom: 15px;
  font-weight: bold;
}

.page-promotions__step-description {
  font-size: 1em;
  color: #f0f0f0;
}

.page-promotions__step-description a {
  color: #FFFFFF;
  text-decoration: underline;
}

.page-promotions__step-description a:hover {
  color: #FFFF00;
}

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

/* Promotion Types Section */
.page-promotions__promo-types {
  padding: 80px 0;
  background-color: #f0f8f0;
}

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

.page-promotions__type-item {
  background-color: #FFFFFF;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  padding: 30px;
  text-align: left;
}

.page-promotions__type-title {
  font-size: 1.6em;
  color: #017439;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-promotions__type-description {
  font-size: 1em;
  color: #555555;
}

.page-promotions__type-description a {
  color: #017439;
  text-decoration: underline;
}

.page-promotions__type-description a:hover {
  color: #005f2f;
}

/* Video Section */
.page-promotions__video-section {
  padding: 80px 0;
  background-color: #00331a;
  color: #FFFFFF;
  text-align: center;
}

.page-promotions__video-section .page-promotions__section-title,
.page-promotions__video-section .page-promotions__section-description {
  color: #FFFFFF;
}

.page-promotions__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  max-width: 900px;
  margin: 0 auto;
  background-color: black;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-promotions__video-link {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

.page-promotions__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 10px;
}

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

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

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

.page-promotions__terms-list li a {
  color: #017439;
  text-decoration: underline;
}

.page-promotions__terms-list li a:hover {
  color: #005f2f;
}

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

.page-promotions__faq-section .page-promotions__section-title {
  color: #FFFFFF;
}

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

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

.page-promotions__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: bold;
  color: #FFFFFF;
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0.05);
  transition: background-color 0.3s ease;
  list-style: none; /* Remove default marker for details */
}

.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: 1.5em;
  line-height: 1;
  width: 20px;
  text-align: center;
}

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

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

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

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

/* CTA Section */
.page-promotions__cta-section {
  padding: 80px 0;
  text-align: center;
  background-color: #f0f8f0;
}

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

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-promotions__main-title {
    font-size: 2.8em;
  }
  .page-promotions__intro-text {
    font-size: 1.2em;
  }
  .page-promotions__section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-promotions {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-promotions__hero-section {
    min-height: 400px;
    padding-top: var(--header-offset, 120px) !important;
  }
  .page-promotions__hero-content {
    padding: 20px;
  }
  .page-promotions__main-title {
    font-size: 2em;
  }
  .page-promotions__intro-text {
    font-size: 1em;
  }
  .page-promotions__section-title {
    font-size: 1.8em;
  }
  .page-promotions__section-description {
    margin-bottom: 30px;
  }
  .page-promotions__promo-grid,
  .page-promotions__steps-grid,
  .page-promotions__type-list {
    grid-template-columns: 1fr;
  }
  .page-promotions__promo-card {
    min-height: auto;
  }
  .page-promotions__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .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;
    margin: 0;
    padding: 12px 20px;
  }
  .page-promotions__container {
    padding: 0 15px !important;
  }

  /* Image responsive */
  .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,
  .page-promotions__promo-card {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-promotions__video-section {
    padding-top: var(--header-offset, 120px) !important;
  }

  /* Video 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;
  }
  .page-promotions__video-section .page-promotions__container {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  .page-promotions__video-wrapper {
    padding-left: 0;
    padding-right: 0;
  }
  .page-promotions__video-link {
    cursor: pointer;
  }

  /* FAQ specific */
  .page-promotions__faq-question {
    padding: 15px 20px;
    font-size: 1.1em;
  }
  .page-promotions__faq-answer {
    padding: 0 20px 15px;
  }
}

@media (max-width: 480px) {
  .page-promotions__main-title {
    font-size: 1.8em;
  }
  .page-promotions__intro-text {
    font-size: 0.9em;
  }
  .page-promotions__section-title {
    font-size: 1.6em;
  }
  .page-promotions__hero-content {
    padding: 15px;
  }
}

/* Color contrast enforcement */
.page-promotions__dark-bg {
  color: #ffffff;
}

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

.page-promotions__hero-section .page-promotions__main-title {
  color: #FFFF00; /* Custom color for H1 */
}

.page-promotions__hero-section .page-promotions__intro-text {
  color: #FFFFFF;
}

.page-promotions__section-title {
  color: #017439;
}

.page-promotions__section-description {
  color: #555555;
}

.page-promotions__dark-bg .page-promotions__section-title,
.page-promotions__dark-bg .page-promotions__section-description {
  color: #FFFFFF;
}

.page-promotions__dark-bg .page-promotions__step-title {
  color: #FFFF00;
}

.page-promotions__dark-bg .page-promotions__step-description {
  color: #f0f0f0;
}

.page-promotions__dark-bg .page-promotions__step-description a {
  color: #FFFFFF;
}

.page-promotions__faq-question,
.page-promotions__faq-answer {
  color: #FFFFFF;
}

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

.page-promotions__promo-card {
  background-color: #f9f9f9;
  color: #333333;
}

.page-promotions__promo-card .page-promotions__card-title {
  color: #017439;
}

.page-promotions__promo-card .page-promotions__card-description {
  color: #555555;
}

.page-promotions__type-item {
  background-color: #FFFFFF;
  color: #333333;
}

.page-promotions__type-item .page-promotions__type-title {
  color: #017439;
}

.page-promotions__type-item .page-promotions__type-description {
  color: #555555;
}

.page-promotions__type-item .page-promotions__type-description a {
  color: #017439;
}

.page-promotions__terms-list {
  color: #555555;
}

.page-promotions__terms-list li a {
  color: #017439;
}