/* style/promotions.css */

/* Base styles for the promotions page */
.page-promotions {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #F2FFF6; /* Text Main */
  background-color: #08160F; /* Background */
  padding-top: 10px; /* Small top padding for first section, body handles header offset */
}

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

.page-promotions__section-title {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  color: #F2FFF6; /* Text Main */
  line-height: 1.2;
}

.page-promotions__section-title--light {
  color: #F2FFF6;
}

.page-promotions__text-block {
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 20px;
  color: #A7D9B8; /* Text Secondary */
}

.page-promotions__text-block--light {
  color: #F2FFF6;
}

.page-promotions strong {
  color: #F2C14E; /* Gold */
}

.page-promotions a {
  color: #57E38D; /* Glow */
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-promotions a:hover {
  color: #2AD16F;
}

/* Hero Section */
.page-promotions__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding-bottom: 60px; /* Space below content */
}

.page-promotions__hero-image-wrapper {
  width: 100%;
  max-height: 675px; /* Max height for the image */
  overflow: hidden;
  order: 1; /* Image on top */
}

.page-promotions__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  min-height: 300px; /* Minimum height for hero image */
}

.page-promotions__hero-content {
  order: 2; /* Content below image */
  padding: 40px 20px;
  max-width: 900px;
  margin: 0 auto;
  box-sizing: border-box;
}

.page-promotions__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #F2FFF6; /* Text Main */
}

.page-promotions__hero-description {
  font-size: 1.15rem;
  line-height: 1.7;
  margin-bottom: 30px;
  color: #A7D9B8; /* Text Secondary */
}

/* CTA Buttons */
.page-promotions__cta-buttons {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 30px;
}

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

.page-promotions__btn-primary,
.page-promotions__btn-secondary {
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  display: inline-block;
  transition: all 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  font-size: 1rem;
  text-align: center;
}

.page-promotions__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button */
  color: #F2FFF6; /* Text Main */
  border: none;
}

.page-promotions__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.page-promotions__btn-secondary {
  background: transparent;
  color: #57E38D; /* Glow */
  border: 2px solid #57E38D; /* Glow */
}

.page-promotions__btn-secondary:hover {
  background: #57E38D;
  color: #08160F; /* Background for hover text */
  transform: translateY(-2px);
}

/* Overview Section */
.page-promotions__overview-section {
  padding: 60px 0;
}

/* Dark section styling */
.page-promotions__dark-section {
  background-color: #0A4B2C; /* Deep Green */
  padding: 60px 0;
}

/* Promotion Categories Section */
.page-promotions__categories-section {
  padding: 60px 0;
  background-color: #08160F; /* Background */
}

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

.page-promotions__card {
  background-color: #11271B; /* Card BG */
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
  border: 1px solid #2E7A4E; /* Border */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-promotions__category-image {
  width: 100%;
  height: 220px; /* Ensuring minimum height > 200px */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
}

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

.page-promotions__card-description {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 20px;
  flex-grow: 1;
}

/* How to Claim Section */
.page-promotions__how-to-claim-section {
  padding: 60px 0;
}

.page-promotions__steps-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  margin-top: 40px;
}

.page-promotions__step-item {
  background-color: #11271B; /* Card BG */
  border-radius: 10px;
  padding: 25px;
  border: 1px solid #2E7A4E; /* Border */
}

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

.page-promotions__step-description {
  font-size: 0.95rem;
  color: #A7D9B8; /* Text Secondary */
}

/* Terms and Conditions Summary Section */
.page-promotions__terms-section {
  padding: 60px 0;
  background-color: #08160F; /* Background */
}

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

.page-promotions__terms-item {
  background-color: #11271B; /* Card BG */
  border-radius: 8px;
  padding: 15px 20px;
  margin-bottom: 10px;
  font-size: 0.95rem;
  color: #A7D9B8; /* Text Secondary */
  border-left: 4px solid #57E38D; /* Glow */
}

/* FAQ Section */
.page-promotions__faq-section {
  padding: 60px 0;
}

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

.page-promotions__faq-item {
  margin-bottom: 15px;
  border: 1px solid #2E7A4E; /* Border */
  border-radius: 8px;
  background-color: #11271B; /* Card BG */
}

