/* style/promotions.css */
.page-promotions {
  background-color: #08160F; /* Custom background color */
  color: #F2FFF6; /* Main text color on dark background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-bottom: 40px; /* Add some padding at the bottom */
}

/* Hero Section */
.page-promotions__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column; /* Stacks image above content */
  align-items: center;
  padding: 10px 0 60px 0; /* Small top padding, larger bottom padding */
  text-align: center;
  overflow: hidden; /* Ensure content doesn't overflow */
}

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

.page-promotions__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-promotions__hero-content {
  max-width: 800px;
  margin-top: 40px; /* Space between image and text */
  padding: 0 20px;
}

.page-promotions__main-title {
  font-size: clamp(2em, 4vw, 3.2em); /* Responsive H1 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;
}

/* Video Section */
.page-promotions__video-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 20px 60px 20px; /* Small top padding, larger bottom padding */
  text-align: center;
}

.page-promotions__video-container {
  width: 100%; /* Important for desktop flex container */
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
  background-color: #11271B; /* Card BG */
  padding: 15px;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.page-promotions__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  max-width: 100%;
  width: 100%; /* Ensure full width */
  background: #000;
  border-radius: 8px;
}

.page-promotions__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  display: block; /* Ensure it behaves as a block element */
}

.page-promotions__video-caption {
  margin-top: 20px;
  color: #F2FFF6;
}

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

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

.page-promotions__section-title {
  font-size: 2.5em;
  color: #F2FFF6;
  margin-bottom: 30px;
  font-weight: 600;
}

.page-promotions__text-block {
  font-size: 1.1em;
  color: #A7D9B8;
  max-width: 900px;
  margin: 0 auto 40px auto;
}

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

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

.page-promotions__card-image {
  width: 100%; /* Card images should fill card width */
  max-width: 400px; /* Example max-width for smaller cards */
  min-width: 200px; /* Minimum size for desktop content images */
  min-height: 200px; /* Minimum size for desktop content images */
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
  object-fit: cover;
}

.page-promotions__card-title {
  font-size: 1.6em;
  color: #F2FFF6;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-promotions__card-description {
  color: #A7D9B8;
  font-size: 1em;
  margin-bottom: 25px;
  flex-grow: 1; /* Allows description to take available space */
}

/* List Offers */
.page-promotions__list-offers {
  list-style: none;
  padding: 0;
  max-width: 900px;
  margin: 40px auto;
  text-align: left;
}

