/* style/promotions.css */

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

.page-promotions {
  background-color: var(--color-background); /* #08160F - Dark background */
  color: var(--color-text-main); /* #F2FFF6 - Light text for dark background */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
}

.page-promotions__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  box-sizing: border-box;
  background-color: var(--color-background); /* Ensure consistent background */
  color: var(--color-text-main);
}

.page-promotions__dark-section {
  background-color: var(--color-background);
  color: var(--color-text-main);
  padding: 60px 20px;
  box-sizing: border-box;
}

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

.page-promotions__hero-image-wrapper {
  width: 100%;
  max-height: 700px; /* Limit hero image height */
  overflow: hidden;
}

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

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

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

.page-promotions__hero-description {
  font-size: 1.15rem;
  color: var(--color-text-secondary);
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-promotions__btn-primary,
.page-promotions__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
}

.page-promotions__btn-primary {
  background: var(--color-button-gradient);
  color: var(--color-text-main);
  border: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

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

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

.page-promotions__btn-secondary:hover {
  background-color: var(--color-primary);
  color: var(--color-text-main);
  border-color: var(--color-primary);
}

.page-promotions__section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: var(--color-text-main);
  text-align: center;
  margin-bottom: 20px;
}

.page-promotions__section-subtitle {
  font-size: 1.1rem;
  color: var(--color-text-secondary);
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-promotions__why-content-wrapper,
.page-promotions__claim-steps-wrapper,
.page-promotions__terms-content-wrapper {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
}

.page-promotions__why-content-wrapper .page-promotions__text-block,
.page-promotions__terms-content-wrapper .page-promotions__text-block {
  flex: 1;
  min-width: 300px;
}

.page-promotions__why-content-wrapper .page-promotions__image-block,
.page-promotions__terms-content-wrapper .page-promotions__image-block {
  flex: 1;
  min-width: 300px;
  text-align: center;
}

.page-promotions__image-responsive {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 8px;
}

.page-promotions__feature-list,
.page-promotions__terms-list {
  list-style: none;
  padding: 0;
  margin: 30px 0;
}

.page-promotions__feature-item,
.page-promotions__terms-item {
  background-color: var(--color-card-bg);
  border-left: 4px solid var(--color-primary);
  padding: 15px 20px;
  margin-bottom: 15px;
  border-radius: 4px;
  color: var(--color-text-main);
}

.page-promotions__feature-item strong,
.page-promotions__terms-item strong {
  color: var(--color-gold);
}

.page-promotions__promotions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 40px;
}

.page-promotions__promotion-card {
  background-color: var(--color-card-bg);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease;
  border: 1px solid var(--color-border);
}

.page-promotions__promotion-card:hover {
  transform: translateY(-5px);
}

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

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

.page-promotions__card-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-text-main);
  margin-bottom: 15px;
}

.page-promotions__card-description {
  font-size: 1rem;
  color: var(--color-text-secondary);
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-promotions__claim-steps {
  list-style: none;
  padding: 0;
  flex: 1;
  min-width: 300px;
}

.page-promotions__step-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 25px;
  gap: 15px;
}

.page-promotions__step-number {
  background: var(--color-button-gradient);
  color: var(--color-text-main);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.page-promotions__step-title {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--color-text-main);
  margin: 0;
}

.page-promotions__step-item p {
  margin-top: 5px;
  color: var(--color-text-secondary);
}

.page-promotions__faq-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  margin-top: 40px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.page-promotions__faq-list {
  flex: 1;
  min-width: 300px;
}

.page-promotions__faq-item {
  background-color: var(--color-card-bg);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: var(--color-text-main);
}

.page-promotions__faq-item summary {
  display: block;
  padding: 20px;
  cursor: pointer;
  outline: none;
  list-style: none; /* Hide default marker */
}

.page-promotions__faq-item summary::-webkit-details-marker {
  display: none; /* Hide default marker for webkit browsers */
}

.page-promotions__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--color-text-main);
}

.page-promotions__faq-toggle {
  font-size: 1.8rem;
  line-height: 1;
  color: var(--color-primary);
}

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

/* Ensure images in content areas are not too small */
.page-promotions img {
  min-width: 200px;
  min-height: 200px;
  object-fit: cover;
}

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

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

  .page-promotions__hero-content {
    margin-top: 20px;
  }

  .page-promotions__hero-title {
    font-size: 2rem !important;
  }

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

  .page-promotions__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .page-promotions__btn-primary,
  .page-promotions__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px !important;
    font-size: 1rem !important;
    box-sizing: border-box !important;
  }

  .page-promotions__section-title {
    font-size: 2rem !important;
    padding: 0 15px;
  }

  .page-promotions__section-subtitle {
    font-size: 0.95rem !important;
    padding: 0 15px;
  }

  .page-promotions__content-area,
  .page-promotions__dark-section {
    padding: 30px 15px !important;
  }

  .page-promotions__why-content-wrapper,
  .page-promotions__claim-steps-wrapper,
  .page-promotions__terms-content-wrapper,
  .page-promotions__faq-wrapper {
    flex-direction: column;
    gap: 30px;
    margin-top: 20px;
  }

  .page-promotions__promotions-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 0 15px;
  }

  .page-promotions__promotion-card {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

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

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

  .page-promotions__card-description {
    font-size: 0.9rem;
  }

  .page-promotions__image-responsive,
  .page-promotions img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    min-width: unset !important;
    min-height: unset !important;
    box-sizing: border-box !important;
  }

  .page-promotions__image-block,
  .page-promotions__text-block,
  .page-promotions__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-promotions__faq-question {
    font-size: 1rem;
  }

  .page-promotions__faq-answer {
    font-size: 0.9rem;
  }
}