/* style/promotions.css */

/* Base Styles & Global Resets for Page Content */
.page-promotions {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Light text on dark body background */
  background-color: transparent; /* Inherit from body or shared.css */
}

.page-promotions__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-promotions__section {
  padding: 60px 0;
  text-align: center;
}

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

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

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

.page-promotions__text-block {
  font-size: 1em;
  color: #f0f0f0;
  line-height: 1.8;
  max-width: 800px;
  margin: 0 auto 20px auto;
}

/* Color Contrast Specifics */
.page-promotions__dark-bg {
  background-color: rgba(255, 255, 255, 0.08); /* Subtle dark background for sections */
  color: #ffffff; /* Light text */
}

/* Buttons */
.page-promotions__btn-primary,
.page-promotions__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.05em;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
  max-width: 100%;
}

.page-promotions__btn-primary {
  background-color: #26A9E0;
  color: #ffffff;
  border: 2px solid #26A9E0;
}

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

.page-promotions__btn-secondary {
  background-color: transparent;
  color: #26A9E0;
  border: 2px solid #26A9E0;
  margin-left: 15px;
}

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

.page-promotions__btn-login {
  background-color: #EA7C07;
  color: #ffffff;
  border: 2px solid #EA7C07;
}

.page-promotions__btn-login:hover {
  background-color: #c46406;
  border-color: #c46406;
}

.page-promotions__btn-small {
  padding: 8px 18px;
  font-size: 0.9em;
}

/* Hero Section */
.page-promotions__hero-section {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 80px 20px 60px;
  position: relative;
  overflow: hidden;
  color: #ffffff;
  background: linear-gradient(135deg, rgba(38, 169, 224, 0.2), rgba(0, 0, 0, 0.8));
}

.page-promotions__hero-content {
  flex: 1;
  padding-right: 40px;
  text-align: left;
  z-index: 1;
}

.page-promotions__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #ffffff;
  line-height: 1.2;
}

.page-promotions__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #f0f0f0;
  max-width: 600px;
}

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

.page-promotions__hero-image-wrapper {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  z-index: 0;
}

.page-promotions__hero-image {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  display: block;
}

/* Introduction Section */
.page-promotions__introduction-section .page-promotions__container {
  text-align: center;
}

.page-promotions__content-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 30px auto;
  display: block;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

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

.page-promotions__card {
  background-color: rgba(255, 255, 255, 0.08); /* Light background for card content on dark section */
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  color: #ffffff;
}

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

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

.page-promotions__card-text {
  font-size: 0.95em;
  color: #e0e0e0;
  line-height: 1.7;
  margin-bottom: 20px;
  flex-grow: 1;
}

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

.page-promotions__step-item {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-promotions__step-icon {
  width: 60px;
  height: 60px;
  background-color: #26A9E0;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2em;
  font-weight: bold;
  margin-bottom: 20px;
}

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

.page-promotions__step-text {
  font-size: 0.95em;
  color: #e0e0e0;
  line-height: 1.7;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-promotions__terms-conditions {
  margin-top: 60px;
  padding: 30px;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  text-align: left;
}

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

.page-promotions__benefits-item {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: #ffffff;
}

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

.page-promotions__benefits-text {
  font-size: 0.95em;
  color: #e0e0e0;
  line-height: 1.7;
}

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

/* FAQ Section */
.page-promotions__faq-list {
  margin-top: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

.page-promotions__faq-item {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-promotions__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-promotions__faq-question:hover {
  background-color: rgba(38, 169, 224, 0.2);
}

.page-promotions__faq-title {
  font-size: 1.15em;
  margin: 0;
  color: #ffffff;
}

.page-promotions__faq-toggle {
  font-size: 1.5em;
  font-weight: bold;
  color: #26A9E0;
  transition: transform 0.3s ease;
}

.page-promotions__faq-item.active .page-promotions__faq-toggle {
  transform: rotate(45deg);
}

.page-promotions__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  background-color: rgba(255, 255, 255, 0.03);
  color: #e0e0e0;
}

.page-promotions__faq-item.active .page-promotions__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show content */
  padding: 15px 25px;
}

.page-promotions__faq-answer p {
  margin-bottom: 0;
  font-size: 0.95em;
  line-height: 1.7;
}

/* Conclusion Section */
.page-promotions__conclusion-section {
  padding-bottom: 80px;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-promotions__hero-section {
    flex-direction: column;
    padding: 60px 20px 40px;
  }

  .page-promotions__hero-content {
    padding-right: 0;
    margin-bottom: 40px;
    text-align: center;
  }

  .page-promotions__hero-title {
    font-size: 2.8em;
  }

  .page-promotions__hero-description {
    font-size: 1.1em;
  }

  .page-promotions__hero-cta-group {
    justify-content: center;
  }

  .page-promotions__hero-image-wrapper {
    justify-content: center;
  }

  .page-promotions__section-title {
    font-size: 2em;
  }

  .page-promotions__cards-grid,
  .page-promotions__steps-grid,
  .page-promotions__benefits-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .page-promotions {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-promotions__section {
    padding: 40px 0;
  }

  .page-promotions__hero-title {
    font-size: 2.2em;
  }

  .page-promotions__hero-description {
    font-size: 1em;
  }

  .page-promotions__hero-cta-group {
    flex-direction: column;
    gap: 15px;
  }

  .page-promotions__btn-primary,
  .page-promotions__btn-secondary {
    width: 100%;
    margin-left: 0;
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-promotions__hero-cta-group,
  .page-promotions__cta-group--center {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }

  .page-promotions img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-promotions__section,
  .page-promotions__card,
  .page-promotions__container,
  .page-promotions__hero-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-promotions__card-image {
    height: 180px;
  }

  .page-promotions__faq-question,
  .page-promotions__faq-answer {
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-promotions__faq-item.active .page-promotions__faq-answer {
    padding: 15px 15px;
  }

  .page-promotions__hero-section {
    padding-top: var(--header-offset, 120px) !important;
  }
}

@media (max-width: 480px) {
  .page-promotions__hero-title {
    font-size: 1.8em;
  }

  .page-promotions__section-title {
    font-size: 1.6em;
  }

  .page-promotions__hero-description {
    font-size: 0.95em;
  }

  .page-promotions__card-title,
  .page-promotions__step-title,
  .page-promotions__benefits-title,
  .page-promotions__faq-title {
    font-size: 1.2em;
  }
}