/* style/promotions.css */
/* 
 * Body background is #08160F (dark), so main text color should be #F2FFF6 (light).
 * Card background is #11271B (darker green), text #F2FFF6.
 */

.page-promotions {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #F2FFF6; /* Text Main */
  background-color: #08160F; /* Background */
  padding-bottom: 50px; /* Ensure space above footer */
}

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

.page-promotions__section-padding {
  padding-top: 60px;
  padding-bottom: 60px;
}

.page-promotions__section-title {
  font-size: 2.5em;
  color: #F2FFF6; /* Text Main */
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-promotions__section-title--light {
  color: #F2FFF6; /* Ensure light text on dark sections */
}

.page-promotions__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  text-align: justify;
  color: #F2FFF6; /* Text Main */
}

.page-promotions__text-block--light {
  color: #A7D9B8; /* Text Secondary for less emphasis */
}

/* Hero Section */
.page-promotions__hero-section {
  position: relative;
  display: flex;
  flex-direction: column; /* Image above text */
  align-items: center;
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 40px;
  background-color: #0A4B2C; /* Deep Green for hero background */
}

.page-promotions__hero-image-wrapper {
  width: 100%;
  max-width: 100%; /* Ensure image wrapper takes full width */
  margin-bottom: 30px;
}

.page-promotions__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-promotions__hero-content {
  max-width: 900px;
  text-align: center;
  padding: 0 20px;
}

.page-promotions__main-title {
  font-size: clamp(2em, 4vw, 3.2em); /* Responsive H1 font size */
  color: #F2C14E; /* Gold */
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.5px;
}

.page-promotions__hero-description {
  font-size: 1.2em;
  color: #A7D9B8; /* Text Secondary */
  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; /* Allow buttons to wrap on smaller screens */
  width: 100%; /* Ensure container takes full width for wrapping */
  max-width: 600px; /* Limit width on larger screens */
  margin: 0 auto;
}

.page-promotions__cta-buttons--center {
  margin-top: 40px;
}

.page-promotions__btn-primary,
.page-promotions__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  min-width: 200px; /* Ensure minimum width for buttons */
  box-sizing: border-box; /* Include padding in width calculation */
  white-space: normal; /* Allow text to wrap */
  word-wrap: break-word; /* Break long words */
  text-align: center;
}

.page-promotions__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button color */
  color: #F2FFF6; /* Text Main */
  border: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

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

.page-promotions__btn-secondary {
  background: transparent;
  color: #F2FFF6; /* Text Main */
  border: 2px solid #2E7A4E; /* Border color */
  box-shadow: none;
}

.page-promotions__btn-secondary:hover {
  background: rgba(46, 122, 78, 0.2); /* Deep Green with opacity */
  transform: translateY(-2px);
}

.page-promotions__btn-small {
  padding: 10px 20px;
  font-size: 0.95em;
  min-width: unset; /* Override min-width for smaller buttons */
}

/* Promo Grid */
.page-promotions__types-section {
  background-color: #11271B; /* Card BG */
}

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

.page-promotions__promo-card {
  background-color: #0A1E14; /* Slightly lighter than Card BG for depth */
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 1px solid #2E7A4E; /* Border color */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-promotions__promo-card-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  border: 1px solid #2E7A4E; /* Border color */
}

.page-promotions__promo-card-title {
  font-size: 1.5em;
  color: #F2C14E; /* Gold */
  margin-bottom: 15px;
  font-weight: bold;
}

.page-promotions__promo-card-description {
  font-size: 1em;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 25px;
  flex-grow: 1; /* Push button to bottom */
}

/* Steps List */
.page-promotions__how-to-claim {
  background-color: #08160F; /* Background */
}

.page-promotions__steps-list {
  list-style: none;
  padding: 0;
  counter-reset: step-counter;
}

.page-promotions__step-item {
  background-color: #11271B; /* Card BG */
  border-radius: 12px;
  padding: 30px;
  margin-bottom: 25px;
  position: relative;
  padding-left: 80px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  border: 1px solid #2E7A4E; /* Border color */
}

