/* style/promotions.css */

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

/* Base styles for the page content, ensuring contrast with body background */
.page-promotions {
  background-color: var(--color-background);
  color: var(--color-text-main);
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.page-promotions h1, .page-promotions h2, .page-promotions h3, .page-promotions h4, .page-promotions h5, .page-promotions h6 {
  color: var(--color-text-main);
  margin-bottom: 1em;
  line-height: 1.2;
}

.page-promotions a {
  color: var(--color-secondary);
  text-decoration: none;
}

.page-promotions a:hover {
  text-decoration: underline;
  color: var(--color-glow);
}

/* Sections */
.page-promotions__hero-section,
.page-promotions__overview-section,
.page-promotions__types-section,
.page-promotions__terms-section,
.page-promotions__how-to-claim-section,
.page-promotions__faq-section,
.page-promotions__why-choose-section,
.page-promotions__conclusion-section {
  padding: 60px 0;
  padding-top: 10px; /* Small top padding, body handles header offset */
  text-align: center;
}

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

.page-promotions__light-bg {
  background-color: var(--color-card-bg);
  color: var(--color-text-main);
}

/* Hero Section */
.page-promotions__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 600px;
  overflow: hidden;
  padding: 10px 0 60px 0;
}

.page-promotions__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.page-promotions__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-promotions__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
  padding: 20px;
  background-color: rgba(0, 0, 0, 0.5);
  border-radius: 10px;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.7);
}

.page-promotions__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: bold;
  margin-bottom: 20px;
  color: var(--color-gold);
}

.page-promotions__description {
  font-size: 1.2rem;
  margin-bottom: 30px;
  color: var(--color-text-secondary);
}

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

.page-promotions__btn-primary,
.page-promotions__btn-secondary,
.page-promotions__btn-tertiary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-weight: bold;
  text-transform: uppercase;
  transition: all 0.3s ease;
  text-decoration: none;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-promotions__btn-primary {
  background: var(--color-button-gradient);
  color: #ffffff;
  border: 2px solid var(--color-glow);
  box-shadow: 0 0 15px var(--color-glow);
}

.page-promotions__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 20px var(--color-glow);
}

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

.page-promotions__btn-secondary:hover {
  background-color: var(--color-glow);
  color: var(--color-background);
  transform: translateY(-3px);
}

.page-promotions__btn-tertiary {
  background-color: var(--color-primary);
  color: var(--color-text-main);
  border: 2px solid var(--color-primary);
  font-size: 0.9em;
  padding: 10px 20px;
}

.page-promotions__btn-tertiary:hover {
  background-color: var(--color-secondary);
  border-color: var(--color-secondary);
}

/* Content Area */
.page-promotions__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  text-align: left;
}

.page-promotions__section-title {
  font-size: 2.5rem;
  margin-bottom: 40px;
  color: var(--color-gold);
  text-align: center;
}

.page-promotions p {
  margin-bottom: 1em;
  color: var(--color-text-secondary);
}

.page-promotions ul {
  list-style-type: disc;
  margin-left: 20px;
  margin-bottom: 1em;
  color: var(--color-text-secondary);
}

.page-promotions ol {
  list-style-type: decimal;
  margin-left: 20px;
  margin-bottom: 1em;
  color: var(--color-text-secondary);
}

.page-promotions li {
  margin-bottom: 0.5em;
}

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

.page-promotions__card {
  background-color: var(--color-card-bg);
  border: 1px solid var(--color-border);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  color: var(--color-text-main);
}

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

.page-promotions__card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

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

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

/* Terms Section */
.page-promotions__terms-content {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
}

.page-promotions__terms-text {
  flex: 1;
  text-align: left;
}

.page-promotions__terms-image-wrapper {
  flex: 1;
  min-width: 200px; /* Minimum size for image */
}

.page-promotions__terms-image {
  width: 100%;
  height: auto;
  border-radius: 10px;
  display: block;
}

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

.page-promotions__step-card {
  background-color: var(--color-card-bg);
  border: 1px solid var(--color-border);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  color: var(--color-text-main);
}

.page-promotions__step-number {
  display: inline-block;
  width: 50px;
  height: 50px;
  line-height: 50px;
  border-radius: 50%;
  background: var(--color-button-gradient);
  color: #ffffff;
  font-size: 1.8rem;
  font-weight: bold;
  margin-bottom: 20px;
}

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

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

/* FAQ Section */
.page-promotions__faq-list {
  max-width: 900px;
  margin: 40px auto 0 auto;
  text-align: left;
}

.page-promotions__faq-item {
  background-color: var(--color-card-bg);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: var(--color-text-main);
}

.page-promotions__faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: bold;
  font-size: 1.1rem;
  color: var(--color-gold);
  outline: none;
}

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

.page-promotions__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

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

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

.page-promotions__faq-answer {
  padding: 0 25px 20px 25px;
  color: var(--color-text-secondary);
}

/* Why Choose Section */
.page-promotions__feature-list {
  list-style-type: none;
  padding: 0;
  margin: 40px auto;
  max-width: 800px;
}

.page-promotions__feature-list li {
  background-color: var(--color-card-bg);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 15px 25px;
  margin-bottom: 15px;
  text-align: left;
  font-size: 1.1rem;
  color: var(--color-text-main);
  display: flex;
  align-items: center;
}

.page-promotions__feature-list li::before {
  content: '✅';
  margin-right: 15px;
  font-size: 1.2em;
}

/* Conclusion Section */
.page-promotions__conclusion-section .page-promotions__section-title {
  color: var(--color-primary);
}

/* Global Image Styles */
.page-promotions img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-promotions__hero-content {
    max-width: 700px;
  }

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

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

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

  .page-promotions__terms-content {
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  .page-promotions__hero-section,
  .page-promotions__overview-section,
  .page-promotions__types-section,
  .page-promotions__terms-section,
  .page-promotions__how-to-claim-section,
  .page-promotions__faq-section,
  .page-promotions__why-choose-section,
  .page-promotions__conclusion-section {
    padding: 30px 0;
    padding-top: 10px !important; /* body handles header offset */
  }

  .page-promotions__content-area {
    padding: 0 15px;
  }

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

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

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

  .page-promotions__btn-primary,
  .page-promotions__btn-secondary,
  .page-promotions__btn-tertiary,
  .page-promotions a[class*="button"],
  .page-promotions a[class*="btn"] {
    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__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;
    flex-wrap: wrap !important;
    gap: 10px;
  }

  .page-promotions__card-grid,
  .page-promotions__steps-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-promotions__card-image {
    height: 180px;
  }

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

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

  .page-promotions__section,
  .page-promotions__card,
  .page-promotions__container,
  .page-promotions__terms-image-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

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

  .page-promotions__feature-list li {
    padding: 10px 15px;
    font-size: 1rem;
  }
}

/* No filter properties for images */
.page-promotions img {
  filter: none; /* Ensure no filter is applied */
}