/* style/promotions.css */

/* --- General Styles --- */
.page-promotions {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-main); /* Default text color, will be overridden if specific background */
  background-color: var(--bg-color); /* Inherited from shared.css body */
}

/* Assuming --bg-color from shared.css is dark #08160F based on custom colors */
.page-promotions {
  color: var(--text-main); /* #F2FFF6 */
}

.page-promotions__section-title {
  font-size: 2.5em;
  color: var(--text-main); /* #F2FFF6 */
  text-align: center;
  margin-bottom: 30px;
  font-weight: bold;
}

.page-promotions__section-description {
  font-size: 1.1em;
  color: var(--text-secondary); /* #A7D9B8 */
  text-align: center;
  max-width: 900px;
  margin: 0 auto 50px auto;
}

.page-promotions__text-content p {
  color: var(--text-secondary); /* #A7D9B8 */
  margin-bottom: 15px;
}

.page-promotions a {
  color: var(--main-color); /* #11A84E */
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-promotions a:hover {
  color: var(--aux-color); /* #22C768 */
  text-decoration: underline;
}

/* --- Hero Section --- */
.page-promotions__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column; /* Image on top, content below */
  align-items: center;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  padding-bottom: 60px;
  background-color: var(--bg-color); /* #08160F */
}

.page-promotions__hero-image-wrapper {
  width: 100%;
  max-width: 1920px; /* Max width of the image for large screens */
  overflow: hidden;
  margin-bottom: 30px;
}

.page-promotions__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  min-width: 200px;
  min-height: 200px;
  filter: none;
}

.page-promotions__hero-content {
  text-align: center;
  max-width: 900px;
  padding: 0 20px;
}

.page-promotions__main-title {
  font-size: clamp(2.2em, 4vw, 3.5em); /* Responsive font size */
  color: var(--text-main); /* #F2FFF6 */
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
}

