/* style/promotions.css */

/* Base styles for the page-promotions scope */
.page-promotions {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #F2FFF6; /* Text Main */
  background-color: #08160F; /* Background */
  padding-top: 10px; /* Small top padding for content, body handles --header-offset */
}

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

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

.page-promotions__section--dark-bg {
  background-color: #11271B; /* Card BG */
}

.page-promotions__main-title,
.page-promotions__section-title,
.page-promotions__card-title,
.page-promotions__vip-title,
.page-promotions__info-title,
.page-promotions__step-title,
.page-promotions__reason-title,
.page-promotions__cta-final-title {
  color: #F2FFF6; /* Text Main */
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.page-promotions__main-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  text-align: center;
  margin-bottom: 20px;
}

.page-promotions__section-title {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  text-align: center;
  margin-bottom: 30px;
}

.page-promotions__section-description {
  font-size: 1.1rem;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: #A7D9B8; /* Text Secondary */
}

.page-promotions__intro-text {
  font-size: 1.1rem;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 30px auto;
  color: #A7D9B8; /* Text Secondary */
}

.page-promotions p {
  margin-bottom: 1em;
  color: #A7D9B8; /* Text Secondary */
}

.page-promotions a {
  color: #2AD16F; /* Link color from button gradient start */
  text-decoration: none;
}

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

/* Hero Section */
.page-promotions__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0;
  margin-bottom: 40px;
}

.page-promotions__hero-image-wrapper {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.page-promotions__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  max-height: 700px; /* Limit height for aesthetic */
}

.page-promotions__hero-content {
  position: relative;
  z-index: 10;
  padding: 40px 20px;
  max-width: 1000px;
  text-align: center;
}

/* Buttons */
.page-promotions__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.page-promotions__cta-buttons--center {
  margin-top: 40px;
}

.page-promotions__btn-primary,
.page-promotions__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-promotions__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button */
  color: #F2FFF6; /* Text Main */
  border: 2px solid transparent;
}

.page-promotions__btn-primary:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
}

.page-promotions__btn-secondary {
  background: transparent;
  color: #2AD16F; /* Link color */
  border: 2px solid #2E7A4E; /* Border */
}

.page-promotions__btn-secondary:hover {
  background-color: rgba(42, 209, 111, 0.1);
  color: #F2FFF6;
}

.page-promotions__btn-small {
  padding: 10px 20px;
  font-size: 1rem;
}

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

.page-promotions__card {
  background-color: #11271B; /* Card BG */
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #A7D9B8; /* Text Secondary */
}

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

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

.page-promotions__card-title {
  font-size: 1.4rem;
  margin-bottom: 15px;
  color: #F2FFF6; /* Text Main */
}

.page-promotions__card-text {
  font-size: 1rem;
  margin-bottom: 20px;
  flex-grow: 1;
}

/* VIP Benefits Grid */
.page-promotions__vip-benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-promotions__vip-card {
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid #2E7A4E; /* Border */
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  color: #A7D9B8; /* Text Secondary */
}

.page-promotions__vip-icon {
  width: 100%;
  max-width: 100px;
  height: auto;
  margin-bottom: 20px;
}

.page-promotions__vip-title {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: #F2FFF6; /* Text Main */
}

.page-promotions__vip-text {
  font-size: 0.95rem;
}

/* Info Grid (Terms & Conditions) */
.page-promotions__info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-promotions__info-card {
  background-color: #08160F; /* Background */
  border: 1px solid #2E7A4E; /* Border */
  border-radius: 12px;
  padding: 30px;
  color: #A7D9B8; /* Text Secondary */
}

.page-promotions__info-title {
  font-size: 1.3rem;
  margin-bottom: 15px;
  color: #F2FFF6; /* Text Main */
}

/* Steps List */
.page-promotions__steps-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  counter-reset: step-counter;
}

.page-promotions__step-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 30px;
  counter-increment: step-counter;
}

.page-promotions__step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  min-width: 40px;
  border-radius: 50%;
  background-color: #2AD16F; /* Button gradient start */
  color: #F2FFF6; /* Text Main */
  font-weight: bold;
  font-size: 1.2rem;
  margin-right: 20px;
}

.page-promotions__step-content {
  flex-grow: 1;
}

