/* style/promotions.css */

/* Base styles for the promotions page */
.page-promotions {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark background */
  background-color: var(--dark-bg); /* Inherit from shared.css */
}

.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: #FFCC00; /* Accent color for titles */
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-promotions__section-description {
  font-size: 1.1em;
  color: #f0f0f0; /* Slightly lighter text for descriptions */
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Hero Section */
.page-promotions__hero-section {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 600px;
  padding: 60px 0;
  padding-top: 0; /* Assuming shared.css handles body padding-top */
  background: linear-gradient(135deg, #003366, #001a33);
  position: relative;
  overflow: hidden;
}

.page-promotions__hero-section .page-promotions__container {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 40px;
  position: relative;
  z-index: 2;
}

.page-promotions__hero-content {
  flex: 1;
  text-align: left;
}

.page-promotions__main-title {
  font-size: 3.5em;
  color: #FFCC00;
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: bold;
}

.page-promotions__intro-text {
  font-size: 1.3em;
  color: #e0e0e0;
  margin-bottom: 30px;
}

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

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

/* Buttons */
.page-promotions__btn-primary,
.page-promotions__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  text-align: center;
  cursor: pointer;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-promotions__btn-primary {
  background-color: #FFCC00;
  color: #003366;
  border: 2px solid #FFCC00;
}

.page-promotions__btn-primary:hover {
  background-color: #e6b800;
  border-color: #e6b800;
  transform: translateY(-2px);
}

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

.page-promotions__btn-secondary:hover {
  background-color: #FFCC00;
  color: #003366;
  transform: translateY(-2px);
}

.page-promotions__btn-centered {
  display: block;
  margin: 40px auto 0 auto;
  max-width: 300px;
}

.page-promotions__btn-large {
  font-size: 1.2em;
  padding: 18px 35px;
  max-width: 400px;
}

/* Categories Section */
.page-promotions__categories-section {
  padding: 80px 0;
  background-color: #f8f9fa;
  color: #333333; /* Dark text for light background */
}

.page-promotions__categories-section .page-promotions__section-title,
.page-promotions__categories-section .page-promotions__section-description {
  color: #003366;
}

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

.page-promotions__category-card {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: center;
  padding-bottom: 20px;
  transition: transform 0.3s ease;
}

.page-promotions__category-card:hover {
  transform: translateY(-10px);
}

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

.page-promotions__card-title {
  font-size: 1.5em;
  color: #003366;
  margin: 20px 15px 10px 15px;
  min-height: 50px;
}

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

.page-promotions__card-title a:hover {
  color: #FFCC00;
}

.page-promotions__card-text {
  color: #555555;
  padding: 0 15px;
  margin-bottom: 20px;
  min-height: 80px;
}

/* Featured Promotions Section */
.page-promotions__featured-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #001a33, #003366);
}

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

.page-promotions__promo-card {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease;
}

.page-promotions__promo-card:hover {
  transform: translateY(-10px);
}

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

.page-promotions__promo-content {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-promotions__promo-title {
  font-size: 1.8em;
  color: #FFCC00;
  margin-bottom: 15px;
  line-height: 1.3;
}

.page-promotions__promo-title a {
  color: #FFCC00;
  text-decoration: none;
}

.page-promotions__promo-title a:hover {
  color: #ffffff;
}

.page-promotions__promo-text {
  color: #cccccc;
  margin-bottom: 20px;
  flex-grow: 1;
}

/* How to Claim Section */
.page-promotions__how-to-claim-section {
  padding: 80px 0;
  background-color: #f8f9fa;
  color: #333333;
}

.page-promotions__how-to-claim-section .page-promotions__section-title,
.page-promotions__how-to-claim-section .page-promotions__section-description {
  color: #003366;
}

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

.page-promotions__step-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  background-color: #ffffff;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
}

.page-promotions__step-number {
  font-size: 2.5em;
  font-weight: bold;
  color: #FFCC00;
  line-height: 1;
}

.page-promotions__step-content h3 {
  font-size: 1.4em;
  color: #003366;
  margin-top: 0;
  margin-bottom: 10px;
}

.page-promotions__step-content p {
  color: #555555;
}

.page-promotions__step-content p a {
  color: #003366;
  text-decoration: none;
  font-weight: bold;
}

.page-promotions__step-content p a:hover {
  color: #FFCC00;
}

/* Terms Overview Section */
.page-promotions__terms-overview-section {
  padding: 80px 0;
  background-color: #003366;
}

.page-promotions__terms-list {
  list-style: disc;
  padding-left: 20px;
  color: #e0e0e0;
  max-width: 800px;
  margin: 40px auto 0 auto;
}

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

/* FAQ Section */
.page-promotions__faq-section {
  padding: 80px 0;
  background-color: #f8f9fa;
  color: #333333;
}

.page-promotions__faq-section .page-promotions__section-title,
.page-promotions__faq-section .page-promotions__section-description {
  color: #003366;
}

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

.page-promotions__faq-item {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-promotions__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  background-color: #ffffff;
  color: #003366;
  font-weight: bold;
  font-size: 1.2em;
  transition: background-color 0.3s ease;
}

.page-promotions__faq-question:hover {
  background-color: #f0f0f0;
}

.page-promotions__faq-question h3 {
  margin: 0;
  font-size: 1em;
  color: #003366;
}

.page-promotions__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  color: #FFCC00;
  transition: transform 0.3s ease;
}