.page-promotions__description {
  font-size: 1.2em;
  color: var(--text-secondary); /* #A7D9B8 */
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-promotions__cta-button {
  display: inline-block;
  padding: 15px 30px;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button gradient */
  color: #ffffff;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Break long words */
  max-width: 100%; /* Ensure button doesn't overflow */
  box-sizing: border-box;
}

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

.page-promotions__cta-button--large {
  padding: 18px 40px;
  font-size: 1.3em;
}

/* --- Intro Section --- */
.page-promotions__intro-section {
  padding: 80px 20px;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.page-promotions__image-content {
  width: 100%;
  height: auto;
  display: block;
  margin: 40px auto;
  border-radius: 10px;
  object-fit: cover;
  min-width: 200px; /* Min size requirement */
  min-height: 200px; /* Min size requirement */
  filter: none;
}

/* --- Featured Promotions Section --- */
.page-promotions__featured-section {
  padding: 80px 20px;
  background-color: var(--card-bg); /* #11271B */
  text-align: center;
}

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

.page-promotions__promo-card {
  background-color: var(--card-bg); /* #11271B */
  border: 1px solid var(--border-color); /* #2E7A4E */
  border-radius: 10px;
  overflow: hidden;
  text-align: left;
  padding-bottom: 20px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  color: var(--text-secondary); /* #A7D9B8 */
}

.page-promotions__promo-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  margin-bottom: 15px;
  min-width: 200px; /* Min size requirement */
  min-height: 200px; /* Min size requirement */
  filter: none;
}

.page-promotions__card-title {
  font-size: 1.5em;
  color: var(--text-main); /* #F2FFF6 */
  margin: 0 15px 10px 15px;
  font-weight: bold;
}

.page-promotions__card-description {
  font-size: 0.95em;
  color: var(--text-secondary); /* #A7D9B8 */
  margin: 0 15px 20px 15px;
  flex-grow: 1; /* Make description take available space */
}

.page-promotions__card-button {
  display: inline-block;
  padding: 10px 20px;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button gradient */
  color: #ffffff;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.9em;
  transition: transform 0.3s ease;
  margin: 0 15px;
  align-self: flex-start; /* Align button to start */
  white-space: normal;
  word-wrap: break-word;
  max-width: calc(100% - 30px); /* Adjust for padding */
  box-sizing: border-box;
}

.page-promotions__card-button:hover {
  transform: translateY(-2px);
}

/* --- How To Claim Section --- */
.page-promotions__how-to-claim-section {
  padding: 80px 20px;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.page-promotions__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 50px;
  margin-bottom: 50px;
}

.page-promotions__step-card {
  background-color: var(--card-bg); /* #11271B */
  border: 1px solid var(--border-color); /* #2E7A4E */
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  color: var(--text-secondary); /* #A7D9B8 */
}

.page-promotions__step-image {
  width: 100%;
  height: 200px;
  object-fit: contain; /* Use contain for step images to show full content */
  margin-bottom: 20px;
  border-radius: 8px;
  min-width: 200px; /* Min size requirement */
  min-height: 200px; /* Min size requirement */
  filter: none;
}

.page-promotions__step-title {
  font-size: 1.4em;
  color: var(--text-main); /* #F2FFF6 */
  margin-bottom: 10px;
  font-weight: bold;
}

.page-promotions__step-description {
  font-size: 0.95em;
  color: var(--text-secondary); /* #A7D9B8 */
}

.page-promotions__cta-bottom {
  margin-top: 40px;
}

/* --- Terms and Conditions Section --- */
.page-promotions__terms-section {
  padding: 80px 20px;
  background-color: var(--card-bg); /* #11271B */
  text-align: center;
}

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

.page-promotions__terms-list li {
  background-color: rgba(255, 255, 255, 0.05); /* Slightly lighter background for list items */
  border-left: 5px solid var(--main-color); /* #11A84E */
  padding: 15px 20px;
  margin-bottom: 15px;
  border-radius: 5px;
  color: var(--text-secondary); /* #A7D9B8 */
  font-size: 1em;
}

.page-promotions__terms-list li strong {
  color: var(--text-main); /* #F2FFF6 */
}

.page-promotions__disclaimer {
  font-size: 0.9em;
  color: var(--text-secondary); /* #A7D9B8 */
  margin-top: 30px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* --- FAQ Section --- */
.page-promotions__faq-section {
  padding: 80px 20px;
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

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

.page-promotions__faq-item {
  background-color: var(--card-bg); /* #11271B */
  border: 1px solid var(--border-color); /* #2E7A4E */
  border-radius: 8px;
  margin-bottom: 15px;
  text-align: left;
  overflow: hidden; /* For details tag */
}

.page-promotions__faq-item summary {
  list-style: none; /* Hide default marker for details */
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  font-weight: bold;
  color: var(--text-main); /* #F2FFF6 */
  font-size: 1.1em;
  background-color: rgba(255, 255, 255, 0.03);
  transition: background-color 0.3s ease;
}

.page-promotions__faq-item summary:hover {
  background-color: rgba(255, 255, 255, 0.08);
}

.page-promotions__faq-item summary::-webkit-details-marker {
  display: none; /* Hide default marker for details */
}

.page-promotions__faq-qtext {
  flex-grow: 1;
  padding-right: 15px;
}

.page-promotions__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  color: var(--main-color); /* #11A84E */
  transition: transform 0.3s ease;
}

.page-promotions__faq-item[open] .page-promotions__faq-toggle {
  transform: rotate(45deg); /* Rotate for minus sign effect */
}

.page-promotions__faq-answer {
  padding: 15px 25px 20px 25px;
  color: var(--text-secondary); /* #A7D9B8 */
  font-size: 0.95em;
  background-color: rgba(255, 255, 255, 0.02);
}

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

/* --- Final CTA Section --- */
.page-promotions__cta-final-section {
  padding: 80px 20px;
  background-image: linear-gradient(to right, #11A84E, #22C768); /* Brand gradient background */
  text-align: center;
  color: #ffffff; /* White text on this background */
}

.page-promotions__cta-final-section .page-promotions__section-title {
  color: #ffffff; /* White title */
}

.page-promotions__cta-final-section .page-promotions__section-description {
  color: #e0e0e0; /* Slightly off-white description */
}

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

@media (max-width: 768px) {
  .page-promotions__hero-section {
    padding-bottom: 40px;
  }
  .page-promotions__main-title {
    font-size: clamp(1.8em, 6vw, 2.5em); /* Smaller on mobile */
  }
  .page-promotions__description {
    font-size: 1em;
  }
  .page-promotions__cta-button {
    font-size: 1em;
    padding: 12px 25px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-promotions__cta-button--large {
    font-size: 1.1em;
    padding: 15px 30px;
  }

  .page-promotions__intro-section,
  .page-promotions__featured-section,
  .page-promotions__how-to-claim-section,
  .page-promotions__terms-section,
  .page-promotions__faq-section,
  .page-promotions__cta-final-section {
    padding: 40px 15px; /* Adjust padding for mobile */
  }

  .page-promotions__section-title {
    font-size: 1.8em;
    margin-bottom: 20px;
  }
  .page-promotions__section-description {
    font-size: 0.9em;
    margin-bottom: 30px;
  }

  /* Image responsiveness */
  .page-promotions img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-promotions__hero-image-wrapper,
  .page-promotions__image-content,
  .page-promotions__promo-image,
  .page-promotions__step-image {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  /* Video responsiveness (if any, though none in this page) */
  .page-promotions video,
  .page-promotions__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-promotions__video-section,
  .page-promotions__video-container,
  .page-promotions__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  .page-promotions__video-section {
    padding-top: 10px !important; /* body already has padding-top */
  }

  /* Button container responsiveness */
  .page-promotions__cta-buttons,
  .page-promotions__button-group,
  .page-promotions__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important; /* Allow buttons to wrap */
    gap: 10px; /* Spacing between wrapped buttons */
  }
  .page-promotions__promo-card .page-promotions__card-button {
    max-width: calc(100% - 30px) !important; /* Adjust for card padding */
    width: calc(100% - 30px) !important;
    margin-left: 15px;
    margin-right: 15px;
  }

  .page-promotions__promo-grid,
  .page-promotions__steps-grid {
    grid-template-columns: 1fr; /* Single column on mobile */
  }

  .page-promotions__promo-card,
  .page-promotions__step-card {
    margin-bottom: 20px;
  }

  .page-promotions__faq-item summary {
    padding: 15px 20px;
    font-size: 1em;
  }
  .page-promotions__faq-answer {
    padding: 10px 20px 15px 20px;
    font-size: 0.9em;
  }
  .page-promotions__terms-list li {
    font-size: 0.9em;
    padding: 12px 15px;
  }
}