/* style/promotions.css */
.page-promotions {
  color: #ffffff; /* Light text for dark body background */
  background-color: transparent; /* Body background is handled by shared.css */
}

.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: var(--header-offset, 120px); /* Ensure space for fixed header */
  min-height: 600px;
  background: linear-gradient(135deg, #0A2E36 0%, #0d0d0d 100%);
  overflow: hidden;
}

.page-promotions__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin-bottom: 40px;
}

.page-promotions__hero-title {
  font-size: 3.5em;
  font-weight: bold;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #FFD700;
}

.page-promotions__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  line-height: 1.6;
  color: #f0f0f0;
}

.page-promotions__hero-cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-promotions__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  opacity: 0.3;
  overflow: hidden;
}

.page-promotions__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.page-promotions__section {
  padding: 80px 20px;
  background-color: #0d0d0d; /* Dark background for content sections */
  color: #ffffff;
}

.page-promotions__section:nth-of-type(even) {
  background-color: #1a1a1a; /* Slightly lighter dark for alternating sections */
}

.page-promotions__introduction .page-promotions__text-block {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 20px;
}

.page-promotions__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.page-promotions__section-title {
  font-size: 2.5em;
  font-weight: bold;
  text-align: center;
  margin-bottom: 40px;
  color: #FFD700;
}

.page-promotions__text-block {
  font-size: 1.1em;
  line-height: 1.8;
  margin-bottom: 20px;
  color: #f0f0f0;
}

.page-promotions__btn-primary,
.page-promotions__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  white-space: nowrap;
  cursor: pointer;
}

.page-promotions__btn-primary {
  background-color: #FFD700;
  color: #0A2E36;
  border: 2px solid #FFD700;
}

.page-promotions__btn-primary:hover {
  background-color: #e6c200;
  border-color: #e6c200;
}

.page-promotions__btn-secondary {
  background-color: transparent;
  color: #FFD700;
  border: 2px solid #FFD700;
}

.page-promotions__btn-secondary:hover {
  background-color: #FFD700;
  color: #0A2E36;
}

.page-promotions__btn-inline {
    display: block;
    width: fit-content;
    margin: 30px auto 0;
}

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

.page-promotions__card {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

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

.page-promotions__card-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px; /* Enforce min size */
  min-height: 200px; /* Enforce min size */
  object-fit: cover;
}

.page-promotions__card-title {
  font-size: 1.5em;
  font-weight: bold;
  margin-bottom: 15px;
  color: #FFD700;
}

.page-promotions__card-text {
  font-size: 1em;
  line-height: 1.7;
  color: #cccccc;
}

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

.page-promotions__step-item {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.page-promotions__step-icon {
  font-size: 2.5em;
  font-weight: bold;
  color: #FFD700;
  background-color: #0A2E36;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  border: 2px solid #FFD700;
}

.page-promotions__step-title {
  font-size: 1.4em;
  font-weight: bold;
  margin-bottom: 15px;
  color: #FFD700;
}

.page-promotions__step-text {
  font-size: 1em;
  line-height: 1.7;
  color: #cccccc;
}

.page-promotions__process-image {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 50px auto 0;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  min-width: 200px; /* Enforce min size */
  min-height: 200px; /* Enforce min size */
  object-fit: cover;
}

.page-promotions__terms-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-promotions__terms-list li {
  background-color: rgba(255, 255, 255, 0.05);
  border-left: 5px solid #FFD700;
  padding: 25px;
  margin-bottom: 20px;
  border-radius: 8px;
  color: #f0f0f0;
}

.page-promotions__list-title {
  font-size: 1.3em;
  font-weight: bold;
  margin-bottom: 10px;
  color: #FFD700;
}

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

.page-promotions__faq-item {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.page-promotions__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-size: 1.2em;
  font-weight: bold;
  color: #FFD700;
  transition: background-color 0.3s ease;
}

.page-promotions__faq-question:hover {
  background-color: rgba(255, 255, 255, 0.12);
}

.page-promotions__faq-heading {
  margin: 0;
  color: inherit;
}

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

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

.page-promotions__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #cccccc;
  font-size: 1em;
  line-height: 1.7;
}

.page-promotions__faq-item.active .page-promotions__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show content */
  padding: 15px 25px 25px;
}

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

.page-promotions__faq-image {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 50px auto 0;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  min-width: 200px; /* Enforce min size */
  min-height: 200px; /* Enforce min size */
  object-fit: cover;
}

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

/* --- Responsive Styles --- */
@media (max-width: 1024px) {
  .page-promotions__hero-title {
    font-size: 2.8em;
  }
  .page-promotions__hero-description {
    font-size: 1.1em;
  }
  .page-promotions__section-title {
    font-size: 2em;
  }
}

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

  .page-promotions__hero-section {
    padding: 40px 15px;
    padding-top: var(--header-offset, 120px) !important; /* Ensure space for fixed header on mobile */
    min-height: 500px;
  }

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

  .page-promotions__hero-description {
    font-size: 1em;
  }

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

  .page-promotions__btn-primary,
  .page-promotions__btn-secondary {
    width: 100% !important;
    max-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__btn-inline {
      width: 100% !important;
      max-width: 100% !important;
      box-sizing: border-box !important;
  }

  .page-promotions__section {
    padding: 50px 15px;
  }

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

  .page-promotions__text-block {
    font-size: 0.95em;
  }

  .page-promotions__grid-container,
  .page-promotions__steps-container {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-promotions__card,
  .page-promotions__step-item,
  .page-promotions__terms-list li,
  .page-promotions__faq-item {
    padding: 20px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-promotions__card-image,
  .page-promotions__process-image,
  .page-promotions__faq-image,
  .page-promotions img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    min-width: 200px !important; /* Enforce min size */
    min-height: 200px !important; /* Enforce min size */
    box-sizing: border-box !important;
  }

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

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

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

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

@media (max-width: 480px) {
  .page-promotions__hero-title {
    font-size: 1.8em;
  }
  .page-promotions__section-title {
    font-size: 1.5em;
  }
  .page-promotions__hero-cta-buttons {
    flex-direction: column;
  }
}