/* style/promotions.css */
.page-promotions {
  color: #333333; /* Dark text for light body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-top: var(--header-offset, 120px);
}

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

.page-promotions__hero-section {
  position: relative;
  text-align: center;
  color: #ffffff;
  padding: 80px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  min-height: 500px;
  background-color: #007bff; /* Fallback if image not loaded */
}

.page-promotions__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.page-promotions__hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.7); /* Darken image for text readability */
}

.page-promotions__hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.page-promotions__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: #ffc107;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-promotions__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  color: #f0f0f0;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
}

.page-promotions__cta-button {
  display: inline-block;
  background-color: #ffc107;
  color: #007bff;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 1.2em;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-promotions__cta-button:hover {
  background-color: #e0a800;
  transform: translateY(-2px);
}

.page-promotions__section-title {
  font-size: 2.5em;
  color: #007bff;
  text-align: center;
  margin-bottom: 40px;
  margin-top: 60px;
}

.page-promotions__section-intro {
  font-size: 1.1em;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 50px;
  color: #555555;
}

.page-promotions__section-text {
  font-size: 1em;
  text-align: justify;
  max-width: 900px;
  margin: 20px auto 50px;
  color: #555555;
}

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

.page-promotions__promotion-card {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: center;
  padding-bottom: 30px;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-promotions__promotion-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.page-promotions__card-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  margin-bottom: 20px;
}

.page-promotions__card-title {
  font-size: 1.6em;
  color: #007bff;
  margin-bottom: 15px;
  padding: 0 20px;
}

.page-promotions__card-title a {
  color: #007bff;
  text-decoration: none;
}

.page-promotions__card-title a:hover {
  text-decoration: underline;
}

.page-promotions__card-description {
  font-size: 0.95em;
  color: #666666;
  margin-bottom: 25px;
  flex-grow: 1;
  padding: 0 20px;
}

.page-promotions__card-button {
  display: inline-block;
  background-color: #007bff;
  color: #ffffff;
  padding: 10px 25px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-promotions__card-button:hover {
  background-color: #0056b3;
}

.page-promotions__how-to-claim-section, .page-promotions__terms-section, .page-promotions__why-choose-section {
  padding: 60px 0;
  background-color: #f9f9f9;
  margin-top: 40px;
}

.page-promotions__how-to-claim-section .page-promotions__section-title,
.page-promotions__terms-section .page-promotions__section-title,
.page-promotions__why-choose-section .page-promotions__section-title {
  color: #007bff;
}

.page-promotions__claim-steps {
  list-style-type: decimal;
  max-width: 900px;
  margin: 0 auto 50px;
  padding-left: 40px;
  font-size: 1.05em;
  color: #444444;
}

.page-promotions__claim-steps li {
  margin-bottom: 15px;
}

.page-promotions__claim-steps strong {
  color: #007bff;
}

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

.page-promotions__term-item {
  background-color: #ffffff;
  border-left: 5px solid #ffc107;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.page-promotions__term-title {
  font-size: 1.4em;
  color: #007bff;
  margin-bottom: 10px;
}

.page-promotions__term-description {
  font-size: 0.95em;
  color: #666666;
}

.page-promotions__final-note {
  text-align: center;
  font-size: 1.1em;
  margin-top: 40px;
  color: #555555;
}

.page-promotions__final-note a {
  color: #007bff;
  text-decoration: none;
  font-weight: bold;
}

.page-promotions__final-note a:hover {
  text-decoration: underline;
}

.page-promotions__advantages-list {
  list-style-type: none;
  padding: 0;
  max-width: 900px;
  margin: 40px auto 60px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 20px;
}

.page-promotions__advantages-list li {
  background-color: #ffffff;
  padding: 20px 25px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  font-size: 1.05em;
  color: #444444;
  position: relative;
  padding-left: 45px;
}

.page-promotions__advantages-list li::before {
  content: '✔';
  color: #ffc107;
  font-size: 1.2em;
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .page-promotions__hero-title {
    font-size: 2.8em;
  }

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

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

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

@media (max-width: 768px) {
  .page-promotions__hero-section {
    padding: 60px 15px;
    min-height: 400px;
  }

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

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

  .page-promotions__cta-button {
    padding: 12px 25px;
    font-size: 1em;
  }

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

  .page-promotions__section-intro,
  .page-promotions__section-text {
    font-size: 0.95em;
    margin-bottom: 30px;
  }

  .page-promotions__promotions-grid,
  .page-promotions__terms-grid {
    grid-template-columns: 1fr;
  }

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

  .page-promotions__claim-steps,
  .page-promotions__advantages-list {
    padding-left: 20px;
  }

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

  .page-promotions__container img {
    max-width: 100%;
    height: auto;
  }

  /* Ensure all images within content area are responsive */
  .page-promotions__container img {
    max-width: 100%;
    height: auto;
  }

  /* Content area images should not be smaller than 200px */
  .page-promotions img {
    min-width: 200px;
    min-height: 200px;
  }
}

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

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

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

  .page-promotions__claim-steps,
  .page-promotions__advantages-list li {
    font-size: 0.9em;
  }

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