/* style/promotions.css */

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

.page-promotions {
  background-color: var(--promotions-bg);
  color: var(--promotions-text-main);
  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;
}

/* Hero Section */
.page-promotions__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 0 60px 0;
  text-align: center;
  background-color: var(--promotions-bg);
  overflow: hidden;
}

.page-promotions__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  margin-bottom: 40px; /* Space between image and content */
}

.page-promotions__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.page-promotions__hero-content {
  max-width: 900px;
  padding: 0 20px;
}

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

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

/* CTA Button Base */
.page-promotions__cta-button {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  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(--promotions-button-gradient);
  color: #ffffff;
  border: none;
  box-shadow: 0 5px 15px rgba(34, 199, 104, 0.4);
}

.page-promotions__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(34, 199, 104, 0.6);
}

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

.page-promotions__btn-secondary:hover {
  background-color: var(--promotions-border);
  color: #ffffff;
  transform: translateY(-3px);
}

/* Section Titles */
.page-promotions__section-title {
  color: var(--promotions-text-main);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 25px;
  padding-top: 40px;
}

.page-promotions__section-description {
  color: var(--promotions-text-secondary);
  font-size: 1rem;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px auto;
}

/* Current Promos Section */
.page-promotions__current-promos-section {
  padding: 60px 0;
  background-color: var(--promotions-bg);
}

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

.page-promotions__promo-card {
  background-color: var(--promotions-card-bg);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.page-promotions__promo-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.page-promotions__promo-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 {
  color: var(--promotions-text-main);
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 15px;
}

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

.page-promotions__card-button {
  align-self: flex-start;
  margin-top: auto;
}

/* Guide Section */
.page-promotions__claim-guide-section {
  padding: 80px 0;
  background-color: var(--promotions-deep-green);
  color: var(--promotions-text-main);
}

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

.page-promotions__guide-item {
  background-color: var(--promotions-card-bg);
  border-left: 5px solid var(--promotions-glow);
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-promotions__guide-step-title {
  color: var(--promotions-text-main);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 10px;
}

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

.page-promotions__link-inline {
  color: var(--promotions-glow);
  text-decoration: underline;
  font-weight: 600;
}

.page-promotions__link-inline:hover {
  color: var(--promotions-gold);
}

/* Terms & Conditions Section */
.page-promotions__terms-conditions-section {
  padding: 80px 0;
  background-color: var(--promotions-bg);
}

.page-promotions__terms-list {
  list-style: disc;
  color: var(--promotions-text-secondary);
  max-width: 900px;
  margin: 50px auto;
  padding-left: 25px;
}

.page-promotions__terms-item {
  margin-bottom: 15px;
  font-size: 1rem;
  line-height: 1.8;
}

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

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

.page-promotions__faq-item {
  background-color: var(--promotions-card-bg);
  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 25px;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--promotions-text-main);
  cursor: pointer;
  background-color: var(--promotions-card-bg);
  border-bottom: 1px solid var(--promotions-divider);
  transition: background-color 0.3s ease;
  list-style: none; /* For details/summary */
}

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

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

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

.page-promotions__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  width: 20px;
  text-align: center;
  transition: transform 0.3s ease;
}

.page-promotions__faq-item[open] .page-promotions__faq-toggle {
  transform: rotate(45deg);
}

.page-promotions__faq-answer {
  padding: 0 25px 20px 25px;
  color: var(--promotions-text-secondary);
  font-size: 0.95rem;
}

/* Why Choose Section */
.page-promotions__why-choose-section {
  padding: 80px 0;
  background-color: var(--promotions-bg);
}

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

.page-promotions__benefits-item {
  background-color: var(--promotions-card-bg);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-promotions__benefit-icon {
  width: 60px;
  height: 60px;
  object-fit: contain;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-promotions__benefits-title {
  color: var(--promotions-text-main);
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 10px;
}

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

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

/* Global image reset for content area */
.page-promotions img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

  .page-promotions__container,
  .page-promotions__hero-content {
    padding-left: 15px !important;
    padding-right: 15px !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

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

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

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

  .page-promotions__cta-button {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1rem;
  }

  .page-promotions__section-title {
    font-size: clamp(1.8rem, 7vw, 2.2rem);
    padding-top: 20px;
  }

  .page-promotions__section-description {
    margin-bottom: 30px;
  }

  .page-promotions__promo-cards-grid,
  .page-promotions__guide-list,
  .page-promotions__benefits-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-promotions__promo-image {
    height: 180px;
  }

  .page-promotions__card-title {
    font-size: 1.2rem;
  }

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

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

  /* Ensure all images are responsive */
  .page-promotions img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  /* Specific content area image rules */
  .page-promotions__section,
  .page-promotions__card,
  .page-promotions__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

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

  .page-promotions__video,
  .page-promotions video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-promotions__video-section,
  .page-promotions__video-container,
  .page-promotions__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  .page-promotions__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .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__cta-buttons {
    display: flex;
    flex-direction: column;
  }
}

/* Desktop video width for flex containers */
.page-promotions__video-container {
  width: 100%; /* Ensure it's 100% on desktop, alongside max-width */
}

/* Ensure minimum image size for content area is not overridden */
.page-promotions img:not(.page-promotions__benefit-icon) {
  min-width: 200px;
  min-height: 200px;
}

/* Override for small icons to meet min size if used */
.page-promotions__benefit-icon {
  min-width: 40px;
  min-height: 40px;
}