/* style/promotions.css */

/* Base styles for the promotions page */
.page-promotions {
  color: #ffffff; /* Default text color for dark body background */
  background-color: transparent; /* Body handles the background color */
}

/* Section base styles */
.page-promotions__section {
  padding: 60px 20px;
  text-align: center;
  position: relative;
}

.page-promotions__dark-bg {
  background-color: #0a0a0a; /* Ensure dark background for specific sections */
  color: #ffffff;
}

.page-promotions__light-bg {
  background-color: #1a1a1a; /* Slightly lighter dark background for cards/elements */
  color: #ffffff;
}

.page-promotions__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px; /* Added for mobile responsiveness */
  box-sizing: border-box;
}

/* Hero Section */
.page-promotions__hero-section {
  position: relative;
  overflow: hidden;
  padding: 0; /* No padding here, content will handle it */
  display: flex;
  flex-direction: column; /* Ensure image is above content */
  align-items: center;
  justify-content: center;
  min-height: 70vh; /* Make it visually impactful */
}

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

.page-promotions__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(0.5); /* Darken image for text readability */
}

.page-promotions__hero-content {
  position: relative;
  z-index: 2;
  color: #ffffff;
  text-align: center;
  max-width: 900px;
  padding: 40px 20px;
}

.page-promotions__hero-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem); /* Responsive font size */
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #ffffff;
}

.page-promotions__hero-description {
  font-size: 1.2rem;
  line-height: 1.6;
  margin-bottom: 30px;
  color: #f0f0f0;
}

/* Buttons */
.page-promotions__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
  flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

.page-promotions__btn-primary,
.page-promotions__btn-secondary,
.page-promotions__card-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  cursor: pointer;
  box-sizing: border-box;
  max-width: 100%; /* Ensure buttons don't overflow */
  white-space: normal; /* Allow text to wrap */
  word-wrap: break-word;
}

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

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

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

.page-promotions__btn-secondary:hover {
  background-color: #26A9E0;
  color: #ffffff;
}

.page-promotions__btn-center {
  margin-left: auto;
  margin-right: auto;
  display: block; /* For single centered button */
  max-width: 300px; /* Limit width for single button */
}

.page-promotions__btn-large {
  padding: 18px 40px;
  font-size: 1.2rem;
}

/* Section Titles & Descriptions */
.page-promotions__section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  margin-bottom: 20px;
  color: #ffffff;
}

.page-promotions__section-description {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 40px;
  color: #f0f0f0;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Promo Grid */
.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; /* Lighter dark background for cards */
  border-radius: 12px;
  padding: 30px;
  text-align: left;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  justify-content: space-between; /* Push button to bottom */
  color: #ffffff;
}

.page-promotions__card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block; /* Ensure image behaves as block */
}

.page-promotions__card-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: #26A9E0;
}

.page-promotions__card-text {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1; /* Allow text to take available space */
  color: #f0f0f0;
}

.page-promotions__card-button {
  margin-top: auto; /* Push button to bottom */
  align-self: flex-start; /* Align button to start */
  padding: 10px 20px;
  font-size: 1rem;
  background-color: #26A9E0;
  color: #ffffff;
  border: 1px solid #26A9E0;
  border-radius: 6px;
}

.page-promotions__card-button:hover {
  background-color: #1e87b7;
  border-color: #1e87b7;
}

/* How To Claim Section */
.page-promotions__how-to-claim {
  background-color: #0d0d0d; /* Slightly different dark background */
}

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

.page-promotions__step-item {
  text-align: center;
  padding: 20px;
  border-radius: 10px;
  background-color: #1a1a1a;
  color: #ffffff;
}

