/* style/promotions.css */

/* Base styles for the promotions page content */
.page-promotions {
  background-color: var(--background-color, #08160F); /* Default to Background color if var not set */
  color: #F2FFF6; /* Text Main */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-bottom: 60px; /* Ensure space above footer */
}

/* Page content container for max-width */
.page-promotions__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

/* Section titles */
.page-promotions__section-title {
  font-size: 2.5em; /* Using em for relative sizing, will adjust with font-weight */
  font-weight: bold;
  color: #F2FFF6; /* Text Main */
  text-align: center;
  margin-bottom: 20px;
  line-height: 1.2;
}

/* Section descriptions */
.page-promotions__section-description {
  font-size: 1.1em;
  color: #A7D9B8; /* Text Secondary */
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Hero Section */
.page-promotions__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
  padding-top: 10px; /* Small decorative top padding as body already handles header offset */
  overflow: hidden; /* To contain image */
}

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

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

.page-promotions__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  color: #F2FFF6; /* Text Main */
}

.page-promotions__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem); /* Using clamp for H1 font size */
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #F2FFF6; /* Text Main */
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.page-promotions__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #A7D9B8; /* Text Secondary */
  text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}

/* CTA Button */
.page-promotions__cta-button {
  display: inline-block;
  padding: 15px 30px;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button gradient */
  color: #F2FFF6; /* Text Main */
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  font-size: 1.1em;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  max-width: 100%; /* For mobile responsiveness */
  box-sizing: border-box; /* For mobile responsiveness */
  white-space: normal; /* Allow text wrap */
  word-wrap: break-word; /* Allow text wrap */
}

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

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

