/* style/promotions.css */
.page-promotions {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light background */
  background-color: var(--bg-color, #FFFFFF); /* Use shared background variable */
}

/* Hero Section */
.page-promotions__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: var(--header-offset, 120px); /* Ensure spacing from fixed header */
  min-height: 500px;
  background-color: #017439;
  color: #ffffff;
  overflow: hidden;
}

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

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

.page-promotions__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
}

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

.page-promotions__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

/* General Section Styles */
.page-promotions__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

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

.page-promotions__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  text-align: justify;
}

/* Button Styles */
.page-promotions__btn-primary,
.page-promotions__btn-secondary {
  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, color 0.3s ease, border-color 0.3s ease;
  cursor: pointer;
  text-align: center;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-promotions__btn-primary {
  background-color: #C30808;
  color: #ffffff; /* Adjusted for WCAG AA contrast against #C30808 */
  border: 2px solid #C30808;
  margin: 10px;
}

.page-promotions__btn-primary:hover {
  background-color: #a00606;
  border-color: #a00606;
}

.page-promotions__btn-secondary {
  background-color: #ffffff;
  color: #017439;
  border: 2px solid #017439;
  margin: 10px;
}

.page-promotions__btn-secondary:hover {
  background-color: #f0f0f0;
  color: #005a2b;
  border-color: #005a2b;
}

/* Overview Section */
.page-promotions__overview-section {
  padding: 60px 0;
  background-color: #ffffff;
  color: #333333;
}
.page-promotions__overview-section .page-promotions__section-title {
  color: #017439;
}

/* Promotion Types Section */
.page-promotions__types-section {
  padding: 60px 0;
  background-color: #017439;
  color: #ffffff;
}
.page-promotions__types-section .page-promotions__section-title,
.page-promotions__types-section .page-promotions__text-block {
  color: #ffffff;
}

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

.page-promotions__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;
  color: #333333;
  padding-bottom: 20px;
  text-align: center;
}

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

.page-promotions__card-title {
  font-size: 1.5em;
  margin: 0 20px 15px;
  color: #017439;
}

.page-promotions__card-text {
  font-size: 1em;
  margin: 0 20px 20px;
  flex-grow: 1;
}

.page-promotions__promo-card .page-promotions__btn-secondary {
  margin-top: auto;
  align-self: center;
  width: calc(100% - 40px);
}

/* How to Claim Section */
.page-promotions__how-to-claim-section {
  padding: 60px 0;
  background-color: #f5f5f5;
  color: #333333;
}
.page-promotions__how-to-claim-section .page-promotions__section-title {
  color: #017439;
}

.page-promotions__steps-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-promotions__steps-item {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  padding: 30px;
  margin-bottom: 25px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.page-promotions__steps-title {
  font-size: 1.8em;
  color: #017439;
  margin-bottom: 10px;
}

.page-promotions__steps-description {
  font-size: 1.05em;
}

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

/* FAQ Section */
.page-promotions__faq-section {
  padding: 60px 0;
  background-color: #017439;
  color: #ffffff;
}
.page-promotions__faq-section .page-promotions__section-title,
.page-promotions__faq-section .page-promotions__text-block {
  color: #ffffff;
}