/* style/promotions.css */

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

.page-promotions {
  color: var(--c88-text-main); /* Default text color for dark body background */
  background-color: var(--c88-bg-dark); /* Page specific background */
}

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

.page-promotions__section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--c88-text-main);
  text-align: center;
  margin-bottom: 40px;
  line-height: 1.2;
}

.page-promotions__paragraph {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 20px;
  color: var(--c88-text-secondary);
}

/* Hero Section */
.page-promotions__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column; /* Image on top, content below */
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  background-color: var(--c88-deep-green);
  overflow: hidden;
}

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

.page-promotions__hero-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

.page-promotions__hero-content {
  max-width: 900px;
  text-align: center;
  color: var(--c88-text-main);
}

.page-promotions__main-title {
  font-size: clamp(2.8rem, 5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 20px;
  color: var(--c88-text-main);
}

.page-promotions__lead-text {
  font-size: clamp(1.2rem, 2vw, 1.4rem);
  line-height: 1.6;
  margin-bottom: 40px;
  color: var(--c88-text-secondary);
}

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

.page-promotions__btn-primary,
.page-promotions__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  box-sizing: border-box;
}

.page-promotions__btn-primary {
  background: var(--c88-btn-gradient);
  color: var(--c88-text-main);
  border: none;
  box-shadow: 0 4px 15px rgba(34, 199, 104, 0.4);
}

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

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

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

/* Overview Section */
.page-promotions__overview-section {
  padding: 80px 0;
  background-color: var(--c88-bg-dark);
  color: var(--c88-text-secondary);
}

.page-promotions__overview-section .page-promotions__section-title {
  color: var(--c88-text-main);
}

/* Promo Grid Section */
.page-promotions__promo-grid {
  padding: 80px 0;
  background-color: var(--c88-card-bg);
}

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

.page-promotions__promo-card {
  background-color: var(--c88-bg-dark);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  padding-bottom: 20px;
  border: 1px solid var(--c88-border-color);
  transition: transform 0.3s ease;
}

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

.page-promotions__card-image {
  width: 100%;
  height: 220px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
  margin-bottom: 20px;
}

.page-promotions__card-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--c88-text-main);
  margin: 0 20px 10px;
  line-height: 1.3;
}

.page-promotions__card-description {
  font-size: 1rem;
  line-height: 1.5;
  color: var(--c88-text-secondary);
  margin: 0 20px 20px;
  flex-grow: 1;
}

.page-promotions__card-btn {
  margin: 0 20px;
  width: calc(100% - 40px);
  max-width: none; /* Override max-width for full card width */
}

/* Guide Section */
.page-promotions__guide-section {
  padding: 80px 0;
  background-color: var(--c88-bg-dark);
}

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

.page-promotions__step-item {
  background-color: var(--c88-card-bg);
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--c88-border-color);
}

.page-promotions__step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--c88-btn-gradient);
  color: var(--c88-text-main);
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(34, 199, 104, 0.3);
}

.page-promotions__step-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--c88-text-main);
  margin-bottom: 15px;
}

.page-promotions__step-description {
  font-size: 1rem;
  line-height: 1.5;
  color: var(--c88-text-secondary);
}

.page-promotions__note-text {
  margin-top: 40px;
  padding: 20px;
  background-color: var(--c88-deep-green);
  border-left: 5px solid var(--c88-primary-green);
  border-radius: 8px;
  color: var(--c88-text-secondary);
  font-style: italic;
}

.page-promotions__note-text strong {
  color: var(--c88-text-main);
}

/* FAQ Section */
.page-promotions__faq-section {
  padding: 80px 0;
  background-color: var(--c88-card-bg);
}

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

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

.page-promotions__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--c88-text-main);
  cursor: pointer;
  background-color: var(--c88-deep-green);
  transition: background-color 0.3s ease;
  list-style: none; /* For details/summary */
}

.page-promotions__faq-question::-webkit-details-marker {
  display: none; /* For details/summary */
}

.page-promotions__faq-question:hover {
  background-color: var(--c88-primary-green);
}

.page-promotions__faq-toggle {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--c88-secondary-green);
}

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

/* CTA Section */
.page-promotions__cta-section {
  padding: 80px 0;
  text-align: center;
  background-color: var(--c88-bg-dark);
}

.page-promotions__cta-section .page-promotions__section-title {
  color: var(--c88-text-main);
}

.page-promotions__cta-section .page-promotions__paragraph {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 40px;
}

.page-promotions__large-btn {
  padding: 18px 35px;
  font-size: 1.2rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-promotions__hero-image-wrapper {
    margin-bottom: 30px;
  }

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

  .page-promotions__lead-text {
    font-size: clamp(1.1rem, 1.8vw, 1.3rem);
  }
}

@media (max-width: 768px) {
  .page-promotions__container {
    padding: 0 15px;
  }

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

  .page-promotions__paragraph {
    font-size: 1rem;
  }

  .page-promotions__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important; /* body handles header offset */
  }

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

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

  .page-promotions__lead-text {
    font-size: clamp(1rem, 3vw, 1.2rem);
    margin-bottom: 30px;
  }

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

  .page-promotions__btn-primary,
  .page-promotions__btn-secondary,
  .page-promotions a[class*="button"],
  .page-promotions a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-promotions__cta-buttons,
  .page-promotions__button-group,
  .page-promotions__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }

  .page-promotions__overview-section,
  .page-promotions__promo-grid,
  .page-promotions__guide-section,
  .page-promotions__faq-section,
  .page-promotions__cta-section {
    padding: 50px 0;
  }

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

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

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

  .page-promotions__step-item {
    padding: 25px;
  }

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

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

  .page-promotions__large-btn {
    padding: 15px 25px;
    font-size: 1.1rem;
  }

  /* Image responsive override for mobile */
  .page-promotions img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-promotions__section,
  .page-promotions__card,
  .page-promotions__container,
  .page-promotions__hero-image-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

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

  .page-promotions__hero-content {
    padding-left: 15px;
    padding-right: 15px;
  }
}