/* style/promotions.css */

:root {
  --nh88b-primary: #11A84E;
  --nh88b-secondary: #22C768;
  --nh88b-button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  --nh88b-card-bg: #11271B;
  --nh88b-background: #08160F;
  --nh88b-text-main: #F2FFF6;
  --nh88b-text-secondary: #A7D9B8;
  --nh88b-border: #2E7A4E;
  --nh88b-glow: #57E38D;
  --nh88b-gold: #F2C14E;
  --nh88b-divider: #1E3A2A;
  --nh88b-deep-green: #0A4B2C;
}

.page-promotions {
  color: var(--nh88b-text-main); /* Ensure text is visible on dark body background */
  background-color: var(--nh88b-background); /* Override default body background if necessary */
  font-family: 'Arial', sans-serif;
}

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

.page-promotions__hero-image-wrapper {
  width: 100%;
  max-height: 700px; /* Limit height for aesthetic */
  overflow: hidden;
  position: relative;
}

.page-promotions__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.6);
  transition: transform 0.3s ease-in-out;
}

.page-promotions__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 40px 20px;
  margin-top: -150px; /* Pull content up over image a bit */
  background: rgba(0, 0, 0, 0.4); /* Semi-transparent background for readability */
  border-radius: 15px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
}

.page-promotions__main-title {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--nh88b-gold);
  margin-bottom: 20px;
  text-shadow: 0 0 10px rgba(242, 193, 78, 0.6);
  font-size: clamp(2.2rem, 4vw, 3.5rem);
}

.page-promotions__hero-description {
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--nh88b-text-secondary);
  margin-bottom: 30px;
}

.page-promotions__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-promotions__btn-primary,
.page-promotions__btn-secondary {
  padding: 15px 30px;
  border-radius: 50px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  white-space: nowrap;
  word-wrap: normal;
  box-sizing: border-box;
  max-width: 100%;
}

.page-promotions__btn-primary {
  background: var(--nh88b-button-gradient);
  color: var(--nh88b-text-main);
  border: 2px solid var(--nh88b-secondary);
  box-shadow: 0 5px 20px rgba(42, 209, 111, 0.4);
}

.page-promotions__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(42, 209, 111, 0.6);
  filter: brightness(1.1);
}

.page-promotions__btn-secondary {
  background: transparent;
  color: var(--nh88b-secondary);
  border: 2px solid var(--nh88b-secondary);
}

.page-promotions__btn-secondary:hover {
  background: var(--nh88b-secondary);
  color: var(--nh88b-background);
  transform: translateY(-3px);
  box-shadow: 0 5px 20px rgba(34, 199, 104, 0.3);
}

/* General Section Styling */
.page-promotions__section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
  text-align: center;
  box-sizing: border-box;
}

.page-promotions__section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  color: var(--nh88b-gold);
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.3;
}

.page-promotions__section-description {
  font-size: 1.05rem;
  color: var(--nh88b-text-secondary);
  max-width: 800px;
  margin: 0 auto 40px auto;
  line-height: 1.7;
}

/* Promotions Grid */
.page-promotions__promotions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-promotions__promotion-card {
  background: var(--nh88b-card-bg);
  border-radius: 15px;
  overflow: hidden;
  text-align: left;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--nh88b-border);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.page-promotions__promotion-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.page-promotions__card-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
}

.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.5rem;
  color: var(--nh88b-text-main);
  margin-bottom: 15px;
  font-weight: 600;
  line-height: 1.4;
}

.page-promotions__card-text {
  font-size: 0.95rem;
  color: var(--nh88b-text-secondary);
  line-height: 1.7;
  margin-bottom: 20px;
  flex-grow: 1;
}

/* How-To-Claim Section */
.page-promotions__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-promotions__step-card {
  background: var(--nh88b-text-main);
  color: #333333;
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  border: 1px solid #e0e0e0;
}

.page-promotions__step-icon {
  width: 80px;
  height: 80px;
  background: var(--nh88b-secondary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  box-shadow: 0 0 15px rgba(34, 199, 104, 0.4);
}

.page-promotions__step-image {
  width: 60px;
  height: 60px;
  object-fit: contain;
}

.page-promotions__step-title {
  font-size: 1.4rem;
  color: var(--nh88b-deep-green);
  margin-bottom: 15px;
  font-weight: 700;
}

.page-promotions__step-text {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #555555;
  margin-bottom: 20px;
}

.page-promotions__step-card .page-promotions__btn-primary {
  background: var(--nh88b-button-gradient);
  color: var(--nh88b-text-main);
  border: 2px solid var(--nh88b-secondary);
}

.page-promotions__step-card .page-promotions__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(42, 209, 111, 0.6);
  filter: brightness(1.1);
}

