/* style/promotions.css */

/* General styles for the promotions page */
.page-promotions {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #F2FFF6; /* Text Main */
  background-color: #08160F; /* Background */
}

/* 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 */
  overflow: hidden;
}

.page-promotions__hero-image {
  width: 100%;
  height: auto;
  display: block;
  max-width: 1920px; /* Max width for large screens */
  margin-bottom: 30px; /* Space between image and content */
  border-radius: 10px;
  object-fit: cover;
}

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

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

.page-promotions__description {
  font-size: 1.1em;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 30px;
}

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

/* Buttons */
.page-promotions__btn-primary,
.page-promotions__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-promotions__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button color */
  color: #ffffff;
  border: 2px solid transparent;
}

.page-promotions__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  box-shadow: 0 5px 15px rgba(42, 209, 111, 0.4);
}

.page-promotions__btn-secondary {
  background: transparent;
  color: #2AD16F; /* Button color */
  border: 2px solid #2AD16F; /* Button color for border */
}

.page-promotions__btn-secondary:hover {
  background: #2AD16F;
  color: #ffffff;
}

.page-promotions__btn-small {
  padding: 8px 18px;
  font-size: 0.9em;
}

.page-promotions__btn-large {
  padding: 15px 30px;
  font-size: 1.1em;
}

/* Sections */
.page-promotions__section {
  padding: 80px 20px;
  text-align: center;
}

.page-promotions__section-title {
  font-size: clamp(1.8em, 3.5vw, 2.8em);
  color: #F2FFF6; /* Text Main */
  margin-bottom: 20px;
  font-weight: 700;
}

.page-promotions__section-title--light {
  color: #F2FFF6; /* Text Main */
}

.page-promotions__text-block {
  max-width: 800px;
  margin: 0 auto 40px auto;
  font-size: 1em;
  color: #A7D9B8; /* Text Secondary */
}

.page-promotions__container {
  width: 100%; /* Ensure container takes full width on desktop too */
  max-width: 1200px;
  margin: 0 auto;
}

/* Why Choose Us Section */
.page-promotions__why-choose-us {
  background-color: #0A4B2C; /* Deep Green */
}

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

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

.page-promotions__feature-icon {
  width: 100%;
  max-width: 250px; /* Adjust size as needed for content images */
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
  object-fit: cover;
  min-width: 200px;
  min-height: 200px;
}

.page-promotions__feature-title {
  font-size: 1.5em;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 15px;
  font-weight: 600;
}

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

/* Hot Promotions Section */
.page-promotions__hot-promotions {
  background-color: #08160F; /* Background */
}

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

.page-promotions__promotion-card {
  background-color: #11271B; /* Card BG */
  border-radius: 12px;
  overflow: hidden;
  text-align: left;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  border: 1px solid #2E7A4E; /* Border */
  display: flex;
  flex-direction: column;
}

.page-promotions__promotion-image {
  width: 100%;
  height: 220px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
  min-width: 200px;
  min-height: 200px;
}

