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

.page-promotions {
  background-color: var(--promotions-bg-color);
  color: var(--promotions-text-main);
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-bottom: 40px; /* Ensure space above footer */
}

.page-promotions__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding: 10px 20px 60px; /* Small top padding, more bottom padding for content */
  background-color: var(--promotions-deep-green);
}

.page-promotions__hero-image-wrapper {
  width: 100%;
  max-width: 1920px;
  margin-bottom: 30px; /* Space between image and text */
}

.page-promotions__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-promotions__hero-content {
  max-width: 900px;
  z-index: 1; /* Ensure content is above any background elements */
}

.page-promotions__main-title {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  color: var(--promotions-text-main);
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.page-promotions__description {
  font-size: 1.15rem;
  color: var(--promotions-text-secondary);
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-promotions__btn-primary,
.page-promotions__btn-secondary {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.05rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  text-align: center;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-promotions__btn-primary {
  background: var(--promotions-btn-gradient);
  color: var(--promotions-text-main);
  border: 2px solid var(--promotions-deep-green);
}

.page-promotions__btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
  opacity: 0.9;
}

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

.page-promotions__btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
  background: var(--promotions-glow-color);
  color: var(--promotions-card-bg);
}

.page-promotions__section {
  padding: 60px 20px;
  text-align: center;
}

.page-promotions__dark-section {
  background-color: var(--promotions-deep-green);
  color: var(--promotions-text-main);
}

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

.page-promotions__section-title {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  color: var(--promotions-gold-color);
  margin-bottom: 30px;
  font-weight: bold;
  line-height: 1.3;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.page-promotions__sub-title {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  color: var(--promotions-glow-color);
  margin-bottom: 20px;
  font-weight: bold;
}

.page-promotions__text-block {
  font-size: 1.1rem;
  color: var(--promotions-text-secondary);
  margin-bottom: 25px;
  line-height: 1.7;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-promotions__card {
  background-color: var(--promotions-card-bg);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 1px solid var(--promotions-border-color);
  height: 100%; /* Ensure cards in a row have equal height */
}

.page-promotions__card-image {
  width: 100%;
  max-width: 400px; /* Recommended size */
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
}

.page-promotions__card-title {
  font-size: 1.6rem;
  color: var(--promotions-glow-color);
  margin-bottom: 15px;
  font-weight: bold;
  text-align: center;
}

.page-promotions__card-text {
  font-size: 1rem;
  color: var(--promotions-text-secondary);
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
  text-align: center;
}

.page-promotions__card .page-promotions__btn-primary {
  width: auto; /* Override max-width for card buttons */
  margin-top: auto; /* Push button to bottom */
}

.page-promotions__flex-container {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-top: 50px;
  flex-wrap: wrap;
}

.page-promotions__flex-reverse {
  flex-direction: row-reverse;
}

.page-promotions__content-block,
.page-promotions__image-block {
  flex: 1;
  min-width: 300px;
}

.page-promotions__image {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
  object-fit: cover;
}

.page-promotions__list {
  list-style: none;
  padding: 0;
  margin: 0 0 30px 0;
  text-align: left;
}

.page-promotions__list li {
  font-size: 1.1rem;
  color: var(--promotions-text-main);
  margin-bottom: 12px;
  display: flex;
  align-items: flex-start;
}

.page-promotions__list-icon {
  color: var(--promotions-glow-color);
  font-weight: bold;
  font-size: 1.2rem;
  margin-right: 10px;
  line-height: 1.5;
}

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

.page-promotions__event-cards .page-promotions__card {
  padding: 25px;
}

.page-promotions__event-cards .page-promotions__card-title {
  font-size: 1.5rem;
  margin-bottom: 15px;
}

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

.page-promotions__term-item {
  text-align: center;
  padding: 25px;
}

.page-promotions__term-title {
  font-size: 1.4rem;
  color: var(--promotions-gold-color);
  margin-bottom: 15px;
}

.page-promotions__term-text {
  font-size: 1rem;
  color: var(--promotions-text-secondary);
  line-height: 1.6;
}

.page-promotions__text-small {
  font-size: 0.9rem;
  color: var(--promotions-text-secondary);
  margin-top: 30px;
}

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

.page-promotions__step-card {
  padding: 30px;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.page-promotions__step-number {
  position: absolute;
  top: -15px;
  left: -15px;
  font-size: 3rem;
  font-weight: bold;
  color: rgba(var(--promotions-glow-color), 0.1);
  opacity: 0.5;
  z-index: 0;
}

.page-promotions__step-card .page-promotions__step-title {
  font-size: 1.5rem;
  color: var(--promotions-glow-color);
  margin-bottom: 15px;
  position: relative;
  z-index: 1;
}

.page-promotions__step-text {
  font-size: 1rem;
  color: var(--promotions-text-secondary);
  line-height: 1.6;
  position: relative;
  z-index: 1;
}

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

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

.page-promotions__faq-item {
  background-color: var(--promotions-card-bg);
  border: 1px solid var(--promotions-border-color);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.page-promotions__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2rem;
  font-weight: bold;
  color: var(--promotions-text-main);
  cursor: pointer;
  background-color: var(--promotions-deep-green);
  border-bottom: 1px solid var(--promotions-border-color);
}

.page-promotions__faq-item[open] .page-promotions__faq-question {
  border-bottom: 1px solid var(--promotions-border-color);
}

.page-promotions__faq-qtext {
  flex-grow: 1;
  color: var(--promotions-gold-color);
}

.page-promotions__faq-toggle {
  font-size: 1.8rem;
  line-height: 1;
  margin-left: 15px;
  color: var(--promotions-glow-color);
}

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

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

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

.page-promotions__conclusion-cta {
  padding: 80px 20px;
  background-color: var(--promotions-deep-green);
}

.page-promotions__conclusion-cta .page-promotions__section-title {
  color: var(--promotions-gold-color);
}

.page-promotions__conclusion-cta .page-promotions__description {
  font-size: 1.2rem;
  margin-bottom: 40px;
}

/* --- Responsive Styles --- */
@media (max-width: 1024px) {
  .page-promotions__hero-content {
    padding: 0 15px;
  }

  .page-promotions__flex-container {
    flex-direction: column;
    text-align: center;
  }

  .page-promotions__flex-reverse {
    flex-direction: column;
  }

  .page-promotions__content-block,
  .page-promotions__image-block {
    width: 100%;
    min-width: unset;
  }

  .page-promotions__list {
    text-align: center;
  }

  .page-promotions__list li {
    justify-content: center;
  }
}

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

  .page-promotions__hero-section {
    padding: 10px 15px 40px;
  }

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

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

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

  .page-promotions__btn-primary,
  .page-promotions__btn-secondary {
    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__section,
  .page-promotions__container {
    padding-left: 15px;
    padding-right: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

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

  .page-promotions__sub-title {
    font-size: 1.3rem;
  }

  .page-promotions__text-block {
    font-size: 0.95rem;
  }

  .page-promotions__grid-layout,
  .page-promotions__event-cards,
  .page-promotions__terms-grid,
  .page-promotions__steps-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-promotions__card {
    padding: 20px;
  }

  .page-promotions__card-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-promotions__image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-promotions img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

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

  .page-promotions__faq-answer {
    padding: 15px 20px;
    font-size: 0.9rem;
  }
}