/* style/promotions.css */

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

/* Base styles for the page content */
.page-promotions {
  font-family: 'Arial', sans-serif;
  background-color: var(--color-background);
  color: var(--color-text-main);
  line-height: 1.6;
  padding-bottom: 60px; /* Ensure space above footer */
}

.page-promotions__section-title {
  font-size: 2.5em;
  font-weight: 700;
  color: var(--color-gold);
  text-align: center;
  margin-bottom: 20px;
  text-shadow: 0 0 8px rgba(242, 193, 78, 0.4);
}

.page-promotions__section-description {
  font-size: 1.1em;
  color: var(--color-text-secondary);
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
}

.page-promotions__cta-button {
  display: inline-block;
  padding: 15px 30px;
  background: var(--button-gradient);
  color: var(--color-text-main);
  text-decoration: none;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1.1em;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-promotions__cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
  opacity: 0.9;
}

.page-promotions__cta-button--centered {
  display: block;
  margin: 40px auto 0 auto;
  max-width: 300px;
}

.page-promotions__cta-button--secondary {
  background: var(--color-card-bg);
  border: 2px solid var(--color-primary);
  color: var(--color-primary);
}

.page-promotions__cta-button--secondary:hover {
  background: var(--color-primary);
  color: var(--color-text-main);
}

.page-promotions__cta-button--large {
  padding: 18px 35px;
  font-size: 1.2em;
}

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

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

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

.page-promotions__hero-content {
  text-align: center;
  padding: 40px 20px;
  max-width: 900px;
  margin-top: -100px; /* Overlap slightly with image for visual flow */
  background-color: var(--color-card-bg);
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.6);
  z-index: 1;
  border: 1px solid var(--color-border);
}

.page-promotions__main-title {
  font-weight: 800;
  color: var(--color-gold);
  line-height: 1.2;
  margin-bottom: 20px;
  text-shadow: 0 0 10px rgba(242, 193, 78, 0.6);
  /* No fixed font-size for H1 as per instructions, rely on other properties */
}

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

/* Overview Section */
.page-promotions__overview-section,
.page-promotions__detailed-promos,
.page-promotions__why-choose-section,
.page-promotions__how-to-claim-section,
.page-promotions__faq-section,
.page-promotions__final-cta-section {
  max-width: 1200px;
  margin: 80px auto;
  padding: 0 20px;
}

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

.page-promotions__category-card {
  background-color: var(--color-card-bg);
  border-radius: 15px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--color-border);
}

.page-promotions__category-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6);
}

.page-promotions__category-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 15px;
}

.page-promotions__category-title {
  font-size: 1.4em;
  color: var(--color-primary);
  margin-bottom: 10px;
}

.page-promotions__category-text {
  color: var(--color-text-secondary);
  font-size: 0.95em;
}

/* Detailed Promotions */
.page-promotions__promo-card {
  display: flex;
  background-color: var(--color-card-bg);
  border-radius: 15px;
  overflow: hidden;
  margin-bottom: 60px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
  border: 1px solid var(--color-border);
}

.page-promotions__promo-card--reverse {
  flex-direction: row-reverse;
}

.page-promotions__promo-image {
  width: 50%;
  height: auto;
  object-fit: cover;
  display: block;
}

