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

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

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

.page-promo__section-title {
  font-size: 2.8em;
  color: #000000;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-promo__section-intro {
  font-size: 1.1em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #555555;
}

/* Hero Section */
.page-promo__hero-section {
  background-color: #f5f5f5;
  padding: 0;
  position: relative;
  overflow: hidden;
}

.page-promo__hero-container {
  position: relative;
  max-width: 1920px;
  margin: 0 auto;
}

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

.page-promo__hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #FFFFFF;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
  max-width: 90%;
  padding: 20px;
  box-sizing: border-box;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 8px;
}

.page-promo__hero-title {
  font-size: 3.5em;
  margin-bottom: 15px;
  font-weight: 700;
  line-height: 1.2;
}

.page-promo__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-promo__button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.2s ease;
  min-width: 200px;
  text-align: center;
}

.page-promo__button--primary {
  background-color: #FCBC45; /* Login color */
  color: #000000;
  border: 2px solid #FCBC45;
}

.page-promo__button--primary:hover {
  background-color: #e0a53b;
  transform: translateY(-2px);
}

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

.page-promo__button--secondary:hover {
  background-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.page-promo__button--center {
  margin-left: auto;
  margin-right: auto;
  display: block;
  width: fit-content;
}

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

.page-promo__card {
  background-color: #FFFFFF;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: left;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.page-promo__card-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
  border-bottom: 1px solid #e0e0e0;
}

.page-promo__card-title {
  font-size: 1.8em;
  color: #000000;
  padding: 20px 20px 10px;
  font-weight: 600;
}

.page-promo__card-description {
  padding: 0 20px 20px;
  color: #555555;
  flex-grow: 1;
}

.page-promo__card .page-promo__button {
  margin: 0 20px 20px;
  width: calc(100% - 40px);
  background-color: #FCBC45;
  color: #000000;
  border: none;
}

.page-promo__card .page-promo__button:hover {
  background-color: #e0a53b;
}

/* How to Claim Section */
.page-promo__section--how-to-claim {
  background-color: #f9f9f9;
}

.page-promo__claim-steps {
  list-style: none;
  padding: 0;
  margin-top: 50px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
}

.page-promo__step-item {
  background-color: #FFFFFF;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  padding: 30px;
  max-width: 350px;
  text-align: center;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-promo__step-item::before {
  content: attr(data-step-number);
  font-size: 3em;
  font-weight: bold;
  color: #FCBC45;
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #FFFFFF;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.page-promo__step-title {
  font-size: 1.6em;
  color: #000000;
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-promo__step-description {
  color: #555555;
}

/* Details List Section */
.page-promo__details-card-wrapper {
  margin-top: 40px;
  display: flex;
  justify-content: center;
}

.page-promo__details-card {
  background-color: #FFFFFF;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: left;
  display: flex;
  flex-direction: column;
  max-width: 800px;
}

.page-promo__details-card-image {
  width: 100%;
  height: 300px;
  object-fit: cover;
  display: block;
  border-bottom: 1px solid #e0e0e0;
}

.page-promo__details-card-content {
  padding: 20px;
}

.page-promo__details-card-title {
  font-size: 2em;
  color: #000000;
  margin-bottom: 10px;
}

.page-promo__details-card-title a {
  color: #000000;
  text-decoration: none;
}

.page-promo__details-card-title a:hover {
  color: #FCBC45;
}

.page-promo__details-card-description {
  color: #555555;
  margin-bottom: 20px;
}

.page-promo__details-card .page-promo__button {
  background-color: #000000;
  color: #FFFFFF;
  border: none;
  width: auto;
  padding: 12px 25px;
}

.page-promo__details-card .page-promo__button:hover {
  background-color: #333333;
}

/* Terms & Conditions Section */
.page-promo__section--terms-conditions {
  background-color: #f5f5f5;
}

.page-promo__section--terms-conditions .page-promo__button {
  background-color: #000000;
  color: #FFFFFF;
  border: none;
  margin-top: 20px;
}

.page-promo__section--terms-conditions .page-promo__button:hover {
  background-color: #333333;
}

/* CTA Section */
.page-promo__section--cta {
  background-color: #000000;
  color: #FFFFFF;
}

.page-promo__section--cta .page-promo__section-title {
  color: #FFFFFF;
}

.page-promo__section--cta .page-promo__section-intro {
  color: #f0f0f0;
}

.page-promo__section--cta .page-promo__button {
  margin-top: 30px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-promo__hero-title {
    font-size: 2.8em;
  }
  .page-promo__hero-description {
    font-size: 1.1em;
  }
  .page-promo__hero-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-promo__button {
    width: 80%;
    max-width: 300px;
  }
}

@media (max-width: 768px) {
  .page-promo {
    padding-top: var(--header-offset, 80px); /* Adjust for smaller mobile header */
  }
  .page-promo__section-title {
    font-size: 2em;
  }
  .page-promo__section-intro {
    font-size: 1em;
  }
  .page-promo__hero-content {
    padding: 15px;
    max-width: 95%;
  }
  .page-promo__hero-title {
    font-size: 2em;
  }
  .page-promo__hero-description {
    font-size: 0.9em;
  }
  .page-promo__grid {
    grid-template-columns: 1fr;
  }
  .page-promo__card-image {
    height: 200px;
  }
  .page-promo__card-title {
    font-size: 1.5em;
  }
  .page-promo__step-item {
    max-width: 100%;
  }
  .page-promo__details-card {
    flex-direction: column;
  }
  .page-promo__details-card-image {
    height: 250px;
  }
  .page-promo__details-card-title {
    font-size: 1.6em;
  }
  /* Ensure all images within .page-promo are responsive and do not overflow */
  .page-promo img {
    max-width: 100%;
    height: auto;
  }
}

@media (max-width: 480px) {
  .page-promo__hero-title {
    font-size: 1.8em;
  }
  .page-promo__hero-description {
    font-size: 0.85em;
  }
  .page-promo__hero-buttons {
    gap: 10px;
  }
  .page-promo__button {
    padding: 12px 20px;
    font-size: 1em;
    min-width: unset;
  }
  .page-promo__section {
    padding: 40px 0;
  }
  .page-promo__claim-steps {
    gap: 20px;
  }
}