/* style/promo.css */

/* Base styles for the promo page */
.page-promo {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Dark text for light body background */
  background-color: #f4f4f4; /* Inherited from body, explicit for clarity */
  padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
}

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

/* Hero Section */
.page-promo__hero-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  background-color: #0A192F; /* Dark background for hero content */
  color: #ffffff;
  padding: 80px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.page-promo__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  opacity: 0.3;
}

.page-promo__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 20px;
}

.page-promo__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #FFD700; /* Gold for emphasis */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  line-height: 1.2;
}

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

.page-promo__cta-button {
  display: inline-block;
  background-color: #FFD700; /* Gold button */
  color: #0A192F; /* Dark blue text */
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.2s ease;
  border: none;
  cursor: pointer;
  min-width: 200px; /* Ensure button is not too small */
  height: 50px;
  line-height: 20px;
  box-sizing: border-box;
}

.page-promo__cta-button:hover {
  background-color: #e6c200; /* Slightly darker gold on hover */
  transform: translateY(-2px);
}

.page-promo__cta-button--large {
  padding: 20px 40px;
  font-size: 1.3em;
  min-width: 250px;
  height: 60px;
  line-height: 20px;
}

.page-promo__cta-button--centered {
  margin: 40px auto 20px auto;
  display: block;
  width: fit-content;
}

/* General Section Styling */
.page-promo__section-title {
  font-size: 2.5em;
  color: #0A192F; /* Dark blue for main titles */
  text-align: center;
  margin-bottom: 20px;
  margin-top: 60px;
}

.page-promo__section-intro {
  font-size: 1.1em;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px auto;
  line-height: 1.8;
}

/* Why Choose Section */
.page-promo__why-choose-section {
  background-color: #f4f4f4;
  padding: 60px 0;
}

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

.page-promo__feature-item {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease;
}

.page-promo__feature-item:hover {
  transform: translateY(-5px);
}

.page-promo__feature-icon {
  width: 200px; /* Minimum size for content images */
  height: 200px;
  object-fit: contain;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-promo__feature-title {
  font-size: 1.5em;
  color: #0A192F;
  margin-bottom: 10px;
}

.page-promo__feature-description {
  font-size: 0.95em;
  color: #555555;
}

/* Featured Promotions Section */
.page-promo__featured-section {
  background-color: #e0e0e0;
  padding: 60px 0;
}

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

.page-promo__promo-card {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease;
}

.page-promo__promo-card:hover {
  transform: translateY(-5px);
}

.page-promo__promo-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
}

