/* style/promotions.css */

/* Base styles for the promotions page */
.page-promotions {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light backgrounds */
  background-color: #f8f9fa;
}

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

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

.page-promotions__section-title {
  font-size: 2.5em;
  margin-bottom: 20px;
  color: #0A1931;
}

.page-promotions__section-text {
  font-size: 1.1em;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Hero Section */
.page-promotions__hero-section {
  position: relative;
  padding: 100px 20px 60px; /* Base padding for content */
  padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
  color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background-color: #0A1931; /* Fallback background color */
}

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

.page-promotions__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
}

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

.page-promotions__hero-title {
  font-size: 3.5em;
  margin-bottom: 15px;
  color: #FFD700;
}

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

/* CTA Buttons */
.page-promotions__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, color 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-promotions__btn-primary {
  background-color: #FFD700;
  color: #0A1931;
}

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

.page-promotions__btn-secondary {
  background-color: #0A1931;
  color: #FFD700;
  border: 2px solid #FFD700;
}

.page-promotions__btn-secondary:hover {
  background-color: #FFD700;
  color: #0A1931;
}

/* Overview Section */
.page-promotions__overview-section {
  background-color: #ffffff;
}

.page-promotions__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  max-width: 100%;
  background: #000;
  margin-top: 40px;
  border-radius: 10px;
}

.page-promotions__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 10px;
}

/* Types Section */
.page-promotions__types-section {
  background-color: #f0f2f5;
}

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

.page-promotions__card {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 25px;
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.page-promotions__card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}

.page-promotions__card-title {
  font-size: 1.5em;
  color: #0A1931;
  margin-bottom: 10px;
}

.page-promotions__card-text {
  font-size: 0.95em;
  color: #555555;
}

/* How To Claim Section */
.page-promotions__how-to-claim-section {
  background-color: #0A1931;
  color: #ffffff;
}

.page-promotions__how-to-claim-section .page-promotions__section-title,
.page-promotions__how-to-claim-section .page-promotions__section-text {
  color: #ffffff;
}

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

.page-promotions__list-item {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 25px;
  text-align: left;
}

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

.page-promotions__list-description {
  font-size: 0.95em;
  color: #f0f0f0;
}

/* Featured Section */
.page-promotions__featured-section {
  background-color: #ffffff;
}

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

.page-promotions__featured-card {
  background-color: #f9f9f9;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  padding: 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

.page-promotions__featured-card-title {
  font-size: 1.6em;
  color: #0A1931;
  margin-bottom: 10px;
}

.page-promotions__featured-card-text {
  font-size: 1em;
  color: #555555;
  margin-bottom: 20px;
}

/* Terms Section */
.page-promotions__terms-section {
  background-color: #f0f2f5;
}

.page-promotions__terms-list {
  list-style: disc;
  text-align: left;
  max-width: 800px;
  margin: 30px auto;
  padding-left: 20px;
}

.page-promotions__terms-list li {
  margin-bottom: 10px;
  color: #333333;
}

.page-promotions__link {
  color: #0A1931;
  text-decoration: underline;
}

.page-promotions__link:hover {
  color: #FFD700;
}

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

.page-promotions__faq-section .page-promotions__section-title {
  color: #ffffff;
}

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

.page-promotions__faq-item {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-promotions__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-promotions__faq-question h3 {
  margin: 0;
  font-size: 1.2em;
  color: #FFD700;
}

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

.page-promotions__faq-item.active .page-promotions__faq-toggle {
  transform: rotate(45deg);
}

.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;
  padding: 15px 25px;
}

/* Final CTA Section */
.page-promotions__cta-final-section {
  background-color: #FFD700;
  color: #0A1931;
}

.page-promotions__cta-final-section .page-promotions__section-title {
  color: #0A1931;
}

.page-promotions__cta-final-section .page-promotions__section-text {
  color: #333333;
}

/* Responsive Styles */
@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: 2em;
  }
}

@media (max-width: 768px) {
  .page-promotions__hero-section {
    padding: 80px 15px 40px; /* Adjusted padding for mobile */
    padding-top: var(--header-offset, 120px) !important; /* Ensure space for fixed header on mobile */
  }
  .page-promotions__hero-title {
    font-size: 2.5em;
  }
  .page-promotions__hero-description {
    font-size: 1em;
  }
  .page-promotions__section {
    padding: 40px 0;
  }
  .page-promotions__section-title {
    font-size: 1.8em;
  }
  .page-promotions__section-text {
    font-size: 0.95em;
  }
  .page-promotions__container {
    padding: 0 15px;
  }
  
  /* Image responsiveness */
  .page-promotions img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-promotions__hero-image-wrapper,
  .page-promotions__cards-grid,
  .page-promotions__card,
  .page-promotions__featured-grid,
  .page-promotions__featured-card,
  .page-promotions__faq-list,
  .page-promotions__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    padding-left: 0;
    padding-right: 0;
  }
  .page-promotions__card, .page-promotions__featured-card, .page-promotions__list-item, .page-promotions__faq-item {
    margin-left: 15px;
    margin-right: 15px;
  }

  /* Video responsiveness */
  .page-promotions video,
  .page-promotions__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-promotions__video-wrapper {
    padding-bottom: 56.25% !important; /* Maintain aspect ratio */
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 15px;
    margin-right: 15px;
  }
  .page-promotions__overview-section .page-promotions__container {
    padding-left: 0;
    padding-right: 0;
  }

  /* Button responsiveness */
  .page-promotions__cta-button,
  .page-promotions__btn-primary,
  .page-promotions__btn-secondary,
  .page-promotions a[class*="button"],
  .page-promotions a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
    margin-bottom: 10px; /* Add spacing between stacked buttons */
  }
  .page-promotions__cta-buttons,
  .page-promotions__button-group,
  .page-promotions__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-direction: column !important; /* Stack buttons vertically */
    gap: 10px;
  }

  .page-promotions__cards-grid,
  .page-promotions__featured-grid,
  .page-promotions__steps-list {
    grid-template-columns: 1fr;
  }

  .page-promotions__faq-question {
    padding: 15px 20px;
  }
  .page-promotions__faq-question h3 {
    font-size: 1.1em;
  }
  .page-promotions__faq-answer {
    padding: 0 20px;
  }
  .page-promotions__faq-item.active .page-promotions__faq-answer {
    padding: 15px 20px;
  }
}

@media (max-width: 480px) {
  .page-promotions__hero-title {
    font-size: 2em;
  }
  .page-promotions__hero-description {
    font-size: 0.9em;
  }
  .page-promotions__section-title {
    font-size: 1.5em;
  }
  .page-promotions__cta-button {
    padding: 12px 20px;
    font-size: 1em;
  }
}