/* Terms & Conditions */
.page-promotions__terms-list {
  text-align: left;
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-promotions__terms-item {
  background: var(--nh88b-card-bg);
  border-left: 5px solid var(--nh88b-primary);
  border-radius: 8px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s ease;
}

.page-promotions__terms-item:hover {
  transform: translateX(5px);
}

.page-promotions__terms-subtitle {
  font-size: 1.3rem;
  color: var(--nh88b-text-main);
  margin-bottom: 10px;
  font-weight: 600;
}

.page-promotions__terms-item p {
  font-size: 0.95rem;
  color: var(--nh88b-text-secondary);
  line-height: 1.7;
}

/* Why Choose Section */
.page-promotions__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-promotions__feature-item {
  background: var(--nh88b-card-bg);
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--nh88b-border);
  text-align: center;
  transition: background 0.3s ease;
}

.page-promotions__feature-item:hover {
  background: var(--nh88b-deep-green);
}

.page-promotions__feature-icon {
  width: 80px;
  height: 80px;
  margin-bottom: 20px;
  filter: drop-shadow(0 0 8px rgba(242, 193, 78, 0.5));
}

.page-promotions__feature-title {
  font-size: 1.4rem;
  color: var(--nh88b-text-main);
  margin-bottom: 10px;
  font-weight: 600;
}

.page-promotions__feature-item p {
  font-size: 0.95rem;
  color: var(--nh88b-text-secondary);
  line-height: 1.7;
}

/* FAQ Section */
.page-promotions__faq-list {
  margin-top: 40px;
  text-align: left;
}

.page-promotions__faq-item {
  background: var(--nh88b-card-bg);
  border: 1px solid var(--nh88b-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 25px;
  cursor: pointer;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--nh88b-text-main);
  position: relative;
  background: var(--nh88b-card-bg);
  transition: background 0.3s ease;
}

.page-promotions__faq-item[open] > .page-promotions__faq-question {
  background: var(--nh88b-deep-green);
  color: var(--nh88b-gold);
}

.page-promotions__faq-question:hover {
  background: var(--nh88b-deep-green);
}

.page-promotions__faq-toggle {
  font-size: 1.8rem;
  line-height: 1;
  transition: transform 0.3s ease;
  color: var(--nh88b-gold);
}

.page-promotions__faq-item[open] .page-promotions__faq-toggle {
  transform: rotate(45deg);
}

.page-promotions__faq-item details > summary {
  list-style: none;
}

.page-promotions__faq-item details > summary::-webkit-details-marker {
  display: none;
}

.page-promotions__faq-answer {
  padding: 0 25px 20px 25px;
  font-size: 1rem;
  color: var(--nh88b-text-secondary);
  line-height: 1.7;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out;
}

.page-promotions__faq-item[open] .page-promotions__faq-answer {
  max-height: 500px; /* Adjust as needed */
  transition: max-height 0.4s ease-in;
}

/* Conclusion Section */
.page-promotions__conclusion {
  padding-bottom: 80px;
}

/* --- Responsive Design --- */

/* Tablet (max-width: 1024px) */
@media (max-width: 1024px) {
  .page-promotions__hero-content {
    margin-top: -100px;
    padding: 30px 20px;
  }

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

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

  .page-promotions__section-title {
    font-size: clamp(1.6rem, 3.8vw, 2.5rem);
  }

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

/* Mobile (max-width: 768px) */
@media (max-width: 768px) {
  .page-promotions {
    font-size: 16px;
    line-height: 1.6;
  }

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

  .page-promotions__hero-content {
    margin-top: -80px;
    padding: 25px 15px;
    width: calc(100% - 30px);
  }

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

  .page-promotions__hero-description {
    font-size: 0.95rem;
    margin-bottom: 25px;
  }

  .page-promotions__cta-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100%;
  }

  .page-promotions__btn-primary,
  .page-promotions__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    white-space: normal !important;
    word-wrap: break-word !important;
    font-size: 1rem;
  }

  .page-promotions__section {
    padding: 40px 15px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-promotions__section-title {
    font-size: clamp(1.5rem, 5vw, 2.2rem);
    margin-bottom: 15px;
  }

  .page-promotions__section-description {
    font-size: 0.9rem;
    margin-bottom: 30px;
  }

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

  .page-promotions__card-title {
    font-size: 1.3rem;
  }

  .page-promotions__card-text,
  .page-promotions__step-text,
  .page-promotions__terms-item p,
  .page-promotions__feature-item p,
  .page-promotions__faq-answer p {
    font-size: 0.9rem;
  }

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

  .page-promotions__step-card,
  .page-promotions__feature-item,
  .page-promotions__terms-item,
  .page-promotions__faq-item {
    padding: 20px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-promotions img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-promotions__hero-image-wrapper,
  .page-promotions__promotions-grid,
  .page-promotions__steps-grid,
  .page-promotions__features-grid,
  .page-promotions__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .page-promotions__faq-question {
    font-size: 1rem;
    padding: 15px 20px;
  }

  .page-promotions__faq-answer {
    padding: 0 20px 15px 20px;
  }
}

/* Ensure all content area images are at least 200px wide */
.page-promotions img:not(.page-promotions__step-image):not(.page-promotions__feature-icon) {
  min-width: 200px;
  min-height: 200px;
}

/* Specific overrides for small icons if they are used within content areas */
.page-promotions__step-image, .page-promotions__feature-icon {
  min-width: unset;
  min-height: unset;
}