.page-promotions__step-item::before {
  counter-increment: step-counter;
  content: counter(step-counter);
  position: absolute;
  left: 25px;
  top: 30px;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button color */
  color: #F2FFF6; /* Text Main */
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.2em;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.page-promotions__step-title {
  font-size: 1.4em;
  color: #F2C14E; /* Gold */
  margin-bottom: 10px;
}

.page-promotions__step-description {
  color: #A7D9B8; /* Text Secondary */
}

/* Terms and Conditions */
.page-promotions__terms-conditions {
  background-color: #11271B; /* Card BG */
}

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

.page-promotions__info-card {
  background-color: #0A1E14; /* Slightly lighter for depth */
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  border: 1px solid #2E7A4E; /* Border color */
}

.page-promotions__info-card-title {
  font-size: 1.3em;
  color: #F2C14E; /* Gold */
  margin-bottom: 10px;
  font-weight: bold;
}

.page-promotions__info-card-description {
  color: #A7D9B8; /* Text Secondary */
}

/* Why Choose Section */
.page-promotions__why-choose {
  background-color: #08160F; /* Background */
}

.page-promotions__benefits-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-promotions__benefit-item {
  background-color: #11271B; /* Card BG */
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  border: 1px solid #2E7A4E; /* Border color */
  display: flex;
  flex-direction: column;
}

.page-promotions__benefit-title {
  font-size: 1.4em;
  color: #57E38D; /* Glow */
  margin-bottom: 10px;
  font-weight: bold;
}

.page-promotions__benefit-description {
  color: #A7D9B8; /* Text Secondary */
}

/* FAQ Section */
.page-promotions__faq-section {
  background-color: #11271B; /* Card BG */
}

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

.page-promotions__faq-item {
  background-color: #0A1E14; /* Slightly lighter for depth */
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  border: 1px solid #2E7A4E; /* Border color */
}

.page-promotions__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  color: #F2FFF6; /* Text Main */
  cursor: pointer;
  background-color: #1E3A2A; /* Divider */
  border-bottom: 1px solid #2E7A4E; /* Border color */
  user-select: none;
  font-weight: bold;
}

.page-promotions__faq-item[open] .page-promotions__faq-question {
  border-bottom: 1px solid #2E7A4E;
}

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

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

/* Remove default details marker */
.page-promotions__faq-item > summary {
  list-style: none;
}
.page-promotions__faq-item > summary::-webkit-details-marker {
  display: none;
}

.page-promotions__faq-answer {
  padding: 20px 25px;
  background-color: #0A1E14; /* Slightly lighter for depth */
  color: #A7D9B8; /* Text Secondary */
  font-size: 1em;
  line-height: 1.7;
}

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

/* Bottom CTA */
.page-promotions__cta-bottom {
  background-color: #0A4B2C; /* Deep Green */
  text-align: center;
}

.page-promotions__cta-content-wrapper {
  max-width: 900px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-promotions__section-title {
    font-size: 2em;
  }
  .page-promotions__main-title {
    font-size: clamp(1.8em, 5vw, 2.8em);
  }
}

@media (max-width: 768px) {
  .page-promotions {
    font-size: 16px;
    line-height: 1.6;
    padding-bottom: 30px;
  }
  
  .page-promotions__container {
    padding: 0 15px; /* Add padding for mobile content */
  }

  .page-promotions__section-padding {
    padding-top: 40px;
    padding-bottom: 40px;
  }

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

  .page-promotions__main-title {
    font-size: clamp(1.6em, 7vw, 2.5em);
    margin-bottom: 15px;
  }

  .page-promotions__hero-description {
    font-size: 1em;
    margin-bottom: 20px;
  }

  .page-promotions__cta-buttons {
    flex-direction: column;
    gap: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 0 15px;
  }
  
  .page-promotions__cta-buttons a {
    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__promo-grid,
  .page-promotions__info-grid,
  .page-promotions__benefits-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-promotions__promo-card,
  .page-promotions__info-card,
  .page-promotions__benefit-item,
  .page-promotions__step-item,
  .page-promotions__faq-item {
    padding: 20px;
    padding-left: 60px; /* Adjust for smaller step circle */
    border-radius: 8px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-promotions__step-item::before {
    left: 15px;
    top: 20px;
    width: 35px;
    height: 35px;
    font-size: 1.1em;
  }
  
  /* Images and Videos responsiveness */
  .page-promotions img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-promotions__hero-image-wrapper,
  .page-promotions__section,
  .page-promotions__card,
  .page-promotions__container,
  .page-promotions__promo-card,
  .page-promotions__info-card,
  .page-promotions__benefit-item,
  .page-promotions__step-item,
  .page-promotions__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important; /* Prevent content overflow */
  }
  
  .page-promotions__faq-question {
    font-size: 1.1em;
    padding: 15px 20px;
  }
  
  .page-promotions__faq-toggle {
    font-size: 1.3em;
  }
  
  .page-promotions__faq-answer {
    padding: 15px 20px;
  }
}

@media (max-width: 480px) {
  .page-promotions__section-title {
    font-size: 1.8em;
  }
  .page-promotions__main-title {
    font-size: clamp(1.4em, 8vw, 2.2em);
  }
  .page-promotions__btn-primary,
  .page-promotions__btn-secondary {
    min-width: unset;
    padding: 12px 20px;
    font-size: 1em;
  }
  .page-promotions__promo-card-title {
    font-size: 1.3em;
  }
  .page-promotions__step-title {
    font-size: 1.2em;
  }
  .page-promotions__info-card-title {
    font-size: 1.1em;
  }
}