/* style/promotions.css */

:root {
  --page-promotions-bg-color: #08160F;
  --page-promotions-card-bg-color: #11271B;
  --page-promotions-text-main-color: #F2FFF6;
  --page-promotions-text-secondary-color: #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-color: #0A4B2C;
}

.page-promotions {
  background-color: var(--page-promotions-bg-color);
  color: var(--page-promotions-text-main-color);
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-bottom: 60px; /* Ensure space above footer */
}

.page-promotions__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 0 60px 0; /* body already handles header offset, small top padding for visual */
  overflow: hidden;
}

.page-promotions__hero-image-wrapper {
  width: 100%;
  max-height: 500px; /* Limit height for aesthetic */
  overflow: hidden;
  position: relative;
}

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

.page-promotions__hero-content-wrapper {
  position: relative;
  z-index: 10;
  max-width: 1200px;
  width: 100%;
  padding: 40px 20px;
  text-align: center;
  margin-top: -150px; /* Overlap with image slightly for visual effect */
  background-color: var(--page-promotions-card-bg-color);
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--page-promotions-border-color);
}

.page-promotions__main-title {
  color: var(--page-promotions-gold-color);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: bold;
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 0 0 10px rgba(87, 227, 141, 0.5);
}

.page-promotions__hero-description {
  color: var(--page-promotions-text-main-color);
  font-size: 1.1rem;
  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-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border-radius: 10px;
  font-size: 1.1rem;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-promotions__btn-primary {
  background: var(--page-promotions-btn-gradient);
  color: #ffffff;
  border: none;
  box-shadow: 0 5px 15px rgba(42, 209, 111, 0.4);
}

.page-promotions__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(42, 209, 111, 0.6);
}

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

.page-promotions__btn-secondary:hover {
  background-color: var(--page-promotions-glow-color);
  color: var(--page-promotions-bg-color);
  transform: translateY(-3px);
}

.page-promotions__section {
  max-width: 1200px;
  margin: 60px auto;
  padding: 40px 20px;
  background-color: var(--page-promotions-card-bg-color);
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--page-promotions-border-color);
}

.page-promotions__section-title {
  color: var(--page-promotions-gold-color);
  font-size: 2.2rem;
  text-align: center;
  margin-bottom: 40px;
  text-shadow: 0 0 8px rgba(87, 227, 141, 0.3);
}

.page-promotions__content-area {
  display: flex;
  flex-direction: column;
  gap: 30px;
  align-items: center;
}

.page-promotions__content-area p {
  color: var(--page-promotions-text-main-color);
  font-size: 1rem;
  line-height: 1.7;
  text-align: justify;
}

.page-promotions__image {
  width: 100%;
  max-width: 600px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  object-fit: cover;
}

.page-promotions__image--left {
  margin-right: auto;
}

.page-promotions__image--right {
  margin-left: auto;
}

.page-promotions__cta-buttons--single {
  margin-top: 20px;
}

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

.page-promotions__faq-item {
  background-color: var(--page-promotions-deep-green-color);
  border: 1px solid var(--page-promotions-border-color);
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-promotions__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.15rem;
  font-weight: bold;
  color: var(--page-promotions-text-main-color);
  cursor: pointer;
  transition: background-color 0.3s ease;
  list-style: none;
}

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

.page-promotions__faq-question:hover {
  background-color: rgba(46, 122, 78, 0.3);
}

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

.page-promotions__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  margin-left: 20px;
  color: var(--page-promotions-glow-color);
}

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

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

.page-promotions__faq-answer p {
  margin: 0;
  color: var(--page-promotions-text-secondary-color);
}

/* Responsive Design */
@media (min-width: 769px) {
  .page-promotions__content-area {
    flex-direction: row;
    justify-content: space-between;
  }

  .page-promotions__content-area p {
    flex: 1;
    max-width: 60%;
  }

  .page-promotions__image {
    flex: 0 0 35%;
    max-width: 35%;
  }

  .page-promotions__image--left {
    order: 0;
  }

  .page-promotions__image--right {
    order: 1;
  }

  .page-promotions__content-area:nth-of-type(even) .page-promotions__image {
    order: 0;
  }

  .page-promotions__content-area:nth-of-type(even) p {
    order: 1;
  }
}

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

  .page-promotions__hero-content-wrapper {
    margin-top: -80px;
    padding: 30px 15px;
    border-radius: 10px;
  }

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

  .page-promotions__btn-primary,
  .page-promotions__btn-secondary {
    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 {
    margin: 40px 15px;
    padding: 30px 15px;
  }

  .page-promotions__section-title {
    font-size: 1.8rem;
    margin-bottom: 30px;
  }

  .page-promotions__content-area {
    flex-direction: column;
    gap: 20px;
  }

  .page-promotions__content-area p,
  .page-promotions__image {
    max-width: 100%;
    width: 100%;
  }

  /* Mobile specific image and video responsiveness */
  .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__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; /* Ensure no horizontal scroll */
  }
  
  .page-promotions__hero-section {
    padding-top: 10px !important;
    padding-left: 0;
    padding-right: 0;
  }

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

  .page-promotions__faq-toggle {
    font-size: 1.3rem;
  }

  .page-promotions__faq-answer {
    padding: 10px 20px 15px 20px;
    font-size: 0.95rem;
  }
}