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

.page-promotions {
  background-color: var(--page-promotions-background);
  color: var(--page-promotions-text-main);
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.page-promotions__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  background-color: var(--page-promotions-background);
  overflow: hidden;
  text-align: center;
}

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

.page-promotions__hero-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  max-width: 1920px; /* Ensure image scales down */
}

.page-promotions__hero-content {
  position: relative;
  z-index: 10;
  max-width: 900px;
  margin-top: 30px;
  padding: 0 20px;
}

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

.page-promotions__hero-description {
  font-size: 1.1rem;
  color: var(--page-promotions-text-secondary);
  margin-bottom: 30px;
}

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

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

.page-promotions__btn-primary {
  background: var(--page-promotions-button-gradient);
  color: var(--page-promotions-text-main);
  border: 2px solid transparent;
}

.page-promotions__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(87, 227, 141, 0.4);
}

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

.page-promotions__btn-secondary:hover {
  background-color: var(--page-promotions-gold);
  color: var(--page-promotions-background);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(242, 193, 78, 0.4);
}

.page-promotions__section {
  padding: 80px 20px;
  text-align: center;
}

.page-promotions__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
  background-color: var(--page-promotions-background);
  color: var(--page-promotions-text-main);
}

.page-promotions__section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--page-promotions-gold);
  margin-bottom: 40px;
  font-weight: bold;
}

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

.page-promotions__text-block a {
  color: var(--page-promotions-primary-color);
  text-decoration: underline;
}

.page-promotions__text-block a:hover {
  color: var(--page-promotions-gold);
}

.page-promotions__image-card {
  margin: 40px auto;
  max-width: 1000px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.page-promotions__image-full-width {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-promotions__card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 50px auto;
}

.page-promotions__promotion-card {
  background-color: var(--page-promotions-card-bg);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--page-promotions-border);
  display: flex;
  flex-direction: column;
  height: 100%;
  text-align: left;
}

.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;
}

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

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

.page-promotions__card-description a {
  color: var(--page-promotions-primary-color);
  text-decoration: underline;
}

.page-promotions__card-description a:hover {
  color: var(--page-promotions-gold);
}

.page-promotions__card-button {
  margin-top: auto; /* Push button to bottom */
  background: var(--page-promotions-button-gradient);
  color: var(--page-promotions-text-main);
  text-align: center;
  padding: 12px 20px;
  border-radius: 6px;
  font-size: 0.95rem;
}

.page-promotions__card-button:hover {
  opacity: 0.9;
  transform: translateY(-1px);
  box-shadow: 0 3px 10px rgba(87, 227, 141, 0.3);
}

.page-promotions__list {
  max-width: 900px;
  margin: 40px auto;
  text-align: left;
  list-style: none;
  padding: 0;
}

.page-promotions__list-item {
  font-size: 1.1rem;
  color: var(--page-promotions-text-secondary);
  margin-bottom: 15px;
  padding-left: 30px;
  position: relative;
}

.page-promotions__list-item::before {
  content: '✅';
  position: absolute;
  left: 0;
  color: var(--page-promotions-gold);
}

.page-promotions__list-item a {
  color: var(--page-promotions-primary-color);
  text-decoration: underline;
}

.page-promotions__list-item a:hover {
  color: var(--page-promotions-gold);
}

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

.page-promotions__faq-section {
  max-width: 1000px;
  margin: 0 auto;
  padding: 60px 20px;
  background-color: var(--page-promotions-background);
  color: var(--page-promotions-text-main);
}

.page-promotions__faq-list {
  margin-top: 40px;
  text-align: left;
}

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

.page-promotions__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-size: 1.15rem;
  font-weight: bold;
  color: var(--page-promotions-text-main);
  background-color: var(--page-promotions-deep-green);
  transition: background-color 0.3s ease;
}

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

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

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

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

.page-promotions__faq-answer {
  padding: 20px 25px;
  font-size: 1rem;
  color: var(--page-promotions-text-secondary);
  line-height: 1.5;
  border-top: 1px solid var(--page-promotions-divider);
}

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

.page-promotions__faq-answer a {
  color: var(--page-promotions-primary-color);
  text-decoration: underline;
}

.page-promotions__faq-answer a:hover {
  color: var(--page-promotions-gold);
}

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

.page-promotions__final-cta {
  padding-bottom: 80px;
}

.page-promotions__highlight {
  color: var(--page-promotions-gold);
  font-weight: bold;
}

/* Color Contrast Specific Styles */
.page-promotions__dark-section {
  background-color: var(--page-promotions-background);
  color: var(--page-promotions-text-main);
}

.page-promotions__light-bg {
  background-color: #f8f8f8;
  color: #333333;
}

.page-promotions__light-bg .page-promotions__section-title {
  color: var(--page-promotions-deep-green);
}

.page-promotions__light-bg .page-promotions__text-block {
  color: #555555;
}

.page-promotions__light-bg .page-promotions__highlight {
  color: var(--page-promotions-primary-color);
}

/* Ensure contrast for links in light background */
.page-promotions__light-bg a {
  color: var(--page-promotions-primary-color);
}
.page-promotions__light-bg a:hover {
  color: var(--page-promotions-deep-green);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-promotions__card-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    padding: 0 15px;
  }
}

@media (max-width: 768px) {
  .page-promotions__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important; /* body handles --header-offset */
  }

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

  .page-promotions__hero-description,
  .page-promotions__text-block,
  .page-promotions__list-item,
  .page-promotions__card-description,
  .page-promotions__faq-answer p {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-promotions__section-title {
    font-size: clamp(1.8rem, 6vw, 2.2rem);
  }

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

  .page-promotions__btn-primary,
  .page-promotions__btn-secondary,
  .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 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__faq-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  .page-promotions__hero-image-wrapper,
  .page-promotions__image-card {
    margin-left: -15px;
    margin-right: -15px;
    width: calc(100% + 30px);
    max-width: calc(100% + 30px);
  }

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

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