/* style/promo.css */
.page-promo {
  color: #333333; /* Dark text for light background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-top: var(--header-offset, 120px); /* Ensure spacing below fixed header */
}

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

.page-promo__hero-section {
  background-color: #000000; /* Main color for hero background */
  color: #FFFFFF; /* White text on dark background */
  padding: 80px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-promo__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  opacity: 0.4; /* Slightly transparent to let text stand out */
}

.page-promo__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
}

.page-promo__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #FCBC45; /* Login button color for emphasis */
}

.page-promo__hero-description {
  font-size: 1.3em;
  margin-bottom: 40px;
}

.page-promo__hero-actions {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.page-promo__button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.2s ease;
  font-size: 1.1em;
}

.page-promo__button--primary {
  background-color: #FCBC45; /* Login color */
  color: #000000; /* Dark text for login button */
  border: 2px solid #FCBC45;
}

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

.page-promo__button--secondary {
  background-color: transparent;
  color: #FFFFFF; /* White text for register button */
  border: 2px solid #FFFFFF;
}

.page-promo__button--secondary:hover {
  background-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.page-promo__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 20px;
  color: #000000;
}

.page-promo__section-intro,
.page-promo__section-subtitle {
  font-size: 1.1em;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px auto;
  color: #333333;
}

.page-promo__overview-section {
  padding: 60px 20px;
  background-color: #f8f8f8;
}

.page-promo__button--cta {
  background-color: #000000;
  color: #FCBC45;
  border: 2px solid #000000;
  margin-top: 20px;
  display: block;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

.page-promo__button--cta:hover {
  background-color: #333333;
  color: #FFFFFF;
  border-color: #333333;
}

.page-promo__featured-promotions {
  padding: 60px 20px;
  background-color: #FFFFFF;
}

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

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

.page-promo__promo-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

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

.page-promo__card-content {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-promo__card-title {
  font-size: 1.8em;
  margin-bottom: 15px;
  color: #000000;
}

.page-promo__card-description {
  font-size: 1em;
  color: #555555;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-promo__button--card {
  background-color: #000000;
  color: #FCBC45;
  border: 2px solid #000000;
  text-align: center;
  padding: 10px 20px;
  font-size: 0.95em;
}

.page-promo__button--card:hover {
  background-color: #FCBC45;
  color: #000000;
  border-color: #FCBC45;
}

.page-promo__details-list-section {
  padding: 60px 20px;
  background-color: #f8f8f8;
}

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

.page-promo__details-card {
  background-color: #FFFFFF;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  padding: 30px;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-promo__details-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.page-promo__details-title {
  font-size: 1.6em;
  margin-bottom: 15px;
}

.page-promo__details-title a {
  color: #000000;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-promo__details-title a:hover {
  color: #FCBC45;
}

.page-promo__details-description {
  font-size: 1em;
  color: #555555;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-promo__button--details {
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
  text-align: center;
  padding: 10px 20px;
  font-size: 0.95em;
  width: fit-content;
  margin-top: auto;
}

.page-promo__button--details:hover {
  background-color: #e0a538;
  border-color: #e0a538;
}

.page-promo__cta-section {
  background-color: #000000;
  color: #FFFFFF;
  padding: 80px 20px;
  text-align: center;
}

.page-promo__cta-title {
  font-size: 3em;
  margin-bottom: 20px;
  color: #FCBC45;
}

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

.page-promo__button--large {
  padding: 18px 40px;
  font-size: 1.3em;
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
}

.page-promo__button--large:hover {
  background-color: #e0a538;
  border-color: #e0a538;
  transform: translateY(-3px);
}

.page-promo__faq-section {
  padding: 60px 20px;
  background-color: #FFFFFF;
}

.page-promo__faq-question {
  font-size: 1.5em;
  color: #000000;
  margin-bottom: 10px;
  cursor: pointer;
  position: relative;
  padding-right: 30px;
}

.page-promo__faq-question::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 0;
  font-size: 1.2em;
  transition: transform 0.3s ease;
}

.page-promo__faq-question.active::after {
  transform: rotate(45deg);
}

.page-promo__faq-answer {
  font-size: 1em;
  color: #555555;
  margin-bottom: 20px;
  padding-left: 15px;
  border-left: 3px solid #FCBC45;
  display: none; /* Hidden by default */
}

.page-promo__faq-answer.active {
  display: block;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-promo__hero-title {
    font-size: 3em;
  }

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

  .page-promo__cta-title {
    font-size: 2.5em;
  }

  .page-promo__promo-grid,
  .page-promo__details-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-promo {
    padding-top: var(--header-offset, 120px); /* Ensure spacing below fixed header */
  }

  .page-promo__hero-section {
    padding: 60px 15px;
  }

  .page-promo__hero-title {
    font-size: 2.5em;
  }

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

  .page-promo__hero-actions {
    flex-direction: column;
    gap: 15px;
  }

  .page-promo__button {
    width: 100%;
    max-width: 300px;
  }

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

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

  .page-promo__button--large {
    font-size: 1.1em;
    padding: 15px 30px;
  }

  .page-promo__promo-grid,
  .page-promo__details-grid {
    grid-template-columns: 1fr;
  }

  .page-promo__promo-card,
  .page-promo__details-card {
    margin-bottom: 20px;
  }

  .page-promo__card-image {
    height: 200px; /* Ensure content images are not too small */
  }

  /* Ensure all content area images are responsive and not smaller than 200px */
  .page-promo img {
    max-width: 100%;
    height: auto;
    min-width: 200px; /* Minimum width for content images */
    min-height: 200px; /* Minimum height for content images */
    object-fit: cover;
  }

  .page-promo__promo-card .page-promo__card-image,
  .page-promo__details-card img {
    min-width: 200px;
    min-height: 200px;
  }

  .page-promo__overview-section, .page-promo__featured-promotions, .page-promo__details-list-section, .page-promo__cta-section, .page-promo__faq-section {
    padding: 40px 15px;
  }
}