/* style/promotions.css */
.page-promotions {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f8f8f8;
}

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

.page-promotions__section {
  padding: 60px 0;
  text-align: center;
}

.page-promotions__section:nth-of-type(odd) {
  background-color: #f0f0f0;
}

.page-promotions__section-title {
  font-size: 2.5em;
  color: #CC0000; /* Main color */
  margin-bottom: 20px;
  font-weight: bold;
  text-transform: uppercase;
}

.page-promotions__text {
  font-size: 1.1em;
  color: #555;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Hero Section */
.page-promotions__hero-section {
  background: linear-gradient(135deg, #CC0000 0%, #FFD700 100%); /* Main to auxiliary color gradient */
  color: #fff;
  padding: 100px 0;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.page-promotions__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  font-weight: 900;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  color: #fff;
}

.page-promotions__hero-description {
  font-size: 1.3em;
  max-width: 900px;
  margin: 0 auto 40px;
  line-height: 1.5;
  color: #eee;
}

.page-promotions__hero-image {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 40%;
  max-width: 600px;
  opacity: 0.7;
  z-index: 0;
  pointer-events: none;
}

.page-promotions__hero-cta {
  display: flex;
  justify-content: center;
  gap: 20px;
  position: relative;
  z-index: 1;
}

.page-promotions__btn {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
}

.page-promotions__btn--primary {
  background-color: #FFD700; /* Auxiliary color */
  color: #CC0000; /* Main color for text */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-promotions__btn--primary:hover {
  background-color: #e6c200;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

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

.page-promotions__btn--secondary:hover {
  background-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-3px);
}

/* Why Choose Section */
.page-promotions__why-choose .page-promotions__text {
  margin-bottom: 50px;
}

.page-promotions__features {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
  margin-top: 40px;
}

.page-promotions__feature-item {
  background-color: #fff;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  flex: 1 1 300px;
  max-width: 350px;
  text-align: center;
  transition: transform 0.3s ease;
}

.page-promotions__feature-item:hover {
  transform: translateY(-10px);
}

.page-promotions__feature-icon {
  width: 80px;
  height: 80px;
  margin-bottom: 20px;
}

.page-promotions__feature-title {
  font-size: 1.8em;
  color: #CC0000; /* Main color */
  margin-bottom: 15px;
}

.page-promotions__feature-description {
  font-size: 1em;
  color: #666;
}

/* Promotion Categories */
.page-promotions__promotion-categories {
  background-color: #f8f8f8;
}

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

.page-promotions__promotion-card {
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: left;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-promotions__card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-bottom: 1px solid #eee;
}

.page-promotions__card-title {
  font-size: 1.5em;
  color: #CC0000; /* Main color */
  padding: 20px 20px 10px;
}

.page-promotions__card-description {
  font-size: 0.95em;
  color: #666;
  padding: 0 20px 20px;
  flex-grow: 1;
}

.page-promotions__btn--small {
  padding: 10px 20px;
  font-size: 0.9em;
  background-color: #FFD700; /* Auxiliary color */
  color: #CC0000; /* Main color for text */
  margin: 0 20px 20px;
  align-self: flex-start;
}

.page-promotions__btn--small:hover {
  background-color: #e6c200;
}

/* How to Claim */
.page-promotions__how-to-claim {
  background-color: #f0f0f0;
}

.page-promotions__steps-list {
  list-style: none;
  counter-reset: step-counter;
  padding: 0;
  max-width: 800px;
  margin: 40px auto;
  text-align: left;
}

.page-promotions__steps-list li {
  background-color: #fff;
  margin-bottom: 20px;
  padding: 25px 30px;
  border-radius: 8px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
  position: relative;
  padding-left: 80px;
}

.page-promotions__steps-list li::before {
  counter-increment: step-counter;
  content: counter(step-counter);
  position: absolute;
  left: 30px;
  top: 50%;
  transform: translateY(-50%);
  background-color: #CC0000; /* Main color */
  color: #fff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5em;
  font-weight: bold;
}

.page-promotions__step-title {
  font-size: 1.6em;
  color: #CC0000; /* Main color */
  margin-bottom: 10px;
}

.page-promotions__step-description {
  font-size: 1em;
  color: #444;
}

.page-promotions__step-description a {
  color: #CC0000;
  text-decoration: underline;
}

.page-promotions__step-description a:hover {
  color: #FFD700;
}

.page-promotions__cta-bottom {
  margin-top: 50px;
  display: flex;
  justify-content: center;
  gap: 20px;
}

/* Terms & Conditions */
.page-promotions__terms-conditions {
  background-color: #f8f8f8;
}

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

.page-promotions__list li {
  background-color: #fff;
  margin-bottom: 15px;
  padding: 20px 25px;
  border-left: 5px solid #FFD700; /* Auxiliary color */
  border-radius: 5px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-promotions__list li p {
  margin: 0;
  color: #444;
  font-size: 1em;
}

/* FAQ Section */
.page-promotions__faq {
  background-color: #f0f0f0;
}

.page-promotions__faq-item {
  background-color: #fff;
  border-radius: 8px;
  margin-bottom: 20px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
  text-align: left;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  overflow: hidden;
}

.page-promotions__faq-question {
  font-size: 1.4em;
  color: #CC0000; /* Main color */
  padding: 20px 25px;
  margin: 0;
  cursor: pointer;
  position: relative;
  background-color: #fefefe;
  border-bottom: 1px solid #eee;
}

.page-promotions__faq-question::after {
  content: '+';
  position: absolute;
  right: 25px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5em;
  color: #FFD700; /* Auxiliary color */
  transition: transform 0.3s ease;
}

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

.page-promotions__faq-answer {
  font-size: 1em;
  color: #555;
  padding: 0 25px 20px;
  margin: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

.page-promotions__faq-answer.active {
  max-height: 200px; /* Adjust as needed */
  padding: 0 25px 20px;
}

.page-promotions__faq-answer a {
  color: #CC0000;
  text-decoration: underline;
}

.page-promotions__faq-answer a:hover {
  color: #FFD700;
}

/* Final CTA */
.page-promotions__final-cta {
  background-color: #CC0000; /* Main color */
  color: #fff;
  padding: 80px 0;
}

.page-promotions__final-cta .page-promotions__section-title {
  color: #FFD700; /* Auxiliary color */
}

.page-promotions__final-cta .page-promotions__text {
  color: #eee;
  margin-bottom: 40px;
}

.page-promotions__final-cta .page-promotions__text a {
  color: #FFD700;
  text-decoration: underline;
}

.page-promotions__final-cta .page-promotions__text a:hover {
  color: #fff;
}

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

.page-promotions__cta-buttons .page-promotions__btn--primary {
  background-color: #FFD700;
  color: #CC0000;
}

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

.page-promotions__cta-buttons .page-promotions__btn--secondary:hover {
  background-color: rgba(255, 215, 0, 0.2);
  color: #fff;
}

/* Floating Promotion */
.page-promotions__floating-promo {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #CC0000;
  color: #fff;
  padding: 15px 25px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  gap: 15px;
  z-index: 1000;
  animation: page-promotions__pulse 2s infinite;
}

.page-promotions__floating-text {
  margin: 0;
  font-size: 1.1em;
  font-weight: normal;
  color: #fff;
}

.page-promotions__floating-text strong {
  color: #FFD700;
  font-weight: bold;
}

.page-promotions__btn--floating {
  background-color: #FFD700;
  color: #CC0000;
  padding: 10px 20px;
  font-size: 0.95em;
  font-weight: bold;
  border-radius: 5px;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.page-promotions__btn--floating:hover {
  background-color: #e6c200;
}

@keyframes page-promotions__pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.03); }
  100% { transform: scale(1); }
}

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

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

  .page-promotions__hero-image {
    width: 50%;
    max-width: 400px;
  }

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

  .page-promotions__features {
    flex-direction: column;
    align-items: center;
  }

  .page-promotions__feature-item {
    max-width: 80%;
  }

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

  .page-promotions__floating-promo {
    flex-direction: column;
    align-items: center;
    right: 10px;
    bottom: 10px;
    padding: 10px 15px;
    gap: 10px;
    text-align: center;
  }

  .page-promotions__floating-text {
    font-size: 1em;
  }

  .page-promotions__btn--floating {
    font-size: 0.9em;
    padding: 8px 15px;
  }
}

@media (max-width: 768px) {
  .page-promotions__hero-section {
    padding: 80px 0 120px;
  }

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

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

  .page-promotions__hero-cta {
    flex-direction: column;
    gap: 15px;
  }

  .page-promotions__btn {
    width: 80%;
    margin: 0 auto;
  }

  .page-promotions__hero-image {
    width: 60%;
    max-width: 300px;
    opacity: 0.5;
  }

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

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

  .page-promotions__steps-list li {
    padding-left: 60px;
  }

  .page-promotions__steps-list li::before {
    left: 15px;
    width: 30px;
    height: 30px;
    font-size: 1.2em;
  }

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

  .page-promotions__cta-bottom {
    flex-direction: column;
    gap: 15px;
  }

  .page-promotions__faq-question {
    font-size: 1.2em;
  }

  .page-promotions__floating-promo {
    width: calc(100% - 40px);
    left: 20px;
    right: 20px;
    bottom: 10px;
    border-radius: 8px;
  }
}

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

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

  .page-promotions__btn {
    padding: 12px 20px;
    font-size: 1em;
  }

  .page-promotions__floating-promo {
    flex-direction: column;
    text-align: center;
    gap: 8px;
  }
}

