/* style/promotions.css */

/* Base styles for the page content, ensuring light text on dark body background */
.page-promotions {
  color: #ffffff; /* Light text for dark body background */
  background-color: #0a0a0a; /* Ensure consistency with body background */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
}

/* Section common styles */
.page-promotions__section {
  padding: 60px 0;
  text-align: center;
}

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

.page-promotions__section-title {
  font-size: 2.5em;
  margin-bottom: 20px;
  font-weight: bold;
  color: #26A9E0; /* Brand primary color */
}

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

/* Color contrast classes */
.page-promotions__dark-bg {
  background-color: #0a0a0a; /* Dark background */
  color: #ffffff; /* Light text */
}

.page-promotions__light-bg {
  background-color: #ffffff; /* Light background */
  color: #333333; /* Dark text */
}

/* Hero Section */
.page-promotions__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 10px 0 60px 0; /* Small top padding, larger bottom for content */
}

.page-promotions__hero-image-wrapper {
  width: 100%;
  max-height: 675px; /* Max height to constrain image */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-promotions__hero-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  /* Ensure image is not smaller than 200px, but responsive */
  min-width: 200px;
  min-height: 200px;
}

.page-promotions__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 40px 20px;
  text-align: center;
  color: #ffffff;
}

.page-promotions__main-title {
  font-size: clamp(2.2em, 4vw, 3.5em); /* Responsive font size */
  margin-bottom: 15px;
  color: #26A9E0; /* Brand primary color for emphasis */
  font-weight: bold;
  line-height: 1.2;
}

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

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

.page-promotions__btn-primary,
.page-promotions__btn-secondary,
.page-promotions__btn-tertiary,
.page-promotions__btn-link {
  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;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

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

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

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

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

.page-promotions__btn-tertiary {
  background-color: #EA7C07; /* Login color for promotion actions */
  color: #ffffff;
  border: 2px solid #EA7C07;
  padding: 10px 20px;
  font-size: 0.9em;
}

.page-promotions__btn-tertiary:hover {
  background-color: #c96700;
  border-color: #c96700;
}

.page-promotions__btn-link {
  background-color: transparent;
  color: #26A9E0;
  border: none;
  padding: 5px 0;
  font-size: 1em;
  text-decoration: underline;
}

.page-promotions__btn-link:hover {
  color: #1a7bb7;
}

/* Promotion Types Section */
.page-promotions__promotion-types {
  padding: 80px 0;
}

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

.page-promotions__card {
  background-color: #f0f0f0; /* Light background for cards in light section */
  color: #333333; /* Dark text for light background */
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 450px; /* Ensure cards have some consistent height */
}

.page-promotions__card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px;
  min-height: 200px;
}

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

.page-promotions__card-text {
  font-size: 0.95em;
  margin-bottom: 15px;
}

.page-promotions__card-list {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-promotions__card-list li {
  margin-bottom: 8px;
  position: relative;
  padding-left: 20px;
}

.page-promotions__card-list li::before {
  content: '✓';
  color: #26A9E0;
  position: absolute;
  left: 0;
  font-weight: bold;
}

/* How To Get Section */
.page-promotions__how-to-get {
  background-color: #0a0a0a;
  color: #ffffff;
  padding: 80px 0;
}

.page-promotions__how-to-get .page-promotions__section-title {
  color: #26A9E0;
}

.page-promotions__how-to-get .page-promotions__section-description {
  color: #f0f0f0;
}

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

.page-promotions__step-card {
  background-color: rgba(255, 255, 255, 0.05); /* Slightly transparent white for dark background */
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #ffffff;
  min-height: 300px;
  justify-content: space-between;
}

.page-promotions__step-icon {
  background-color: #26A9E0;
  color: #ffffff;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 2em;
  font-weight: bold;
  margin-bottom: 20px;
}

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

.page-promotions__step-text {
  font-size: 0.95em;
  margin-bottom: 20px;
  flex-grow: 1;
}

/* Terms and Conditions Section */
.page-promotions__terms-conditions {
  padding: 80px 0;
}

.page-promotions__terms-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
  text-align: left;
}

