/* style/promotions.css */

/* General page styling */
.page-promotions {
  background-color: #08160F; /* Custom Background */
  color: #F2FFF6; /* Custom Text Main */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
}

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

.page-promotions__section-title {
  font-size: 2.5em;
  font-weight: 700;
  color: #F2C14E; /* Gold */
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

.page-promotions__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #2AD16F 0%, #13994A 100%); /* Button gradient for accent */
  border-radius: 2px;
}

.page-promotions__text {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: #A7D9B8; /* Text Secondary */
  text-align: justify;
}

/* Hero Section */
.page-promotions__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column; /* Image on top, content below */
  align-items: center;
  padding: 10px 0 60px 0; /* body handles top padding, this is a small decor top padding */
  overflow: hidden;
  background-color: #08160F;
}

.page-promotions__hero-image-wrapper {
  width: 100%;
  max-width: 1920px;
  margin-bottom: 30px;
}

.page-promotions__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

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

.page-promotions__main-title {
  font-size: clamp(2em, 4vw, 3.5em); /* Responsive H1 */
  font-weight: 800;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-promotions__subtitle {
  font-size: 1.3em;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* CTA Button */
.page-promotions__cta-button {
  display: inline-block;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Custom Button Gradient */
  color: #F2FFF6; /* Text Main */
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.2em;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(34, 199, 104, 0.4);
}

.page-promotions__cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(34, 199, 104, 0.6);
  opacity: 0.9;
}

.page-promotions__cta-button--small {
  padding: 10px 20px;
  font-size: 1em;
}

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

/* Intro Section */
.page-promotions__intro-section {
  padding: 80px 0;
  background-color: #08160F;
}

/* Promotion Types Grid */
.page-promotions__promotion-types {
  padding: 80px 0;
  background-color: #08160F;
}

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

.page-promotions__card {
  background-color: #11271B; /* Custom Card BG */
  border: 1px solid #2E7A4E; /* Custom Border */
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

.page-promotions__card-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 25px;
  display: block; /* Ensure it respects max-width: 100% */
}

.page-promotions__card-title {
  font-size: 1.5em;
  font-weight: 700;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 15px;
}

.page-promotions__card-text {
  font-size: 1em;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 25px;
  flex-grow: 1; /* Pushes button to bottom */
}

/* How to Claim Section */
.page-promotions__how-to-claim {
  padding: 80px 0;
  background-color: #08160F;
}

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

.page-promotions__step-item {
  background-color: #11271B; /* Custom Card BG */
  border: 1px solid #2E7A4E; /* Custom Border */
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  text-align: center;
}

.page-promotions__step-title {
  font-size: 1.8em;
  font-weight: 700;
  color: #F2C14E; /* Gold */
  margin-bottom: 15px;
}

.page-promotions__cta-wrapper {
  text-align: center;
  margin-top: 40px;
}

/* Benefits Section */
.page-promotions__benefits {
  padding: 80px 0;
  background-color: #08160F;
}

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

.page-promotions__benefit-item {
  background-color: #11271B; /* Custom Card BG */
  border: 1px solid #2E7A4E; /* Custom Border */
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.page-promotions__benefit-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
  filter: drop-shadow(0 0 8px #57E38D); /* Glow */
}

.page-promotions__benefit-title {
  font-size: 1.5em;
  font-weight: 700;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 15px;
}

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

/* FAQ Section */
.page-promotions__faq-section {
  padding: 80px 0;
  background-color: #08160F;
}

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

.page-promotions__faq-item {
  background-color: #11271B; /* Custom Card BG */
  border: 1px solid #2E7A4E; /* Custom Border */
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.page-promotions__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 30px;
  font-size: 1.2em;
  font-weight: 600;
  color: #F2FFF6; /* Text Main */
  cursor: pointer;
  background-color: #1E3A2A; /* Divider for FAQ question background */
  transition: background-color 0.3s ease;
}

.page-promotions__faq-question:hover {
  background-color: #2E7A4E; /* Border color on hover */
}

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

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

.page-promotions__faq-toggle {
  font-size: 1.5em;
  font-weight: bold;
  color: #57E38D; /* Glow */
  margin-left: 20px;
}

.page-promotions__faq-item[open] .page-promotions__faq-toggle {
  content: '−';
}

.page-promotions__faq-answer {
  padding: 0 30px 20px 30px;
  font-size: 1em;
  color: #A7D9B8; /* Text Secondary */
  line-height: 1.6;
}

.page-promotions__faq-item:not([open]) .page-promotions__faq-answer {
  display: none; /* Hide answer when not open for details tag */
}

/* Conclusion Section */
.page-promotions__conclusion-section {
  padding: 80px 0;
  text-align: center;
  background-color: #08160F;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-promotions__section-title {
    font-size: 2.2em;
  }
  .page-promotions__main-title {
    font-size: clamp(1.8em, 5vw, 3em);
  }
  .page-promotions__subtitle {
    font-size: 1.1em;
  }
}

@media (max-width: 768px) {
  .page-promotions__container {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }

  .page-promotions__hero-section {
    padding: 10px 0 40px 0;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .page-promotions__main-title {
    font-size: clamp(1.6em, 6vw, 2.5em);
    margin-bottom: 15px;
  }

  .page-promotions__subtitle {
    font-size: 1em;
    margin-bottom: 25px;
  }

  .page-promotions__cta-button {
    padding: 12px 25px;
    font-size: 1.1em;
  }

  .page-promotions__cta-button--large {
    padding: 15px 30px;
    font-size: 1.2em;
    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--small {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-promotions__grid,
  .page-promotions__steps-grid,
  .page-promotions__benefits-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

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

  .page-promotions__text {
    font-size: 0.95em;
  }

  .page-promotions__card,
  .page-promotions__step-item,
  .page-promotions__benefit-item {
    padding: 20px;
  }

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

  .page-promotions__card-title,
  .page-promotions__step-title,
  .page-promotions__benefit-title {
    font-size: 1.3em;
  }

  /* Mobile image responsiveness */
  .page-promotions img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  /* All containers with images/buttons/content */
  .page-promotions__hero-section,
  .page-promotions__intro-section,
  .page-promotions__promotion-types,
  .page-promotions__how-to-claim,
  .page-promotions__benefits,
  .page-promotions__cta-section,
  .page-promotions__faq-section,
  .page-promotions__conclusion-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 0 !important;
    padding-right: 0 !important; /* Sections should be full width */
  }
  
  .page-promotions__hero-content {
      padding-left: 15px !important;
      padding-right: 15px !important;
  }
  .page-promotions__faq-question {
      padding: 15px 20px;
  }
  .page-promotions__faq-answer {
      padding: 0 20px 15px 20px;
  }
}

/* Ensure no filter on images */
.page-promotions img {
  filter: none;
}