/* style/promotions.css */

.page-promotions {
  font-family: 'Arial', sans-serif;
  color: #333333; /* Default text color for light backgrounds */
  background-color: #FFFFFF;
}

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

.page-promotions__hero-section {
  position: relative;
  padding: 80px 0;
  text-align: center;
  background-color: #26A9E0; /* Primary brand color */
  color: #FFFFFF; /* White text for dark background */
  padding-top: var(--header-offset, 120px); /* Ensure space below fixed header */
}

.page-promotions__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: bold;
}

.page-promotions__hero-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.5;
}

.page-promotions__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 40px;
  color: #26A9E0;
  font-weight: bold;
}

.page-promotions__text-block {
  font-size: 1.1em;
  line-height: 1.6;
  margin-bottom: 20px;
  text-align: justify;
}

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

.page-promotions__overview-section, 
.page-promotions__how-to-claim-section, 
.page-promotions__faq-section {
  padding: 60px 0;
  background-color: #FFFFFF;
  color: #333333;
}

.page-promotions__category-section, 
.page-promotions__terms-section, 
.page-promotions__cta-section {
  padding: 60px 0;
  background-color: #26A9E0;
  color: #FFFFFF;
}

.page-promotions__category-section .page-promotions__section-title,
.page-promotions__terms-section .page-promotions__section-title,
.page-promotions__cta-section .page-promotions__section-title {
  color: #FFFFFF;
}

.page-promotions__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 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.1);
  overflow: hidden;
  text-align: center;
  padding-bottom: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #333333;
}

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

.page-promotions__card-image {
  width: 100%;
  height: 250px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
  margin-bottom: 20px;
}

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

.page-promotions__card-description {
  font-size: 1em;
  line-height: 1.6;
  margin: 0 20px 20px;
  text-align: justify;
}

.page-promotions__btn-primary,
.page-promotions__btn-secondary {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
}

.page-promotions__btn-primary {
  background-color: #EA7C07; /* Login color for primary action */
  color: #FFFFFF;
  border: 2px solid #EA7C07;
  margin-top: 20px;
}

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

.page-promotions__btn-secondary {
  background-color: #FFFFFF;
  color: #26A9E0;
  border: 2px solid #26A9E0;
  margin-top: 20px;
}

.page-promotions__btn-secondary:hover {
  background-color: #e0f4ff;
  color: #1a8cc4;
}

.page-promotions__steps-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.page-promotions__step-item {
  background-color: #f9f9f9;
  border-left: 5px solid #26A9E0;
  margin-bottom: 20px;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  font-size: 1.1em;
  line-height: 1.7;
}

.page-promotions__step-item strong {
  color: #26A9E0;
  font-size: 1.2em;
  display: block;
  margin-bottom: 10px;
}

.page-promotions__list {
  list-style: disc;
  padding-left: 25px;
  margin-top: 30px;
  font-size: 1.1em;
  line-height: 1.7;
}

.page-promotions__list-item {
  margin-bottom: 10px;
}

.page-promotions__faq-list {
  margin-top: 30px;
}

.page-promotions__faq-item {
  background-color: #f9f9f9;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.page-promotions__faq-item[open] {
  background-color: #e0f4ff;
}

.page-promotions__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.2em;
  font-weight: bold;
  color: #26A9E0;
  cursor: pointer;
  list-style: none; /* For details/summary */
}

.page-promotions__faq-question::-webkit-details-marker {
  display: none;
}

.page-promotions__faq-toggle {
  font-size: 1.5em;
  font-weight: bold;
  color: #26A9E0;
  margin-left: 15px;
}

.page-promotions__faq-answer {
  padding: 15px 25px 20px;
  font-size: 1.05em;
  line-height: 1.6;
  color: #555555;
}

.page-promotions__faq-answer p {
  margin-bottom: 10px;
}

.page-promotions__cta-section {
  text-align: center;
  padding: 80px 0;
}

/* Links within content */
.page-promotions__text-block a,
.page-promotions__card-description a,
.page-promotions__list-item a,
.page-promotions__faq-answer a {
  color: #EA7C07; /* Login color for links */
  text-decoration: underline;
  font-weight: bold;
}

.page-promotions__text-block a:hover,
.page-promotions__card-description a:hover,
.page-promotions__list-item a:hover,
.page-promotions__faq-answer a:hover {
  color: #d16b00;
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-promotions__hero-title {
    font-size: 2.8em;
  }
  .page-promotions__section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-promotions__hero-section {
    padding: 60px 0;
    padding-top: var(--header-offset, 120px) !important; /* Ensure space below fixed header on mobile */
  }
  .page-promotions__hero-title {
    font-size: 2.2em;
  }
  .page-promotions__hero-description {
    font-size: 1.1em;
  }
  .page-promotions__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-promotions__text-block, .page-promotions__list-item, .page-promotions__faq-answer {
    font-size: 1em;
  }
  .page-promotions__card-title {
    font-size: 1.5em;
  }
  .page-promotions__card-image {
    height: 200px;
  }
  .page-promotions__btn-primary, .page-promotions__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 20px;
    font-size: 1em;
  }
  .page-promotions__grid {
    grid-template-columns: 1fr;
  }
  .page-promotions__container {
    padding: 0 15px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-promotions__image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-promotions__card, .page-promotions__step-item, .page-promotions__faq-item {
    margin-left: 0;
    margin-right: 0;
  }
  .page-promotions__section, .page-promotions__card, .page-promotions__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-promotions__faq-question {
    padding: 15px 20px;
    font-size: 1.1em;
  }
  .page-promotions__faq-answer {
    padding: 10px 20px 15px;
  }
}

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