/* style/promotions.css */

/* Base styles for the page content, ensuring light text on dark background */
.page-promotions {
  color: #F2FFF6; /* Text Main */
  background-color: #08160F; /* Background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

/* Ensure all content sections have appropriate padding and max-width */
.page-promotions__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  box-sizing: border-box;
}

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

.page-promotions__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
  margin-bottom: 30px;
}

.page-promotions__hero-image {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-promotions__hero-content {
  max-width: 900px;
  z-index: 1;
}

.page-promotions__main-title {
  font-size: clamp(2.2em, 4vw, 3.2em); /* Responsive font size */
  font-weight: 700;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 20px;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.page-promotions__intro-text {
  font-size: 1.1em;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Section Titles */
.page-promotions__section-title {
  font-size: clamp(1.8em, 3.5vw, 2.5em); /* Responsive font size */
  font-weight: 600;
  color: #F2C14E; /* Gold */
  text-align: center;
  margin-bottom: 30px;
  padding-top: 20px;
}

.page-promotions__paragraph {
  font-size: 1em;
  color: #F2FFF6; /* Text Main */
  text-align: left;
  margin-bottom: 25px;
}

/* Cards and Grids */
.page-promotions__features-grid,
.page-promotions__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  margin-top: 30px;
  margin-bottom: 40px;
}

.page-promotions__card {
  background-color: #11271B; /* Card BG */
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  border: 1px solid #2E7A4E; /* Border */
  color: #F2FFF6; /* Text Main */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-promotions__feature-title,
.page-promotions__step-title,
.page-promotions__terms-title,
.page-promotions__category-title {
  font-size: 1.5em;
  color: #57E38D; /* Glow */
  margin-bottom: 15px;
  font-weight: 600;
}

.page-promotions__feature-description,
.page-promotions__step-description,
.page-promotions__terms-description {
  font-size: 0.95em;
  color: #A7D9B8; /* Text Secondary */
}

/* CTA Buttons */
.page-promotions__cta-container {
  text-align: center;
  margin-top: 40px;
  margin-bottom: 20px;
}

.page-promotions__cta-button,
.page-promotions__link-button {
  display: inline-block;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button gradient */
  color: #F2FFF6; /* Text Main */
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1em;
  transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  border: none;
  cursor: pointer;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-promotions__cta-button:hover,
.page-promotions__link-button:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

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

.page-promotions__category-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  text-align: center;
}

.page-promotions__category-image {
  width: 100%;
  height: 250px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px 8px 0 0;
  margin-bottom: 20px;
}

.page-promotions__category-content {
  padding: 0 20px 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-promotions__category-list {
  list-style: none;
  padding: 0;
  margin: 15px 0 25px;
  text-align: left;
}

.page-promotions__category-list li {
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 8px;
  position: relative;
  padding-left: 20px;
}

.page-promotions__category-list li::before {
  content: '✓';
  color: #57E38D; /* Glow */\  position: absolute;
  left: 0;
  top: 0;
}

/* Terms & Conditions */
.page-promotions__terms-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  margin-top: 30px;
  margin-bottom: 40px;
}

.page-promotions__terms-item {
  text-align: left;
}

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

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

.page-promotions__faq-item {
  margin-bottom: 15px;
  border: 1px solid #2E7A4E; /* Border */
  border-radius: 8px;
  overflow: hidden;
  background-color: #11271B; /* Card BG */
}

.page-promotions__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-weight: 600;
  font-size: 1.1em;
  color: #F2FFF6; /* Text Main */
  background-color: #0A4B2C; /* Deep Green */
  border-bottom: 1px solid #1E3A2A; /* Divider */
}

.page-promotions__faq-question:hover {
  background-color: #13994A;
}

.page-promotions__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  color: #57E38D; /* Glow */
  transition: transform 0.3s ease;
}

.page-promotions__faq-item[open] .page-promotions__faq-toggle {
  transform: rotate(45deg);
}

.page-promotions__faq-answer {
  padding: 20px 25px;
  background-color: #11271B; /* Card BG */
  color: #A7D9B8; /* Text Secondary */
  font-size: 0.95em;
  border-top: 1px solid #1E3A2A; /* Divider */
}

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

.page-promotions__image-wrapper {
  text-align: center;
  margin-top: 40px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.page-promotions__faq-image {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  margin: 0 auto;
}

/* Conclusion Section */
.page-promotions__conclusion-section {
  text-align: center;
  padding: 60px 20px;
  background-color: #0A4B2C; /* Deep Green */
}

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

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

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

  /* Images 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__image-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .page-promotions__hero-section {
    padding-top: 10px !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-promotions__hero-content {
    padding: 0 15px;
  }

  /* Buttons responsive */
  .page-promotions__cta-button,
  .page-promotions__btn-primary,
  .page-promotions__btn-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__cta-buttons {
    display: flex;
    flex-direction: column;
  }

  .page-promotions__features-grid,
  .page-promotions__steps-grid,
  .page-promotions__promo-categories,
  .page-promotions__terms-list {
    grid-template-columns: 1fr;
  }

  .page-promotions__category-image {
    height: 200px; /* Adjust height for mobile */
  }

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

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

@media (max-width: 480px) {
  .page-promotions__main-title {
    font-size: clamp(1.8em, 6vw, 2.5em);
  }
  .page-promotions__section-title {
    font-size: clamp(1.4em, 5vw, 2em);
  }
  .page-promotions__cta-button {
    padding: 12px 20px;
    font-size: 1em;
  }
}