/* style/promotions.css */
/* 
  Body background color is #08160F (very dark green/black).
  Text Main: #F2FFF6 (light green/white) should be used for main text.
  Text Secondary: #A7D9B8 (lighter green) for secondary text.
  Card BG: #11271B (darker green).
  Button gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%).
*/

.page-promotions {
  background-color: var(--page-bg, #08160F); /* Fallback if --page-bg is not set */
  color: #F2FFF6; /* Main text color for dark background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

/* Fixed header spacing: body handles padding-top */
.page-promotions__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small decorative top padding */
  overflow: hidden;
  box-sizing: border-box;
}

.page-promotions__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
}

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

.page-promotions__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 40px;
  background: rgba(8, 22, 15, 0.8); /* Slightly transparent background for readability */
  border-radius: 15px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
  margin-top: 60px; /* Push content down from image top */
  color: #F2FFF6;
}

.page-promotions__hero-title {
  font-size: clamp(2.5rem, 4vw, 3.5rem); /* H1 font size with clamp */
  color: #F2C14E; /* Gold for main title */
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
}

.page-promotions__hero-description {
  font-size: 1.1rem;
  color: #F2FFF6;
  margin-bottom: 30px;
}

.page-promotions__hero-cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap; /* Allow wrapping on small screens */
}

.page-promotions__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-sizing: border-box;
  white-space: normal; /* Allow text wrap */
  word-wrap: break-word; /* Allow text wrap */
}

.page-promotions__cta-button--primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #F2FFF6;
  border: 2px solid transparent;
}

.page-promotions__cta-button--primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(42, 209, 111, 0.4);
}

.page-promotions__cta-button--secondary {
  background: none;
  color: #2AD16F;
  border: 2px solid #2AD16F;
}

.page-promotions__cta-button--secondary:hover {
  background: rgba(42, 209, 111, 0.1);
  transform: translateY(-3px);
}

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

.page-promotions__container--centered {
  text-align: center;
}

.page-promotions__section-title {
  font-size: clamp(2rem, 3.5vw, 3rem);
  color: #F2C14E; /* Gold for section titles */
  text-align: center;
  margin-bottom: 30px;
  font-weight: bold;
}

.page-promotions__section-text {
  font-size: 1rem;
  margin-bottom: 20px;
  color: #F2FFF6; /* Main text color */
}

.page-promotions__text-secondary {
  color: #A7D9B8; /* Secondary text color */
}

.page-promotions__intro-section,
.page-promotions__claim-guide-section,
.page-promotions__why-choose-section,
.page-promotions__cta-section {
  background-color: #08160F; /* Dark background */
  color: #F2FFF6;
}

.page-promotions__promo-types-section,
.page-promotions__terms-section,
.page-promotions__faq-section {
  background-color: #11271B; /* Card BG color, slightly lighter dark */
  color: #F2FFF6;
}

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

.page-promotions__promo-card {
  background: #08160F; /* Even darker for card inner background */
  border: 1px solid #2E7A4E; /* Border color */
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #F2FFF6;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}

.page-promotions__promo-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

.page-promotions__card-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block; /* Ensure it behaves as a block element */
  min-width: 200px; /* Minimum size requirement */
  min-height: 200px; /* Minimum size requirement */
}

.page-promotions__card-title {
  font-size: 1.5rem;
  color: #2AD16F; /* Green for card titles */
  margin-bottom: 15px;
  font-weight: bold;
}

.page-promotions__card-text {
  font-size: 0.95rem;
  color: #A7D9B8; /* Secondary text color */
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-promotions__cta-button--small {
  padding: 10px 20px;
  font-size: 0.9rem;
}

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

.page-promotions__guide-step {
  background: #11271B; /* Card BG color */
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  color: #F2FFF6;
}

.page-promotions__step-icon-wrapper {
  margin-bottom: 20px;
}

.page-promotions__step-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #F2FFF6;
  font-size: 1.8rem;
  font-weight: bold;
}

.page-promotions__step-title {
  font-size: 1.4rem;
  color: #2AD16F; /* Green for step titles */
  margin-bottom: 15px;
}

.page-promotions__step-text {
  font-size: 0.95rem;
  color: #A7D9B8;
}

.page-promotions__step-text a {
  color: #57E38D; /* Glow color for links */
  text-decoration: none;
}

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

.page-promotions__terms-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-promotions__terms-item {
  background: #08160F; /* Dark background for terms item */
  border: 1px solid #2E7A4E;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
  color: #F2FFF6;
}

.page-promotions__terms-subtitle {
  font-size: 1.3rem;
  color: #F2C14E; /* Gold for terms subtitles */
  margin-bottom: 10px;
}

.page-promotions__terms-text {
  font-size: 0.95rem;
  color: #A7D9B8;
}

.page-promotions__terms-text a {
  color: #57E38D;
  text-decoration: none;
}

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

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

.page-promotions__feature-card {
  background: #11271B; /* Card BG color */
  border: 1px solid #2E7A4E;
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  color: #F2FFF6;
}

.page-promotions__feature-title {
  font-size: 1.4rem;
  color: #2AD16F; /* Green for feature titles */
  margin-bottom: 15px;
}

.page-promotions__feature-text {
  font-size: 0.95rem;
  color: #A7D9B8;
}

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

.page-promotions__faq-item {
  background: #08160F; /* Dark background for FAQ item */
  border: 1px solid #2E7A4E;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #F2FFF6;
}

.page-promotions__faq-item summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-size: 1.1rem;
  font-weight: bold;
  color: #F2FFF6;
  background: #11271B; /* Card BG color for summary */
  transition: background-color 0.3s ease;
}

.page-promotions__faq-item summary:hover {
  background-color: #0A4B2C; /* Deep Green on hover */
}

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

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

.page-promotions__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  margin-left: 15px;
  color: #57E38D; /* Glow color for toggle */
}

.page-promotions__faq-answer {
  padding: 20px 25px;
  font-size: 0.95rem;
  color: #A7D9B8;
  background: #08160F; /* Dark background for answer */
  border-top: 1px solid #2E7A4E;
}

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

.page-promotions__faq-answer a {
  color: #57E38D;
  text-decoration: none;
}

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

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

  .page-promotions__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important; /* body already handles header offset */
  }

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

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

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

  .page-promotions__hero-cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-promotions__cta-button,
  .page-promotions__cta-button--primary,
  .page-promotions__cta-button--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;
  }

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

  .page-promotions__container {
    padding: 20px 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-promotions img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    min-width: 200px !important;
    min-height: 200px !important;
  }

  .page-promotions__section,
  .page-promotions__card,
  .page-promotions__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

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

  .page-promotions__promo-card,
  .page-promotions__guide-step,
  .page-promotions__feature-card,
  .page-promotions__terms-item,
  .page-promotions__faq-item {
    padding: 15px;
  }

  .page-promotions__card-title,
  .page-promotions__step-title,
  .page-promotions__terms-subtitle,
  .page-promotions__feature-title {
    font-size: 1.2rem;
  }

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

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