/* style/promotions.css */
.page-promotions {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light background */
  background-color: #ffffff; /* Explicitly set for content area */
}

/* 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 content is below fixed header */
  background: linear-gradient(135deg, #26A9E0, #FFFFFF); /* Brand colors for hero background */
  color: #ffffff; /* White text on hero gradient */
}

.page-promotions__hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-promotions__hero-image {
  width: 100%;
  margin-bottom: 30px;
}

.page-promotions__hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 8px;
  object-fit: cover;
}

.page-promotions__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
}

.page-promotions__hero-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  color: #ffffff; /* White text for title */
  line-height: 1.2;
}

.page-promotions__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #f0f0f0; /* Slightly off-white for description */
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-promotions__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: #EA7C07; /* Login color for CTA */
  color: #ffffff;
  text-decoration: none;
  border-radius: 5px;
  font-size: 18px;
  font-weight: bold;
  margin-top: 30px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-promotions__cta-button:hover {
  background: #d46b06;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* General Section Styling */
.page-promotions__section {
  padding: 80px 20px;
  text-align: center;
}

.page-promotions__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.page-promotions__section-title {
  font-size: 2.2em;
  margin-bottom: 20px;
  color: #26A9E0; /* Brand color for titles */
}

.page-promotions__section-title--white {
  color: #ffffff;
}

.page-promotions__section-description {
  font-size: 1.1em;
  margin-bottom: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: #555555;
}

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

/* Buttons */
.page-promotions__btn-primary {
  display: inline-block;
  padding: 12px 30px;
  background: #26A9E0;
  color: #ffffff;
  text-decoration: none;
  border-radius: 5px;
  font-size: 16px;
  font-weight: bold;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  margin: 10px;
}

.page-promotions__btn-primary:hover {
  background: #1e87b3;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.page-promotions__btn-secondary {
  display: inline-block;
  padding: 12px 30px;
  background: #ffffff;
  color: #26A9E0;
  text-decoration: none;
  border-radius: 5px;
  font-size: 16px;
  font-weight: bold;
  transition: all 0.3s ease;
  border: 2px solid #26A9E0;
  cursor: pointer;
  margin: 10px;
}

.page-promotions__btn-secondary:hover {
  background: #f0f8ff;
  color: #1e87b3;
  border-color: #1e87b3;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.page-promotions__button-group {
  margin-top: 30px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
  gap: 20px;
}

.page-promotions__button-group--center {
    justify-content: center;
}

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

.page-promotions__card {
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  color: #333333; /* Text on white card background */
}

.page-promotions__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.page-promotions__card-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 20px;
  display: block; /* Ensure image behaves as block for width/height */
}

.page-promotions__card-title {
  font-size: 1.4em;
  margin-bottom: 15px;
  color: #26A9E0; /* Brand color for card titles */
}

.page-promotions__card-text {
  font-size: 1em;
  margin-bottom: 20px;
  flex-grow: 1; /* Allow text to take available space */
}

.page-promotions__card-button {
  display: inline-block;
  padding: 10px 20px;
  background: #26A9E0;
  color: #ffffff;
  text-decoration: none;
  border-radius: 5px;
  font-size: 0.95em;
  font-weight: bold;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  margin-top: auto; /* Push button to bottom */
}

.page-promotions__card-button:hover {
  background: #1e87b3;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Dark Background Sections */
.page-promotions__dark-bg {
  background-color: #26A9E0; /* Brand primary color for dark sections */
  color: #ffffff;
}

.page-promotions__dark-bg .page-promotions__card {
  background: rgba(255, 255, 255, 0.1); /* Semi-transparent white card on dark background */
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-promotions__dark-bg .page-promotions__card-title {
  color: #ffffff;
}

.page-promotions__dark-bg .page-promotions__card-button {
  background: #EA7C07; /* Login color for buttons on dark cards */
}

.page-promotions__dark-bg .page-promotions__card-button:hover {
  background: #d46b06;
}

.page-promotions__dark-bg .page-promotions__btn-secondary {
  background: #26A9E0;
  color: #ffffff;
  border-color: #ffffff;
}