.page-promotions__step-icon {
  width: 60px;
  height: 60px;
  line-height: 60px;
  border-radius: 50%;
  background-color: #26A9E0;
  color: #ffffff;
  font-size: 1.8rem;
  font-weight: 700;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-promotions__step-title {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: #26A9E0;
}

.page-promotions__step-text {
  font-size: 1rem;
  line-height: 1.6;
  color: #f0f0f0;
}

.page-promotions__process-image {
  width: 100%;
  height: auto;
  object-fit: contain;
  margin: 40px auto;
  display: block;
  border-radius: 12px;
  max-width: 800px; /* Constrain image width */
}

/* Why Choose Section */
.page-promotions__why-choose {
  background-color: #0a0a0a;
}

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

.page-promotions__benefit-item {
  background-color: #1a1a1a;
  border-radius: 12px;
  padding: 30px;
  text-align: left;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
  color: #ffffff;
}

.page-promotions__benefit-title {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: #26A9E0;
}

.page-promotions__benefit-text {
  font-size: 1rem;
  line-height: 1.6;
  color: #f0f0f0;
}

.page-promotions__why-choose-image {
  width: 100%;
  height: auto;
  object-fit: contain;
  margin: 40px auto 0;
  display: block;
  border-radius: 12px;
  max-width: 800px; /* Constrain image width */
}

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

.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: 10px;
  overflow: hidden;
  color: #ffffff;
}

.page-promotions__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
  background-color: #26A9E0; /* Brand color for question background */
  color: #ffffff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-promotions__faq-question:hover {
  background-color: #1e87b7;
}

.page-promotions__faq-question::-webkit-details-marker {
  display: none;
}

.page-promotions__faq-question::marker {
  display: none;
}

.page-promotions__faq-qtext {
  flex-grow: 1;
}

.page-promotions__faq-toggle {
  font-size: 1.8rem;
  line-height: 1;
  margin-left: 15px;
  transition: transform 0.3s ease;
}

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

.page-promotions__faq-answer {
  padding: 20px 25px;
  font-size: 1rem;
  line-height: 1.6;
  color: #f0f0f0;
  background-color: #1a1a1a;
}

/* Final CTA Section */
.page-promotions__final-cta {
  background-color: #0a0a0a;
  padding-bottom: 80px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-promotions__hero-content {
    padding: 30px 15px;
  }

  .page-promotions__section {
    padding: 50px 15px;
  }

  .page-promotions__hero-title {
    font-size: clamp(2rem, 4.5vw, 3rem);
  }

  .page-promotions__section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  }
}

@media (max-width: 768px) {
  .page-promotions__hero-section {
    min-height: 60vh;
  }

  .page-promotions__hero-content {
    padding: 20px 15px;
  }

  .page-promotions__hero-title {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
  }

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

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

  .page-promotions__btn-primary,
  .page-promotions__btn-secondary,
  .page-promotions__card-button {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1rem;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

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

  .page-promotions__section-title {
    font-size: clamp(1.5rem, 5vw, 2rem);
  }

  .page-promotions__section-description {
    font-size: 0.95rem;
    margin-bottom: 30px;
  }

  .page-promotions__promo-grid,
  .page-promotions__steps-grid,
  .page-promotions__benefits-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-promotions__card-title,
  .page-promotions__step-title,
  .page-promotions__benefit-title {
    font-size: 1.3rem;
  }

  .page-promotions__card-text,
  .page-promotions__step-text,
  .page-promotions__benefit-text {
    font-size: 0.9rem;
  }

  /* Images responsive */
  .page-promotions img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  /* All containers with images/content */
  .page-promotions__section,
  .page-promotions__promo-card,
  .page-promotions__step-item,
  .page-promotions__benefit-item,
  .page-promotions__faq-item,
  .page-promotions__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important; /* Prevent horizontal scroll */
  }

  /* Specific padding adjustment for hero content on mobile to avoid double padding */
  .page-promotions__hero-content {
      padding-left: 0;
      padding-right: 0;
  }
  
  /* Ensure video-section padding-top is small, as body handles header offset */
  .page-promotions__hero-section {
    padding-top: 10px !important; /* Small top padding for visual spacing */
  }
}