/* style/promotions.css */

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

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

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

.page-promotions a:hover {
  text-decoration: underline;
}

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

.page-promotions__section-title {
  font-size: clamp(2em, 4vw, 2.8em); /* Use clamp for H1, H2 */
  color: var(--so66-text-main);
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
}

.page-promotions__section-description {
  font-size: 1.1em;
  color: var(--so66-text-secondary);
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  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;
  text-align: center;
  overflow: hidden;
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 60px;
}

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

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

.page-promotions__hero-content {
  position: relative;
  z-index: 10;
  max-width: 900px;
  padding: 20px;
  margin-top: -150px; /* Pull content up over image for visual flow */
  background: rgba(8, 22, 15, 0.8); /* Semi-transparent background for text readability */
  border-radius: 10px;
  padding-bottom: 40px;
}

.page-promotions__main-title {
  font-size: clamp(2.5em, 5vw, 3.5em);
  color: var(--so66-text-main);
  margin-bottom: 15px;
  font-weight: bold;
  line-height: 1.2;
}

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

.page-promotions__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

.page-promotions__btn-primary,
.page-promotions__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
  max-width: 100%;
}

.page-promotions__btn-primary {
  background: var(--so66-btn-gradient);
  color: #ffffff; /* White text for primary button */
  border: none;
  box-shadow: 0 4px 15px rgba(42, 209, 111, 0.4);
}

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

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

.page-promotions__btn-secondary:hover {
  background: rgba(34, 199, 104, 0.1);
  color: var(--so66-text-main);
}

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

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

/* Promotions Overview Section */
.page-promotions__overview-section {
  background-color: var(--so66-background);
  padding: 60px 0;
}

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

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

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

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

.page-promotions__promotion-card .page-promotions__card-title {
  font-size: 1.4em;
  color: var(--so66-text-main);
  padding: 15px 20px 0;
  margin-bottom: 10px;
}

.page-promotions__promotion-card .page-promotions__card-text {
  font-size: 0.95em;
  color: var(--so66-text-secondary);
  padding: 0 20px 15px;
  flex-grow: 1;
}

.page-promotions__promotion-card .page-promotions__btn-primary {
  margin: 0 20px 20px;
}

/* How To Claim Section */
.page-promotions__how-to-claim {
  background-color: var(--so66-deep-green);
  padding: 60px 0;
}

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

.page-promotions__step-item {
  display: flex;
  align-items: flex-start;
  background-color: var(--so66-card-bg);
  padding: 25px;
  border-radius: 10px;
  border: 1px solid var(--so66-border);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-promotions__step-number {
  font-size: 2em;
  font-weight: bold;
  color: var(--so66-gold);
  margin-right: 15px;
  flex-shrink: 0;
  line-height: 1;
}

.page-promotions__step-title {
  font-size: 1.25em;
  color: var(--so66-text-main);
  margin-top: 0;
  margin-bottom: 8px;
}

.page-promotions__step-content p {
  color: var(--so66-text-secondary);
  font-size: 0.95em;
}

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

.page-promotions__faq-list {
  max-width: 800px;
  margin: 0 auto;
}

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

.page-promotions__faq-item summary {
  list-style: none;
}

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

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

.page-promotions__faq-question:hover {
  background-color: rgba(var(--so66-primary-rgb), 0.1);
}

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

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

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

.page-promotions__faq-item[open] .page-promotions__faq-toggle {
  transform: rotate(45deg); /* Simple rotation for plus/minus effect */
}

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

/* Bottom CTA Section */
.page-promotions__cta-bottom {
  background-color: var(--so66-deep-green);
  padding: 80px 0;
  text-align: center;
}

/* Responsive Images & Videos */
.page-promotions img {
  max-width: 100%;
  height: auto;
  display: block;
  box-sizing: border-box;
}

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

  .page-promotions__container,
  .page-promotions__hero-section,
  .page-promotions__overview-section,
  .page-promotions__how-to-claim,
  .page-promotions__faq-section,
  .page-promotions__cta-bottom {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

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

  .page-promotions__hero-content {
    margin-top: -80px; /* Adjust pull-up for mobile */
    padding: 15px;
  }

  .page-promotions__main-title {
    font-size: 2em; /* Smaller H1 for mobile */
  }

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

  .page-promotions__cta-buttons {
    flex-direction: column; /* Stack buttons vertically */
    gap: 15px;
  }

  .page-promotions__btn-primary,
  .page-promotions__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 15px;
    padding-right: 15px;
  }

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

  .page-promotions__section-description {
    font-size: 1em;
    margin-bottom: 30px;
  }

  .page-promotions__promotions-grid {
    grid-template-columns: 1fr; /* Single column for cards */
  }

  .page-promotions__promotion-card .page-promotions__card-title {
    font-size: 1.2em;
  }

  .page-promotions__step-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .page-promotions__step-number {
    margin-right: 0;
    margin-bottom: 10px;
  }

  .page-promotions__step-title {
    font-size: 1.1em;
  }

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

  .page-promotions__faq-toggle {
    font-size: 1.2em;
  }

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