/* style/promo.css */
/* 
  Body background color: #0A0A0A (dark) from shared.css.
  Page content text color should be light, e.g., #FFF6D6.
*/

.page-promo {
  font-family: Arial, sans-serif;
  color: #FFF6D6; /* Text Main */
  line-height: 1.6;
  background-color: #0A0A0A; /* Background */
}

/* Fixed Header Spacing: body handles padding-top, first section uses small padding-top */
.page-promo__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 60px;
  background-color: #0A0A0A;
  overflow: hidden;
}

.page-promo__hero-image-wrapper {
  width: 100%;
  height: auto;
  position: relative;
  z-index: 0;
  margin-bottom: 30px; /* Space between image and text */
}

.page-promo__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  max-width: 100%; /* Ensure responsiveness */
}

.page-promo__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 0 20px;
  color: #FFF6D6;
}

.page-promo__main-title {
  font-size: clamp(2.5rem, 4vw, 3.5rem); /* Responsive H1, avoiding fixed large sizes */
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 15px;
  color: #F2C14E; /* Main Color */
}

.page-promo__hero-description {
  font-size: 1.15rem;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-promo__hero-cta {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

.page-promo__section {
  padding: 80px 0;
  background-color: #0A0A0A;
  border-top: 1px solid #3A2A12; /* Border */
}

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

.page-promo__container--center {
  text-align: center;
}

.page-promo__section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #F2C14E; /* Main Color */
  text-align: center;
  margin-bottom: 20px;
}

.page-promo__section-description {
  font-size: 1.1rem;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: #FFF6D6;
}

.page-promo__content-wrapper {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
}

.page-promo__content-wrapper--reverse {
  flex-direction: row-reverse;
}

.page-promo__text-content {
  flex: 1;
}

.page-promo__image-content {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-promo__image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  object-fit: cover;
  min-width: 200px; /* Minimum image size */
  min-height: 200px; /* Minimum image size */
}

.page-promo__sub-title {
  font-size: 1.8rem;
  font-weight: 600;
  color: #FFD36B; /* Glow Color */
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-promo__paragraph {
  margin-bottom: 15px;
  color: #FFF6D6;
}

.page-promo__paragraph--center {
  text-align: center;
}

.page-promo__list {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
}

.page-promo__list-item {
  position: relative;
  padding-left: 25px;
  margin-bottom: 10px;
  color: #FFF6D6;
}

.page-promo__list-item::before {
  content: '✔️';
  position: absolute;
  left: 0;
  color: #F2C14E; /* Main Color */
}

.page-promo__list--ordered {
  list-style: decimal;
  padding-left: 20px;
}

.page-promo__list--ordered .page-promo__list-item::before {
  content: none;
}

.page-promo__card {
  background-color: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  color: #FFF6D6;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-promo__card-title {
  font-size: 1.5rem;
  color: #F2C14E; /* Main Color */
  margin-bottom: 10px;
}

.page-promo__card-text {
  font-size: 1rem;
  color: #FFF6D6;
}

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

.page-promo__btn-primary,
.page-promo__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  box-sizing: border-box;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text breaking */
  text-align: center;
}

.page-promo__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Button Gradient */
  color: #ffffff;
  border: 2px solid transparent;
}

.page-promo__btn-primary:hover {
  background: linear-gradient(180deg, #DDA11D 0%, #FFD86A 100%);
  box-shadow: 0 0 15px #FFD36B; /* Glow */
}

.page-promo__btn-secondary {
  background-color: transparent;
  color: #F2C14E; /* Main Color */
  border: 2px solid #F2C14E; /* Main Color */
}

.page-promo__btn-secondary:hover {
  background-color: #F2C14E; /* Main Color */
  color: #0A0A0A; /* Background */
  box-shadow: 0 0 15px #F2C14E;
}

.page-promo__btn-block {
  display: block;
  width: 100%;
  max-width: 300px; /* Limit block button width for aesthetics */
  margin: 30px auto 0 auto;
}

.page-promo__text-link {
  color: #FFD36B; /* Glow Color */
  text-decoration: underline;
  transition: color 0.3s ease;
}

.page-promo__text-link:hover {
  color: #F2C14E; /* Main Color */
}

/* FAQ Section */
.page-promo__faq {
  background-color: #0A0A0A;
}

.page-promo__faq-list {
  margin-top: 40px;
  border-top: 1px solid #3A2A12; /* Border */
}

.page-promo__faq-item {
  border-bottom: 1px solid #3A2A12; /* Border */
}

.page-promo__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  cursor: pointer;
  color: #FFF6D6;
  transition: color 0.3s ease;
}

