/* style/promotions.css */

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

.page-promotions {
  background-color: var(--promotions-background); /* Dark background from custom colors */
  color: var(--promotions-text-main); /* Light text for dark background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.page-promotions__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  text-align: center;
  background-color: var(--promotions-deep-green);
}

.page-promotions__hero-image {
  width: 100%;
  max-width: 1920px;
  height: auto;
  object-fit: cover;
  margin-bottom: 30px;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

.page-promotions__hero-content {
  max-width: 900px;
  margin: 0 auto;
  z-index: 1;
}

.page-promotions__main-title {
  font-size: clamp(2.5rem, 5vw, 3.2rem); /* Flexible font size for H1 */
  color: var(--promotions-gold-color);
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: 0.05em;
  text-shadow: 0 0 10px rgba(242, 193, 78, 0.6);
}

.page-promotions__lead-text {
  font-size: 1.2rem;
  color: var(--promotions-text-secondary);
  margin-bottom: 30px;
}

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

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

.page-promotions__btn-primary {
  background: var(--promotions-button-gradient);
  color: #ffffff; /* White text for primary button */
  border: 2px solid var(--promotions-primary-color);
  box-shadow: 0 4px 15px rgba(42, 209, 111, 0.4);
}

.page-promotions__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(42, 209, 111, 0.6);
  opacity: 0.9;
}

.page-promotions__btn-secondary {
  background-color: transparent;
  color: var(--promotions-gold-color); /* Gold text for secondary button */
  border: 2px solid var(--promotions-gold-color);
  box-shadow: 0 4px 15px rgba(242, 193, 78, 0.2);
}

.page-promotions__btn-secondary:hover {
  transform: translateY(-3px);
  background-color: rgba(242, 193, 78, 0.1);
  box-shadow: 0 6px 20px rgba(242, 193, 78, 0.4);
}

.page-promotions__section {
  padding: 80px 20px;
  text-align: center;
}

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

.page-promotions__section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--promotions-gold-color);
  margin-bottom: 40px;
  font-weight: bold;
  text-shadow: 0 0 8px rgba(242, 193, 78, 0.4);
}

.page-promotions__section-title--light {
  color: var(--promotions-text-main);
  text-shadow: none;
}

.page-promotions__description {
  font-size: 1.1rem;
  color: var(--promotions-text-secondary);
  margin-bottom: 40px;
}

.page-promotions__description--light {
  color: var(--promotions-text-main);
}

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

.page-promotions__card {
  background-color: var(--promotions-card-bg);
  border: 1px solid var(--promotions-border-color);
  border-radius: 12px;
  padding: 30px;
  text-align: left;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: var(--promotions-text-secondary);
}

.page-promotions__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 15px var(--promotions-glow-color);
}

.page-promotions__card-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  filter: none; /* Ensure no CSS filter */
}

.page-promotions__card-title {
  font-size: 1.8rem;
  color: var(--promotions-gold-color);
  margin-bottom: 15px;
  font-weight: bold;
}

.page-promotions__card-description {
  font-size: 1rem;
  color: var(--promotions-text-secondary);
}

.page-promotions__promo-card {
  background-color: var(--promotions-card-bg);
  border: 1px solid var(--promotions-border-color);
  border-radius: 12px;
  padding: 30px;
  text-align: left;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: var(--promotions-text-secondary);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-promotions__promo-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 15px var(--promotions-glow-color);
}

.page-promotions__promo-title {
  font-size: 1.8rem;
  color: var(--promotions-gold-color);
  margin-bottom: 15px;
  font-weight: bold;
}

.page-promotions__promo-description {
  font-size: 1rem;
  color: var(--promotions-text-secondary);
  margin-bottom: 20px;
}

.page-promotions__promo-list {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
}

.page-promotions__promo-list li {
  color: var(--promotions-text-main);
  margin-bottom: 8px;
  position: relative;
  padding-left: 25px;
}

.page-promotions__promo-list li::before {
  content: '✔';
  color: var(--promotions-glow-color);
  position: absolute;
  left: 0;
  top: 0;
}

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

