/* 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;
}

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

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

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

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

.page-promotions__light-bg {
  background-color: var(--color-text-main);
  color: #333333; /* Ensuring contrast on light background */
}

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

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

.page-promotions__section-title {
  font-size: 2.8em;
  font-weight: bold;
  margin-bottom: 20px;
  line-height: 1.2;
  color: var(--color-gold);
}

.page-promotions__paragraph {
  font-size: 1.1em;
  margin-bottom: 20px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* Hero Section */
.page-promotions__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 10px; /* body already handles --header-offset */
  padding-bottom: 60px;
  overflow: hidden;
  background-color: var(--color-background);
}

.page-promotions__hero-image-wrapper {
  width: 100%;
  max-height: 700px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 40px;
}

.page-promotions__hero-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  max-width: 100%; /* Ensure image is responsive */
}

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

.page-promotions__main-title {
  font-size: clamp(2.5em, 5vw, 3.8em);
  font-weight: 900;
  color: var(--color-gold);
  margin-bottom: 20px;
  line-height: 1.1;
  letter-spacing: -1px;
}

.page-promotions__tagline {
  font-size: 1.3em;
  color: var(--color-text-secondary);
  margin-bottom: 40px;
  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: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
}

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

.page-promotions__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  box-shadow: 0 0 25px var(--color-glow);
  transform: translateY(-2px);
}

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

.page-promotions__btn-secondary:hover {
  background-color: var(--color-primary);
  color: var(--color-text-main);
  transform: translateY(-2px);
}

.page-promotions__btn-small {
  padding: 10px 20px;
  font-size: 0.95em;
}

/* Promo Grid */
.page-promotions__promo-grid {
  background-color: var(--color-card-bg);
  padding-top: 80px;
  padding-bottom: 80px;
}

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

.page-promotions__card {
  background-color: var(--color-card-bg);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  text-align: left;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  box-sizing: border-box;
}

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

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

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

.page-promotions__card-title {
  font-size: 1.6em;
  font-weight: bold;
  margin-bottom: 15px;
  color: var(--color-gold);
}

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

.page-promotions__card-features {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
  color: var(--color-text-secondary);
}

.page-promotions__card-features li {
  margin-bottom: 8px;
  padding-left: 25px;
  position: relative;
}

.page-promotions__card-features li::before {
  content: '✓';
  color: var(--color-glow);
  position: absolute;
  left: 0;
  font-weight: bold;
}

/* How To Claim Section */
.page-promotions__how-to-claim {
  background-color: var(--color-text-main);
  color: #333333;
}

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

.page-promotions__step-card {
  background-color: #ffffff;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.page-promotions__step-card:hover {
  transform: translateY(-5px);
}

.page-promotions__step-icon {
  background-color: var(--color-primary);
  color: #ffffff;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 2em;
  font-weight: bold;
  margin: 0 auto 20px auto;
  box-shadow: 0 0 15px rgba(17, 168, 78, 0.4);
}

.page-promotions__step-title {
  font-size: 1.8em;
  font-weight: bold;
  margin-bottom: 10px;
  color: var(--color-primary);
}

.page-promotions__step-description {
  font-size: 1em;
  color: #555555;
}

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

/* Terms and Conditions */
.page-promotions__terms {
  background-color: var(--color-deep-green);
  color: var(--color-text-main);
  text-align: left;
}

.page-promotions__terms-list {
  list-style: disc;
  padding-left: 25px;
  margin-top: 30px;
}

.page-promotions__terms-list li {
  margin-bottom: 10px;
  font-size: 1em;
  color: var(--color-text-secondary);
}

/* FAQ Section */
.page-promotions__faq-section {
  background-color: var(--color-text-main);
  color: #333333;
}

.page-promotions__faq-list {
  max-width: 900px;
  margin: 50px auto 0 auto;
  text-align: left;
}

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

.page-promotions__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: bold;
  color: var(--color-primary);
  cursor: pointer;
  background-color: #f9f9f9;
  border-bottom: 1px solid var(--color-border);
  transition: background-color 0.3s ease;
}

.page-promotions__faq-item[open] > .page-promotions__faq-question {
  background-color: var(--color-primary);
  color: var(--color-text-main);
  border-bottom-color: var(--color-primary);
}

.page-promotions__faq-question:hover {
  background-color: #e6ffe6;
}

.page-promotions__faq-item[open] > .page-promotions__faq-question:hover {
  background-color: var(--color-primary);
}

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

.page-promotions__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 20px;
}

.page-promotions__faq-answer {
  padding: 20px 25px;
  font-size: 1em;
  color: #555555;
  line-height: 1.7;
}

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

/* Final CTA Section */
.page-promotions__cta-final {
  padding: 80px 0;
  background-color: var(--color-background);
}

.page-promotions__cta-content {
  max-width: 900px;
  margin: 0 auto;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-promotions__section-title {
    font-size: 2.2em;
  }
  .page-promotions__main-title {
    font-size: clamp(2.2em, 5vw, 3em);
  }
  .page-promotions__paragraph {
    font-size: 1em;
  }
}

@media (max-width: 768px) {
  .page-promotions__section {
    padding: 40px 0;
  }
  .page-promotions__section-title {
    font-size: 1.8em;
  }
  .page-promotions__main-title {
    font-size: clamp(2em, 7vw, 2.8em);
  }
  .page-promotions__tagline {
    font-size: 1.1em;
  }
  .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: 1em;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-promotions__hero-image-wrapper {
    margin-bottom: 20px;
  }
  .page-promotions__hero-image {
    max-width: 100% !important;
    height: auto !important;
  }
  .page-promotions__card-image {
    height: 180px;
  }
  .page-promotions__card-title {
    font-size: 1.4em;
  }
  .page-promotions__step-title {
    font-size: 1.5em;
  }
  .page-promotions__faq-question {
    font-size: 1.1em;
    padding: 15px 20px;
  }
  .page-promotions__faq-answer {
    padding: 15px 20px;
  }
  
  /* Mobile image responsiveness */
  .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__promo-grid,
  .page-promotions__how-to-claim,
  .page-promotions__terms,
  .page-promotions__faq-section,
  .page-promotions__cta-final {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  
  .page-promotions__hero-section {
    padding-top: 10px !important;
  }

  /* Button container mobile adaptation */
  .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: 0px;
    padding-right: 0px;
    flex-wrap: wrap !important; /* Allow buttons to wrap */
    gap: 10px;
  }
  .page-promotions__cta-buttons {
    flex-direction: column; /* Stack buttons vertically on mobile */
  }
}

@media (max-width: 480px) {
  .page-promotions__section-title {
    font-size: 1.5em;
  }
  .page-promotions__main-title {
    font-size: clamp(1.8em, 8vw, 2.5em);
  }
  .page-promotions__tagline {
    font-size: 0.95em;
  }
  .page-promotions__card-title {
    font-size: 1.2em;
  }
  .page-promotions__step-title {
    font-size: 1.3em;
  }
  .page-promotions__faq-question {
    font-size: 1em;
  }
}