/* style/promotions.css */
:root {
  --page-promotions-primary-color: #11A84E;
  --page-promotions-secondary-color: #22C768;
  --page-promotions-text-main: #F2FFF6;
  --page-promotions-text-secondary: #A7D9B8;
  --page-promotions-card-bg: #11271B;
  --page-promotions-background: #08160F;
  --page-promotions-border-color: #2E7A4E;
  --page-promotions-glow-color: #57E38D;
  --page-promotions-gold-color: #F2C14E;
  --page-promotions-divider-color: #1E3A2A;
  --page-promotions-deep-green: #0A4B2C;
  --page-promotions-btn-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
}

.page-promotions {
  font-family: Arial, sans-serif;
  color: var(--page-promotions-text-main); /* Default text color for dark body background */
  background-color: var(--page-promotions-background);
}

.page-promotions__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 0 60px 0; /* Small top padding, larger bottom for content */
  background-color: var(--page-promotions-background);
  overflow: hidden;
}

.page-promotions__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

.page-promotions__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-promotions__hero-content {
  position: relative; /* Ensure content is above image if z-index is used, but not overlapping */
  text-align: center;
  padding: 30px 20px;
  max-width: 900px;
  margin-top: -100px; /* Pull content slightly over the image for visual flow */
  background-color: transparent; /* No background to avoid covering image */
  z-index: 2; /* Ensure text is above image if image is part of hero-section background, but not direct overlap */
}

.page-promotions__main-title {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--page-promotions-text-main);
  margin-bottom: 20px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
  font-size: clamp(2.5rem, 5vw, 3.8rem); /* Use clamp for responsive H1 */
}

.page-promotions__hero-description {
  font-size: 1.1rem;
  color: var(--page-promotions-text-secondary);
  margin-bottom: 30px;
  line-height: 1.6;
}

.page-promotions__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

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

.page-promotions__btn-primary {
  background: var(--page-promotions-btn-gradient);
  color: var(--page-promotions-text-main);
  border: 2px solid transparent;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-promotions__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-promotions__btn-secondary {
  background: transparent;
  color: var(--page-promotions-primary-color);
  border: 2px solid var(--page-promotions-border-color);
}

.page-promotions__btn-secondary:hover {
  background-color: rgba(var(--page-promotions-primary-color), 0.1);
  color: var(--page-promotions-text-main);
}

.page-promotions__section {
  padding: 60px 0;
  background-color: var(--page-promotions-background);
}

.page-promotions__dark-section {
  background-color: var(--page-promotions-card-bg);
}

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

.page-promotions__section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--page-promotions-text-main);
  text-align: center;
  margin-bottom: 40px;
  font-weight: 700;
  line-height: 1.3;
}

.page-promotions__text-block {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--page-promotions-text-secondary);
  margin-bottom: 20px;
}

.page-promotions__text-block strong {
  color: var(--page-promotions-text-main);
}

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

.page-promotions__card {
  background-color: var(--page-promotions-card-bg);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  color: var(--page-promotions-text-main);
  border: 1px solid var(--page-promotions-border-color);
}

.page-promotions__card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.page-promotions__card-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--page-promotions-text-main);
  padding: 20px 20px 10px;
  line-height: 1.4;
}

.page-promotions__card-description {
  font-size: 0.95rem;
  color: var(--page-promotions-text-secondary);
  padding: 0 20px 20px;
  flex-grow: 1;
  line-height: 1.6;
}

.page-promotions__card-button {
  margin: 0 20px 20px;
}

.page-promotions__steps-list {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin-top: 40px;
}

.page-promotions__step-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.page-promotions__step-number {
  background: var(--page-promotions-btn-gradient);
  color: var(--page-promotions-text-main);
  width: 40px;
  height: 40px;
  min-width: 40px;
  min-height: 40px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: 700;
  font-size: 1.2rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.page-promotions__step-content h3 {
  font-size: 1.3rem;
  color: var(--page-promotions-text-main);
  margin-top: 0;
  margin-bottom: 10px;
}

.page-promotions__step-content p {
  font-size: 1rem;
  color: var(--page-promotions-text-secondary);
  line-height: 1.6;
}

.page-promotions__step-content a {
  color: var(--page-promotions-glow-color);
  text-decoration: underline;
}

.page-promotions__terms-list {
  list-style: none;
  padding: 0;
  margin: 40px 0 20px;
}

.page-promotions__terms-list li {
  background-color: var(--page-promotions-card-bg);
  padding: 15px 20px;
  border-left: 4px solid var(--page-promotions-primary-color);
  margin-bottom: 15px;
  border-radius: 8px;
  font-size: 1rem;
  color: var(--page-promotions-text-secondary);
  line-height: 1.6;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-promotions__terms-list li strong {
  color: var(--page-promotions-text-main);
}

.page-promotions__feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  margin-top: 40px;
  text-align: center;
}

.page-promotions__feature-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: var(--page-promotions-card-bg);
  padding: 30px 20px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--page-promotions-border-color);
}

