/* style/promotions.css */
.page-promotions {
  color: var(--text-main);
  background-color: var(--background-color);
}

.page-promotions__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 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;
  padding: 10px 20px 60px; /* Small top padding, more bottom padding */
  background-color: var(--background-color);
}

.page-promotions__hero-image-wrapper {
  width: 100%;
  max-height: 700px; /* Limit height for hero image */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 30px;
}

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

.page-promotions__hero-content {
  max-width: 900px;
  margin-top: -80px; /* Overlap slightly with image for visual flow */
  position: relative;
  z-index: 1;
  padding: 30px;
  background-color: var(--card-bg);
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-color);
}

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

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

.page-promotions__cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 30px;
  border-radius: 8px;
  background: var(--button-gradient);
  color: #ffffff;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  min-width: 180px;
}

.page-promotions__cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  opacity: 0.9;
}

.page-promotions__cta-button--secondary {
  background: transparent;
  border: 2px solid var(--deep-green);
  color: var(--text-main);
}

.page-promotions__cta-button--secondary:hover {
  background: var(--deep-green);
  color: #ffffff;
}

.page-promotions__cta-button--small {
  padding: 10px 20px;
  font-size: 1rem;
  min-width: 120px;
}

.page-promotions__cta-button--large {
  padding: 18px 40px;
  font-size: 1.25rem;
  min-width: 220px;
}

.page-promotions__intro-section,
.page-promotions__types-section,
.page-promotions__guide-section,
.page-promotions__faq-section,
.page-promotions__conclusion-section {
  padding: 80px 0;
  text-align: center;
  background-color: var(--background-color);
}

.page-promotions__section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 40px;
  line-height: 1.3;
  position: relative;
  padding-bottom: 15px;
}

.page-promotions__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--deep-green);
  border-radius: 2px;
}

.page-promotions__text-block {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-secondary);
  max-width: 900px;
  margin: 0 auto 30px;
}

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

.page-promotions__card {
  background-color: var(--card-bg);
  border-radius: 12px;
  padding: 30px;
  text-align: left;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border-color);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-promotions__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-promotions__card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
}

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

.page-promotions__card-text {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 25px;
  flex-grow: 1;
}

.page-promotions__card-button {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 6px;
  background: var(--deep-green);
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  transition: background-color 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-promotions__card-button:hover {
  background-color: var(--main-color);
}

.page-promotions__guide-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
  text-align: left;
}

.page-promotions__guide-item {
  background-color: var(--card-bg);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border-color);
}

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

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

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

.page-promotions__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-main);
  cursor: pointer;
  background-color: var(--card-bg);
  transition: background-color 0.3s ease;
}

.page-promotions__faq-question:hover {
  background-color: var(--deep-green);
}

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

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

.page-promotions__faq-toggle {
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--gold);
  margin-left: 15px;
  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(--text-secondary);
}

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

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-promotions__hero-content {
    margin-top: -50px;
    padding: 25px;
  }

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

  .page-promotions__description {
    font-size: 1.05rem;
  }

  .page-promotions__grid,
  .page-promotions__guide-steps {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
  }

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

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

@media (max-width: 768px) {
  .page-promotions__container {
    padding: 0 15px;
  }

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

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

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

  .page-promotions__main-title {
    font-size: 2.2rem;
  }

  .page-promotions__description {
    font-size: 1rem;
  }

  .page-promotions__cta-button,
  .page-promotions__cta-button--secondary,
  .page-promotions__cta-button--small,
  .page-promotions__cta-button--large {
    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;
    margin-bottom: 10px; /* Add margin for stacked buttons */
  }

  .page-promotions__cta-button:last-child {
    margin-bottom: 0;
  }

  .page-promotions__intro-section,
  .page-promotions__types-section,
  .page-promotions__guide-section,
  .page-promotions__faq-section,
  .page-promotions__conclusion-section {
    padding: 60px 0;
  }

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

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

  .page-promotions__grid,
  .page-promotions__guide-steps {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 30px;
  }

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

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

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

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

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

  /* Mobile image and video responsive styles */
  .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__hero-content,
  .page-promotions__grid,
  .page-promotions__guide-steps,
  .page-promotions__faq-list,
  .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;
  }

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

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

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

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

/* Specific overrides for higher contrast where needed */
.page-promotions__hero-content .page-promotions__main-title {
  color: var(--text-main);
}

.page-promotions__hero-content .page-promotions__description {
  color: var(--text-secondary);
}

.page-promotions__cta-button {
  color: #ffffff; /* Explicitly white for buttons */
}

.page-promotions__cta-button--secondary {
  color: var(--text-main);
}

.page-promotions__cta-button--secondary:hover {
  color: #ffffff;
}

.page-promotions__card-button {
  color: #ffffff;
}

.page-promotions__faq-question {
  color: var(--text-main);
}

.page-promotions__faq-toggle {
  color: var(--gold);
}