.page-promo__promo-content {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.page-promo__promo-title {
  font-size: 1.6em;
  color: #0A192F;
  margin-bottom: 15px;
  line-height: 1.3;
}

.page-promo__promo-title a {
  color: #0A192F;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-promo__promo-title a:hover {
  color: #FFD700;
}

.page-promo__promo-description {
  font-size: 0.95em;
  color: #555555;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-promo__details-button {
  display: inline-block;
  background-color: #0A192F; /* Dark blue button */
  color: #ffffff;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.9em;
  transition: background-color 0.3s ease;
  margin-top: auto; /* Push button to bottom */
}

.page-promo__details-button:hover {
  background-color: #FFD700;
  color: #0A192F;
}

/* How to Claim Section */
.page-promo__how-to-claim-section {
  background-color: #f4f4f4;
  padding: 60px 0;
}

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

.page-promo__step-item {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  text-align: center;
}

.page-promo__step-icon {
  width: 200px; /* Minimum size for content images */
  height: 200px;
  object-fit: contain;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-promo__step-title {
  font-size: 1.6em;
  color: #FFD700;
  margin-bottom: 10px;
}

.page-promo__step-description {
  font-size: 0.95em;
  color: #555555;
}

.page-promo__cta-wrapper {
  text-align: center;
  margin-top: 50px;
}

/* Terms Section */
.page-promo__terms-section {
  background-color: #e0e0e0;
  padding: 60px 0;
}

.page-promo__terms-list {
  list-style: disc inside;
  max-width: 900px;
  margin: 40px auto 0 auto;
  font-size: 1.05em;
  line-height: 1.8;
  color: #444444;
}

.page-promo__terms-item {
  margin-bottom: 10px;
}

.page-promo__terms-item a {
  color: #0A192F;
  text-decoration: underline;
  font-weight: bold;
}

.page-promo__terms-item a:hover {
  color: #FFD700;
}

/* FAQ Section */
.page-promo__faq-section {
  background-color: #f4f4f4;
  padding: 60px 0;
}

.page-promo__accordion {
  max-width: 900px;
  margin: 40px auto 0 auto;
}

.page-promo__accordion-item {
  margin-bottom: 15px;
  border: 1px solid #cccccc;
  border-radius: 8px;
  overflow: hidden;
  background-color: #ffffff;
}

.page-promo__accordion-header {
  width: 100%;
  background-color: #0A192F; /* Dark blue for accordion header */
  color: #ffffff;
  padding: 18px 25px;
  text-align: left;
  font-size: 1.15em;
  font-weight: bold;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.page-promo__accordion-header::after {
  content: '+';
  font-size: 1.5em;
  transition: transform 0.3s ease;
}

.page-promo__accordion-header.active {
  background-color: #FFD700; /* Gold on active */
  color: #0A192F;
}

.page-promo__accordion-header.active::after {
  content: '-';
  transform: rotate(180deg);
}

.page-promo__accordion-content {
  padding: 0 25px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
}

.page-promo__accordion-content p {
  padding: 15px 0;
  font-size: 1em;
  color: #555555;
}

/* Final CTA Section */
.page-promo__final-cta-section {
  background-color: #0A192F;
  color: #ffffff;
  padding: 80px 0;
  text-align: center;
}

.page-promo__final-cta-section .page-promo__section-title {
  color: #FFD700;
}

.page-promo__final-cta-section .page-promo__section-intro {
  color: #e0e0e0;
  margin-bottom: 50px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-promo__hero-title {
    font-size: 3em;
  }

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

@media (max-width: 768px) {
  .page-promo__hero-title {
    font-size: 2.5em;
  }

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

  .page-promo__cta-button {
    padding: 12px 25px;
    font-size: 1em;
    min-width: 180px;
    height: 45px;
  }

  .page-promo__cta-button--large {
    padding: 15px 30px;
    font-size: 1.1em;
    min-width: 200px;
    height: 50px;
  }

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

  .page-promo__section-intro {
    font-size: 0.95em;
  }

  .page-promo__feature-grid, .page-promo__promo-grid, .page-promo__steps-grid {
    grid-template-columns: 1fr;
  }

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

  .page-promo__feature-icon, .page-promo__step-icon {
    width: 200px;
    height: 200px;
  }

  .page-promo__accordion-header {
    font-size: 1em;
    padding: 15px 20px;
  }

  .page-promo__accordion-content p {
    font-size: 0.95em;
    padding: 10px 0;
  }

  /* Ensure content images do not overflow on mobile */
  .page-promo img {
    max-width: 100%;
    height: auto;
  }

  .page-promo__hero-section {
    padding: 50px 0;
  }
}

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

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

  .page-promo__cta-button {
    padding: 10px 20px;
    font-size: 0.9em;
    min-width: 150px;
    height: 40px;
  }

  .page-promo__cta-button--large {
    padding: 12px 25px;
    font-size: 1em;
    min-width: 180px;
    height: 45px;
  }

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

  .page-promo__section-intro {
    font-size: 0.9em;
  }

  .page-promo__promo-title {
    font-size: 1.4em;
  }

  .page-promo__feature-title, .page-promo__step-title {
    font-size: 1.3em;
  }

  .page-promo__terms-list {
    font-size: 0.9em;
  }

  .page-promo__accordion-header {
    font-size: 0.95em;
    padding: 12px 15px;
  }
}