/* style/promotions.css */
:root {
  --primary-color: #FF4500;
  --secondary-color: #FFD700;
  --text-color-dark-bg: #ffffff;
  --text-color-light-bg: #333333;
  --background-dark: #121212;
  --background-light: #f5f5f5;
  --card-background-dark-bg: rgba(255, 255, 255, 0.1);
  --card-background-light-bg: #ffffff;
  --border-color: #333;
}

.page-promotions {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-color-dark-bg); /* Default text color for dark body background */
  background-color: var(--background-dark); /* Inherited from body, but explicitly set for clarity */
}

/* Fixed navigation bar spacing */
.page-promotions__hero-section {
  padding-top: 120px; /* Adjust based on shared header height */
}

/* Sections */
.page-promotions__section {
  padding: 60px 20px;
  text-align: center;
  position: relative;
}

.page-promotions__dark-bg {
  background-color: var(--background-dark);
  color: var(--text-color-dark-bg);
}

.page-promotions__light-bg {
  background-color: var(--background-light);
  color: var(--text-color-light-bg);
}

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

/* Hero Section */
.page-promotions__hero-section {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  min-height: 500px;
  padding-bottom: 80px;
  overflow: hidden;
}

.page-promotions__main-title {
  font-size: 3.2em;
  color: var(--secondary-color);
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: bold;
  text-shadow: 0 3px 6px rgba(0, 0, 0, 0.3);
}

.page-promotions__hero-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  max-width: 800px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.9);
}

.page-promotions__hero-image {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  margin-top: 40px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease-in-out;
}

.page-promotions__hero-image:hover {
  transform: scale(1.01);
}

/* CTA Buttons */
.page-promotions__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  width: 100%;
  max-width: 700px;
  margin: 0 auto;
}

.page-promotions__cta-button {
  display: inline-block;
  padding: 15px 35px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: none;
  cursor: pointer;
  text-align: center;
  white-space: normal;
  word-wrap: break-word;
}

.page-promotions__cta-button--primary {
  background-color: var(--primary-color);
  color: var(--text-color-dark-bg);
}

.page-promotions__cta-button--primary:hover {
  background-color: #e63900;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-promotions__cta-button--secondary {
  background-color: transparent;
  color: var(--secondary-color);
  border: 2px solid var(--secondary-color);
}