/* Color Contrast Check */
/* Text on #CC0000 (Main Color) -> Should be #fff or #FFD700 (Auxiliary Color) */
.page-promotions__hero-title,
.page-promotions__hero-description,
.page-promotions__btn--secondary,
.page-promotions__final-cta .page-promotions__text,
.page-promotions__floating-text {
  color: #fff; /* Ensures high contrast with #CC0000 */
}

.page-promotions__final-cta .page-promotions__section-title,
.page-promotions__final-cta .page-promotions__btn--secondary {
  color: #FFD700; /* Ensures high contrast with #CC0000 */
}

/* Text on #FFD700 (Auxiliary Color) -> Should be #CC0000 (Main Color) or a dark color */
.page-promotions__btn--primary,
.page-promotions__btn--small,
.page-promotions__btn--floating {
  color: #CC0000; /* Ensures high contrast with #FFD700 */
}

/* Text on #f8f8f8 or #f0f0f0 (Light Backgrounds) -> Should be #333, #555, #666, #CC0000 */
.page-promotions__section-title,
.page-promotions__text,
.page-promotions__feature-title,
.page-promotions__feature-description,
.page-promotions__card-title,
.page-promotions__card-description,
.page-promotions__step-title,
.page-promotions__step-description,
.page-promotions__list li p,
.page-promotions__faq-question,
.page-promotions__faq-answer {
  color: #333; /* Default dark text for light backgrounds */
}

.page-promotions__section-title,
.page-promotions__feature-title,
.page-promotions__card-title,
.page-promotions__step-title,
.page-promotions__faq-question {
  color: #CC0000; /* Brand color for titles on light backgrounds */
}

.page-promotions__faq-question.active::after {
  color: #FFD700; /* Auxiliary color for active state */
}

.page-promotions__steps-list li::before {
  background-color: #CC0000;
  color: #fff;
}

.page-promotions__list li {
  border-left-color: #FFD700;
}