/* style/promotions.css */
.page-promotions {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: transparent; /* Body background handled by 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: #ffffff;
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-promotions__section-description {
  font-size: 1.1em;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px auto;
  color: #f0f0f0;
}

/* Hero Section */
.page-promotions__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 60px 20px;
  padding-top: var(--header-offset, 120px); /* Apply header offset to hero */
  min-height: 600px;
  overflow: hidden;
  text-align: center;
}

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

.page-promotions__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.5); /* Darken image for text readability */
}

.page-promotions__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 40px 20px;
  background: rgba(0, 0, 0, 0.4); /* Semi-transparent overlay for text */
  border-radius: 10px;
}

.page-promotions__hero-title {
  font-size: 3.5em;
  color: #FFFF00; /* Yellow for prominence */
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
}

.page-promotions__hero-description {
  font-size: 1.3em;
  color: #ffffff;
  margin-bottom: 40px;
  line-height: 1.5;
}

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

.page-promotions__btn-primary,
.page-promotions__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  font-size: 1.1em;
  cursor: pointer;
  text-align: center;
}

.page-promotions__btn-primary {
  background: #C30808; /* Register/Login red */
  color: #FFFF00; /* Register/Login yellow font */
  border: 2px solid #C30808;
}

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

.page-promotions__btn-secondary {
  background: transparent;
  color: #017439; /* Main brand green */
  border: 2px solid #017439;
}

.page-promotions__btn-secondary:hover {
  background: #017439;
  color: #ffffff;
}

/* Section Styling */
.page-promotions__overview-section,
.page-promotions__find-best-section,
.page-promotions__tips-section,
.page-promotions__faq-section {
  padding: 80px 0;
  background-color: #ffffff; /* Light background for contrast */
  color: #333333; /* Dark text for light background */
}

.page-promotions__overview-section .page-promotions__section-title,
.page-promotions__find-best-section .page-promotions__section-title,
.page-promotions__tips-section .page-promotions__section-title,
.page-promotions__faq-section .page-promotions__section-title {
  color: #017439; /* Main brand green for titles */
}

.page-promotions__overview-section .page-promotions__section-description,
.page-promotions__find-best-section .page-promotions__section-description,
.page-promotions__tips-section .page-promotions__section-description,
.page-promotions__faq-section .page-promotions__section-description {
  color: #555555;
}

.page-promotions__dark-bg {
  background-color: #017439; /* Main brand green */
  color: #ffffff;
}

.page-promotions__dark-bg .page-promotions__section-title {
  color: #FFFF00; /* Yellow for titles on dark green */
}

.page-promotions__dark-bg .page-promotions__section-description {
  color: #f0f0f0;
}

/* Grid for Overview Section */
.page-promotions__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

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

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

.page-promotions__grid-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

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

.page-promotions__grid-text {
  color: #555555;
}

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

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

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

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

.page-promotions__card-title {
  font-size: 1.4em;
  color: #017439;
  padding: 20px 20px 10px 20px;
  margin: 0;
}

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

.page-promotions__card-title a:hover {
  text-decoration: underline;
}

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

.page-promotions__card-button {
  margin: 0 20px 20px 20px;
  width: calc(100% - 40px);
  box-sizing: border-box;
}

/* Steps Grid for Finding Best Promotions */
.page-promotions__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

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

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

.page-promotions__step-icon {
  font-size: 2.5em;
  color: #017439;
  font-weight: bold;
  margin-bottom: 15px;
}

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

.page-promotions__step-text {
  color: #555555;
}

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

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

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

/* Terms Section */
.page-promotions__terms-section {
  padding: 80px 0;
}

.page-promotions__terms-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
  justify-content: center;
}

.page-promotions__terms-image {
  max-width: 500px;
  width: 100%;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
}

.page-promotions__terms-list {
  flex: 1;
  min-width: 300px;
  list-style: none;
  padding: 0;
  margin: 0;
  color: #f0f0f0;
}

.page-promotions__terms-list li {
  margin-bottom: 15px;
  padding-left: 25px;
  position: relative;
}

.page-promotions__terms-list li::before {
  content: '✔';
  color: #FFFF00; /* Yellow checkmark */
  position: absolute;
  left: 0;
  font-weight: bold;
}

.page-promotions__terms-list strong {
  color: #ffffff;
}

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

.page-promotions__tip-card {
  text-align: center;
}

.page-promotions__tip-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

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