/* style/promotions.css */

/* Base styles for the page, ensuring text contrast with the dark body background */
.page-promotions {
  color: #F3F8FF; /* Text Main */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

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

.page-promotions__section-title {
  font-size: 2.5em;
  font-weight: bold;
  color: #F3F8FF; /* Text Main */
  text-align: center;
  margin-bottom: 30px;
  line-height: 1.2;
}

.page-promotions__description,
.page-promotions__text-block {
  font-size: 1.1em;
  color: #AFC4E8; /* Text Secondary */
  text-align: center;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Buttons */
.page-promotions__btn-primary,
.page-promotions__card-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%); /* Button color */
  color: #F3F8FF; /* Text Main */
  font-weight: bold;
  text-decoration: none;
  transition: background 0.3s ease;
  border: none;
  cursor: pointer;
  text-align: center;
  box-sizing: border-box;
}

.page-promotions__btn-primary:hover,
.page-promotions__card-button:hover {
  background: linear-gradient(180deg, #1144A6 0%, #2B73F6 100%);
}

.page-promotions__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  background: transparent;
  color: #F3F8FF; /* Text Main */
  border: 2px solid #2B73F6;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  box-sizing: border-box;
}

.page-promotions__btn-secondary:hover {
  background: #2B73F6;
  color: #F3F8FF;
}

/* Hero Section */
.page-promotions__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 20px;
  padding-top: 10px; /* body already handles --header-offset, this is a small decorative top padding */
  background-color: #08162B; /* Deep Navy as fallback */
}

.page-promotions__hero-image-container {
  width: 100%;
  max-width: 100%; /* Ensure it takes full width initially */
  margin-bottom: 30px;
}

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

.page-promotions__hero-content {
  text-align: center;
  max-width: 900px;
  position: relative; /* For z-index if needed, but no overlay */
  z-index: 1;
}

.page-promotions__main-title {
  font-size: clamp(2em, 4vw, 3.5em); /* Responsive font size */
  font-weight: 900;
  color: #F3F8FF; /* Text Main */
  margin-bottom: 15px;
  line-height: 1.2;
}

.page-promotions__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 30px;
  flex-wrap: wrap;
}

/* Why Choose Section */
.page-promotions__why-choose-section {
  background-color: #08162B; /* Deep Navy */
  padding: 60px 0;
}

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

.page-promotions__feature-item {
  background: #10233F; /* Card BG */
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  border: 1px solid #244D84; /* Border color */
}

.page-promotions__feature-title {
  font-size: 1.5em;
  color: #F3F8FF; /* Text Main */
  margin-bottom: 15px;
}

.page-promotions__feature-description {
  color: #AFC4E8; /* Text Secondary */
  font-size: 1em;
}

/* Types of Promotions Section */
.page-promotions__types-section {
  background-color: #113B7A; /* Main color */
  padding: 60px 0;
}

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

.page-promotions__promotion-card {
  background: #10233F; /* Card BG */
  border-radius: 10px;
  overflow: hidden;
  text-align: center;
  border: 1px solid #244D84; /* Border color */
  display: flex;
  flex-direction: column;
}

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

.page-promotions__card-title {
  font-size: 1.4em;
  color: #F3F8FF; /* Text Main */
  margin: 15px 10px 5px;
  flex-grow: 1;
}

.page-promotions__card-description {
  color: #AFC4E8; /* Text Secondary */
  margin: 0 15px 20px;
  line-height: 1.5;
  flex-grow: 1;
}

.page-promotions__card-button {
  margin: 0 15px 20px;
}

/* How to Claim Section */
.page-promotions__how-to-claim-section {
  background-color: #08162B; /* Deep Navy */
  padding: 60px 0;
}

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

.page-promotions__step-item {
  background: #10233F; /* Card BG */
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  border: 1px solid #244D84; /* Border color */
}

.page-promotions__step-title {
  font-size: 1.5em;
  color: #F3F8FF; /* Text Main */
  margin-bottom: 15px;
}

.page-promotions__step-description {
  color: #AFC4E8; /* Text Secondary */
  font-size: 1em;
}

.page-promotions__step-description a {
  color: #4FA8FF; /* Glow color for links */
  text-decoration: none;
  font-weight: bold;
}

.page-promotions__step-description a:hover {
  text-decoration: underline;
}

/* Terms and Conditions Section */
.page-promotions__terms-conditions-section {
  background-color: #113B7A; /* Main color */
  padding: 60px 0;
}

/* CTA Bottom Section */
.page-promotions__cta-bottom-section {
  background-color: #08162B; /* Deep Navy */
  padding: 60px 0;
  text-align: center;
}

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

  .page-promotions__container {
    padding-left: 15px !important;
    padding-right: 15px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-promotions__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important; /* body already handles --header-offset, this is small decorative */
  }

  .page-promotions__main-title {
    font-size: clamp(1.8em, 7vw, 2.5em);
  }

  .page-promotions__description,
  .page-promotions__text-block {
    font-size: 1em;
    margin-bottom: 20px;
  }

  .page-promotions__cta-buttons {
    flex-direction: column !important;
    gap: 15px;
    width: 100%;
  }

  .page-promotions__btn-primary,
  .page-promotions__btn-secondary,
  .page-promotions__card-button,
  .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: 12px 20px;
  }

  /* Image responsiveness */
  .page-promotions img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-promotions__hero-image-container,
  .page-promotions__promotion-card,
  .page-promotions__feature-item,
  .page-promotions__step-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important; /* Ensure no overflow */
  }

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

  .page-promotions__feature-title,
  .page-promotions__card-title,
  .page-promotions__step-title {
    font-size: 1.3em;
  }
}