/* style/promotions.css */

/* Base styles for the promotions page */
.page-promotions {
  color: #ffffff; /* Light text for dark body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  background-color: #121212;
}

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

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

.page-promotions__section-title {
  font-size: 2.8em;
  color: #FFD700; /* Gold for titles */
  margin-bottom: 20px;
  text-transform: uppercase;
  font-weight: bold;
  letter-spacing: 1px;
}

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

/* Hero Section */
.page-promotions__hero-section {
  position: relative;
  width: 100%;
  height: 70vh;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Ensures content is below fixed header */
  box-sizing: border-box;
}

.page-promotions__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.page-promotions__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(139, 0, 0, 0.7)); /* Dark red overlay */
  z-index: 2;
}

.page-promotions__hero-content {
  position: relative;
  z-index: 3;
  color: #ffffff;
  max-width: 900px;
  padding: 20px;
}

.page-promotions__hero-title {
  font-size: 3.8em;
  color: #FFD700; /* Gold for hero title */
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
}

.page-promotions__hero-description {
  font-size: 1.4em;
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  color: #f0f0f0;
}

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

/* Buttons */
.page-promotions__btn-primary,
.page-promotions__btn-secondary,
.page-promotions__btn-small {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-promotions__btn-primary {
  background-color: #FFD700; /* Gold button */
  color: #8B0000; /* Dark red text */
  border: 2px solid #FFD700;
}

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

.page-promotions__btn-secondary {
  background-color: transparent;
  color: #FFD700; /* Gold text */
  border: 2px solid #FFD700;
}

.page-promotions__btn-secondary:hover {
  background-color: #FFD700;
  color: #8B0000;
}

.page-promotions__btn-small {
  padding: 10px 20px;
  font-size: 0.9em;
  background-color: #8B0000;
  color: #FFD700;
  border: 1px solid #8B0000;
}

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

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

/* Introduction Section */
.page-promotions__introduction-section {
  background-color: #1a1a1a;
}

/* Featured Promos Grid */
.page-promotions__featured-promos-section {
  background-color: #0d0d0d;
}

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

.page-promotions__promo-card {
  background-color: #1a1a1a;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
  text-align: left;
  padding-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

.page-promotions__promo-card-title {
  font-size: 1.6em;
  color: #FFD700; /* Gold for card titles */
  margin-bottom: 15px;
  padding: 0 20px;
  text-align: center;
}

.page-promotions__promo-card-title a {
  color: #FFD700;
  text-decoration: none;
}

.page-promotions__promo-card-title a:hover {
  text-decoration: underline;
}

.page-promotions__promo-card-text {
  font-size: 1em;
  color: #ccc;
  margin-bottom: 20px;
  padding: 0 20px;
  flex-grow: 1;
}

/* How to Participate Section */
.page-promotions__how-to-participate-section {
  background-color: #121212;
}

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

.page-promotions__step-item {
  background-color: #1a1a1a;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  text-align: left;
}

.page-promotions__step-item strong {
  color: #FFD700;
  font-size: 1.3em;
  display: block;
  margin-bottom: 10px;
}

.page-promotions__step-item p {
  color: #f0f0f0;
  font-size: 1em;
}

/* Terms and Conditions Section */
.page-promotions__terms-section {
  background-color: #0d0d0d;
}

.page-promotions__terms-list {
  list-style: disc inside;
  text-align: left;
  max-width: 800px;
  margin: 30px auto;
  color: #f0f0f0;
}

.page-promotions__terms-item {
  margin-bottom: 10px;
  font-size: 1em;
}

.page-promotions__link {
  color: #FFD700;
  text-decoration: none;
}

.page-promotions__link:hover {
  text-decoration: underline;
}

/* Benefits Section */
.page-promotions__benefits-section {
  background-color: #1a1a1a;
}

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

.page-promotions__benefit-item {
  background-color: #2a2a2a;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  text-align: left;
}

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

.page-promotions__benefit-text {
  color: #f0f0f0;
  font-size: 1em;
}

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

.page-promotions__faq-list {
  max-width: 900px;
  margin: 40px auto 0;
  text-align: left;
}

.page-promotions__faq-item {
  background-color: #1a1a1a;
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.page-promotions__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  background-color: #2a2a2a;
  cursor: pointer;
  color: #FFD700;
  font-size: 1.2em;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-promotions__faq-question:hover {
  background-color: #3a3a3a;
}

.page-promotions__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
}

.page-promotions__faq-item.active .page-promotions__faq-toggle {
  transform: rotate(45deg); /* Plus sign rotates to a cross */
}

.page-promotions__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #f0f0f0;
}

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

.page-promotions__faq-answer p {
  margin: 0;
  font-size: 1em;
}

/* Final CTA Section */
.page-promotions__final-cta-section {
  background-color: #8B0000; /* Dark red background */
  padding: 80px 0;
}

.page-promotions__final-cta-content {
  max-width: 800px;
}

.page-promotions__final-cta-section .page-promotions__section-title {
  color: #FFD700; /* Gold title on red background */
}

.page-promotions__final-cta-section .page-promotions__text-block {
  color: #ffffff;
}

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

@media (max-width: 768px) {
  .page-promotions__hero-section {
    height: 60vh;
    min-height: 400px;
    padding-top: var(--header-offset, 120px) !important; /* Ensure mobile header offset */
  }
  .page-promotions__hero-title {
    font-size: 2.5em;
  }
  .page-promotions__hero-description {
    font-size: 1em;
  }
  .page-promotions__hero-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-promotions__btn-primary,
  .page-promotions__btn-secondary,
  .page-promotions__btn-small {
    padding: 12px 25px;
    font-size: 1em;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-promotions__section {
    padding: 40px 0;
  }
  .page-promotions__section-title {
    font-size: 1.8em;
  }
  .page-promotions__section-description,
  .page-promotions__text-block {
    font-size: 0.95em;
  }
  .page-promotions__promo-grid,
  .page-promotions__step-list,
  .page-promotions__benefits-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-promotions__promo-card-image {
    height: 200px;
  }
  .page-promotions__promo-card-title {
    font-size: 1.4em;
  }
  .page-promotions__faq-question {
    padding: 15px 20px;
    font-size: 1.1em;
  }
  .page-promotions__faq-answer {
    padding: 0 20px;
  }
  .page-promotions__faq-item.active .page-promotions__faq-answer {
    padding: 15px 20px 20px;
  }

  /* Images responsive */
  .page-promotions img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-promotions__section,
  .page-promotions__card,
  .page-promotions__container,
  .page-promotions__promo-card,
  .page-promotions__step-item,
  .page-promotions__benefit-item,
  .page-promotions__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-promotions__final-cta-section .page-promotions__cta-buttons {
    flex-direction: column;
  }
}