.page-promotions__promo-content {
  width: 50%;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.page-promotions__promo-title {
  font-size: 1.8em;
  color: var(--color-gold);
  margin-bottom: 15px;
}

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

.page-promotions__promo-features {
  list-style: none;
  padding: 0;
  margin-bottom: 25px;
}

.page-promotions__promo-features li {
  display: flex;
  align-items: center;
  color: var(--color-text-main);
  margin-bottom: 8px;
  font-size: 0.95em;
}

.page-promotions__feature-icon {
  color: var(--color-primary);
  font-size: 1.2em;
  margin-right: 10px;
}

.page-promotions__promo-button {
  display: inline-block;
  padding: 12px 25px;
  background: var(--button-gradient);
  color: var(--color-text-main);
  text-decoration: none;
  border-radius: 6px;
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-promotions__promo-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* Why Choose Section */
.page-promotions__benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

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

.page-promotions__benefit-title {
  font-size: 1.5em;
  color: var(--color-primary);
  margin-bottom: 10px;
}

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

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

.page-promotions__step-card {
  background-color: var(--color-card-bg);
  border-radius: 15px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
  border: 1px solid var(--color-border);
  position: relative;
}

.page-promotions__step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background: var(--button-gradient);
  border-radius: 50%;
  color: var(--color-text-main);
  font-size: 1.8em;
  font-weight: bold;
  margin: 0 auto 20px auto;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

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

.page-promotions__step-text {
  color: var(--color-text-secondary);
  font-size: 0.9em;
}

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

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

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

.page-promotions__faq-question:hover {
  background-color: var(--color-primary);
  color: var(--color-text-main);
}

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

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

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

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

.page-promotions__faq-answer {
  padding: 20px 25px;
  background-color: var(--color-card-bg);
  color: var(--color-text-secondary);
  font-size: 1em;
  border-top: 1px solid var(--color-divider);
}

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

/* Final CTA Section */
.page-promotions__final-cta-section {
  text-align: center;
  margin-top: 100px;
  background-color: var(--color-deep-green);
  padding: 60px 20px;
  border-radius: 15px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.7);
  border: 1px solid var(--color-border);
}

.page-promotions__final-cta-section .page-promotions__section-title {
  color: var(--color-gold);
  margin-bottom: 15px;
}

.page-promotions__final-cta-section .page-promotions__section-description {
  color: var(--color-text-secondary);
  margin-bottom: 40px;
}

.page-promotions__cta-buttons-wrapper {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-promotions__hero-content {
    margin-top: -80px;
    padding: 30px;
  }
  .page-promotions__main-title {
    font-size: 2.2em;
  }
  .page-promotions__intro-text {
    font-size: 1.1em;
  }
  .page-promotions__promo-card {
    flex-direction: column;
  }
  .page-promotions__promo-card--reverse {
    flex-direction: column;
  }
  .page-promotions__promo-image,
  .page-promotions__promo-content {
    width: 100%;
  }
  .page-promotions__promo-content {
    padding: 30px;
  }
}

@media (max-width: 768px) {
  .page-promotions__section-title {
    font-size: 2em;
  }
  .page-promotions__section-description {
    font-size: 1em;
  }
  .page-promotions__hero-content {
    margin-top: -60px;
    padding: 25px 15px;
  }
  .page-promotions__main-title {
    font-size: 1.8em;
  }
  .page-promotions__intro-text {
    font-size: 1em;
  }

  /* Mobile image responsiveness */
  .page-promotions img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  /* Mobile button responsiveness */
  .page-promotions__cta-button,
  .page-promotions__promo-button,
  .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-wrapper {
    flex-direction: column;
    gap: 15px;
  }

  /* Container for images/videos/buttons */
  .page-promotions__hero-section,
  .page-promotions__overview-section,
  .page-promotions__detailed-promos,
  .page-promotions__why-choose-section,
  .page-promotions__how-to-claim-section,
  .page-promotions__faq-section,
  .page-promotions__final-cta-section,
  .page-promotions__category-card,
  .page-promotions__promo-card,
  .page-promotions__benefit-item,
  .page-promotions__step-card,
  .page-promotions__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden !important; /* Prevent horizontal scroll */
  }

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

  .page-promotions__promo-content {
    padding: 20px;
  }

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

@media (max-width: 480px) {
  .page-promotions__main-title {
    font-size: 1.5em;
  }
  .page-promotions__section-title {
    font-size: 1.8em;
  }
  .page-promotions__cta-button {
    font-size: 1em;
    padding: 12px 20px;
  }
  .page-promotions__hero-content {
    margin-top: -40px;
  }
}