.page-promotions__step-text {
  color: #A7D9B8; /* Text Secondary */
}

/* FAQ Section */
.page-promotions__faq-list {
  margin-top: 40px;
}

.page-promotions__faq-item {
  background-color: #08160F; /* Background */
  border: 1px solid #2E7A4E; /* Border */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #A7D9B8; /* Text Secondary */
}

.page-promotions__faq-item summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  font-weight: bold;
  font-size: 1.1rem;
  color: #F2FFF6; /* Text Main */
}

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

.page-promotions__faq-qtext {
  flex-grow: 1;
}

.page-promotions__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  margin-left: 15px;
  color: #2AD16F;
}

.page-promotions__faq-item[open] .page-promotions__faq-toggle {
  content: '−';
}

.page-promotions__faq-answer {
  padding: 0 20px 20px 20px;
  font-size: 1rem;
  color: #A7D9B8; /* Text Secondary */
}

/* Reason List */
.page-promotions__reason-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-promotions__reason-item {
  background-color: rgba(46, 122, 78, 0.1);
  border: 1px solid #2E7A4E; /* Border */
  border-radius: 12px;
  padding: 25px;
  color: #A7D9B8; /* Text Secondary */
}

.page-promotions__reason-title {
  font-size: 1.25rem;
  margin-bottom: 10px;
  color: #F2FFF6; /* Text Main */
}

/* Final CTA Section */
.page-promotions__cta-final-section {
  padding: 80px 0;
  text-align: center;
}

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

.page-promotions__cta-final-title {
  font-size: clamp(2rem, 3.5vw, 3rem);
  margin-bottom: 20px;
}

.page-promotions__cta-final-description {
  font-size: 1.1rem;
  margin-bottom: 40px;
  color: #A7D9B8; /* Text Secondary */
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-promotions__hero-image {
    max-height: 550px;
  }
}

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

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

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

  .page-promotions__hero-image {
    max-height: 400px;
  }

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

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

  .page-promotions__section-title {
    font-size: clamp(1.6rem, 5vw, 2.2rem);
    margin-bottom: 20px;
  }

  .page-promotions__section-description,
  .page-promotions__intro-text {
    font-size: 1rem;
    margin-bottom: 30px;
  }

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

  .page-promotions__btn-primary,
  .page-promotions__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1rem;
  }

  .page-promotions__grid,
  .page-promotions__vip-benefits-grid,
  .page-promotions__info-grid,
  .page-promotions__reason-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-promotions__card,
  .page-promotions__vip-card,
  .page-promotions__info-card,
  .page-promotions__reason-item {
    padding: 20px;
  }

  .page-promotions__card-image {
    max-width: 250px;
  }

  .page-promotions__step-item {
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 20px;
  }

  .page-promotions__step-number {
    margin-right: 0;
    margin-bottom: 10px;
  }

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

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

  .page-promotions__cta-final-section {
    padding: 40px 0;
  }

  .page-promotions__cta-final-title {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
    margin-bottom: 15px;
  }

  .page-promotions__cta-final-description {
    font-size: 1rem;
    margin-bottom: 30px;
  }

  /* Ensure all images are responsive */
  .page-promotions img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-promotions__section,
  .page-promotions__card,
  .page-promotions__container,
  .page-promotions__hero-section,
  .page-promotions__hero-image-wrapper,
  .page-promotions__hero-content,
  .page-promotions__grid,
  .page-promotions__vip-benefits-grid,
  .page-promotions__vip-card,
  .page-promotions__info-grid,
  .page-promotions__info-card,
  .page-promotions__steps-list,
  .page-promotions__step-item,
  .page-promotions__step-content,
  .page-promotions__faq-list,
  .page-promotions__faq-item,
  .page-promotions__reason-list,
  .page-promotions__reason-item,
  .page-promotions__cta-final-section,
  .page-promotions__cta-final-content {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-promotions__cta-buttons {
    flex-wrap: wrap !important;
    gap: 10px;
  }
}

@media (max-width: 480px) {
  .page-promotions__main-title {
    font-size: clamp(1.6rem, 7vw, 2.2rem);
  }

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

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

  .page-promotions__vip-title,
  .page-promotions__info-title,
  .page-promotions__reason-title {
    font-size: 1.1rem;
  }
}