.page-promotions__cta-button--secondary:hover {
  background-color: var(--secondary-color);
  color: var(--text-color-light-bg);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Section Titles and Descriptions */
.page-promotions__section-title {
  font-size: 2.5em;
  margin-bottom: 25px;
  color: var(--secondary-color);
  font-weight: bold;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.page-promotions__section-title--dark {
  color: var(--primary-color);
  text-shadow: none;
}

.page-promotions__section-description {
  font-size: 1.1em;
  margin-bottom: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: rgba(255, 255, 255, 0.8);
}

.page-promotions__section-description--dark {
  color: var(--text-color-light-bg);
}

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

.page-promotions__card {
  background-color: var(--card-background-dark-bg);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-promotions__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.page-promotions__card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.page-promotions__card-title {
  font-size: 1.5em;
  color: var(--secondary-color);
  margin-bottom: 15px;
  font-weight: bold;
}

.page-promotions__card-text {
  font-size: 1em;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 25px;
  flex-grow: 1;
}

.page-promotions__button {
  display: inline-block;
  padding: 12px 25px;
  background-color: var(--primary-color);
  color: var(--text-color-dark-bg);
  text-decoration: none;
  border-radius: 6px;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  align-self: flex-start;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
  width: 100%;
  box-sizing: border-box;
}

.page-promotions__button:hover {
  background-color: #e63900;
  transform: translateY(-2px);
}

/* Lists */
.page-promotions__list {
  list-style: none;
  padding: 0;
  margin: 0 auto 40px auto;
  max-width: 900px;
  text-align: left;
}

.page-promotions__list-item {
  background-color: var(--card-background-dark-bg);
  margin-bottom: 15px;
  padding: 20px 25px;
  border-radius: 8px;
  font-size: 1.1em;
  color: rgba(255, 255, 255, 0.85);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  border-left: 5px solid var(--primary-color);
}

.page-promotions__list-item strong {
  color: var(--secondary-color);
}

.page-promotions__list--dark .page-promotions__list-item {
  background-color: var(--card-background-light-bg);
  color: var(--text-color-light-bg);
  border: 1px solid #e0e0e0;
  border-left: 5px solid var(--primary-color);
}

.page-promotions__list--dark .page-promotions__list-item strong {
  color: var(--primary-color);
}

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

.page-promotions__step-card {
  background-color: var(--card-background-dark-bg);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-promotions__step-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.page-promotions__step-icon {
  background-color: var(--primary-color);
  color: var(--text-color-dark-bg);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2em;
  font-weight: bold;
  margin-bottom: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-promotions__step-title {
  font-size: 1.4em;
  color: var(--secondary-color);
  margin-bottom: 15px;
  font-weight: bold;
}

.page-promotions__step-text {
  font-size: 1em;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 25px;
  flex-grow: 1;
}

/* Benefits List */
.page-promotions__benefits-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
  list-style: none;
  padding: 0;
}

.page-promotions__benefits-item {
  background-color: var(--card-background-light-bg);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  text-align: left;
  border: 1px solid #e0e0e0;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-promotions__benefits-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.page-promotions__benefits-title {
  font-size: 1.4em;
  color: var(--primary-color);
  margin-bottom: 15px;
  font-weight: bold;
}

.page-promotions__benefits-text {
  font-size: 1em;
  color: var(--text-color-light-bg);
}

/* Text Block for Conclusion */
.page-promotions__text-block {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-promotions__main-title {
    font-size: 2.8em;
  }
  .page-promotions__section-title {
    font-size: 2em;
  }
  .page-promotions__hero-description {
    font-size: 1.1em;
  }
  .page-promotions__card-title, .page-promotions__step-title, .page-promotions__benefits-title {
    font-size: 1.3em;
  }
  .page-promotions__section {
    padding: 40px 15px;
  }
  .page-promotions__hero-section {
    padding-top: 100px; /* Adjust for tablet */
  }
}

@media (max-width: 768px) {
  .page-promotions__hero-section {
    padding-top: 80px !important; /* Adjust for mobile, use !important to override desktop */
    padding-bottom: 40px;
  }
  .page-promotions__main-title {
    font-size: 2.2em;
    margin-bottom: 15px;
  }
  .page-promotions__hero-description {
    font-size: 1em;
    margin-bottom: 30px;
  }
  .page-promotions__cta-buttons {
    flex-direction: column;
    gap: 15px;
    max-width: 100%;
    padding: 0 15px;
    box-sizing: border-box;
  }
  .page-promotions__cta-button {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px !important;
    font-size: 1em !important;
    box-sizing: border-box !important;
  }
  .page-promotions__hero-image {
    margin-top: 30px;
  }
  .page-promotions__section-title {
    font-size: 1.8em;
    margin-bottom: 20px;
  }
  .page-promotions__section-description {
    font-size: 0.95em;
    margin-bottom: 30px;
  }
  .page-promotions__grid, .page-promotions__steps-grid, .page-promotions__benefits-list {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 30px;
  }
  .page-promotions__card, .page-promotions__step-card, .page-promotions__benefits-item {
    padding: 20px;
  }
  .page-promotions__card-image {
    height: 180px;
  }
  .page-promotions__card-title, .page-promotions__step-title, .page-promotions__benefits-title {
    font-size: 1.2em;
  }
  .page-promotions__button {
    padding: 10px 20px;
    font-size: 0.95em;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-promotions__list-item {
    font-size: 1em;
    padding: 15px 20px;
  }
  /* Ensure all images are responsive */
  .page-promotions img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
    box-sizing: border-box !important;
  }
  .page-promotions__container {
    padding: 0 15px;
    box-sizing: border-box !important;
  }
  .page-promotions__section {
    padding-left: 15px;
    padding-right: 15px;
    box-sizing: border-box !important;
  }
  .page-promotions__text-block {
    padding-left: 0;
    padding-right: 0;
  }
}

@media (max-width: 480px) {
  .page-promotions__main-title {
    font-size: 1.8em;
  }
  .page-promotions__hero-description {
    font-size: 0.9em;
  }
  .page-promotions__section-title {
    font-size: 1.5em;
  }
  .page-promotions__card-title, .page-promotions__step-title, .page-promotions__benefits-title {
    font-size: 1.1em;
  }
  .page-promotions__step-icon {
    width: 50px;
    height: 50px;
    font-size: 1.8em;
  }
  .page-promotions__card-image {
    height: 150px;
  }
}