/* style/promotions.css */
.page-promotions {
  color: #ffffff; /* Default text color for dark body background */
  background-color: transparent; /* Body background is handled by shared.css */
}

.page-promotions__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px 40px;
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
  background: linear-gradient(135deg, #26A9E0, #1a7bb0);
  overflow: hidden;
}

.page-promotions__hero-content {
  max-width: 900px;
  z-index: 10;
  margin-bottom: 30px;
}

.page-promotions__hero-title {
  font-size: 3.5em;
  font-weight: bold;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #FFFFFF;
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.page-promotions__hero-description {
  font-size: 1.2em;
  line-height: 1.6;
  margin-bottom: 30px;
  color: #f0f8ff;
}

.page-promotions__hero-description a {
  color: #FFFFFF;
  text-decoration: underline;
}

.page-promotions__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  opacity: 0.3;
}

.page-promotions__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.7); /* Slightly darken image for text readability */
}

.page-promotions__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  box-sizing: border-box;
}

.page-promotions__cta-button--primary {
  background-color: #EA7C07; /* Login color for primary CTA */
  color: #FFFFFF;
  border: 2px solid #EA7C07;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.page-promotions__cta-button--primary:hover {
  background-color: #d16b06;
  border-color: #d16b06;
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.page-promotions__cta-button--secondary {
  background-color: #FFFFFF;
  color: #26A9E0;
  border: 2px solid #26A9E0;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.page-promotions__cta-button--secondary:hover {
  background-color: #e0f2f7;
  color: #1a7bb0;
  border-color: #1a7bb0;
  transform: translateY(-1px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.page-promotions__section-title {
  font-size: 2.8em;
  font-weight: bold;
  text-align: center;
  margin-bottom: 25px;
  line-height: 1.3;
}

.page-promotions__section-description {
  font-size: 1.1em;
  line-height: 1.7;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px;
}

.page-promotions__highlight-section {
  padding: 80px 20px;
  background-color: #1a7bb0; /* Darker shade of primary for contrast */
  color: #ffffff;
}

.page-promotions__highlight-section .page-promotions__section-title,
.page-promotions__highlight-section .page-promotions__section-description {
  color: #ffffff;
}

.page-promotions__card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.page-promotions__card {
  background-color: #FFFFFF;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #333333; /* Dark text for light card background */
  display: flex;
  flex-direction: column;
}

.page-promotions__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.page-promotions__card-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
  border-bottom: 1px solid #eee;
}

.page-promotions__card-content {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-promotions__card-title {
  font-size: 1.5em;
  font-weight: bold;
  margin-bottom: 15px;
  color: #26A9E0;
  line-height: 1.4;
}

.page-promotions__card-text {
  font-size: 1em;
  line-height: 1.6;
  margin-bottom: 20px;
  color: #555555;
}

.page-promotions__card-text a {
  color: #26A9E0;
  text-decoration: underline;
}

.page-promotions__how-to-claim-section {
  padding: 80px 20px;
  background-color: #f8f9fa; /* Light background for this section */
  color: #333333;
}

.page-promotions__how-to-claim-section .page-promotions__section-title,
.page-promotions__how-to-claim-section .page-promotions__section-description {
  color: #333333;
}

.page-promotions__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  max-width: 1000px;
  margin: 50px auto 0;
}

.page-promotions__step-item {
  text-align: center;
  padding: 25px;
  background-color: #FFFFFF;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.page-promotions__step-item:hover {
  transform: translateY(-5px);
}

.page-promotions__step-icon {
  margin-bottom: 20px;
}

.page-promotions__step-image {
  width: 100px;
  height: 100px;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}

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

.page-promotions__step-text {
  font-size: 0.95em;
  line-height: 1.6;
  color: #555555;
}

.page-promotions__step-text a {
  color: #26A9E0;
  text-decoration: underline;
}

.page-promotions__terms-section {
  padding: 80px 20px;
  background-color: #26A9E0; /* Primary color background */
  color: #ffffff;
}

.page-promotions__terms-section .page-promotions__section-title,
.page-promotions__terms-section .page-promotions__section-description {
  color: #ffffff;
}

.page-promotions__terms-list {
  list-style: disc;
  max-width: 800px;
  margin: 30px auto 40px;
  padding-left: 20px;
  font-size: 1.05em;
  line-height: 1.8;
}

.page-promotions__terms-list li {
  margin-bottom: 10px;
  color: #f0f8ff;
}

.page-promotions__cta-section {
  padding: 80px 20px;
  background-color: #f8f9fa;
  text-align: center;
  color: #333333;
}

.page-promotions__cta-section .page-promotions__section-title,
.page-promotions__cta-section .page-promotions__section-description {
  color: #333333;
}

.page-promotions__cta-section .page-promotions__section-description a {
  color: #26A9E0;
  text-decoration: underline;
}

.page-promotions__faq-section {
  padding: 80px 20px;
  background-color: #1a7bb0; /* Darker shade of primary for contrast */
  color: #ffffff;
}

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

.page-promotions__faq-list {
  max-width: 900px;
  margin: 50px auto 0;
}

.page-promotions__faq-item {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #ffffff;
}

.page-promotions__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-size: 1.15em;
  font-weight: bold;
  color: #ffffff;
  transition: background-color 0.3s ease;
}

.page-promotions__faq-question:hover {
  background-color: rgba(255, 255, 255, 0.15);
}

.page-promotions__faq-title {
  margin: 0;
  color: #ffffff;
}

.page-promotions__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  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-out, padding 0.3s ease-out;
}

