/* style/promotions.css */

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

.page-promotions {
  background-color: var(--page-promotions-bg); /* Dark background from custom colors */
  color: var(--page-promotions-text-main); /* Light text for dark background */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

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

/* Hero Section */
.page-promotions__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  padding-bottom: 60px;
}

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

.page-promotions__hero-content {
  text-align: center;
  padding: 40px 20px;
  background: rgba(0, 0, 0, 0.5); /* Semi-transparent overlay for readability */
  width: 100%;
  box-sizing: border-box;
  margin-top: -100px; /* Overlap slightly for visual flow, but not on image directly */
  position: relative;
  z-index: 1;
}

.page-promotions__hero-title {
  color: var(--page-promotions-text-main);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  margin-bottom: 15px;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
}

.page-promotions__hero-description {
  color: var(--page-promotions-text-secondary);
  font-size: clamp(1rem, 2vw, 1.25rem);
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.page-promotions__hero-cta-button {
  display: inline-block;
  background: var(--page-promotions-btn-gradient);
  color: #ffffff;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: none;
  cursor: pointer;
}

.page-promotions__hero-cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Intro Section */
.page-promotions__intro-section {
  padding: 60px 0;
  text-align: center;
  background-color: var(--page-promotions-bg);
}

.page-promotions__intro-title {
  color: var(--page-promotions-text-main);
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin-bottom: 20px;
}

.page-promotions__intro-text {
  color: var(--page-promotions-text-secondary);
  font-size: 1.1rem;
  max-width: 900px;
  margin: 0 auto;
}

/* Promotions Grid */
.page-promotions__promotions-grid {
  padding: 80px 0;
  background-color: var(--page-promotions-card-bg);
}

.page-promotions__grid-title {
  color: var(--page-promotions-text-main);
  text-align: center;
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin-bottom: 50px;
}

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

.page-promotions__promotion-card {
  background-color: var(--page-promotions-deep-green);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--page-promotions-border);
}

.page-promotions__promotion-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.4);
}

.page-promotions__card-image {
  width: 100%;
  height: 250px; /* Fixed height for consistency */
  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 {
  color: var(--page-promotions-gold);
  font-size: 1.6rem;
  margin-bottom: 15px;
  line-height: 1.3;
}

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

.page-promotions__card-cta-button {
  display: inline-block;
  background: var(--page-promotions-btn-gradient);
  color: #ffffff;
  padding: 12px 25px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: background 0.3s ease;
  align-self: flex-start;
  border: none;
  cursor: pointer;
  text-align: center;
}

.page-promotions__card-cta-button:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
}

/* How to Claim Section */
.page-promotions__how-to-claim-section {
  padding: 80px 0;
  background-color: var(--page-promotions-bg);
}

.page-promotions__how-to-claim-title {
  color: var(--page-promotions-text-main);
  text-align: center;
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin-bottom: 50px;
}

.page-promotions__steps-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
}

.page-promotions__step-item {
  background-color: var(--page-promotions-card-bg);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--page-promotions-divider);
  transition: transform 0.3s ease;
}

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

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

.page-promotions__step-description {
  color: var(--page-promotions-text-secondary);
  font-size: 1rem;
}

.page-promotions__main-cta-button {
  display: block;
  width: fit-content;
  margin: 50px auto 0 auto;
  background: var(--page-promotions-btn-gradient);
  color: #ffffff;
  padding: 18px 40px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.2rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: none;
  cursor: pointer;
}

.page-promotions__main-cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Benefits Section */
.page-promotions__benefits-section {
  padding: 80px 0;
  background-color: var(--page-promotions-deep-green);
}

.page-promotions__benefits-title {
  color: var(--page-promotions-text-main);
  text-align: center;
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin-bottom: 50px;
}

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

.page-promotions__benefit-item {
  background-color: var(--page-promotions-card-bg);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--page-promotions-border);
}

.page-promotions__benefit-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
  filter: drop-shadow(0 0 5px var(--page-promotions-glow)); /* Allowed for icon glow, not color change */
}

