/* style/promotions.css */

/* Base styles for the page content */
.page-promotions {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light backgrounds */
  background-color: var(--background-color, #FFFFFF); /* Inherit from shared, default to white */
}

/* Fixed Header Offset */
.page-promotions__hero-section {
  padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
}

/* Container for content sections */
.page-promotions__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

/* Section styling */
.page-promotions__section {
  padding: 60px 0;
  text-align: center;
}

.page-promotions__section:nth-of-type(even) {
  background-color: #f8f8f8; /* Slightly different background for alternating sections */
}

/* Titles */
.page-promotions__hero-title {
  font-size: 3.2em;
  color: #FFFFFF;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-promotions__section-title {
  font-size: 2.5em;
  color: #26A9E0;
  margin-bottom: 30px;
  line-height: 1.3;
}

.page-promotions__section-title--light {
  color: #FFFFFF;
}

.page-promotions__card-title {
  font-size: 1.8em;
  color: #26A9E0;
  margin-bottom: 15px;
}

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

/* Paragraphs and Descriptions */
.page-promotions__hero-description {
  font-size: 1.2em;
  color: #FFFFFF;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-promotions__section-paragraph {
  font-size: 1.1em;
  color: #333333;
  margin-bottom: 20px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-promotions__section-paragraph--light {
  color: #FFFFFF;
}

.page-promotions__card-text {
  color: #555555;
  margin-bottom: 20px;
}

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

.page-promotions__note {
  font-style: italic;
  font-size: 0.95em;
  color: #666666;
  margin-top: 30px;
}

/* Links within text */
.page-promotions__text-link {
  color: #26A9E0;
  text-decoration: underline;
}

.page-promotions__text-link--light {
  color: #FFFFFF;
}

.page-promotions__text-link:hover {
  text-decoration: none;
  opacity: 0.8;
}

/* Buttons */
.page-promotions__btn-primary,
.page-promotions__btn-secondary {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  cursor: pointer;
  border: 2px solid transparent;
  text-align: center;
  box-sizing: border-box; /* Crucial for responsive buttons */
  white-space: normal; /* Allow text to wrap */
  word-wrap: break-word; /* Allow text to break words */
  max-width: 100%; /* Ensure button doesn't exceed container width */
}

.page-promotions__btn-primary {
  background-color: #EA7C07; /* Login color for primary CTA */
  color: #FFFFFF;
  border-color: #EA7C07;
}

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

.page-promotions__btn-primary--light {
  background-color: #FFFFFF;
  color: #EA7C07;
  border-color: #FFFFFF;
}

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

.page-promotions__btn-secondary {
  background-color: transparent;
  color: #FFFFFF;
  border-color: #FFFFFF;
  margin-left: 20px;
}

.page-promotions__btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.page-promotions__card-button {
  margin-top: auto; /* Push buttons to the bottom of the card */
  margin-left: 0;
  width: fit-content; /* Adjust width to content */
}

/* Hero Section Specifics */
.page-promotions__hero-section {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 500px;
  color: #FFFFFF;
  text-align: center;
  padding: 80px 0; /* Additional padding for content */
}

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

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

.page-promotions__hero-cta-group {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* Image content */
.page-promotions__image-content {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  margin: 40px auto;
  display: block;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

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

.page-promotions__card {
  background-color: #FFFFFF;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  padding: 30px;
  text-align: left;
  display: flex;
  flex-direction: column;
  min-height: 350px; /* Ensure cards have a consistent height */
}

/* Step List for How to Claim */
.page-promotions__step-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  text-align: left;
}

.page-promotions__step-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 30px;
  gap: 20px;
}

.page-promotions__step-number {
  background-color: #26A9E0;
  color: #FFFFFF;
  border-radius: 50%;
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5em;
  font-weight: bold;
  flex-shrink: 0;
}

.page-promotions__step-content {
  flex-grow: 1;
}

/* Video Section */
.page-promotions__video-wrapper {
  position: relative;
  width: 100%;
  max-width: 1000px; /* Max width for video */
  margin: 40px auto;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.page-promotions__video {
  width: 100%;
  height: auto;
  display: block;
  cursor: pointer;
}

.page-promotions__video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4); /* Dark overlay for CTA visibility */
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}