/* style/promotions.css */
.page-promotions {
  color: #ffffff; /* Default text color for dark body background */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  background-color: #0d0d0d; /* Ensure consistency with body background */
}

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

.page-promotions__hero-section {
  position: relative;
  padding: 100px 0 60px; /* Adjusted padding to account for header offset */
  background: linear-gradient(135deg, #1A2B4C, #0d0d0d);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  overflow: hidden;
  color: #ffffff;
  padding-top: var(--header-offset, 120px); /* Fixed header spacing */
}

.page-promotions__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.3;
}

.page-promotions__hero-section .page-promotions__container {
  position: relative;
  z-index: 1;
  max-width: 900px;
}

.page-promotions__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #FFD700;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  line-height: 1.2;
}

.page-promotions__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-promotions__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
  max-width: 100%;
}

.page-promotions__btn-primary {
  background-color: #FFD700;
  color: #1A2B4C;
  border: 2px solid #FFD700;
}

.page-promotions__btn-primary:hover {
  background-color: #e6c200;
  transform: translateY(-3px);
}

.page-promotions__btn-secondary {
  background-color: transparent;
  color: #FFD700;
  border: 2px solid #FFD700;
}

.page-promotions__btn-secondary:hover {
  background-color: #FFD700;
  color: #1A2B4C;
  transform: translateY(-3px);
}

.page-promotions__section-title {
  font-size: 2.5em;
  color: #FFD700;
  text-align: center;
  margin-bottom: 20px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.page-promotions__section-description {
  font-size: 1.1em;
  color: #f0f0f0;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px;
}

.page-promotions__light-bg {
  background-color: #1a1a1a;
  color: #ffffff;
  padding: 60px 0;
}

.page-promotions__dark-bg {
  background-color: #1A2B4C;
  color: #ffffff;
  padding: 60px 0;
}

.page-promotions__featured-promos {
  padding: 80px 0;
}

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

.page-promotions__promo-card {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 15px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}

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

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

.page-promotions__card-title {
  font-size: 1.5em;
  color: #FFD700;
  margin-bottom: 15px;
  line-height: 1.3;
}

.page-promotions__card-title a {
  color: #FFD700;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-promotions__card-title a:hover {
  color: #e6c200;
}

.page-promotions__card-text {
  color: #f0f0f0;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-promotions__new-member {
  padding: 80px 0;
}

.page-promotions__content-wrapper {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-top: 50px;
}

.page-promotions__content-image {
  flex: 1;
  max-width: 50%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  min-width: 200px;
  min-height: 200px;
}

.page-promotions__text-content {
  flex: 1;
  max-width: 50%;
  text-align: left;
}

.page-promotions__sub-title {
  font-size: 1.8em;
  color: #FFD700;
  margin-top: 25px;
  margin-bottom: 10px;
}

.page-promotions__text-content p {
  color: #f0f0f0;
  margin-bottom: 15px;
}

.page-promotions__vip-program {
  padding: 80px 0;
}

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

.page-promotions__benefit-item {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 15px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-promotions__benefit-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
  filter: drop-shadow(0 0 5px #FFD700);
  min-width: 200px; /* Ensure min size */
  min-height: 200px; /* Ensure min size */
}

.page-promotions__benefit-title {
  font-size: 1.6em;
  color: #FFD700;
  margin-bottom: 10px;
}

.page-promotions__benefit-item p {
  color: #f0f0f0;
}

.page-promotions__faq-section {
  padding: 80px 0;
}

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

.page-promotions__faq-item {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-promotions__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: bold;
  color: #FFD700;
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0.08);
  transition: background-color 0.3s ease;
}

.page-promotions__faq-question:hover {
  background-color: rgba(255, 255, 255, 0.12);
}

.page-promotions__faq-toggle {
  font-size: 1.5em;
  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 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #f0f0f0;
}

.page-promotions__faq-item.active .page-promotions__faq-answer {
  max-height: 1000px !important; /* Sufficiently large value */
  padding: 20px 25px;
}

.page-promotions__faq-answer p {
  margin: 0;
  color: #f0f0f0;
}

.page-promotions__cta-final {
  padding: 80px 0;
  text-align: center;
  background: linear-gradient(135deg, #1A2B4C, #0d0d0d);
}

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

@media (max-width: 768px) {
  .page-promotions__hero-title {
    font-size: 2.2em;
  }
  .page-promotions__hero-description,
  .page-promotions__section-description {
    font-size: 1em;
  }
  .page-promotions__promo-grid,
  .page-promotions__vip-benefits {
    grid-template-columns: 1fr;
  }
  .page-promotions__content-wrapper {
    flex-direction: column;
    text-align: center;
  }
  .page-promotions__content-image,
  .page-promotions__text-content {
    max-width: 100%;
  }
  .page-promotions__text-content {
    text-align: center;
  }
  .page-promotions__hero-section,
  .page-promotions__light-bg,
  .page-promotions__dark-bg {
    padding: 40px 0;
  }
  .page-promotions__cta-button {
    padding: 12px 25px;
    font-size: 1em;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-promotions__container {
    padding: 0 15px;
  }
  .page-promotions img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
    min-width: 200px !important; /* Enforce minimum size */
    min-height: 200px !important; /* Enforce minimum size */
  }
  .page-promotions video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-promotions__section,
  .page-promotions__card,
  .page-promotions__container,
  .page-promotions__video-section,
  .page-promotions__video-container,
  .page-promotions__video-wrapper,
  .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;
    overflow: hidden !important;
  }
  .page-promotions__video-section {
    padding-top: var(--header-offset, 120px) !important;
  }
  .page-promotions__cta-buttons {
    flex-direction: column;
    gap: 10px;
  }
  .page-promotions__benefit-icon {
    width: 150px;
    height: 150px;
  }
}

@media (max-width: 480px) {
  .page-promotions__hero-title {
    font-size: 1.8em;
  }
  .page-promotions__section-title {
    font-size: 1.6em;
  }
  .page-promotions__card-title {
    font-size: 1.2em;
  }
  .page-promotions__sub-title {
    font-size: 1.4em;
  }
  .page-promotions__faq-question {
    font-size: 1em;
    padding: 15px;
  }
  .page-promotions__faq-answer {
    padding: 15px;
  }
}