/* style/promotions.css */
.page-promotions {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: #1a1a1a; /* Ensure consistency with body background */
}

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

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

.page-promotions__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  text-align: justify;
}

.page-promotions__btn-primary,
.page-promotions__btn-secondary,
.page-promotions__btn-tertiary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  text-align: center;
  cursor: pointer;
}

.page-promotions__btn-primary {
  background-color: #26A9E0;
  color: #ffffff;
  border: 2px solid #26A9E0;
}

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

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

.page-promotions__btn-secondary:hover {
  background-color: #26A9E0;
  color: #ffffff;
}

.page-promotions__btn-tertiary {
  background-color: #EA7C07;
  color: #ffffff;
  border: 2px solid #EA7C07;
}

.page-promotions__btn-tertiary:hover {
  background-color: #c96506;
  border-color: #c96506;
}

.page-promotions__btn-large {
  padding: 15px 35px;
  font-size: 1.2em;
}

/* Hero Section */
.page-promotions__hero-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 80px 20px;
  padding-top: var(--header-offset, 120px); /* Account for fixed header */
  min-height: 600px;
  background-color: #1a1a1a; /* Dark background from body */
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.page-promotions__hero-content {
  flex: 1;
  max-width: 60%;
  padding-right: 40px;
  z-index: 1;
}

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

.page-promotions__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  line-height: 1.5;
}

.page-promotions__hero-actions {
  display: flex;
  gap: 20px;
}

.page-promotions__hero-image-wrapper {
  flex: 1;
  max-width: 40%;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1;
}

.page-promotions__hero-image {
  max-width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  min-width: 200px;
  min-height: 200px;
}

/* Intro Section */
.page-promotions__intro-section {
  padding: 80px 20px;
  background-color: #f0f2f5; /* Light background for contrast */
  color: #333333;
}

.page-promotions__intro-section .page-promotions__section-title {
  color: #000000;
}

.page-promotions__intro-section .page-promotions__text-block {
  color: #333333;
}

/* Types Section */
.page-promotions__types-section {
  padding: 80px 20px;
  background-color: #1a1a1a; /* Dark background */
  color: #ffffff;
}

.page-promotions__types-section .page-promotions__section-title {
  color: #26A9E0;
}

.page-promotions__types-section .page-promotions__text-block {
  color: #f0f0f0;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px auto;
}

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

.page-promotions__card {
  background-color: rgba(255, 255, 255, 0.08); /* Slightly lighter on dark bg */
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  min-height: 450px;
  color: #ffffff;
}

.page-promotions__card-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px;
  min-height: 200px;
}

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

.page-promotions__card-description {
  font-size: 1em;
  color: #f0f0f0;
  margin-bottom: 25px;
  flex-grow: 1;
}

/* Featured Section */
.page-promotions__featured-section {
  padding: 80px 20px;
  background-color: #f0f2f5; /* Light background */
  color: #333333;
}

.page-promotions__featured-section .page-promotions__section-title {
  color: #000000;
}

.page-promotions__featured-section .page-promotions__text-block {
  color: #333333;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 60px auto;
}

.page-promotions__feature-card-large {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-bottom: 70px;
  background-color: #ffffff;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  padding: 40px;
}

.page-promotions__feature-card-large:last-child {
  margin-bottom: 0;
}

.page-promotions__feature-card-reverse {
  flex-direction: row-reverse;
}

.page-promotions__feature-text {
  flex: 1;
}

.page-promotions__feature-title {
  font-size: 2.2em;
  color: #26A9E0;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-promotions__feature-description {
  font-size: 1.1em;
  color: #555555;
  margin-bottom: 25px;
}

.page-promotions__feature-list {
  list-style: none;
  padding-left: 0;
  margin-bottom: 30px;
}

.page-promotions__feature-list li {
  margin-bottom: 10px;
  font-size: 1.05em;
  color: #333333;
  position: relative;
  padding-left: 25px;
}

.page-promotions__feature-list li::before {
  content: '✔';
  color: #26A9E0;
  position: absolute;
  left: 0;
  top: 0;
}

.page-promotions__list-highlight {
  color: #000000;
}

.page-promotions__feature-image-wrapper {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-promotions__feature-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
  min-width: 200px;
  min-height: 200px;
}