.page-promotions__promotion-content {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.page-promotions__promotion-title {
  font-size: 1.4em;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 10px;
  font-weight: 600;
}

.page-promotions__promotion-description {
  color: #A7D9B8; /* Text Secondary */
  font-size: 0.9em;
  margin-bottom: 20px;
  flex-grow: 1;
}

/* How to Participate Section */
.page-promotions__how-to-participate {
  background-color: #0A4B2C; /* Deep Green */
}

.page-promotions__steps-list {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
  max-width: 1000px;
}

.page-promotions__step-item {
  background-color: #11271B; /* Card BG */
  padding: 30px;
  border-radius: 12px;
  text-align: left;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  border: 1px solid #2E7A4E; /* Border */
}

.page-promotions__step-title {
  font-size: 1.3em;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 10px;
  font-weight: 600;
}

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

.page-promotions__step-description a {
  color: #2AD16F; /* Highlight links with button color */
  text-decoration: underline;
}

.page-promotions__step-description a:hover {
  color: #57E38D; /* Glow */
}

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

/* Terms & Conditions Section */
.page-promotions__terms-conditions {
  background-color: #08160F; /* Background */
}

.page-promotions__terms-list {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 800px;
  text-align: left;
  margin-top: 40px;
}

.page-promotions__term-item {
  background-color: #11271B; /* Card BG */
  padding: 15px 20px;
  border-radius: 8px;
  margin-bottom: 15px;
  color: #A7D9B8; /* Text Secondary */
  font-size: 0.95em;
  border: 1px solid #2E7A4E; /* Border */
}

.page-promotions__term-item strong {
  color: #F2FFF6; /* Text Main */
}

/* FAQ Section */
.page-promotions__faq-section {
  background-color: #0A4B2C; /* Deep Green */
}

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

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

.page-promotions__faq-item summary {
  list-style: none; /* Hide default marker */
}

.page-promotions__faq-item summary::-webkit-details-marker {
  display: none; /* Hide default marker for webkit browsers */
}

.page-promotions__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-size: 1.1em;
  font-weight: 600;
  color: #F2FFF6; /* Text Main */
}

.page-promotions__faq-question:hover {
  background-color: rgba(46, 122, 78, 0.2); /* Border color with opacity */
  border-radius: 12px;
}

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

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

.page-promotions__faq-answer {
  padding: 0 25px 20px 25px;
  color: #A7D9B8; /* Text Secondary */
  font-size: 0.95em;
}

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

.page-promotions__faq-answer strong {
  color: #F2FFF6; /* Text Main */
}

/* CTA Bottom Section */
.page-promotions__cta-bottom {
  background-color: #08160F; /* Background */
  padding: 80px 20px;
}

.page-promotions__cta-bottom .page-promotions__container {
  background-color: #11271B; /* Card BG - Darker background for contrast */
  padding: 50px 30px;
  border-radius: 15px;
  border: 2px solid #2E7A4E; /* Border */
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-promotions__hero-section {
    padding: 40px 15px;
    padding-top: 10px;
  }
  .page-promotions__section {
    padding: 60px 15px;
  }
}

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

  /* Hero Section */
  .page-promotions__hero-section {
    padding: 30px 15px !important;
    padding-top: 10px !important;
  }
  .page-promotions__hero-image {
    margin-bottom: 20px;
  }
  .page-promotions__main-title {
    font-size: 2em;
  }
  .page-promotions__description {
    font-size: 1em;
  }
  .page-promotions__cta-buttons {
    flex-direction: column;
    gap: 10px;
  }
  .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;
  }

  /* Sections */
  .page-promotions__section {
    padding: 40px 15px !important;
  }
  .page-promotions__section-title {
    font-size: 1.8em;
  }
  .page-promotions__text-block {
    margin-bottom: 30px;
  }

  /* Grids */
  .page-promotions__features-grid,
  .page-promotions__promotions-grid,
  .page-promotions__steps-list {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  /* Cards */
  .page-promotions__feature-item,
  .page-promotions__promotion-card,
  .page-promotions__step-item,
  .page-promotions__faq-item {
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1); /* Enhance readability */
  }

  .page-promotions__promotion-image {
    height: 180px; /* Adjust height for smaller screens */
  }

  /* Image responsiveness for all images */
  .page-promotions img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  /* Container responsiveness for images and other content */
  .page-promotions__section,
  .page-promotions__card,
  .page-promotions__container,
  .page-promotions__hero-section,
  .page-promotions__hero-content,
  .page-promotions__cta-buttons,
  .page-promotions__features-grid,
  .page-promotions__promotions-grid,
  .page-promotions__steps-list,
  .page-promotions__terms-list,
  .page-promotions__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden !important; /* Prevent horizontal scroll */
  }

  /* Remove explicit padding from container if section already has it */
  .page-promotions__section > .page-promotions__container {
    padding-left: 0;
    padding-right: 0;
  }

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

  .page-promotions__cta-bottom .page-promotions__container {
    padding: 40px 20px;
  }
}

/* No filter property for images */
.page-promotions img {
  filter: none;
}