/* style/promotions.css */

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

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

/* Hero Section */
.page-promotions__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 0 60px 0; /* Small top padding, more bottom padding */
  text-align: center;
  overflow: hidden;
  background-color: #1a1a2e; /* Match body background for consistency */
}

.page-promotions__hero-image-wrapper {
  width: 100%;
  max-height: 675px; /* Max height for the image wrapper */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
}

.page-promotions__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  max-height: 675px; /* Ensure image doesn't stretch too much */
}

.page-promotions__hero-content {
  width: 100%;
  max-width: 900px;
  padding: 0 20px;
  box-sizing: border-box;
  z-index: 1; /* Ensure content is above any potential background elements */
}

.page-promotions__main-title {
  font-size: clamp(2em, 4vw, 3.2em); /* Responsive font size for H1 */
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 15px;
  line-height: 1.2;
}

.page-promotions__subtitle {
  font-size: 1.15em;
  color: #f0f0f0;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-promotions__btn-primary,
.page-promotions__btn-secondary {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text wrapping */
  box-sizing: border-box;
  max-width: 100%;
}

.page-promotions__btn-primary {
  background: #EA7C07; /* Login color */
  color: #FFFFFF;
  border: 2px solid #EA7C07;
}

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

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

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

/* General Section Styles */
.page-promotions__intro-section,
.page-promotions__how-to-claim,
.page-promotions__faq-section {
  background-color: #FFFFFF;
  color: #333333; /* Dark text for light background */
  padding: 60px 0;
}

.page-promotions__types-section,
.page-promotions__terms-conditions,
.page-promotions__conclusion-cta {
  background-color: #1a1a2e; /* Dark background matching body */
  color: #FFFFFF; /* Light text for dark background */
  padding: 60px 0;
}

.page-promotions__section-title {
  font-size: 2.5em;
  font-weight: 700;
  margin-bottom: 30px;
  text-align: center;
  color: inherit; /* Inherit color from parent section */
}

.page-promotions__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  text-align: justify;
}

.page-promotions__text-block a {
  color: #26A9E0;
  text-decoration: underline;
}

.page-promotions__text-block a:hover {
  color: #1e87b7;
}

/* Promotion Card Styles */
.page-promotions__promotion-card {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-bottom: 60px;
  background-color: rgba(255, 255, 255, 0.05); /* Slightly lighter background for cards on dark sections */
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-promotions__promotion-card:last-of-type {
  margin-bottom: 0;
}

.page-promotions__promotion-card--reverse {
  flex-direction: row-reverse;
}

.page-promotions__card-image {
  flex: 1;
  min-width: 300px;
  border-radius: 8px;
  overflow: hidden;
  object-fit: cover;
  width: 100%;
  height: auto;
  display: block;
}

.page-promotions__card-content {
  flex: 2;
}

.page-promotions__card-title {
  font-size: 1.8em;
  font-weight: 600;
  margin-bottom: 15px;
  color: #26A9E0; /* Brand color for titles */
}

.page-promotions__card-content p {
  margin-bottom: 15px;
  font-size: 1.05em;
}

.page-promotions__feature-list {
  list-style: disc inside;
  margin-bottom: 20px;
  padding-left: 20px;
}

.page-promotions__feature-list li {
  margin-bottom: 8px;
  font-size: 1em;
}

/* How-To Section */
.page-promotions__steps-list {
  list-style: decimal;
  padding-left: 20px;
  margin-bottom: 30px;
}

.page-promotions__steps-list li {
  margin-bottom: 15px;
  font-size: 1.1em;
}

.page-promotions__steps-list li strong {
  color: #26A9E0;
}

.page-promotions__btn-contact {
  margin-top: 20px;
}

/* Terms & Conditions Section */
.page-promotions__terms-list {
  list-style: none;
  padding-left: 0;
}

.page-promotions__terms-list li {
  margin-bottom: 15px;
  font-size: 1.05em;
  position: relative;
  padding-left: 30px;
}

.page-promotions__terms-list li::before {
  content: '•';
  color: #26A9E0;
  position: absolute;
  left: 0;
  font-size: 1.2em;
  line-height: 1;
}

/* FAQ Section */
.page-promotions__faq-list {
  margin-top: 30px;
}

.page-promotions__faq-item {
  background-color: #f8f8f8;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-promotions__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.15em;
  font-weight: 600;
  cursor: pointer;
  color: #333333;
  background-color: #f0f0f0;
  border-bottom: 1px solid #e0e0e0;
}

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

.page-promotions__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  color: #26A9E0;
  margin-left: 15px;
}

.page-promotions__faq-answer {
  padding: 15px 25px;
  font-size: 1em;
  color: #555555;
}

.page-promotions__faq-item[open] .page-promotions__faq-question {
  background-color: #e5e5e5;
}

.page-promotions__faq-item[open] .page-promotions__faq-toggle {
  content: '−';
}

/* Conclusion CTA Section */
.page-promotions__conclusion-cta .page-promotions__cta-buttons {
  margin-top: 30px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-promotions__promotion-card {
    flex-direction: column;
    text-align: center;
  }
  .page-promotions__promotion-card--reverse {
    flex-direction: column;
  }
  .page-promotions__card-content {
    text-align: center;
  }
  .page-promotions__feature-list {
    text-align: left;
    margin: 20px auto;
    max-width: 80%; /* Adjust for better readability */
  }
}

@media (max-width: 768px) {
  .page-promotions__hero-section {
    padding: 10px 0 40px 0;
  }
  .page-promotions__main-title {
    font-size: clamp(1.8em, 7vw, 2.5em);
  }
  .page-promotions__subtitle {
    font-size: 1em;
  }
  .page-promotions__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-promotions__btn-primary,
  .page-promotions__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
  }
  .page-promotions__section-title {
    font-size: 2em;
  }
  .page-promotions__promotion-card,
  .page-promotions__promotion-card--reverse {
    gap: 20px;
    padding: 20px;
  }
  .page-promotions__card-title {
    font-size: 1.5em;
  }
  .page-promotions__card-image {
    min-width: unset;
  }
  .page-promotions__container,
  .page-promotions__promotion-card,
  .page-promotions__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
    overflow: hidden !important;
  }
  .page-promotions img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-promotions__steps-list,
  .page-promotions__terms-list,
  .page-promotions__feature-list {
    padding-left: 15px;
    text-align: left;
  }
  .page-promotions__faq-question {
    font-size: 1em;
    padding: 15px 20px;
  }
  .page-promotions__faq-answer {
    padding: 10px 20px;
  }
}

@media (max-width: 480px) {
  .page-promotions__hero-content {
    padding: 0 10px;
  }
  .page-promotions__main-title {
    font-size: clamp(1.5em, 8vw, 2.2em);
  }
  .page-promotions__subtitle {
    font-size: 0.9em;
  }
  .page-promotions__section-title {
    font-size: 1.8em;
  }
  .page-promotions__text-block,
  .page-promotions__steps-list li,
  .page-promotions__terms-list li,
  .page-promotions__feature-list li,
  .page-promotions__card-content p,
  .page-promotions__faq-answer {
    font-size: 0.95em;
  }
  .page-promotions__faq-question {
    padding: 12px 15px;
  }
}