/* style/promo.css */
.page-promo {
  color: #333333; /* Dark text for light body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-top: var(--header-offset, 120px); /* Ensure spacing for fixed header */
}

.page-promo__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-promo__hero-section {
  position: relative;
  text-align: center;
  color: #ffffff;
  overflow: hidden;
  padding: 0;
}

.page-promo__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.7); /* Darken image slightly for text readability */
}

.page-promo__hero-container {
  position: relative;
  max-width: 100%;
  margin: 0 auto;
}

.page-promo__hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  max-width: 800px;
  z-index: 2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-promo__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #FFD700; /* Gold accent */
  font-weight: bold;
  line-height: 1.2;
}

.page-promo__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-promo__hero-actions {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.page-promo__button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.2s ease;
  white-space: nowrap;
}

.page-promo__button--primary {
  background-color: #FFD700; /* Gold */
  color: #0A192F; /* Dark blue */
  border: 2px solid #FFD700;
}

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

.page-promo__button--secondary {
  background-color: transparent;
  color: #FFD700; /* Gold */
  border: 2px solid #FFD700;
}

.page-promo__button--secondary:hover {
  background-color: rgba(255, 215, 0, 0.1);
  transform: translateY(-2px);
}

.page-promo__section-title {
  font-size: 2.5em;
  color: #0A192F; /* Dark blue */
  text-align: center;
  margin: 60px 0 30px;
  font-weight: bold;
}

.page-promo__section-intro {
  font-size: 1.1em;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px;
  color: #555555;
}

.page-promo__overview-section,
.page-promo__detail-promotions,
.page-promo__why-boss77,
.page-promo__faq-section,
.page-promo__register-now {
  padding: 60px 0;
}

.page-promo__overview-section {
  background-color: #fefefe;
}

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

.page-promo__feature-item {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-promo__feature-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.page-promo__feature-image {
  width: 100%;
  height: auto;
  max-height: 250px;
  object-fit: contain;
  margin-bottom: 20px;
  border-radius: 8px;
}

.page-promo__feature-title {
  font-size: 1.8em;
  color: #0A192F;
  margin-bottom: 15px;
}

.page-promo__feature-description {
  font-size: 1em;
  color: #666666;
}

.page-promo__promo-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 40px;
  margin-top: 50px;
}

.page-promo__promo-card {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-promo__promo-image {
  width: 100%;
  height: 250px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
}

.page-promo__promo-content {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-promo__promo-title {
  font-size: 1.6em;
  color: #0A192F;
  margin-bottom: 10px;
}

.page-promo__promo-title a {
  text-decoration: none;
  color: #0A192F;
}

.page-promo__promo-title a:hover {
  color: #FFD700;
}

.page-promo__promo-description {
  font-size: 1em;
  color: #666666;
  margin-bottom: 20px;
}

.page-promo__button--small {
  padding: 10px 20px;
  font-size: 0.9em;
  background-color: #0A192F;
  color: #FFD700;
  border: 2px solid #0A192F;
  text-align: center;
}

.page-promo__button--small:hover {
  background-color: #FFD700;
  color: #0A192F;
  border-color: #FFD700;
}

.page-promo__cta-area {
  text-align: center;
  background-color: #0A192F;
  color: #ffffff;
  padding: 50px;
  border-radius: 12px;
  margin-top: 60px;
}

.page-promo__cta-title {
  font-size: 2.2em;
  color: #FFD700;
  margin-bottom: 20px;
}

.page-promo__cta-text {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-promo__button--hero {
  font-size: 1.4em;
  padding: 18px 40px;
}

.page-promo__why-boss77 {
  background-color: #F8F8F8;
}

.page-promo__content-wrapper {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

.page-promo__text-block {
  flex: 2;
  font-size: 1.1em;
  color: #444444;
}

.page-promo__text-block p {
  margin-bottom: 20px;
}

.page-promo__image-block {
  flex: 1;
  text-align: center;
}

.page-promo__why-image {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.page-promo__faq-section {
  background-color: #ffffff;
}

.page-promo__faq-item {
  background-color: #fefefe;
  border: 1px solid #eeeeee;
  border-radius: 8px;
  padding: 25px;
  margin-bottom: 20px;
}

.page-promo__faq-question {
  font-size: 1.4em;
  color: #0A192F;
  margin-bottom: 10px;
}

.page-promo__faq-answer {
  font-size: 1em;
  color: #555555;
}

.page-promo__register-now {
  background-color: #0A192F;
  text-align: center;
  color: #ffffff;
  padding: 80px 0;
}

.page-promo__register-text {
  font-size: 1.5em;
  margin-bottom: 40px;
  color: #f0f0f0;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-promo__hero-title {
    font-size: 2.8em;
  }
  .page-promo__hero-description {
    font-size: 1.1em;
  }
  .page-promo__section-title {
    font-size: 2em;
  }
  .page-promo__content-wrapper {
    flex-direction: column;
  }
  .page-promo__image-block {
    order: -1; /* Image appears above text on smaller screens */
    margin-bottom: 30px;
  }
  .page-promo__why-image {
    max-height: 400px;
    object-fit: cover;
  }
}

@media (max-width: 768px) {
  .page-promo__hero-title {
    font-size: 2em;
  }
  .page-promo__hero-description {
    font-size: 1em;
  }
  .page-promo__hero-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-promo__button {
    width: 80%;
    margin: 0 auto;
  }
  .page-promo__section-title {
    font-size: 1.8em;
  }
  .page-promo__section-intro {
    font-size: 0.95em;
  }
  .page-promo__features-grid,
  .page-promo__promo-list {
    grid-template-columns: 1fr;
  }
  .page-promo__cta-area {
    padding: 30px;
  }
  .page-promo__cta-title {
    font-size: 1.8em;
  }
  .page-promo__cta-text {
    font-size: 1em;
  }
  .page-promo__register-text {
    font-size: 1.2em;
  }
  .page-promo__button--hero {
    font-size: 1.2em;
    padding: 15px 30px;
  }
  /* Ensure content images don't overflow */
  .page-promo img {
    max-width: 100%;
    height: auto;
  }
  /* Specific overrides for content area images to prevent small sizes */
  .page-promo__features-grid img,
  .page-promo__promo-list img,
  .page-promo__why-boss77 img {
    min-width: 200px;
    min-height: 200px;
    max-width: 100%; /* Ensure responsiveness */
    height: auto; /* Maintain aspect ratio */
  }
}

@media (max-width: 480px) {
  .page-promo__hero-title {
    font-size: 1.6em;
  }
  .page-promo__hero-description {
    font-size: 0.9em;
  }
  .page-promo__button {
    padding: 12px 20px;
    font-size: 1em;
  }
  .page-promo__section-title {
    font-size: 1.6em;
  }
  .page-promo__faq-question {
    font-size: 1.2em;
  }
}