.page-promotions__action-group {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

/* Guide Section */
.page-promotions__guide-section {
  padding: 80px 20px;
  background-color: #1a1a1a; /* Dark background */
  color: #ffffff;
}

.page-promotions__guide-section .page-promotions__section-title {
  color: #26A9E0;
}

.page-promotions__guide-section .page-promotions__text-block {
  color: #f0f0f0;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 60px auto;
}

.page-promotions__guide-list {
  list-style: none;
  padding-left: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-promotions__guide-item {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  color: #ffffff;
}

.page-promotions__guide-step-title {
  font-size: 1.5em;
  color: #26A9E0;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-promotions__guide-item p {
  color: #f0f0f0;
}

.page-promotions__guide-item a {
  color: #EA7C07;
  text-decoration: underline;
}

.page-promotions__guide-item a:hover {
  color: #ff9900;
}

.page-promotions__cta-bottom {
  text-align: center;
  margin-top: 60px;
}

/* Terms Section */
.page-promotions__terms-section {
  padding: 80px 20px;
  background-color: #f0f2f5; /* Light background */
  color: #333333;
}

.page-promotions__terms-section .page-promotions__section-title {
  color: #000000;
}

.page-promotions__terms-section .page-promotions__text-block {
  color: #333333;
}

.page-promotions__terms-list {
  list-style: disc;
  padding-left: 25px;
  color: #333333;
}

.page-promotions__terms-list li {
  margin-bottom: 10px;
  font-size: 1.05em;
}

/* FAQ Section */
.page-promotions__faq-section {
  padding: 80px 20px;
  background-color: #1a1a1a; /* Dark background */
  color: #ffffff;
}

.page-promotions__faq-section .page-promotions__section-title {
  color: #26A9E0;
}

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

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

.page-promotions__faq-item summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-size: 1.2em;
  font-weight: bold;
  color: #ffffff;
  position: relative;
  -webkit-touch-callout: none; /* iOS Safari */
  -webkit-user-select: none;   /* Safari */
  -khtml-user-select: none;    /* Konqueror HTML */
  -moz-user-select: none;      /* Old versions of Firefox */
  -ms-user-select: none;       /* Internet Explorer/Edge */
  user-select: none;           /* Non-prefixed version, currently supported by Chrome, Edge, Opera and Firefox */
}

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

.page-promotions__faq-qtext {
  flex-grow: 1;
  color: #26A9E0;
}

.page-promotions__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  color: #EA7C07;
}

.page-promotions__faq-answer {
  padding: 0 25px 20px 25px;
  font-size: 1.05em;
  color: #f0f0f0;
  line-height: 1.5;
}

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

/* Final CTA Section */
.page-promotions__cta-final {
  padding: 80px 20px;
  text-align: center;
  background-color: #1a1a1a; /* Dark background */
  color: #ffffff;
}

.page-promotions__cta-final .page-promotions__section-title {
  color: #26A9E0;
}

.page-promotions__cta-final .page-promotions__text-block {
  color: #f0f0f0;
  max-width: 900px;
  margin: 0 auto 40px auto;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-promotions__hero-section {
    flex-direction: column;
    text-align: center;
    padding: 60px 20px;
  }

  .page-promotions__hero-content {
    max-width: 100%;
    padding-right: 0;
    margin-bottom: 40px;
  }

  .page-promotions__hero-image-wrapper {
    max-width: 80%;
  }

  .page-promotions__hero-actions {
    justify-content: center;
  }

  .page-promotions__feature-card-large {
    flex-direction: column;
    gap: 30px;
    padding: 30px;
  }

  .page-promotions__feature-card-reverse {
    flex-direction: column;
  }

  .page-promotions__feature-title {
    font-size: 1.8em;
  }

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

  .page-promotions__card-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }

  .page-promotions__guide-list {
    grid-template-columns: 1fr;
  }
}

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

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

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

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

  .page-promotions__btn-primary,
  .page-promotions__btn-secondary,
  .page-promotions__btn-tertiary,
  .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;
  }

  .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-wrap: wrap !important;
    gap: 10px;
    display: flex;
    flex-direction: column; /* Ensure vertical stacking for buttons */
  }

  .page-promotions__hero-section,
  .page-promotions__intro-section,
  .page-promotions__types-section,
  .page-promotions__featured-section,
  .page-promotions__guide-section,
  .page-promotions__terms-section,
  .page-promotions__faq-section,
  .page-promotions__cta-final {
    padding: 40px 15px;
  }

  .page-promotions__container {
    padding: 0 15px;
  }

  .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-section,
  .page-promotions__feature-card-large,
  .page-promotions__guide-item,
  .page-promotions__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .page-promotions__hero-section {
    padding-top: var(--header-offset, 120px) !important; /* Fixed header offset for mobile hero */
  }

  .page-promotions__hero-content,
  .page-promotions__hero-image-wrapper {
    max-width: 100%;
  }

  .page-promotions__feature-card-large {
    padding: 20px;
  }

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

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

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

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

  .page-promotions__cta-final .page-promotions__btn-large {
    font-size: 1.1em;
    padding: 12px 25px;
  }
}

/* Ensure min-width for all images in content area */
.page-promotions img {
  min-width: 200px;
  min-height: 200px;
  object-fit: cover; /* Ensure images fill their space without distortion */
}

/* Specific overrides for mobile to ensure padding for text blocks */
@media (max-width: 768px) {
  .page-promotions__text-block {
    padding: 0 5px; /* Adjust padding for text blocks within containers */
  }
  .page-promotions__card {
    padding: 20px;
  }
  .page-promotions__guide-item {
    padding: 20px;
  }
  .page-promotions__feature-card-large {
    padding: 20px;
  }
  .page-promotions__faq-item {
    padding: 0;
  }
  .page-promotions__faq-item summary {
    padding-left: 20px;
    padding-right: 20px;
  }
  .page-promotions__faq-answer {
    padding-left: 20px;
    padding-right: 20px;
  }
}