/* style/promo.css */

/* Base Styles for the promo page */
.page-promo {
  font-family: Arial, sans-serif;
  color: #ffffff; /* Light text for dark background */
  background-color: var(--secondary-color, #0d0d0d); /* Assuming shared body background is dark */
  line-height: 1.6;
  padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
}

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

.page-promo__section-title {
  font-size: 2.8em;
  color: #FCBC45;
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
  letter-spacing: 1px;
}

.page-promo__section-intro {
  font-size: 1.1em;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px auto;
  color: #f0f0f0;
}

/* Hero Section */
.page-promo__hero-section {
  position: relative;
  overflow: hidden;
  color: #ffffff;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 600px;
  padding: 0;
}

.page-promo__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  filter: brightness(0.4); /* Darken image slightly for text readability */
}

.page-promo__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 40px 20px;
  background: rgba(0, 0, 0, 0.5); /* Semi-transparent overlay for text */
  border-radius: 10px;
}

.page-promo__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #FCBC45;
  line-height: 1.1;
  font-weight: 900;
}

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

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

.page-promo__cta-button--register {
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
}

.page-promo__cta-button--register:hover {
  background-color: #e0a53b;
  transform: translateY(-2px);
}

.page-promo__cta-button--login {
  background-color: transparent;
  color: #FFFFFF;
  border: 2px solid #FFFFFF;
}