.page-promotions__faq-item.active .page-promotions__faq-toggle {
  transform: rotate(45deg); /* Change + to X or - */
}

.page-promotions__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #555555;
}

.page-promotions__faq-item.active .page-promotions__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show content */
  padding: 15px 25px;
}

.page-promotions__faq-answer p a {
  color: #003366;
  text-decoration: underline;
}

.page-promotions__faq-answer p a:hover {
  color: #FFCC00;
}

/* Final CTA Section */
.page-promotions__cta-final-section {
  padding: 80px 0;
  text-align: center;
  background: linear-gradient(45deg, #003366, #001a33);
}

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

  .page-promotions__hero-content {
    text-align: center;
  }

  .page-promotions__hero-image-wrapper {
    margin-top: 40px;
  }
}

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

  .page-promotions__intro-text {
    font-size: 1.1em;
  }

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

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

  .page-promotions__hero-section,
  .page-promotions__categories-section,
  .page-promotions__featured-section,
  .page-promotions__how-to-claim-section,
  .page-promotions__terms-overview-section,
  .page-promotions__faq-section,
  .page-promotions__cta-final-section {
    padding: 40px 0;
  }

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

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

  .page-promotions__hero-image-wrapper,
  .page-promotions__category-card,
  .page-promotions__promo-card,
  .page-promotions__step-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 0;
    padding-right: 0;
  }

  /* Buttons responsiveness */
  .page-promotions__btn-primary,
  .page-promotions__btn-secondary,
  .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;
    margin-left: auto;
    margin-right: auto;
  }

  .page-promotions__btn-centered {
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .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;
  }

  .page-promotions__faq-question,
  .page-promotions__faq-answer {
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-promotions__step-item {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }

  .page-promotions__step-number {
    margin-bottom: 10px;
  }

  .page-promotions__promo-card {
    flex-direction: column;
  }
}

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

/* Color Contrast Fixes (if needed, though designed to be compliant) */
.page-promotions__dark-section {
  color: #ffffff;
}

.page-promotions__light-bg {
  color: #333333;
}

.page-promotions__category-card .page-promotions__card-title a,
.page-promotions__step-content p a {
  color: #003366; /* Ensure dark text on light background */
}

.page-promotions__category-card .page-promotions__card-title a:hover,
.page-promotions__step-content p a:hover {
  color: #FFCC00; /* Hover accent */
}

.page-promotions__promo-title a {
  color: #FFCC00; /* Accent text on dark background */
}

.page-promotions__promo-title a:hover {
  color: #ffffff; /* Hover light text */
}