.page-promotions__step-card {
  background-color: var(--promotions-card-bg);
  border: 1px solid var(--promotions-border-color);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-promotions__step-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 15px var(--promotions-glow-color);
}

.page-promotions__step-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  filter: none; /* Ensure no CSS filter */
}

.page-promotions__step-title {
  font-size: 1.6rem;
  color: var(--promotions-gold-color);
  margin-bottom: 15px;
}

.page-promotions__step-description {
  font-size: 1rem;
  color: var(--promotions-text-secondary);
  margin-bottom: 25px;
}

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

.page-promotions__terms-list li {
  color: var(--promotions-text-secondary);
  margin-bottom: 10px;
  position: relative;
  padding-left: 30px;
}

.page-promotions__terms-list li::before {
  content: '•';
  color: var(--promotions-primary-color);
  position: absolute;
  left: 0;
  top: 0;
  font-size: 1.2em;
}

.page-promotions__faq-section {
  background-color: var(--promotions-deep-green);
  padding: 80px 20px;
}

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

.page-promotions__faq-item {
  background-color: var(--promotions-card-bg);
  border: 1px solid var(--promotions-border-color);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: var(--promotions-text-main);
}

.page-promotions__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.15rem;
  font-weight: bold;
  color: var(--promotions-gold-color);
  cursor: pointer;
  background-color: var(--promotions-card-bg);
  border-bottom: 1px solid var(--promotions-divider-color);
  list-style: none; /* For details summary */
}

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

.page-promotions__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  color: var(--promotions-glow-color);
  margin-left: 15px;
}

.page-promotions__faq-answer {
  padding: 20px 25px;
  font-size: 1rem;
  color: var(--promotions-text-secondary);
  line-height: 1.7;
}

/* Final CTA Section */
.page-promotions__cta-final {
  padding: 100px 20px;
  background-color: var(--promotions-deep-green);
  border-top: 1px solid var(--promotions-divider-color);
}

/* --- Responsive Styles --- */
@media (max-width: 1024px) {
  .page-promotions__hero-section {
    padding: 40px 15px;
  }

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

  .page-promotions__lead-text {
    font-size: 1.1rem;
  }

  .page-promotions__section {
    padding: 60px 15px;
  }

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

@media (max-width: 768px) {
  .page-promotions__hero-section {
    padding: 30px 15px;
  }

  .page-promotions__hero-image {
    margin-bottom: 20px;
  }

  .page-promotions__main-title {
    font-size: clamp(1.8rem, 6vw, 2.2rem) !important;
  }

  .page-promotions__lead-text {
    font-size: 1rem;
  }

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

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

  .page-promotions__section {
    padding: 40px 15px;
  }

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

  .page-promotions__description {
    font-size: 0.95rem;
    margin-bottom: 30px;
  }

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

  .page-promotions__card,
  .page-promotions__promo-card,
  .page-promotions__step-card {
    padding: 25px;
  }

  .page-promotions__card-image,
  .page-promotions__step-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-promotions__card-title,
  .page-promotions__promo-title,
  .page-promotions__step-title {
    font-size: 1.5rem;
  }

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

  .page-promotions__faq-answer {
    padding: 15px 20px;
    font-size: 0.9rem;
  }

  /* Ensure all content containers are responsive */
  .page-promotions__container,
  .page-promotions__hero-section,
  .page-promotions__section,
  .page-promotions__card,
  .page-promotions__promo-card,
  .page-promotions__step-card,
  .page-promotions__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

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

  .page-promotions__hero-image {
    border-radius: 0 !important;
  }

  .page-promotions__faq-section {
    padding-left: 0px !important;
    padding-right: 0px !important;
  }

  .page-promotions__faq-list {
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-promotions__cta-final {
    padding: 60px 15px;
  }
}

/* Global image reset for safety */
.page-promotions img {
  max-width: 100%;
  height: auto;
  display: block;
  filter: none; /* Ensure no CSS filter */
}

/* Ensure content images are at least 200px wide */
.page-promotions__card-image,
.page-promotions__step-image {
  min-width: 200px;
  min-height: 200px;
}

.page-promotions__hero-image {
  min-width: 200px;
  min-height: 200px;
}