/* Why Choose Section */
.page-promotions__why-choose-section {
  padding: 60px 0;
  background-color: var(--background-color, #08160F);
}

.page-promotions__feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-promotions__feature-item {
  background-color: #11271B; /* Card BG */
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

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

.page-promotions__feature-icon {
  width: 100%; /* Ensure image fills container */
  height: auto;
  max-height: 200px; /* Constrain height */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-promotions__feature-title {
  font-size: 1.5em;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 10px;
}

.page-promotions__feature-text {
  color: #A7D9B8; /* Text Secondary */
  font-size: 1em;
}

/* Current Promotions Section */
.page-promotions__current-promotions-section {
  padding: 60px 0;
  background-color: var(--background-color, #08160F);
}

.page-promotions__promotions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.page-promotions__promotion-card {
  background-color: #11271B; /* Card BG */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.page-promotions__promotion-card:hover {
  transform: translateY(-5px);
}

.page-promotions__promotion-image {
  width: 100%;
  height: 225px; /* Fixed height for consistency */
  object-fit: cover;
}

.page-promotions__promotion-content {
  padding: 25px;
}

.page-promotions__promotion-title {
  font-size: 1.4em;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 10px;
  line-height: 1.3;
}

.page-promotions__promotion-text {
  color: #A7D9B8; /* Text Secondary */
  font-size: 0.95em;
  margin-bottom: 20px;
}

.page-promotions__promotion-button {
  display: inline-block;
  padding: 10px 20px;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button gradient */
  color: #F2FFF6; /* Text Main */
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  font-size: 0.9em;
  transition: background 0.3s ease;
  max-width: 100%; /* For mobile responsiveness */
  box-sizing: border-box; /* For mobile responsiveness */
  white-space: normal; /* Allow text wrap */
  word-wrap: break-word; /* Allow text wrap */
}

.page-promotions__promotion-button:hover {
  filter: brightness(1.1);
}

/* How to Claim Section */
.page-promotions__how-to-claim-section {
  padding: 60px 0;
  background-color: #0A4B2C; /* Deep Green for contrast */
}

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

.page-promotions__step-item {
  background-color: #11271B; /* Card BG */
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

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

.page-promotions__step-image {
  width: 100%;
  height: auto;
  max-height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-promotions__step-title {
  font-size: 1.3em;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 10px;
}

.page-promotions__step-text {
  color: #A7D9B8; /* Text Secondary */
  font-size: 0.95em;
  margin-bottom: 20px;
}

.page-promotions__step-button {
  display: inline-block;
  padding: 10px 20px;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button gradient */
  color: #F2FFF6; /* Text Main */
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  font-size: 0.9em;
  transition: background 0.3s ease;
  max-width: 100%; /* For mobile responsiveness */
  box-sizing: border-box; /* For mobile responsiveness */
  white-space: normal; /* Allow text wrap */
  word-wrap: break-word; /* Allow text wrap */
}

.page-promotions__step-button:hover {
  filter: brightness(1.1);
}

/* FAQ Section */
.page-promotions__faq-section {
  padding: 60px 0;
  background-color: var(--background-color, #08160F);
}

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

.page-promotions__faq-item {
  background-color: #11271B; /* Card BG */
  border-radius: 8px;
  margin-bottom: 15px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-promotions__faq-item summary {
  list-style: none; /* Remove default marker */
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-size: 1.1em;
  font-weight: bold;
  color: #F2FFF6; /* Text Main */
  border-bottom: 1px solid #2E7A4E; /* Border color */
}

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

.page-promotions__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.page-promotions__faq-qtext {
  flex-grow: 1;
  text-align: left;
}

.page-promotions__faq-toggle {
  font-size: 1.5em;
  font-weight: normal;
  margin-left: 15px;
  transition: transform 0.3s ease;
}

.page-promotions__faq-item[open] .page-promotions__faq-toggle {
  transform: rotate(45deg); /* Rotate plus to cross */
}

.page-promotions__faq-answer {
  padding: 15px 25px 20px;
  font-size: 1em;
  color: #A7D9B8; /* Text Secondary */
  line-height: 1.5;
  border-top: 1px solid #1E3A2A; /* Divider */
}

/* Bottom CTA Section */
.page-promotions__cta-bottom-section {
  padding: 80px 0;
  text-align: center;
  background-color: #0A4B2C; /* Deep Green */
}

/* --- Responsive Adjustments --- */
@media (max-width: 1024px) {
  .page-promotions__main-title {
    font-size: clamp(2rem, 6vw, 3rem);
  }
}

@media (max-width: 768px) {
  .page-promotions__section-title {
    font-size: 2em;
    padding: 0 15px;
  }
  .page-promotions__section-description {
    font-size: 1em;
    padding: 0 15px;
  }

  .page-promotions__hero-section {
    padding: 60px 15px;
    padding-top: 10px !important; /* body already handles header offset */
  }

  .page-promotions__main-title {
    font-size: clamp(1.8rem, 7vw, 2.5rem);
    padding: 0 15px;
  }

  .page-promotions__hero-description {
    font-size: 1em;
    padding: 0 15px;
  }

  /* Images responsive */
  .page-promotions img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  /* Containers for images, videos, buttons */
  .page-promotions__section,
  .page-promotions__card,
  .page-promotions__container,
  .page-promotions__hero-content,
  .page-promotions__feature-item,
  .page-promotions__promotion-card,
  .page-promotions__step-item,
  .page-promotions__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Buttons responsive */
  .page-promotions__cta-button,
  .page-promotions__promotion-button,
  .page-promotions__step-button,
  .page-promotions a[class*="button"],
  .page-promotions a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Button groups for multiple buttons */
  .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; /* Space between wrapped buttons */
    display: flex; /* Ensure flex context for wrap */
    flex-direction: column; /* Stack buttons vertically on mobile */
  }

  .page-promotions__promotions-grid,
  .page-promotions__feature-grid,
  .page-promotions__steps-grid {
    grid-template-columns: 1fr; /* Single column layout for grids */
  }

  .page-promotions__promotion-image {
    height: auto; /* Allow height to adjust */
  }
}

/* Ensure no filter on images */
.page-promotions img {
  filter: none; /* Override any potential global filter */
}
/* Hero image has a specific darkening filter, which is allowed as it enhances readability, not changes original color */
.page-promotions__hero-image {
  filter: brightness(0.5); /* Specific filter for hero image for text contrast */
}

/* Ensure contrast for text */
.page-promotions {
  color: #F2FFF6; /* Text Main - Light text on dark background */
}
.page-promotions__card,
.page-promotions__feature-item,
.page-promotions__promotion-card,
.page-promotions__step-item,
.page-promotions__faq-item {
  background-color: #11271B; /* Card BG - Dark background */
  color: #F2FFF6; /* Text Main - Light text */
}
.page-promotions__section-description,
.page-promotions__hero-description,
.page-promotions__feature-text,
.page-promotions__promotion-text,
.page-promotions__step-text,
.page-promotions__faq-answer {
  color: #A7D9B8; /* Text Secondary - Slightly lighter text */
}
.page-promotions__cta-button,
.page-promotions__promotion-button,
.page-promotions__step-button {
  color: #F2FFF6; /* Text Main - Light text on gradient button */
}

/* Border and Divider colors */
.page-promotions__faq-item summary {
  border-bottom: 1px solid #2E7A4E; /* Border color */
}
.page-promotions__faq-answer {
  border-top: 1px solid #1E3A2A; /* Divider color */
}