/* style/promotions.css */

:root {
  --page-promotions-bg: #08160F;
  --page-promotions-card-bg: #11271B;
  --page-promotions-text-main: #F2FFF6;
  --page-promotions-text-secondary: #A7D9B8;
  --page-promotions-btn-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  --page-promotions-border-color: #2E7A4E;
  --page-promotions-glow-color: #57E38D;
  --page-promotions-gold-color: #F2C14E;
  --page-promotions-divider-color: #1E3A2A;
  --page-promotions-deep-green: #0A4B2C;
}

.page-promotions {
  background-color: var(--page-promotions-bg);
  color: var(--page-promotions-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 {
  padding: 60px 0;
  text-align: center;
}

.page-promotions__dark-bg {
  background-color: var(--page-promotions-card-bg);
}

.page-promotions__section-title {
  font-size: clamp(2em, 4vw, 2.8em);
  color: var(--page-promotions-gold-color);
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.05em;
}

.page-promotions__section-description {
  font-size: 1.1em;
  color: var(--page-promotions-text-secondary);
  max-width: 800px;
  margin: 0 auto 40px;
}

/* Hero Section */
.page-promotions__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 600px;
  overflow: hidden;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  background-color: var(--page-promotions-bg);
}

.page-promotions__hero-image-wrapper {
  width: 100%;
  max-height: 700px;
  overflow: hidden;
}

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

.page-promotions__hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 40px 20px;
  max-width: 900px;
  background: rgba(17, 39, 27, 0.7); /* Card BG with transparency */
  border-radius: 15px;
  margin-top: -100px; /* Overlap slightly for visual effect */
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
}

.page-promotions__main-title {
  font-size: clamp(2.5em, 5vw, 3.5em);
  color: var(--page-promotions-gold-color);
  margin-bottom: 20px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: 0.08em;
  text-shadow: 0 0 10px rgba(87, 227, 141, 0.5);
}

.page-promotions__hero-description {
  font-size: 1.2em;
  color: var(--page-promotions-text-main);
  margin-bottom: 40px;
  line-height: 1.8;
}

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

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

.page-promotions__btn-primary {
  background: var(--page-promotions-btn-gradient);
  color: var(--page-promotions-text-main);
  border: 2px solid var(--page-promotions-glow-color);
  box-shadow: 0 5px 15px rgba(42, 209, 111, 0.4);
}

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

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

.page-promotions__btn-secondary:hover {
  background-color: var(--page-promotions-glow-color);
  color: var(--page-promotions-bg);
  transform: translateY(-3px);
}

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

.page-promotions__card {
  background-color: var(--page-promotions-card-bg);
  border: 1px solid var(--page-promotions-border-color);
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: left;
  color: var(--page-promotions-text-main);
  height: 100%;
  box-sizing: border-box;
}

.page-promotions__feature-title {
  font-size: 1.5em;
  color: var(--page-promotions-gold-color);
  margin-bottom: 15px;
  font-weight: 700;
}

.page-promotions__feature-text {
  font-size: 1em;
  color: var(--page-promotions-text-secondary);
  line-height: 1.7;
}

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

.page-promotions__promo-card {
  text-align: left;
  overflow: hidden;
}

.page-promotions__promo-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 20px;
}

.page-promotions__promo-content {
  padding: 0 10px;
}

.page-promotions__promo-title {
  font-size: 1.4em;
  color: var(--page-promotions-gold-color);
  margin-bottom: 10px;
  font-weight: 700;
}

.page-promotions__promo-text {
  font-size: 0.95em;
  color: var(--page-promotions-text-secondary);
  line-height: 1.6;
  margin-bottom: 20px;
}

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

.page-promotions__step-item {
  text-align: center;
  position: relative;
  padding-top: 50px; /* Space for step number */
}

.page-promotions__step-number {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--page-promotions-btn-gradient);
  color: var(--page-promotions-text-main);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8em;
  font-weight: 900;
  border: 3px solid var(--page-promotions-glow-color);
  box-shadow: 0 0 15px rgba(87, 227, 141, 0.6);
}

.page-promotions__step-title {
  font-size: 1.3em;
  color: var(--page-promotions-gold-color);
  margin-bottom: 10px;
  font-weight: 700;
}

.page-promotions__step-text {
  font-size: 0.95em;
  color: var(--page-promotions-text-secondary);
  line-height: 1.6;
}

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

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

.page-promotions__terms-item {
  background-color: var(--page-promotions-card-bg);
  border: 1px solid var(--page-promotions-divider-color);
  border-radius: 10px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.page-promotions__terms-subtitle {
  font-size: 1.3em;
  color: var(--page-promotions-glow-color);
  margin-bottom: 10px;
  font-weight: 600;
}

.page-promotions__terms-text {
  font-size: 0.95em;
  color: var(--page-promotions-text-secondary);
  line-height: 1.7;
}

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

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

.page-promotions__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-size: 1.15em;
  font-weight: 600;
  color: var(--page-promotions-gold-color);
  background-color: var(--page-promotions-deep-green);
  border-bottom: 1px solid var(--page-promotions-divider-color);
  transition: background-color 0.3s ease;
}

.page-promotions__faq-question:hover {
  background-color: var(--page-promotions-deep-green);
  opacity: 0.9;
}

.page-promotions__faq-toggle {
  font-size: 1.5em;
  font-weight: 900;
  color: var(--page-promotions-glow-color);
}

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

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

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

/* Final CTA Section */
.page-promotions__cta-section {
  background-color: var(--page-promotions-deep-green);
  padding: 80px 0;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
  .page-promotions__hero-content {
    margin-top: -50px;
  }
}

@media (max-width: 768px) {
  .page-promotions__hero-section {
    min-height: 500px;
  }

  .page-promotions__hero-content {
    margin-top: -30px;
    padding: 30px 15px;
  }

  .page-promotions__main-title {
    font-size: 2.2em;
  }

  .page-promotions__hero-description {
    font-size: 1em;
    margin-bottom: 30px;
  }

  .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: 1em;
    margin: 0 auto;
  }

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

  .page-promotions__section-title {
    font-size: 2em;
  }

  .page-promotions__section-description {
    font-size: 0.95em;
    margin-bottom: 30px;
  }

  .page-promotions img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-promotions__section,
  .page-promotions__card,
  .page-promotions__container,
  .page-promotions__hero-section,
  .page-promotions__hero-content,
  .page-promotions__cta-buttons,
  .page-promotions__promo-grid,
  .page-promotions__steps-grid,
  .page-promotions__terms-list,
  .page-promotions__faq-list,
  .page-promotions__cta-section,
  .page-promotions__cta-content {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  /* Ensure padding is applied to containers, not just sections */
  .page-promotions__container {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }

  .page-promotions__hero-section {
    padding-top: 10px !important;
  }

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

  .page-promotions__step-item {
    padding-top: 40px;
  }

  .page-promotions__step-number {
    width: 50px;
    height: 50px;
    font-size: 1.5em;
    top: -15px;
  }

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

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

  .page-promotions__terms-item {
    padding: 20px;
  }
}

@media (max-width: 480px) {
  .page-promotions__main-title {
    font-size: 1.8em;
  }

  .page-promotions__section-title {
    font-size: 1.8em;
  }
}