/* style/promotions.css */
:root {
  --primary-color: #26A9E0;
  --secondary-color: #FFFFFF;
  --text-dark: #333333;
  --text-light: #FFFFFF;
  --bg-light: #FFFFFF;
  --bg-dark: #26A9E0;
  --login-color: #EA7C07;
}

.page-promotions {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--bg-light);
}

.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-section {
  background-color: var(--bg-dark);
  color: var(--text-light);
}

.page-promotions__dark-section .page-promotions__section-title,
.page-promotions__dark-section .page-promotions__text-block {
  color: var(--text-light);
}

.page-promotions__light-bg {
  background-color: var(--bg-light);
  color: var(--text-dark);
}

.page-promotions__section-title {
  font-size: 2.5em;
  margin-bottom: 30px;
  color: var(--primary-color);
}

.page-promotions__dark-section .page-promotions__section-title {
  color: var(--secondary-color);
}

.page-promotions__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Hero Section */
.page-promotions__hero-section {
  position: relative;
  padding: 100px 0;
  padding-top: var(--header-offset, 120px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.page-promotions__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
  text-align: center;
}

.page-promotions__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: var(--secondary-color);
  line-height: 1.2;
}

.page-promotions__hero-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  color: var(--secondary-color);
  opacity: 0.9;
}

.page-promotions__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

.page-promotions__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.5);
}

/* CTA Buttons */
.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: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

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

.page-promotions__btn-primary:hover {
  background-color: #e06c00;
  border-color: #e06c00;
}

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

.page-promotions__btn-secondary:hover {
  background-color: var(--secondary-color);
  color: var(--primary-color);
}

/* Image Full Width */
.page-promotions__image-full-width {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 40px auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

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

.page-promotions__promotion-card {
  background-color: var(--bg-light);
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  padding: 30px;
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #e0e0e0;
  color: var(--text-dark);
}

.page-promotions__promotion-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.page-promotions__card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-promotions__card-title {
  font-size: 1.5em;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.page-promotions__card-description {
  font-size: 1em;
  color: var(--text-dark);
  margin-bottom: 20px;
}

.page-promotions__promotion-card .page-promotions__btn-primary {
  width: 100%;
  padding: 12px 20px;
  font-size: 1em;
}

/* Numbered List */
.page-promotions__numbered-list {
  list-style: none;
  counter-reset: item;
  text-align: left;
  max-width: 800px;
  margin: 40px auto;
  padding: 0;
}

.page-promotions__numbered-list li {
  counter-increment: item;
  margin-bottom: 15px;
  padding-left: 40px;
  position: relative;
  font-size: 1.1em;
  color: var(--text-dark);
}

.page-promotions__numbered-list li::before {
  content: counter(item) ".";
  position: absolute;
  left: 0;
  font-weight: bold;
  color: var(--primary-color);
  font-size: 1.2em;
}

.page-promotions__numbered-list a {
  color: var(--primary-color);
  text-decoration: none;
}

.page-promotions__numbered-list a:hover {
  text-decoration: underline;
}

/* Bullet List */
.page-promotions__bullet-list {
  list-style: none;
  text-align: left;
  max-width: 800px;
  margin: 40px auto;
  padding: 0;
}

.page-promotions__bullet-list li {
  margin-bottom: 10px;
  padding-left: 30px;
  position: relative;
  font-size: 1.1em;
  color: var(--text-light);
}

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

.page-promotions__bullet-list a {
  color: var(--secondary-color);
  text-decoration: none;
}

.page-promotions__bullet-list a:hover {
  text-decoration: underline;
}

/* FAQ Section */
.page-promotions__faq-list {
  max-width: 900px;
  margin: 40px auto;
  text-align: left;
}

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

.page-promotions__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  background-color: #f9f9f9;
  cursor: pointer;
  font-weight: bold;
  color: var(--primary-color);
  transition: background-color 0.3s ease;
}

.page-promotions__faq-question:hover {
  background-color: #f0f0f0;
}

.page-promotions__faq-question h3 {
  margin: 0;
  font-size: 1.2em;
  color: var(--primary-color);
}

.page-promotions__faq-toggle {
  font-size: 1.8em;
  line-height: 1;
  transition: transform 0.3s ease;
}

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

.page-promotions__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: var(--text-dark);
}

.page-promotions__faq-item.active .page-promotions__faq-answer {
  max-height: 1000px !important;
  padding: 15px 20px;
}

.page-promotions__faq-answer p {
  margin: 0;
  font-size: 1em;
}

/* Bottom CTA */
.page-promotions__cta-bottom {
  padding: 80px 0;
}

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

.page-promotions__cta-bottom .page-promotions__section-title {
  margin-bottom: 25px;
}

.page-promotions__cta-bottom .page-promotions__text-block {
  margin-bottom: 40px;
  color: var(--text-light);
}

.page-promotions__cta-bottom .page-promotions__btn-primary {
  padding: 18px 40px;
  font-size: 1.2em;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-promotions__hero-title {
    font-size: 3em;
  }
  .page-promotions__hero-description {
    font-size: 1.1em;
  }
  .page-promotions__section-title {
    font-size: 2em;
  }
}

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

  .page-promotions__hero-section {
    padding: 80px 0;
    padding-top: var(--header-offset, 120px) !important;
  }

  .page-promotions__hero-title {
    font-size: 2.5em;
  }

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

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

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

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

  .page-promotions__section-title {
    font-size: 1.8em;
    margin-bottom: 20px;
  }

  .page-promotions__text-block {
    font-size: 0.95em;
    padding: 0 15px;
  }

  .page-promotions__container {
    padding: 0 15px;
  }

  .page-promotions__image-full-width,
  .page-promotions__card-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    margin-left: auto;
    margin-right: auto;
  }

  .page-promotions__promotion-card {
    padding: 20px;
  }

  .page-promotions__numbered-list,
  .page-promotions__bullet-list {
    margin: 30px auto;
    padding: 0 15px;
  }

  .page-promotions__numbered-list li,
  .page-promotions__bullet-list li {
    font-size: 1em;
    padding-left: 30px;
  }

  .page-promotions__faq-list {
    margin: 30px auto;
    padding: 0 15px;
  }

  .page-promotions__faq-question {
    padding: 12px 15px;
  }

  .page-promotions__faq-question h3 {
    font-size: 1em;
  }

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

  .page-promotions__faq-item.active .page-promotions__faq-answer {
    padding: 12px 15px;
  }

  .page-promotions__cta-bottom {
    padding: 50px 0;
  }

  .page-promotions__cta-bottom .page-promotions__btn-primary {
    padding: 15px 30px;
    font-size: 1em;
  }

  /* Ensure all containers and sections are responsive */
  .page-promotions__section,
  .page-promotions__card,
  .page-promotions__container,
  .page-promotions__hero-section,
  .page-promotions__promo-types-section,
  .page-promotions__how-to-join-section,
  .page-promotions__vip-section,
  .page-promotions__faq-section,
  .page-promotions__cta-bottom {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
}