/* style/promotions.css */
:root {
  --primary-color: #11A84E;
  --secondary-color: #22C768;
  --button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  --card-bg: #11271B;
  --background-color-promotions: #08160F; /* Specific background for this page's main sections */
  --text-main: #F2FFF6;
  --text-secondary: #A7D9B8;
  --border-color: #2E7A4E;
  --glow-color: #57E38D;
  --gold-color: #F2C14E;
  --divider-color: #1E3A2A;
  --deep-green-color: #0A4B2C;
}

.page-promotions {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-main); /* Default text color for dark background */
  background-color: var(--background-color-promotions); /* Dark background for the page content */
}

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

.page-promotions__light-bg {
  background-color: #ffffff;
  color: #333333;
}

.page-promotions__text-main {
  color: var(--text-main);
}

.page-promotions__text-secondary {
  color: var(--text-secondary);
}

.page-promotions__text-link {
  color: var(--gold-color);
  text-decoration: underline;
}

.page-promotions__section {
  padding: 60px 20px;
  border-bottom: 1px solid var(--divider-color);
}

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

/* Hero Section */
.page-promotions__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 0 60px 0; /* Small top padding, larger bottom */
  text-align: center;
  overflow: hidden;
}

.page-promotions__hero-image-wrapper {
  width: 100%;
  max-height: 600px; /* Limit height for hero image */
  overflow: hidden;
}

.page-promotions__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.7); /* Slightly dim the image for text contrast */
}

.page-promotions__hero-content {
  position: relative;
  z-index: 10;
  margin-top: 40px;
  padding: 0 15px;
  max-width: 900px;
}

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

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

.page-promotions__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  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: 700;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  cursor: pointer;
  box-sizing: border-box;
  text-align: center;
}

.page-promotions__btn-primary {
  background: var(--button-gradient);
  color: var(--text-main);
  border: 2px solid transparent;
}

.page-promotions__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(42, 209, 111, 0.4);
}

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

.page-promotions__btn-secondary:hover {
  background: var(--gold-color);
  color: var(--background-color-promotions);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(242, 193, 78, 0.4);
}

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

/* Section Titles */
.page-promotions__section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  margin-bottom: 30px;
  text-align: center;
  color: var(--gold-color);
}

.page-promotions__introduction .page-promotions__section-title,
.page-promotions__terms .page-promotions__section-title,
.page-promotions__why-choose .page-promotions__section-title {
  color: var(--primary-color); /* Darker text for light background */
}

.page-promotions__text-block {
  font-size: 1rem;
  margin-bottom: 20px;
  text-align: center;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-promotions__card {
  background-color: var(--card-bg);
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid var(--border-color);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-promotions__card-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
  object-fit: cover;
  min-height: 200px; /* Enforce min height for content images */
}

.page-promotions__card-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 15px;
  line-height: 1.3;
}

.page-promotions__card-description {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 25px;
  flex-grow: 1;
}

/* Terms & Conditions / How To Claim / Why Choose sections */
.page-promotions__terms-list,
.page-promotions__steps-list,
.page-promotions__why-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-promotions__terms-item,
.page-promotions__steps-item,
.page-promotions__why-item {
  background-color: var(--card-bg);
  border-radius: 10px;
  padding: 25px;
  margin-bottom: 20px;
  border: 1px solid var(--border-color);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.page-promotions__terms-item:last-child,
.page-promotions__steps-item:last-child,
.page-promotions__why-item:last-child {
  margin-bottom: 0;
}

.page-promotions__terms-subtitle,
.page-promotions__steps-title,
.page-promotions__why-subtitle {
  font-size: 1.35rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--gold-color);
}

.page-promotions__terms-description,
.page-promotions__steps-description,
.page-promotions__why-description {
  font-size: 1rem;
  color: var(--text-secondary);
}

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

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

.page-promotions__faq-item summary {
  list-style: none; /* Hide default marker */
}

.page-promotions__faq-item summary::-webkit-details-marker {
  display: none; /* Hide default marker for webkit */
}

.page-promotions__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.15rem;
  font-weight: 600;
  cursor: pointer;
  color: var(--text-main);
  background-color: var(--card-bg);
  border-bottom: 1px solid var(--divider-color);
}

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

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

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

.page-promotions__faq-answer p {
  margin-bottom: 0;
}

/* Call to Action Bottom */
.page-promotions__cta-bottom {
  text-align: center;
  padding-bottom: 80px;
}

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

  .page-promotions__main-title {
    font-size: clamp(2rem, 4.5vw, 3rem);
  }

  .page-promotions__section-title {
    font-size: clamp(1.6rem, 4vw, 2.5rem);
  }

  .page-promotions__grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

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

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

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

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

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

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

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

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

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

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

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

  .page-promotions__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__card-title {
    font-size: 1.3rem;
  }

  .page-promotions__card-description {
    font-size: 0.9rem;
  }

  .page-promotions__terms-item,
  .page-promotions__steps-item,
  .page-promotions__why-item {
    padding: 20px;
  }

  .page-promotions__terms-subtitle,
  .page-promotions__steps-title,
  .page-promotions__why-subtitle {
    font-size: 1.2rem;
  }

  .page-promotions__terms-description,
  .page-promotions__steps-description,
  .page-promotions__why-description {
    font-size: 0.95rem;
  }

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

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

  .page-promotions__faq-toggle {
    font-size: 1.3rem;
  }

  /* Ensure all images are responsive */
  .page-promotions img {
    max-width: 100% !important;
    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__cta-buttons,
  .page-promotions__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  /* Adjust padding for elements that already have it */
  .page-promotions__container {
    padding-left: 0;
    padding-right: 0;
  }

  .page-promotions__hero-section {
    padding-left: 0;
    padding-right: 0;
  }

  .page-promotions__hero-content {
    padding-left: 0;
    padding-right: 0;
  }

  .page-promotions__section {
    padding-left: 0;
    padding-right: 0;
  }

  .page-promotions__cta-buttons {
    padding-left: 0;
    padding-right: 0;
  }

  .page-promotions__faq-item {
    padding-left: 0;
    padding-right: 0;
  }
}