/* style/promotions.css */

/* BEM Naming Convention: page-promotions__element-name */

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

/* Container for content sections */
.page-promotions__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

/* Section styling */
.page-promotions__section {
  padding: 60px 0;
}

.page-promotions__section-title {
  font-size: 2.8em;
  font-weight: bold;
  color: #F2C14E; /* Gold */
  text-align: center;
  margin-bottom: 40px;
  line-height: 1.2;
}

.page-promotions__sub-title {
  font-size: 1.8em;
  color: #2AD16F;
  text-align: center;
  margin-top: 50px;
  margin-bottom: 25px;
}

.page-promotions__text-block {
  font-size: 1.1em;
  color: #A7D9B8; /* Text Secondary */
  text-align: center;
  max-width: 900px;
  margin: 0 auto 30px auto;
}

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

.page-promotions__hero-image-wrapper {
  width: 100%;
  max-height: 600px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-promotions__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.7); /* Slightly dim the image for text contrast */
}

.page-promotions__hero-content {
  position: relative;
  text-align: center;
  padding: 40px 20px;
  max-width: 900px;
  z-index: 1;
  margin-top: -150px; /* Pull content up over the image slightly */
}

.page-promotions__main-title {
  font-size: 3.5em;
  font-weight: 900;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 20px;
  line-height: 1.1;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-promotions__tagline {
  font-size: 1.4em;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* CTA Button */
.page-promotions__cta-button {
  display: inline-block;
  padding: 15px 35px;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button */
  color: #F2FFF6; /* Text Main */
  font-size: 1.2em;
  font-weight: bold;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  border: none;
  cursor: pointer;
}

.page-promotions__cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  opacity: 0.9;
}

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

.page-promotions__cta-button--secondary {
  background: #1E3A2A; /* Divider */
  color: #F2FFF6;
  border: 1px solid #2E7A4E; /* Border */
}

.page-promotions__cta-button--secondary:hover {
  background: #2E7A4E;
}

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

.page-promotions__content-image {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  margin: 40px auto;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
  object-fit: cover;
}

.page-promotions__content-image--center {
  margin-left: auto;
  margin-right: auto;
}

/* Featured Offers Section */
.page-promotions__featured-offers-section {
  background-color: #08160F; /* Background */
  color: #F2FFF6;
}

.page-promotions__dark-section {
  background-color: #11271B; /* Card BG */
  color: #F2FFF6;
}

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

.page-promotions__offer-card {
  background-color: #0A4B2C; /* Deep Green */
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 1px solid #2E7A4E; /* Border */
}

.page-promotions__offer-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6);
}

.page-promotions__card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 25px;
  filter: saturate(1.1) brightness(0.9);
}

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

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

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

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

.page-promotions__step-card {
  background-color: #08160F; /* Background */
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid #1E3A2A; /* Divider */
}

.page-promotions__step-icon {
  font-size: 2.5em;
  font-weight: bold;
  color: #F2C14E; /* Gold */
  margin-bottom: 20px;
  background-color: #1E3A2A;
  border-radius: 50%;
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px auto;
  border: 2px solid #57E38D; /* Glow */
}

.page-promotions__step-title {
  font-size: 1.4em;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 15px;
  font-weight: bold;
}

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

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

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

.page-promotions__terms-list li {
  background-color: #0A4B2C; /* Deep Green */
  border: 1px solid #1E3A2A; /* Divider */
  padding: 15px 20px;
  margin-bottom: 15px;
  border-radius: 8px;
  font-size: 1.05em;
  color: #F2FFF6; /* Text Main */
  position: relative;
  padding-left: 40px;
}

.page-promotions__terms-list li::before {
  content: '✓';
  color: #57E38D; /* Glow */
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  font-weight: bold;
}

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

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

.page-promotions__faq-item {
  background-color: #08160F; /* Background */
  border: 1px solid #1E3A2A; /* Divider */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #F2FFF6;
}

.page-promotions__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: bold;
  cursor: pointer;
  background-color: #11271B; /* Card BG */
  color: #F2C14E; /* Gold */
  transition: background-color 0.3s ease;
  list-style: none; /* For details/summary */
}

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

.page-promotions__faq-question:hover {
  background-color: #1E3A2A; /* Divider */
}

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

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

.page-promotions__faq-answer {
  padding: 15px 25px;
  font-size: 1.05em;
  color: #A7D9B8; /* Text Secondary */
  line-height: 1.6;
  background-color: #08160F;
}

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

/* CTA Bottom Section */
.page-promotions__cta-bottom-section {
  background-color: #11271B; /* Card BG */
  text-align: center;
  padding: 80px 0;
}

.page-promotions__cta-bottom-content {
  max-width: 800px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-promotions__main-title {
    font-size: 3em;
  }

  .page-promotions__section-title {
    font-size: 2.2em;
  }

  .page-promotions__sub-title {
    font-size: 1.6em;
  }

  .page-promotions__offer-card, .page-promotions__step-card {
    padding: 25px;
  }
}

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

  .page-promotions__hero-section {
    padding-top: 10px !important;
    padding-bottom: 40px;
  }

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

  .page-promotions__main-title {
    font-size: 2.2em;
    margin-bottom: 15px;
  }

  .page-promotions__tagline {
    font-size: 1.1em;
    margin-bottom: 30px;
  }

  .page-promotions__cta-button {
    padding: 12px 25px;
    font-size: 1.1em;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-promotions__cta-button--small {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-promotions__section {
    padding: 40px 0;
  }

  .page-promotions__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }

  .page-promotions__sub-title {
    font-size: 1.4em;
    margin-top: 30px;
    margin-bottom: 20px;
  }

  .page-promotions__text-block {
    font-size: 1em;
    margin-bottom: 20px;
  }

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

  .page-promotions__offers-grid,
  .page-promotions__steps-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 30px;
  }

  .page-promotions__offer-card,
  .page-promotions__step-card {
    padding: 20px;
  }

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

  .page-promotions__card-title {
    font-size: 1.4em;
  }

  .page-promotions__card-description {
    font-size: 0.9em;
  }

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

  .page-promotions__terms-list li {
    font-size: 0.95em;
    padding: 12px 15px 12px 35px;
  }

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

  .page-promotions__faq-answer {
    font-size: 0.95em;
    padding: 10px 20px;
  }

  /* Image responsive rules */
  .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 {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .page-promotions__hero-image {
    filter: brightness(0.6) !important; /* Adjust brightness more for mobile text contrast */
  }

  .page-promotions__hero-content {
    margin-top: -80px; /* Adjust for smaller screens */
  }
}

@media (max-width: 480px) {
  .page-promotions__main-title {
    font-size: 1.8em;
  }

  .page-promotions__tagline {
    font-size: 1em;
  }

  .page-promotions__section-title {
    font-size: 1.5em;
  }

  .page-promotions__cta-button {
    font-size: 1em;
    padding: 10px 20px;
  }
}