/* 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-btn-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  --page-promotions-border-color: #2E7A4E;
  --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;
}

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

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

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

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

.page-promotions__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.7); /* Slightly dim the background image for text readability */
}

.page-promotions__hero-content {
  position: relative; /* Ensure content is above the image but not absolutely positioned over it */
  margin-top: -150px; /* Pull content up over the bottom part of the image */
  padding: 20px;
  max-width: 900px;
  background: rgba(17, 39, 27, 0.85); /* Card BG with transparency */
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
  z-index: 10;
  box-sizing: border-box;
}

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

.page-promotions__intro-text {
  color: var(--page-promotions-text-main-color);
  font-size: 1.1rem;
  margin-bottom: 30px;
}

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

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

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

.page-promotions__btn-primary:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
}

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

.page-promotions__btn-secondary:hover {
  background-color: rgba(46, 122, 78, 0.2);
  transform: translateY(-2px);
}

.page-promotions__btn-large {
  min-width: 250px;
  padding: 18px 40px;
  font-size: 1.2rem;
}

.page-promotions__section-title {
  color: var(--page-promotions-gold-color);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  text-shadow: 0 1px 3px rgba(0,0,0,0.4);
}

.page-promotions__sub-title {
  color: var(--page-promotions-text-main-color);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 600;
  margin-top: 30px;
  margin-bottom: 15px;
}

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

.page-promotions__list {
  list-style-type: disc;
  margin-left: 20px;
  color: var(--page-promotions-text-secondary-color);
  margin-bottom: 20px;
}

.page-promotions__list li {
  margin-bottom: 10px;
  color: var(--page-promotions-text-secondary-color);
}

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

.page-promotions__list a {
  color: var(--page-promotions-gold-color);
  text-decoration: none;
}

.page-promotions__list a:hover {
  text-decoration: underline;
}

/* Promo Card Section */
.page-promotions__card-section {
  background-color: var(--page-promotions-deep-green-color);
}

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

.page-promotions__promo-card {
  background-color: var(--page-promotions-card-bg-color);
  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, box-shadow 0.3s ease;
  border: 1px solid var(--page-promotions-border-color);
}

.page-promotions__promo-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.page-promotions__card-image {
  width: 100%;
  height: 200px; /* Fixed height for consistent card appearance */
  object-fit: cover;
  display: block;
}

.page-promotions__promo-card .page-promotions__card-title {
  color: var(--page-promotions-gold-color);
  font-size: 1.4rem;
  font-weight: 600;
  padding: 20px 20px 10px;
  margin-top: 0;
}

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

.page-promotions__promo-card .page-promotions__card-list {
  list-style-type: disc;
  margin: 10px 20px 20px 40px;
  color: var(--page-promotions-text-secondary-color);
  padding: 0;
}

.page-promotions__promo-card .page-promotions__card-list li {
  margin-bottom: 5px;
  color: var(--page-promotions-text-secondary-color);
}

.page-promotions__promo-card .page-promotions__card-list li a {
  color: var(--page-promotions-gold-color);
  text-decoration: none;
}

.page-promotions__promo-card .page-promotions__card-btn {
  margin: 20px;
  width: calc(100% - 40px); /* Adjust width for padding */
  display: block;
}

/* Guide List */
.page-promotions__guide-list {
  list-style-type: none;
  counter-reset: guide-counter;
  padding: 0;
  margin: 0 0 30px 0;
}

.page-promotions__guide-list li {
  counter-increment: guide-counter;
  background-color: var(--page-promotions-card-bg-color);
  border-radius: 8px;
  padding: 20px 25px 20px 60px;
  margin-bottom: 15px;
  position: relative;
  color: var(--page-promotions-text-secondary-color);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  border-left: 5px solid var(--page-promotions-gold-color);
}

.page-promotions__guide-list li::before {
  content: counter(guide-counter);
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  background-color: var(--page-promotions-gold-color);
  color: var(--page-promotions-bg-color);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: 700;
  font-size: 1.1rem;
}

.page-promotions__guide-list li strong {
  color: var(--page-promotions-text-main-color);
  font-size: 1.1rem;
}

/* FAQ Section */
.page-promotions__faq-section {
  padding-bottom: 80px;
}