.page-promotions__term-item {
  background-color: #f0f0f0;
  color: #333333;
  border-left: 5px solid #26A9E0;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-promotions__term-title {
  font-size: 1.3em;
  font-weight: bold;
  margin-bottom: 10px;
  color: #26A9E0;
}

.page-promotions__term-text {
  font-size: 0.95em;
}

/* Why Choose Section */
.page-promotions__why-choose {
  background-color: #0a0a0a;
  color: #ffffff;
  padding: 80px 0;
}

.page-promotions__why-choose .page-promotions__section-title {
  color: #26A9E0;
}

.page-promotions__why-choose .page-promotions__section-description {
  color: #f0f0f0;
}

.page-promotions__benefits-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  text-align: left;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-promotions__benefits-list li {
  font-size: 1.1em;
  margin-bottom: 15px;
  display: flex;
  align-items: flex-start;
}

.page-promotions__list-icon {
  font-size: 1.2em;
  margin-right: 15px;
  color: #EA7C07; /* Login color for icons */
  line-height: 1;
}

.page-promotions__cta-bottom {
  margin-top: 50px;
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

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

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

.page-promotions__faq-item {
  background-color: #f0f0f0;
  color: #333333;
  border-radius: 8px;
  margin-bottom: 15px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

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

.page-promotions__faq-question::-webkit-details-marker {
  display: none; /* Remove default summary marker for webkit */
}

.page-promotions__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  color: #EA7C07;
}

.page-promotions__faq-answer {
  padding: 0 20px 20px 20px;
  font-size: 1em;
  line-height: 1.6;
  color: #333333;
}

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

.page-promotions__faq-support-link {
  color: #26A9E0;
  text-decoration: underline;
}

.page-promotions__faq-support-link:hover {
  color: #1a7bb7;
}

/* Conclusion Section */
.page-promotions__conclusion {
  padding: 80px 0;
  background-color: #0a0a0a;
  color: #ffffff;
}

.page-promotions__conclusion .page-promotions__section-title {
  color: #26A9E0;
}

.page-promotions__conclusion .page-promotions__section-description {
  color: #f0f0f0;
}

.page-promotions__cta-final {
  margin-top: 40px;
}

/* Responsive Styles */
@media (max-width: 992px) {
  .page-promotions__cards-grid,
  .page-promotions__steps-grid,
  .page-promotions__terms-list {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }

  .page-promotions__card,
  .page-promotions__step-card {
    min-height: auto;
  }
}

@media (max-width: 768px) {
  .page-promotions {
    font-size: 15px;
  }

  .page-promotions__section {
    padding: 40px 0;
  }

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

  .page-promotions__hero-section {
    padding: 10px 0 40px 0;
  }

  .page-promotions__hero-content {
    padding: 20px;
  }

  .page-promotions__main-title {
    font-size: clamp(1.8em, 7vw, 2.5em);
  }

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

  .page-promotions__cta-buttons,
  .page-promotions__cta-bottom {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
  }

  .page-promotions__btn-primary,
  .page-promotions__btn-secondary,
  .page-promotions__btn-tertiary,
  .page-promotions__btn-link {
    width: 100% !important;
    max-width: 100% !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;
    min-width: 200px !important;
    min-height: 200px !important;
  }

  .page-promotions__container,
  .page-promotions__card,
  .page-promotions__step-card,
  .page-promotions__term-item,
  .page-promotions__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-promotions__card,
  .page-promotions__step-card {
    padding: 20px;
  }

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

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

  .page-promotions__benefits-list {
    padding: 0 15px;
  }

  .page-promotions__list-icon {
    margin-right: 10px;
  }
}

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

  .page-promotions__hero-content {
    padding: 15px;
  }

  .page-promotions__main-title {
    font-size: clamp(1.6em, 8vw, 2.2em);
  }
}