/* style/promotions.css */

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

.page-promotions {
  color: #333333; /* Default text for light backgrounds */
  background-color: #f5f5f5; /* Fallback for light body background */
}

.page-promotions__dark-bg {
  background-color: var(--page-promotions-bg-dark);
  color: var(--page-promotions-text-main);
}

.page-promotions__light-bg {
  background-color: #ffffff;
  color: #333333;
}

.page-promotions__card-bg {
  background-color: var(--page-promotions-card-bg);
  color: var(--page-promotions-text-main);
}

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

.page-promotions__text-secondary {
  color: var(--page-promotions-text-secondary);
}

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

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

.page-promotions__hero-section {
  position: relative;
  padding: 10px 0 60px 0; /* Small top padding */
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-promotions__hero-image-wrapper {
  width: 100%;
  max-height: 600px;
  overflow: hidden;
  margin-bottom: 40px;
}

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

.page-promotions__hero-content {
  position: relative;
  z-index: 10;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-promotions__main-title {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--page-promotions-text-main);
}

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

.page-promotions__section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 30px;
  position: relative;
  display: inline-block;
}

.page-promotions__section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: var(--page-promotions-primary-color);
  margin: 15px auto 0;
  border-radius: 2px;
}

.page-promotions__text-block {
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 20px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-promotions__btn-primary {
  display: inline-block;
  background: var(--page-promotions-btn-gradient);
  color: #ffffff;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-promotions__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-promotions__btn-secondary {
  display: inline-block;
  background: var(--page-promotions-card-bg);
  color: var(--page-promotions-primary-color);
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  border: 2px solid var(--page-promotions-primary-color);
  cursor: pointer;
}

.page-promotions__btn-secondary:hover {
  background-color: var(--page-promotions-primary-color);
  color: #ffffff;
}

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

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

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

.page-promotions__card-content {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-promotions__card-title {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 15px;
}

.page-promotions__card-description {
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-promotions__feature-list, .page-promotions__advantage-list, .page-promotions__step-list {
  list-style: none;
  padding: 0;
  margin: 30px auto;
  max-width: 900px;
  text-align: left;
}

.page-promotions__list-item {
  position: relative;
  padding-left: 30px;
  margin-bottom: 15px;
  font-size: 1rem;
  line-height: 1.7;
  color: inherit;
}

.page-promotions__list-item::before {
  content: '✔';
  position: absolute;
  left: 0;
  color: var(--page-promotions-primary-color);
  font-weight: bold;
}

.page-promotions__step-list .page-promotions__list-item::before {
  content: counter(step-counter);
  counter-increment: step-counter;
  background: var(--page-promotions-primary-color);
  color: #ffffff;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 600;
  left: -5px;
  top: 0;
}

.page-promotions__step-list {
  counter-reset: step-counter;
}

.page-promotions__step-list .page-promotions__list-item strong {
  color: var(--page-promotions-primary-color);
}

.page-promotions__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-promotions__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-weight: 600;
  font-size: 1.1rem;
  position: relative;
  list-style: none;
}

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

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

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

.page-promotions__faq-answer {
  padding: 0 25px 20px;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--page-promotions-text-secondary);
}

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

.page-promotions__final-cta {
  padding: 80px 0;
  background-color: var(--page-promotions-primary-color);
  color: #ffffff;
}

.page-promotions__final-cta .page-promotions__section-title {
  color: #ffffff;
}

.page-promotions__final-cta .page-promotions__description {
  color: #ffffff;
}

.page-promotions__final-cta .page-promotions__section-title::after {
  background: #ffffff;
}

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

/* Image & Video Responsive Rules */
.page-promotions img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

.page-promotions__video-section,
.page-promotions__video-container,
.page-promotions__video-wrapper {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .page-promotions {
    font-size: 16px;
    line-height: 1.6;
  }

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

  .page-promotions__hero-section {
    padding: 10px 0 40px 0;
  }

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

  .page-promotions__section-title {
    font-size: clamp(1.6rem, 7vw, 2.2rem);
  }

  .page-promotions__description,
  .page-promotions__text-block,
  .page-promotions__card-description,
  .page-promotions__list-item,
  .page-promotions__faq-answer {
    font-size: 0.95rem;
  }

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

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

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

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

  .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;
  }

  .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-wrap: wrap !important;
    gap: 10px;
    flex-direction: column;
  }

  .page-promotions img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

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

  .page-promotions__video-section,
  .page-promotions__video-container,
  .page-promotions__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  .page-promotions__hero-image-wrapper {
    max-height: 300px;
  }

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

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

  .page-promotions__faq-item {
    padding: 0;
  }
  .page-promotions__faq-question {
    padding: 15px;
  }
  .page-promotions__faq-answer {
    padding: 0 15px 15px;
  }
}