.page-promotions__list-item {
  background-color: #11271B; /* Card BG */
  border: 1px solid #2E7A4E; /* Border color */
  border-radius: 8px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.page-promotions__list-title {
  font-size: 1.4em;
  color: #F2FFF6;
  margin-bottom: 10px;
  font-weight: 600;
}

.page-promotions__list-description {
  color: #A7D9B8;
  font-size: 1em;
}

/* Steps List */
.page-promotions__steps-list {
  list-style: none;
  padding: 0;
  max-width: 800px;
  margin: 40px auto;
  text-align: left;
}

.page-promotions__steps-item {
  background-color: #11271B;
  border: 1px solid #2E7A4E;
  border-radius: 8px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.page-promotions__steps-title {
  font-size: 1.4em;
  color: #F2FFF6;
  margin-bottom: 10px;
  font-weight: 600;
}

.page-promotions__steps-item p {
  color: #A7D9B8;
  font-size: 1em;
}

.page-promotions__steps-item a {
  color: #2AD16F; /* Link color from button gradient start */
  text-decoration: underline;
}

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

/* Call to Action Buttons */
.page-promotions__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
  flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
  width: 100%; /* Ensure container takes full width for responsive wrapping */
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.page-promotions__btn-primary,
.page-promotions__btn-secondary {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  cursor: pointer;
  max-width: 100%; /* Ensure buttons are responsive */
  box-sizing: border-box;
  white-space: normal; /* Allow text to wrap */
  word-wrap: break-word; /* Break long words */
}

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

.page-promotions__btn-primary:hover {
  background: linear-gradient(180deg, #57E38D 0%, #2AD16F 100%); /* Lighter gradient on hover */
  box-shadow: 0 0 15px rgba(87, 227, 141, 0.6); /* Glow on hover */
}

.page-promotions__btn-secondary {
  background-color: transparent;
  color: #2AD16F; /* Start of button gradient */
  border: 2px solid #2AD16F; /* Border color */
}

.page-promotions__btn-secondary:hover {
  background-color: #2AD16F; /* Fill with color on hover */
  color: #F2FFF6; /* Text Main */
  border-color: #2AD16F;
  box-shadow: 0 0 15px rgba(42, 209, 111, 0.4);
}

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

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

.page-promotions__faq-item {
  background-color: #11271B; /* Card BG */
  border: 1px solid #2E7A4E; /* Border color */
  border-radius: 8px;
  margin-bottom: 15px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
  overflow: hidden; /* For smooth transition if using max-height */
}

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

.page-promotions__faq-item details > 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;
  font-size: 1.2em;
  font-weight: 600;
  color: #F2FFF6;
  cursor: pointer;
  background-color: #11271B;
  transition: background-color 0.3s ease;
}

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

.page-promotions__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
}

/* Rotate toggle for opened details */
.page-promotions__faq-item[open] .page-promotions__faq-toggle {
  transform: rotate(45deg); /* Plus becomes X */
}

.page-promotions__faq-answer {
  padding: 0 25px 20px 25px;
  color: #A7D9B8;
  font-size: 1em;
  line-height: 1.6;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-promotions__section-title {
    font-size: 2em;
  }
  .page-promotions__card-title {
    font-size: 1.4em;
  }
  .page-promotions__list-title,
  .page-promotions__steps-title {
    font-size: 1.2em;
  }
}

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

  /* Ensure all images are responsive */
  .page-promotions img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  /* Remove min-width/height for content images on mobile to allow full responsiveness */
  .page-promotions__card-image {
    min-width: unset;
    min-height: unset;
  }

  /* Ensure all video elements are responsive */
  .page-promotions video,
  .page-promotions__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  /* Video container responsive */
  .page-promotions__video-section,
  .page-promotions__video-container,
  .page-promotions__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  /* Video section top padding for mobile */
  .page-promotions__video-section {
    padding-top: 10px !important;
  }

  /* Ensure all button elements are 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; /* Make buttons full width on mobile */
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Button containers responsive */
  .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-direction: column !important; /* Stack buttons vertically on mobile */
    gap: 15px; /* Add gap between stacked buttons */
  }

  .page-promotions__hero-section {
    padding-bottom: 40px;
  }
  .page-promotions__hero-content {
    margin-top: 30px;
  }
  .page-promotions__main-title {
    font-size: 2em; /* Adjust H1 for mobile */
    margin-bottom: 15px;
  }
  .page-promotions__description {
    font-size: 1em;
    margin-bottom: 25px;
  }

  .page-promotions__section {
    padding: 40px 15px;
  }
  .page-promotions__container {
    padding: 0; /* Remove horizontal padding, handled by child elements */
  }
  .page-promotions__section-title {
    font-size: 1.8em;
    margin-bottom: 25px;
  }
  .page-promotions__text-block {
    font-size: 0.95em;
    margin-bottom: 30px;
  }

  .page-promotions__card-grid {
    grid-template-columns: 1fr; /* Single column for cards */
    gap: 20px;
  }
  .page-promotions__card {
    padding: 20px;
  }
  .page-promotions__card-image {
    max-width: 100%;
  }
  .page-promotions__card-title {
    font-size: 1.2em;
  }

  .page-promotions__list-item,
  .page-promotions__steps-item {
    padding: 20px;
  }
  .page-promotions__list-title,
  .page-promotions__steps-title {
    font-size: 1.1em;
  }

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