/* style/promotions.css */

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

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

.page-promotions__dark-bg {
  background-color: #0d1117; /* Dark background as per body */
  color: #ffffff;
}

.page-promotions__light-bg {
  background-color: #1a202c; /* Slightly lighter dark background */
  color: #ffffff;
}

/* Hero Section */
.page-promotions__hero-section {
  position: relative;
  padding: 80px 0 40px; /* Adjust padding-top for header offset if shared.css doesn't do it globally */
  text-align: center;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 600px;
  padding-top: var(--header-offset, 120px); /* Ensure header offset is applied */
}

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

.page-promotions__main-title {
  font-size: 3.2em;
  font-weight: bold;
  margin-bottom: 20px;
  color: #ffc107; /* Auxiliary color for emphasis */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-promotions__intro-text {
  font-size: 1.2em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #f0f0f0;
}

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

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

.page-promotions__btn-primary {
  background-color: #007bff;
  color: #ffffff;
  border: 2px solid #007bff;
}

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

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

.page-promotions__btn-secondary:hover {
  background-color: #ffc107;
  color: #0d1117;
}

.page-promotions__btn-tertiary {
  background-color: #ffc107;
  color: #0d1117;
  border: 2px solid #ffc107;
}

.page-promotions__btn-tertiary:hover {
  background-color: #e0a800;
  border-color: #e0a800;
}

/* Section Titles and Descriptions */
.page-promotions__section-title {
  font-size: 2.5em;
  font-weight: bold;
  text-align: center;
  margin-bottom: 20px;
  color: #ffc107;
}

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

/* Features Section (Cards Grid) */
.page-promotions__features-section {
  padding: 80px 0;
}

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

.page-promotions__card {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #ffffff;
}

.page-promotions__card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-promotions__card-image {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
}

.page-promotions__card-title {
  font-size: 1.5em;
  font-weight: bold;
  margin-bottom: 15px;
  color: #ffc107;
}

.page-promotions__card-title a {
  color: #ffc107;
  text-decoration: none;
}

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

.page-promotions__card-text {
  font-size: 1em;
  color: #e0e0e0;
  margin-bottom: 20px;
  flex-grow: 1;
}

/* How-To-Claim Section */
.page-promotions__how-to-claim-section {
  padding: 80px 0;
}

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

.page-promotions__step-item {
  background-color: rgba(0, 123, 255, 0.1);
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
  color: #ffffff;
}

.page-promotions__step-title {
  font-size: 1.4em;
  font-weight: bold;
  margin-bottom: 15px;
  color: #ffc107;
}

.page-promotions__step-text {
  font-size: 0.95em;
  color: #e0e0e0;
}

.page-promotions__cta-center {
  text-align: center;
  margin-top: 60px;
}

/* Why Choose Section */
.page-promotions__why-choose-section {
  padding: 80px 0;
}

.page-promotions__why-list {
  list-style: none;
  padding: 0;
  margin: 50px auto 0;
  max-width: 900px;
  font-size: 1.1em;
  color: #e0e0e0;
}

.page-promotions__why-list li {
  background-color: rgba(255, 255, 255, 0.05);
  margin-bottom: 15px;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: flex-start;
}

.page-promotions__why-list li::before {
  content: '✓';
  color: #ffc107;
  font-weight: bold;
  margin-right: 15px;
  font-size: 1.2em;
  line-height: 1;
}

.page-promotions__why-list li strong {
  color: #ffc107;
}

/* FAQ Section */
.page-promotions__faq-section {
  padding: 80px 0;
}

.page-promotions__faq-list {
  max-width: 900px;
  margin: 50px auto 0;
}

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

.page-promotions__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  background-color: rgba(0, 123, 255, 0.15);
  color: #ffffff;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-promotions__faq-question:hover {
  background-color: rgba(0, 123, 255, 0.25);
}

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

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

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

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

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

.page-promotions__faq-answer p {
  margin: 0;
  padding-bottom: 10px; /* Add some spacing */
}

/* CTA Banner Section */
.page-promotions__cta-banner {
  padding: 80px 0;
  text-align: center;
  background-color: #007bff;
  color: #ffffff;
}

.page-promotions__cta-banner-content {
  max-width: 900px;
}

.page-promotions__banner-title {
  font-size: 2.8em;
  font-weight: bold;
  margin-bottom: 20px;
  color: #ffc107;
}

.page-promotions__banner-text {
  font-size: 1.1em;
  margin-bottom: 40px;
  color: #f0f0f0;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-promotions__main-title {
    font-size: 2.8em;
  }

  .page-promotions__section-title,
  .page-promotions__banner-title {
    font-size: 2.2em;
  }

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

@media (max-width: 768px) {
  .page-promotions__hero-section {
    padding-top: var(--header-offset, 120px) !important; /* Ensure header offset is applied */
    min-height: 400px;
  }

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

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

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

  .page-promotions__section-description {
    font-size: 0.95em;
  }

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

  .page-promotions__btn-primary,
  .page-promotions__btn-secondary,
  .page-promotions__btn-tertiary {
    width: 100%;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 0.95em;
  }

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

  .page-promotions__card,
  .page-promotions__step-item,
  .page-promotions__faq-item,
  .page-promotions__why-list li {
    margin-left: 15px;
    margin-right: 15px;
  }

  /* Image and Video responsiveness */
  .page-promotions img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-promotions video,
  .page-promotions__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-promotions__hero-section,
  .page-promotions__features-section,
  .page-promotions__how-to-claim-section,
  .page-promotions__why-choose-section,
  .page-promotions__faq-section,
  .page-promotions__cta-banner {
    padding-left: 15px !important;
    padding-right: 15px !important;
    box-sizing: border-box !important;
    max-width: 100% !important;
    width: 100% !important;
    overflow-x: hidden !important;
  }

  .page-promotions__container {
    padding: 0;
  }

  .page-promotions__faq-answer {
    padding: 15px !important;
  }
}

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

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

  .page-promotions__card-title {
    font-size: 1.3em;
  }
}