.page-promotions__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.page-promotions__faq-item {
  background-color: var(--page-promotions-card-bg-color);
  border: 1px solid var(--page-promotions-border-color);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.page-promotions__faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  list-style: none; /* Hide default marker */
  color: var(--page-promotions-text-main-color);
  font-weight: 600;
  font-size: 1.1rem;
  transition: background-color 0.3s ease;
}

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

.page-promotions__faq-item summary:hover {
  background-color: rgba(46, 122, 78, 0.1);
}

.page-promotions__faq-item[open] summary {
  background-color: var(--page-promotions-deep-green-color);
  border-bottom: 1px solid var(--page-promotions-border-color);
}

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

.page-promotions__faq-toggle {
  font-size: 1.8rem;
  line-height: 1;
  margin-left: 15px;
  color: var(--page-promotions-gold-color);
}

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

/* CTA Section at bottom */
.page-promotions__cta-section {
  background: var(--page-promotions-deep-green-color);
  text-align: center;
  padding: 80px 20px;
}

.page-promotions__cta-content {
  max-width: 800px;
  margin: 0 auto;
}

.page-promotions__cta-content .page-promotions__section-title {
  margin-bottom: 20px;
}

.page-promotions__cta-content .page-promotions__text-block {
  margin-bottom: 40px;
  font-size: 1.1rem;
}

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

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

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

  .page-promotions__content-area {
    padding: 0 15px;
  }

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

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

  .page-promotions__hero-content {
    margin-top: -80px; /* Adjust for smaller screens */
    padding: 15px;
    border-radius: 8px;
  }

  .page-promotions__main-title {
    font-size: clamp(2rem, 6vw, 2.5rem);
    margin-bottom: 15px;
  }

  .page-promotions__intro-text {
    font-size: 1rem;
    margin-bottom: 20px;
  }

  .page-promotions__cta-buttons {
    flex-direction: column;
    gap: 10px;
  }

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

  .page-promotions__btn-large {
    min-width: unset;
    padding: 15px 30px;
    font-size: 1.1rem;
  }

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

  .page-promotions__sub-title {
    font-size: clamp(1.3rem, 4vw, 1.7rem);
    margin-top: 25px;
    margin-bottom: 10px;
  }

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

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

  .page-promotions__promo-card .page-promotions__card-title {
    font-size: 1.3rem;
    padding: 15px 15px 8px;
  }

  .page-promotions__promo-card .page-promotions__card-text {
    padding: 0 15px;
  }

  .page-promotions__promo-card .page-promotions__card-list {
    margin: 10px 15px 15px 35px;
  }

  .page-promotions__promo-card .page-promotions__card-btn {
    margin: 15px;
    width: calc(100% - 30px);
  }

  .page-promotions__guide-list li {
    padding: 15px 15px 15px 50px;
    margin-bottom: 10px;
  }

  .page-promotions__guide-list li::before {
    width: 25px;
    height: 25px;
    font-size: 1rem;
    left: 15px;
  }

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

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

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

  .page-promotions__cta-section {
    padding: 60px 15px;
  }

  /* Ensure all images and containers are responsive */
  .page-promotions img {
    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__hero-content,
  .page-promotions__promo-card,
  .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__hero-section {
    padding-top: 10px !important;
  }
  .page-promotions__cta-buttons {
    flex-wrap: wrap !important;
    gap: 10px;
  }
}

/* Ensure color contrast for all text elements */
.page-promotions h1, .page-promotions h2, .page-promotions h3, .page-promotions h4, .page-promotions h5, .page-promotions h6 {
  color: var(--page-promotions-gold-color);
}

.page-promotions p, .page-promotions li {
  color: var(--page-promotions-text-secondary-color);
}

.page-promotions__hero-content .page-promotions__main-title {
  color: var(--page-promotions-gold-color);
}

.page-promotions__hero-content .page-promotions__intro-text {
  color: var(--page-promotions-text-main-color);
}

.page-promotions__faq-item summary {
  color: var(--page-promotions-text-main-color);
}

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

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

.page-promotions__btn-secondary {
  color: var(--page-promotions-gold-color);
}

.page-promotions__promo-card .page-promotions__card-title {
  color: var(--page-promotions-gold-color);
}

.page-promotions__promo-card .page-promotions__card-text {
  color: var(--page-promotions-text-secondary-color);
}

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

.page-promotions a {
  color: var(--page-promotions-gold-color);
}

.page-promotions a:hover {
  color: var(--page-promotions-glow-color);
}