.page-promotions__faq-item.active .page-promotions__faq-answer {
  max-height: 1000px !important; /* Sufficient height for content */
  padding: 15px 25px 25px !important;
}

.page-promotions__faq-answer p {
  margin: 0;
  font-size: 1em;
  line-height: 1.7;
  color: #f0f8ff;
}

.page-promotions__faq-answer a {
  color: #FFFFFF;
  text-decoration: underline;
}

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

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

@media (max-width: 768px) {
  .page-promotions__hero-section {
    padding: 60px 15px 30px;
    padding-top: var(--header-offset, 120px) !important;
  }
  .page-promotions__hero-title {
    font-size: 2.2em;
    margin-bottom: 15px;
  }
  .page-promotions__hero-description {
    font-size: 1em;
    margin-bottom: 20px;
  }
  .page-promotions__cta-button {
    padding: 12px 25px;
    font-size: 1em;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-promotions__section-title {
    font-size: 1.8em;
    margin-bottom: 20px;
  }
  .page-promotions__section-description {
    font-size: 0.95em;
    margin-bottom: 30px;
  }
  .page-promotions__highlight-section,
  .page-promotions__how-to-claim-section,
  .page-promotions__terms-section,
  .page-promotions__cta-section,
  .page-promotions__faq-section {
    padding: 50px 15px;
  }
  .page-promotions__card-grid,
  .page-promotions__steps-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .page-promotions__card-title {
    font-size: 1.3em;
  }
  .page-promotions__card-text {
    font-size: 0.9em;
  }
  .page-promotions__terms-list {
    font-size: 0.95em;
    padding-left: 15px;
  }
  .page-promotions__faq-question {
    font-size: 1em;
    padding: 15px 20px;
  }
  .page-promotions__faq-answer {
    padding: 0 20px;
  }
  .page-promotions__faq-item.active .page-promotions__faq-answer {
    padding: 10px 20px 20px !important;
  }
  
  /* Image responsive */
  .page-promotions img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-promotions__hero-image-wrapper,
  .page-promotions__card-image,
  .page-promotions__step-image {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
  
  /* Container responsive */
  .page-promotions__section,
  .page-promotions__card,
  .page-promotions__container,
  .page-promotions__hero-section,
  .page-promotions__highlight-section,
  .page-promotions__how-to-claim-section,
  .page-promotions__terms-section,
  .page-promotions__cta-section,
  .page-promotions__faq-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
}

@media (max-width: 480px) {
  .page-promotions__hero-title {
    font-size: 1.8em;
  }
  .page-promotions__section-title {
    font-size: 1.5em;
  }
  .page-promotions__hero-section,
  .page-promotions__highlight-section,
  .page-promotions__how-to-claim-section,
  .page-promotions__terms-section,
  .page-promotions__cta-section,
  .page-promotions__faq-section {
    padding-left: 10px;
    padding-right: 10px;
  }
  .page-promotions__container {
    padding: 0 10px;
  }
  .page-promotions__faq-question,
  .page-promotions__faq-answer {
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-promotions__faq-item.active .page-promotions__faq-answer {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }
}