/* style/promotions.css */

/* Base styles for the promotions page */
.page-promotions {
  font-family: 'Arial', sans-serif;
  color: #333333; /* Dark text on light body background */
  line-height: 1.6;
}

/* Section spacing and general layout */
.page-promotions__section {
  padding: 60px 20px;
  text-align: center;
}

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

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

.page-promotions__dark-section {
  background-color: #26A9E0;
  color: #ffffff;
}

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

.page-promotions__hero-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  max-height: 700px; /* Limit height for aesthetic */
}

.page-promotions__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  color: #ffffff;
  padding: 20px;
  background-color: rgba(0, 0, 0, 0.4); /* Semi-transparent overlay for text readability */
  border-radius: 8px;
}

.page-promotions__main-title {
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin-bottom: 15px;
  max-width: 90%;
  margin-left: auto;
  margin-right: auto;
}

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

/* Titles */
.page-promotions__section-title {
  font-size: 2.5em;
  margin-bottom: 30px;
  font-weight: bold;
  color: inherit;
}

.page-promotions__dark-section .page-promotions__section-title {
  color: #ffffff;
}

.page-promotions__sub-title {
  font-size: 1.8em;
  margin-top: 40px;
  margin-bottom: 20px;
  font-weight: bold;
  color: inherit;
}

/* Paragraphs and Lists */
.page-promotions__paragraph {
  font-size: 1.1em;
  margin-bottom: 20px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

.page-promotions__list {
  list-style: none;
  padding: 0;
  max-width: 900px;
  margin: 30px auto;
  text-align: left;
}

.page-promotions__list-item {
  margin-bottom: 15px;
  padding-left: 30px;
  position: relative;
  font-size: 1.05em;
}

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

.page-promotions__dark-section .page-promotions__list-item::before {
  color: #ffffff;
}

.page-promotions__list-heading {
  color: #26A9E0;
}

.page-promotions__dark-section .page-promotions__list-heading {
  color: #ffffff;
}

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

.page-promotions__btn-primary,
.page-promotions__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

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

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

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

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

.page-promotions__btn-large {
  padding: 18px 35px;
  font-size: 1.2em;
}

/* Image styles */
.page-promotions__image-content {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 40px auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Promotion Grid */
.page-promotions__promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 50px auto;
  text-align: left;
}

.page-promotions__promo-card {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  height: 100%;
  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.15);
}

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

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

.page-promotions__promo-card .page-promotions__card-text {
  font-size: 1em;
  margin-bottom: 20px;
  text-align: left;
  flex-grow: 1;
}

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

.page-promotions__card-features li {
  padding-left: 25px;
  position: relative;
  margin-bottom: 8px;
  font-size: 0.95em;
  color: #555555;
}

.page-promotions__card-features li::before {
  content: '★';
  color: #EA7C07; /* Login color for star */
  position: absolute;
  left: 0;
  font-weight: bold;
}

.page-promotions__promo-card .page-promotions__btn-primary,
.page-promotions__promo-card .page-promotions__btn-secondary {
  width: 100%;
  text-align: center;
  margin-top: auto; /* Push buttons to the bottom */
}

/* Step list for guide section */
.page-promotions__step-list {
  list-style: decimal;
  padding-left: 25px;
  max-width: 900px;
  margin: 30px auto;
  text-align: left;
}

.page-promotions__step-list .page-promotions__list-item {
  margin-bottom: 30px;
  padding-left: 0;
  position: relative;
  font-size: 1.1em;
}

.page-promotions__step-list .page-promotions__list-item::before {
  content: counter(section-counter);
  counter-increment: section-counter;
  position: absolute;
  left: -25px;
  top: 0;
  font-weight: bold;
  color: #26A9E0;
  font-size: 1.2em;
}

.page-promotions__step-cta {
  margin-top: 20px;
  margin-bottom: 0;
  justify-content: flex-start;
}

/* FAQ Section */
.page-promotions__faq-list {
  max-width: 900px;
  margin: 40px auto;
  text-align: left;
}

.page-promotions__faq-item {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.page-promotions__faq-item[open] {
  background-color: #f9f9f9;
  box-shadow: 0 2px 10px 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;
  color: #333333;
  cursor: pointer;
  background-color: #f5f5f5;
  border-bottom: 1px solid #e0e0e0;
  list-style: none; /* For details/summary */
}

.page-promotions__faq-item[open] .page-promotions__faq-question {
  border-bottom-color: transparent;
}

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

.page-promotions__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
}

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

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

.page-promotions__faq-image {
  margin-top: 60px;
}

/* CTA Section */
.page-promotions__cta-section {
  padding: 80px 20px;
}

.page-promotions__cta-section .page-promotions__section-title {
  font-size: 3em;
}

.page-promotions__cta-section .page-promotions__paragraph {
  font-size: 1.2em;
  color: #f0f0f0;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-promotions__main-title {
    font-size: 2.5em;
  }
  .page-promotions__section-title {
    font-size: 2em;
  }
  .page-promotions__sub-title {
    font-size: 1.6em;
  }
}

@media (max-width: 768px) {
  .page-promotions {
    font-size: 16px;
    line-height: 1.6;
  }

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

  .page-promotions__content-area {
    padding: 40px 15px;
  }

  .page-promotions__hero-section {
    min-height: 400px;
    padding-bottom: 40px;
  }

  .page-promotions__hero-image {
    max-height: 500px;
  }

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

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

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

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

  .page-promotions__paragraph,
  .page-promotions__list-item,
  .page-promotions__card-text {
    font-size: 1em;
  }

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

  .page-promotions__promo-grid {
    grid-template-columns: 1fr;
  }

  .page-promotions__card-image {
    height: 180px;
  }

  .page-promotions__promo-card .page-promotions__card-title {
    font-size: 1.3em;
  }

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

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

  .page-promotions__cta-section .page-promotions__section-title {
    font-size: 2.2em;
  }

  .page-promotions__cta-section .page-promotions__paragraph {
    font-size: 1.1em;
  }

  /* Image and Video responsiveness */
  .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__hero-section,
  .page-promotions__promo-grid,
  .page-promotions__faq-list,
  .page-promotions__cta-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    /* padding-left: 15px; */ /* Handled by section padding */
    /* padding-right: 15px; */ /* Handled by section padding */
    overflow: hidden !important;
  }
  
  .page-promotions__hero-content {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-promotions__video-section {
    padding-top: 10px !important;
  }
}

@media (max-width: 480px) {
  .page-promotions__main-title {
    font-size: 1.8em;
  }
  .page-promotions__section-title {
    font-size: 1.6em;
  }
  .page-promotions__sub-title {
    font-size: 1.3em;
  }
  .page-promotions__btn-primary,
  .page-promotions__btn-secondary {
    padding: 12px 20px;
    font-size: 1em;
  }
  .page-promotions__cta-section .page-promotions__section-title {
    font-size: 1.8em;
  }
}