.page-promo__faq-question:hover {
  color: #F2C14E; /* Main Color */
}

.page-promo__faq-title {
  font-size: 1.3rem;
  font-weight: 600;
  margin: 0;
  color: inherit; /* Inherit color from parent for hover effect */
}

.page-promo__faq-toggle {
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1;
  transition: transform 0.3s ease;
  color: #F2C14E; /* Main Color */
}

.page-promo__faq-item.active .page-promo__faq-toggle {
  transform: rotate(45deg);
}

.page-promo__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 15px; /* Adjust padding for visual alignment */
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.page-promo__faq-item.active .page-promo__faq-answer {
  max-height: 1000px !important; /* Use !important to ensure it overrides other styles */
  padding: 15px;
}

.page-promo__faq-answer p {
  margin-bottom: 0; /* Remove default paragraph margin */
  color: #FFF6D6;
}

/* Call to Action at the bottom */
.page-promo__join-cta {
  padding-bottom: 100px;
}

.page-promo__cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  margin-top: 40px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-promo__content-wrapper {
    flex-direction: column;
    text-align: center;
  }

  .page-promo__content-wrapper--reverse {
    flex-direction: column; /* Still column, not row-reverse */
  }

  .page-promo__text-content,
  .page-promo__image-content {
    flex: none;
    width: 100%;
  }

  .page-promo__hero-section {
    padding-bottom: 40px;
  }

  .page-promo__main-title {
    font-size: clamp(2rem, 6vw, 3rem);
  }

  .page-promo__section-title {
    font-size: 2rem;
  }
}

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

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

  .page-promo__section {
    padding: 60px 0;
  }

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

  .page-promo__section-title {
    font-size: 1.8rem;
  }

  .page-promo__sub-title {
    font-size: 1.5rem;
  }

  .page-promo__btn-primary,
  .page-promo__btn-secondary,
  .page-promo a[class*="button"],
  .page-promo 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; /* Add padding for mobile */
    padding-right: 15px; /* Add padding for mobile */
  }
  
  .page-promo__cta-buttons,
  .page-promo__button-group,
  .page-promo__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px; /* Add padding for mobile */
    padding-right: 15px; /* Add padding for mobile */
    flex-direction: column !important; /* Stack buttons vertically */
    gap: 15px;
  }

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

  /* Images responsiveness for mobile */
  .page-promo img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    min-width: unset; /* Allow smaller sizes for mobile if needed, but still > 200px where content images */
    min-height: unset;
  }
  
  .page-promo__section,
  .page-promo__card,
  .page-promo__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px; /* Ensure content has side padding */
    padding-right: 15px; /* Ensure content has side padding */
  }

  .page-promo__faq-title {
    font-size: 1.1rem;
  }

  .page-promo__faq-question {
    padding: 15px 0;
  }

  .page-promo__faq-answer {
    padding: 0 10px;
  }

  .page-promo__faq-item.active .page-promo__faq-answer {
    padding: 10px;
  }
}

@media (max-width: 480px) {
  .page-promo__main-title {
    font-size: clamp(1.5rem, 9vw, 2rem);
  }

  .page-promo__section-title {
    font-size: 1.5rem;
  }
  
  .page-promo__btn-primary,
  .page-promo__btn-secondary {
    padding: 12px 20px;
    font-size: 1rem;
  }
}

/* Ensure no CSS filter changes image colors */
.page-promo img {
  filter: none; /* Explicitly ensure no filter */
}

/* Content area image CSS dimensions lower bound */
.page-promo__image {
  min-width: 200px;
  min-height: 200px;
}
.page-promo__hero-image {
  min-width: unset; /* Hero can be large, no min-size constraint here */
  min-height: unset;
}

/* For image cards, ensure they are not small icons */
.page-promo__features-grid img,
.page-promo__info-grid img,
.page-promo__tips-grid img {
  min-width: 200px; /* Enforce min size for content images in cards */
  min-height: 200px;
  width: 100%; /* Ensure they fill card space */
  height: auto;
}