/* style/promo.css */
.page-promo {
  color: #333333; /* Dark text for light body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.page-promo__hero-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Ensures content starts below fixed header */
  background-color: #000000; /* Dark background for hero section */
  color: #FFFFFF;
  text-align: center;
}

.page-promo__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.7); /* Slightly darken image for text readability, but not changing color hue */
}

.page-promo__hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 90%;
  z-index: 10;
  padding: 20px;
  box-sizing: border-box;
}

.page-promo__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #FCBC45; /* Login button color for emphasis */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-promo__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  color: #FFFFFF;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.page-promo__button--primary {
  display: inline-block;
  background-color: #FCBC45; /* Login button color */
  color: #000000; /* Dark text for contrast */
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 1.2em;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.page-promo__button--primary:hover {
  background-color: #e0a53b;
  transform: translateY(-2px);
}

.page-promo__button--secondary {
  display: inline-block;
  background-color: #000000; /* Main color */
  color: #FFFFFF; /* White text for contrast */
  padding: 12px 25px;
  border: 2px solid #FCBC45; /* Login button color border */
  border-radius: 8px;
  text-decoration: none;
  font-size: 1.1em;
  font-weight: bold;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.page-promo__button--secondary:hover {
  background-color: #333333;
  border-color: #e0a53b;
}

.page-promo__overview-section, .page-promo__current-promos-section, .page-promo__how-to-claim-section, .page-promo__terms-section, .page-promo__faq-section, .page-promo__why-choose-section, .page-promo__cta-section {
  max-width: 1200px;
  margin: 40px auto;
  padding: 20px;
  background-color: #FFFFFF; /* White background for content sections */
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.page-promo__overview-title, .page-promo__current-promos-title, .page-promo__how-to-claim-title, .page-promo__terms-title, .page-promo__faq-title, .page-promo__why-choose-title, .page-promo__cta-title {
  font-size: 2.5em;
  color: #000000; /* Main color for titles */
  text-align: center;
  margin-bottom: 30px;
  border-bottom: 3px solid #FCBC45;
  padding-bottom: 15px;
}

.page-promo__overview-text, .page-promo__current-promos-description, .page-promo__how-to-claim-description, .page-promo__terms-description, .page-promo__faq-description, .page-promo__why-choose-description, .page-promo__claim-final-text, .page-promo__terms-final-text, .page-promo__faq-final-text, .page-promo__why-choose-final-text, .page-promo__cta-description {
  font-size: 1.1em;
  color: #555555;
  text-align: center;
  margin-bottom: 20px;
}

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

.page-promo__feature-item, .page-promo__promo-card {
  background-color: #f9f9f9;
  border-radius: 10px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  padding: 25px;
  text-align: center;
  transition: transform 0.3s ease;
}

.page-promo__feature-item:hover, .page-promo__promo-card:hover {
  transform: translateY(-5px);
}

.page-promo__feature-icon {
  width: 100%; /* Ensure images are not small icons */
  height: auto;
  max-width: 400px; /* Recommended max width for feature icons */
  margin-bottom: 20px;
  border-radius: 8px;
  object-fit: cover;
}

.page-promo__feature-title, .page-promo__promo-card-title, .page-promo__claim-step-title, .page-promo__why-choose-item-title {
  font-size: 1.5em;
  color: #000000;
  margin-bottom: 15px;
}

.page-promo__feature-description, .page-promo__promo-card-text, .page-promo__claim-step-text, .page-promo__terms-list-item, .page-promo__why-choose-item-text {
  font-size: 1em;
  color: #666666;
}

.page-promo__promo-card-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-promo__promo-card-content {
  padding: 0 15px;
}

.page-promo__promo-card-button {
  margin-top: 20px;
}

.page-promo__claim-steps {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.page-promo__claim-step-item {
  background-color: #f0f0f0;
  border-left: 5px solid #FCBC45;
  padding: 20px;
  margin-bottom: 15px;
  border-radius: 5px;
}

.page-promo__claim-step-item a {
  color: #FCBC45;
  text-decoration: none;
  font-weight: bold;
}

.page-promo__claim-step-item a:hover {
  text-decoration: underline;
}

.page-promo__terms-list {
  list-style: disc;
  margin: 30px auto;
  padding-left: 40px;
  max-width: 800px;
}

.page-promo__terms-list-item strong {
  color: #000000;
}

.page-promo__faq-accordion {
  margin-top: 30px;
}

.page-promo__accordion-item {
  border: 1px solid #ddd;
  margin-bottom: 10px;
  border-radius: 5px;
  overflow: hidden;
}

.page-promo__accordion-header {
  background-color: #000000; /* Main color for accordion header */
  color: #FFFFFF;
  padding: 15px 20px;
  width: 100%;
  text-align: left;
  border: none;
  outline: none;
  cursor: pointer;
  font-size: 1.2em;
  transition: background-color 0.3s ease;
}

.page-promo__accordion-header:hover {
  background-color: #333333;
}

.page-promo__accordion-content {
  padding: 0 20px;
  background-color: #fefefe;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

.page-promo__accordion-content p {
  padding: 15px 0;
  color: #555555;
}

.page-promo__accordion-header.active + .page-promo__accordion-content {
  max-height: 200px; /* Adjust as needed */
  padding: 15px 20px;
}

.page-promo__why-choose-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.page-promo__why-choose-item {
  background-color: #f0f0f0;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  transition: background-color 0.3s ease;
}

.page-promo__why-choose-item:hover {
  background-color: #e6e6e6;
}

.page-promo__cta-section {
  background-color: #000000; /* Dark background for CTA */
  color: #FFFFFF;
  text-align: center;
  padding: 60px 20px;
  margin-bottom: 0;
  border-radius: 0;
  box-shadow: none;
}

.page-promo__cta-title {
  color: #FCBC45;
  font-size: 3em;
  border-bottom: none;
  padding-bottom: 0;
}

.page-promo__cta-description {
  color: #FFFFFF;
  margin-bottom: 40px;
}

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

/* Mobile responsiveness */
@media (max-width: 768px) {
  .page-promo__hero-title {
    font-size: 2.2em;
  }

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

  .page-promo__button--primary, .page-promo__button--secondary {
    font-size: 1em;
    padding: 12px 20px;
  }

  .page-promo__overview-title, .page-promo__current-promos-title, .page-promo__how-to-claim-title, .page-promo__terms-title, .page-promo__faq-title, .page-promo__why-choose-title, .page-promo__cta-title {
    font-size: 1.8em;
    margin-bottom: 20px;
  }

  .page-promo__features-grid, .page-promo__promo-cards-grid, .page-promo__why-choose-list {
    grid-template-columns: 1fr;
  }

  .page-promo__promo-card-image {
    height: 200px;
  }

  .page-promo__accordion-header {
    font-size: 1em;
    padding: 12px 15px;
  }

  .page-promo__cta-buttons {
    flex-direction: column;
  }
  
  .page-promo__cta-button {
    width: 100%;
  }
  
  .page-promo__hero-section, .page-promo__overview-section, .page-promo__current-promos-section, .page-promo__how-to-claim-section, .page-promo__terms-section, .page-promo__faq-section, .page-promo__why-choose-section, .page-promo__cta-section {
    margin: 20px auto;
    padding: 15px;
  }

  /* Ensure content area images do not overflow */
  .page-promo img {
    max-width: 100%;
    height: auto;
  }
}