.page-promo__cta-button--login:hover {
  background-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.page-promo__cta-button--learn-more,
.page-promo__cta-button--explore,
.page-promo__cta-button--support,
.page-promo__cta-button--join-vip {
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
  margin-top: 30px;
}

.page-promo__cta-button--learn-more:hover,
.page-promo__cta-button--explore:hover,
.page-promo__cta-button--support:hover,
.page-promo__cta-button--join-vip:hover {
  background-color: #e0a53b;
  transform: translateY(-2px);
}

/* Featured Promotions Grid */
.page-promo__featured-promos {
  background-color: #000000;
  padding: 60px 0;
}

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

.page-promo__promo-card {
  background-color: #1a1a1a;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.page-promo__promo-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.6);
}

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

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

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

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

.page-promo__card-features li {
  color: #FCBC45;
  margin-bottom: 8px;
  font-size: 0.95em;
}

.page-promo__card-features li::before {
  content: '✓';
  color: #FCBC45;
  font-weight: bold;
  margin-right: 10px;
}

/* How to Claim Section */
.page-promo__how-to-claim {
  background-color: var(--secondary-color, #0d0d0d);
  padding: 60px 0;
}

.page-promo__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  text-align: center;
}

.page-promo__step-card {
  background-color: #1a1a1a;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-promo__step-icon {
  font-size: 2.5em;
  font-weight: bold;
  color: #FCBC45;
  background-color: #000000;
  border-radius: 50%;
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  border: 3px solid #FCBC45;
}

.page-promo__step-title {
  font-size: 1.6em;
  color: #FCBC45;
  margin-bottom: 15px;
}

.page-promo__step-description {
  font-size: 1em;
  color: #cccccc;
  margin-bottom: 20px;
}

.page-promo__step-button {
  display: inline-block;
  padding: 10px 20px;
  font-size: 0.9em;
  font-weight: bold;
  text-decoration: none;
  border-radius: 6px;
  transition: background-color 0.3s ease, transform 0.2s ease;
  margin: 5px;
}

.page-promo__step-button--register {
  background-color: #FCBC45;
  color: #000000;
}

.page-promo__step-button--register:hover {
  background-color: #e0a53b;
  transform: translateY(-2px);
}

.page-promo__step-button--login {
  background-color: transparent;
  color: #FFFFFF;
  border: 1px solid #FFFFFF;
}

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

/* Terms & Conditions Section */
.page-promo__terms-conditions {
  background-color: #000000;
  padding: 60px 0;
}

.page-promo__info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-promo__info-item {
  background-color: #1a1a1a;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-promo__info-title {
  font-size: 1.6em;
  color: #FCBC45;
  margin-bottom: 15px;
}

.page-promo__info-description {
  font-size: 1em;
  color: #cccccc;
}

.page-promo__final-call {
  text-align: center;
  font-size: 1.1em;
  margin-top: 40px;
  color: #f0f0f0;
}

/* Loyalty Program Section */
.page-promo__loyalty-program {
  background-color: var(--secondary-color, #0d0d0d);
  padding: 60px 0;
  text-align: center;
}

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

.page-promo__feature-item {
  background-color: #1a1a1a;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-promo__feature-title {
  font-size: 1.6em;
  color: #FCBC45;
  margin-bottom: 10px;
}

.page-promo__feature-description {
  font-size: 1em;
  color: #cccccc;
}

/* Why Choose Section */
.page-promo__why-choose {
  background-color: #000000;
  padding: 60px 0;
}

.page-promo__advantage-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-promo__advantage-item {
  background-color: #1a1a1a;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-promo__advantage-title {
  font-size: 1.6em;
  color: #FCBC45;
  margin-bottom: 15px;
}

.page-promo__advantage-description {
  font-size: 1em;
  color: #cccccc;
}

/* FAQ Section */
.page-promo__faq {
  background-color: var(--secondary-color, #0d0d0d);
  padding: 60px 0;
}

.page-promo__faq-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.page-promo__faq-item {
  background-color: #1a1a1a;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

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

.page-promo__faq-question::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.2em;
  color: #FCBC45;
  transition: transform 0.3s ease;
}

.page-promo__faq-item.active .page-promo__faq-question::after {
  content: '-';
  transform: translateY(-50%) rotate(180deg);
}

.page-promo__faq-answer {
  font-size: 1em;
  color: #cccccc;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out;
}

.page-promo__faq-item.active .page-promo__faq-answer {
  max-height: 200px; /* Adjust based on content */
  margin-top: 15px;
}

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

@media (max-width: 768px) {
  .page-promo__hero-section {
    min-height: 450px;
  }
  .page-promo__hero-title {
    font-size: 2.2em;
  }
  .page-promo__hero-description {
    font-size: 1em;
  }
  .page-promo__cta-button {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-promo__section-title {
    font-size: 2em;
  }
  .page-promo__section-intro {
    font-size: 0.9em;
  }
  .page-promo__promo-grid,
  .page-promo__steps-grid,
  .page-promo__info-grid,
  .page-promo__loyalty-features,
  .page-promo__advantage-grid {
    grid-template-columns: 1fr;
  }
  .page-promo__card-image, .page-promo__promo-card img, .page-promo__hero-section img, .page-promo__how-to-claim img, .page-promo__terms-conditions img, .page-promo__loyalty-program img, .page-promo__why-choose img, .page-promo__faq img {
    max-width: 100%;
    height: auto;
  }
  .page-promo__content-wrapper {
    padding: 20px;
  }
  .page-promo__hero-content {
    padding: 20px;
  }
  .page-promo__hero-section img {
    max-width: 100%;
    height: auto;
  }
}

@media (max-width: 480px) {
  .page-promo__hero-title {
    font-size: 1.8em;
  }
  .page-promo__hero-description {
    font-size: 0.9em;
  }
  .page-promo__cta-button {
    padding: 10px 20px;
    font-size: 0.9em;
  }
  .page-promo__section-title {
    font-size: 1.8em;
  }
  .page-promo__promo-card, .page-promo__step-card, .page-promo__info-item, .page-promo__feature-item, .page-promo__advantage-item, .page-promo__faq-item {
    padding: 20px;
  }
  .page-promo__card-title, .page-promo__step-title, .page-promo__info-title, .page-promo__feature-title, .page-promo__advantage-title, .page-promo__faq-question {
    font-size: 1.3em;
  }
  .page-promo__card-description, .page-promo__step-description, .page-promo__info-description, .page-promo__feature-description, .page-promo__advantage-description, .page-promo__faq-answer {
    font-size: 0.9em;
  }
}