.page-promotions__faq-item summary {
  list-style: none; /* Remove default marker */
}

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

.page-promotions__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  background-color: #1E3A2A; /* Divider */
  border-radius: 8px;
  transition: background-color 0.3s ease;
}

.page-promotions__faq-item[open] .page-promotions__faq-question {
  border-radius: 8px 8px 0 0;
}

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

.page-promotions__faq-qtext {
  font-size: 1.1rem;
  font-weight: 600;
  color: #F2FFF6; /* Text Main */
}

.page-promotions__faq-toggle {
  font-size: 1.5rem;
  font-weight: 700;
  color: #57E38D; /* Glow */
  margin-left: 15px;
  transition: transform 0.3s ease;
}

.page-promotions__faq-item[open] .page-promotions__faq-toggle {
  transform: rotate(45deg); /* Rotate '+' to 'x' or similar */
}

.page-promotions__faq-answer {
  padding: 15px 25px 20px;
  background-color: #11271B; /* Card BG */
  border-radius: 0 0 8px 8px;
  font-size: 0.95rem;
  color: #A7D9B8; /* Text Secondary */
}

.page-promotions__faq-answer p {
  margin-bottom: 0;
  color: #A7D9B8;
}

/* Final CTA Section */
.page-promotions__cta-final-section {
  padding: 80px 0;
  text-align: center;
}

.page-promotions__cta-final-content {
  max-width: 800px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-promotions__hero-image-wrapper {
    max-height: 500px;
  }
}

@media (max-width: 768px) {
  .page-promotions {
    font-size: 16px;
    line-height: 1.6;
    padding-top: 0; /* body padding-top is enough */
  }

  .page-promotions__container,
  .page-promotions__hero-content,
  .page-promotions__overview-section .page-promotions__container,
  .page-promotions__categories-section .page-promotions__container,
  .page-promotions__how-to-claim-section .page-promotions__container,
  .page-promotions__terms-section .page-promotions__container,
  .page-promotions__faq-section .page-promotions__container,
  .page-promotions__cta-final-section .page-promotions__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
  }

  .page-promotions__hero-section {
    padding-bottom: 40px;
  }

  .page-promotions__hero-image-wrapper {
    max-height: 400px;
  }

  .page-promotions__main-title {
    font-size: clamp(2rem, 8vw, 2.5rem);
  }

  .page-promotions__hero-description {
    font-size: 1rem;
  }

  .page-promotions__cta-buttons {
    flex-direction: column !important;
    gap: 15px !important;
  }

  .page-promotions__btn-primary,
  .page-promotions__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
  }

  .page-promotions__section-title {
    font-size: clamp(1.5rem, 6vw, 2rem);
    margin-bottom: 30px;
  }

  .page-promotions__category-grid {
    grid-template-columns: 1fr;
  }

  .page-promotions__category-image {
    height: 180px; /* Adjust for mobile, still > 200px */
  }

  .page-promotions__steps-list {
    grid-template-columns: 1fr;
  }

  .page-promotions__faq-qtext {
    font-size: 1rem;
  }

  /* Ensure all images are responsive */
  .page-promotions img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  /* Section padding adjustments */
  .page-promotions__overview-section,
  .page-promotions__categories-section,
  .page-promotions__how-to-claim-section,
  .page-promotions__terms-section,
  .page-promotions__faq-section,
  .page-promotions__cta-final-section {
    padding: 40px 0;
  }
}

@media (max-width: 480px) {
  .page-promotions__hero-image-wrapper {
    max-height: 250px;
  }
  .page-promotions__hero-content {
    padding: 20px 0;
  }
  .page-promotions__main-title {
    font-size: clamp(1.8rem, 7vw, 2.2rem);
  }
  .page-promotions__hero-description {
    font-size: 0.9rem;
  }
  .page-promotions__btn-primary, .page-promotions__btn-secondary {
    padding: 12px 20px;
  }
  .page-promotions__card {
    padding: 20px;
  }
  .page-promotions__category-image {
    height: 150px;
  }
  .page-promotions__step-item,
  .page-promotions__terms-item {
    padding: 15px;
  }
  .page-promotions__faq-question {
    padding: 15px 20px;
  }
  .page-promotions__faq-answer {
    padding: 10px 20px 15px;
  }
}