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

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

.page-promotions__hero-section {
  position: relative;
  padding: 100px 0;
  padding-top: var(--header-offset, 120px);
  text-align: center;
  background-color: #CC0000; /* Main brand color */
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 400px;
}

.page-promotions__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #ffffff;
}

.page-promotions__hero-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

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

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

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

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

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

.page-promotions__overview-section,
.page-promotions__guide-section,
.page-promotions__cta-bottom-section {
  padding: 60px 0;
  background-color: #ffffff; /* Light background */
  color: #333333;
}

.page-promotions__featured-promos-section,
.page-promotions__faq-section {
  padding: 60px 0;
  background-color: #333333; /* Dark background */
  color: #ffffff;
}

.page-promotions__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 40px;
  color: inherit;
}

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

.page-promotions__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  text-align: justify;
}

.page-promotions__list {
  list-style: disc;
  margin-left: 20px;
  margin-bottom: 20px;
}

.page-promotions__list-item {
  margin-bottom: 10px;
}

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

.page-promotions__card {
  background-color: #ffffff;
  color: #333333;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
}

.page-promotions__card:hover {
  transform: translateY(-5px);
}

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

.page-promotions__card-content {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.page-promotions__card-title {
  font-size: 1.5em;
  margin-top: 0;
  margin-bottom: 15px;
  color: #CC0000;
}

.page-promotions__card-text {
  margin-bottom: 15px;
  flex-grow: 1;
}

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

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

.page-promotions__card-features li::before {
  content: '✔';
  color: #CC0000;
  position: absolute;
  left: 0;
}

.page-promotions__step-item {
  text-align: center;
  padding: 20px;
  border-radius: 10px;
  background-color: #f9f9f9;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

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

.page-promotions__step-title {
  font-size: 1.4em;
  color: #333333;
  margin-bottom: 10px;
}

.page-promotions__step-text {
  font-size: 1em;
  color: #555555;
}

.page-promotions__guide-image {
  width: 100%;
  height: auto;
  display: block;
  margin: 40px auto 20px auto;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.page-promotions__note {
  font-style: italic;
  color: #666666;
  text-align: center;
}

.page-promotions__faq-list {
  margin-top: 40px;
}

.page-promotions__faq-item {
  background-color: #444444; /* Slightly lighter dark background */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-promotions__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  background-color: #CC0000; /* Brand color for question */
  color: #ffffff;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease;
}

.page-promotions__faq-question:hover {
  background-color: #b30000; /* Darker red on hover */
}

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

.page-promotions__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  width: 20px;
  text-align: center;
  transition: transform 0.3s ease;
}

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

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

.page-promotions__faq-item.active .page-promotions__faq-answer {
  max-height: 1000px !important; /* Sufficient height for content */
  padding: 15px 25px 20px 25px;
}

.page-promotions__faq-answer p {
  margin: 0;
  padding-bottom: 10px; /* Add some bottom padding to paragraph */
}

.page-promotions__cta-bottom-section .page-promotions__btn-primary {
  margin-top: 30px;
  background-color: #CC0000;
  color: #ffffff;
  border-color: #CC0000;
}

.page-promotions__cta-bottom-section .page-promotions__btn-primary:hover {
  background-color: #b30000;
  border-color: #b30000;
}

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

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

@media (max-width: 768px) {
  .page-promotions__hero-section {
    padding: 80px 0;
    padding-top: var(--header-offset, 120px) !important;
  }

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

  .page-promotions__hero-description {
    font-size: 1em;
    padding: 0 15px;
  }

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

  .page-promotions__btn-primary,
  .page-promotions__btn-secondary {
    width: 100%;
    max-width: 100% !important;
    padding: 12px 20px;
  }

  .page-promotions__overview-section,
  .page-promotions__featured-promos-section,
  .page-promotions__guide-section,
  .page-promotions__faq-section,
  .page-promotions__cta-bottom-section {
    padding: 40px 0;
  }

  .page-promotions__container {
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
  }

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

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

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

  .page-promotions__promo-grid,
  .page-promotions__steps-grid {
    gap: 20px;
  }

  .page-promotions__card-image,
  .page-promotions__guide-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

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

  .page-promotions__video-section {
    padding-top: var(--header-offset, 120px) !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-promotions__video-section video,
  .page-promotions__video-container,
  .page-promotions__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
  }

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

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

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

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

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

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

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