.page-promotions__feature-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
}

.page-promotions__feature-item h3 {
  font-size: 1.4rem;
  color: var(--page-promotions-text-main);
  margin-bottom: 10px;
}

.page-promotions__feature-item p {
  font-size: 0.95rem;
  color: var(--page-promotions-text-secondary);
  line-height: 1.6;
}

.page-promotions__faq-list {
  margin-top: 40px;
}

.page-promotions__faq-item {
  background-color: var(--page-promotions-card-bg);
  border: 1px solid var(--page-promotions-border-color);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-promotions__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--page-promotions-text-main);
  background-color: var(--page-promotions-deep-green);
  border-bottom: 1px solid var(--page-promotions-divider-color);
  list-style: none; /* For details/summary */
}

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

.page-promotions__faq-question:hover {
  background-color: #13994A; /* Slightly darker hover for question */
}

.page-promotions__faq-toggle {
  font-size: 1.8rem;
  font-weight: 300;
  line-height: 1;
  transition: transform 0.3s ease;
  color: var(--page-promotions-glow-color);
}

.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.7;
  color: var(--page-promotions-text-secondary);
  background-color: var(--page-promotions-card-bg);
}

.page-promotions__faq-answer p {
  margin-bottom: 0;
}

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

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-promotions__hero-content {
    margin-top: -80px;
  }
}

@media (max-width: 768px) {
  .page-promotions__hero-section {
    padding-bottom: 40px;
  }

  .page-promotions__hero-content {
    margin-top: -60px; /* Adjust for smaller screens */
    padding: 20px 15px;
  }

  .page-promotions__main-title {
    font-size: clamp(2rem, 8vw, 2.5rem);
  }

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

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

  .page-promotions__btn-primary,
  .page-promotions__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

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

  .page-promotions__container {
    padding: 0 15px;
  }

  .page-promotions__section-title {
    font-size: clamp(1.8rem, 7vw, 2.2rem);
    margin-bottom: 30px;
  }

  .page-promotions__text-block {
    font-size: 0.95rem;
  }

  .page-promotions__promotion-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-promotions__card-image {
    height: 180px;
  }

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

  .page-promotions__step-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 15px;
  }

  .page-promotions__step-content h3 {
    font-size: 1.2rem;
  }

  .page-promotions__feature-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-promotions__faq-question {
    font-size: 1rem;
    padding: 15px 20px;
  }

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

  /* Mobile responsive image/video/container rules */
  .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__section,
  .page-promotions__card,
  .page-promotions__container,
  .page-promotions__hero-image-wrapper,
  .page-promotions__video-section,
  .page-promotions__video-container,
  .page-promotions__video-wrapper,
  .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;
    overflow: hidden !important;
  }
  
  .page-promotions__video-section {
    padding-top: 10px !important;
  }
}

/* Ensure min image size of 200px where applicable */
.page-promotions img:not(.page-promotions__feature-icon) {
  min-width: 200px;
  min-height: 200px;
}

.page-promotions__feature-icon {
  min-width: 100px; /* Smallest allowed for this specific icon usage */
  min-height: 100px;
}

/* Color contrast fixes for specific elements if needed, based on background analysis */
.page-promotions__dark-bg {
  color: var(--page-promotions-text-main); /* Deep green background with light text */
}

.page-promotions__light-bg {
  color: #333333; /* Light background with dark text */
  background: #ffffff;
}

.page-promotions__text-block a,
.page-promotions__step-content a {
  color: var(--page-promotions-glow-color);
}

.page-promotions__text-block a:hover,
.page-promotions__step-content a:hover {
  color: #a7d9b8;
}

.page-promotions__terms-list li a {
  color: var(--page-promotions-glow-color);
  text-decoration: underline;
}

.page-promotions__terms-list li a:hover {
  color: #a7d9b8;
}