.page-promotions__benefit-heading {
  color: var(--page-promotions-gold);
  font-size: 1.4rem;
  margin-bottom: 10px;
}

.page-promotions__benefit-text {
  color: var(--page-promotions-text-secondary);
  font-size: 0.95rem;
}

/* FAQ Section */
.page-promotions__faq-section {
  padding: 80px 0;
  background-color: var(--page-promotions-bg);
}

.page-promotions__faq-title {
  color: var(--page-promotions-text-main);
  text-align: center;
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin-bottom: 50px;
}

.page-promotions__faq-items {
  max-width: 900px;
  margin: 0 auto;
}

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

.page-promotions__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--page-promotions-text-main);
  cursor: pointer;
  background-color: var(--page-promotions-deep-green);
  border-bottom: 1px solid var(--page-promotions-divider);
  transition: background-color 0.3s ease;
  list-style: none; /* For details/summary */
}

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

.page-promotions__faq-question:hover {
  background-color: var(--page-promotions-border);
}

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

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

.page-promotions__faq-answer {
  padding: 20px;
  font-size: 1rem;
  color: var(--page-promotions-text-secondary);
  background-color: var(--page-promotions-card-bg);
}

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

/* Final CTA Section */
.page-promotions__cta-section {
  padding: 80px 0;
  text-align: center;
  background-color: var(--page-promotions-deep-green);
  border-top: 1px solid var(--page-promotions-divider);
}

.page-promotions__cta-title {
  color: var(--page-promotions-text-main);
  font-size: clamp(2.2rem, 4.5vw, 3rem);
  margin-bottom: 20px;
}

.page-promotions__cta-description {
  color: var(--page-promotions-text-secondary);
  font-size: 1.15rem;
  max-width: 800px;
  margin: 0 auto 40px auto;
}

.page-promotions__main-cta-button--large {
  padding: 20px 45px;
  font-size: 1.3rem;
}

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

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

  .page-promotions__container,
  .page-promotions__section,
  .page-promotions__card,
  .page-promotions__how-to-claim-section,
  .page-promotions__benefits-section,
  .page-promotions__faq-section,
  .page-promotions__cta-section {
    padding-left: 15px !important;
    padding-right: 15px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .page-promotions__hero-section {
    padding-top: 10px !important;
    padding-bottom: 40px;
  }

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

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

  .page-promotions__hero-title {
    font-size: clamp(2rem, 8vw, 2.5rem);
  }

  .page-promotions__hero-description {
    font-size: clamp(0.9rem, 3.5vw, 1.1rem);
  }

  .page-promotions__hero-cta-button,
  .page-promotions__main-cta-button,
  .page-promotions__card-cta-button {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 0 !important; /* Buttons inside containers already have padding */
    padding-right: 0 !important;
  }

  .page-promotions__main-cta-button {
    margin-top: 30px;
  }

  .page-promotions__intro-section,
  .page-promotions__promotions-grid,
  .page-promotions__how-to-claim-section,
  .page-promotions__benefits-section,
  .page-promotions__faq-section,
  .page-promotions__cta-section {
    padding: 40px 0;
  }

  .page-promotions__grid-cards,
  .page-promotions__steps-list,
  .page-promotions__benefits-list {
    grid-template-columns: 1fr;
  }

  .page-promotions__promotion-card {
    margin: 0 auto;
  }

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

  .page-promotions__benefit-icon {
    width: 80px;
    height: 80px;
  }

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

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

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

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

  .page-promotions__main-cta-button--large {
    padding: 15px 30px;
    font-size: 1.1rem;
  }
}

@media (max-width: 480px) {
  .page-promotions__hero-title {
    font-size: clamp(1.8rem, 9vw, 2.2rem);
  }

  .page-promotions__hero-description {
    font-size: clamp(0.85rem, 4vw, 1rem);
  }

  .page-promotions__hero-cta-button {
    font-size: 1rem;
    padding: 12px 25px;
  }
}