/* style/promotions.css */

: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);
  color: var(--page-promotions-text-main);
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  padding-top: 0; /* body handles padding-top: var(--header-offset) */
}

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

.page-promotions__dark-bg {
  background-color: var(--page-promotions-bg);
  color: var(--page-promotions-text-main);
}

.page-promotions__card-bg {
  background-color: var(--page-promotions-card-bg);
  color: var(--page-promotions-text-main);
  border: 1px solid var(--page-promotions-border);
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

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

.page-promotions__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

.page-promotions__hero-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.4); /* Darken image for text readability */
}

.page-promotions__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 20px;
}

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

.page-promotions__hero-description {
  font-size: 1.15rem;
  color: var(--page-promotions-text-secondary);
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-promotions__btn-primary,
.page-promotions__btn-secondary {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-promotions__btn-primary {
  background: var(--page-promotions-btn-gradient);
  color: var(--page-promotions-text-main);
  border: none;
}

.page-promotions__btn-primary:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
}

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

.page-promotions__btn-secondary:hover {
  background: var(--page-promotions-glow);
  color: var(--page-promotions-bg);
  transform: translateY(-2px);
}

.page-promotions__section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--page-promotions-text-main);
  text-align: center;
  margin-bottom: 20px;
  font-weight: 700;
}

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

.page-promotions__intro-section,
.page-promotions__categories,
.page-promotions__featured,
.page-promotions__guide,
.page-promotions__terms,
.page-promotions__faq-section,
.page-promotions__cta-bottom {
  padding: 80px 0;
  padding-top: 10px; /* Small top padding */
}

.page-promotions__video-wrapper {
  position: relative;
  width: 100%;
  max-width: 1000px; /* Adjust max-width as needed */
  margin: 40px auto;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  background-color: var(--page-promotions-deep-green);
}

.page-promotions__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
}

.page-promotions__video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.4);
  border-radius: 12px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.page-promotions__video-overlay:hover {
  background: rgba(0, 0, 0, 0.6);
}

.page-promotions__video-play-button {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--page-promotions-btn-gradient);
  color: var(--page-promotions-text-main);
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
}

.page-promotions__video-play-button:hover {
  filter: brightness(1.1);
  transform: scale(1.05);
}

.page-promotions__video-play-button svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

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

.page-promotions__promotion-card {
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-promotions__card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 20px;
}

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

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

.page-promotions__feature-card {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-bottom: 60px;
  padding: 40px;
  overflow: hidden;
}

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

.page-promotions__feature-content {
  flex: 1;
}

.page-promotions__feature-image {
  flex: 1;
  max-width: 50%;
  height: auto;
  object-fit: cover;
  border-radius: 8px;
}

.page-promotions__feature-title {
  font-size: 2rem;
  color: var(--page-promotions-text-main);
  margin-bottom: 20px;
  font-weight: 700;
}

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

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

.page-promotions__step-item {
  padding: 30px;
  text-align: center;
}

.page-promotions__step-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: var(--page-promotions-btn-gradient);
  color: var(--page-promotions-text-main);
  font-size: 1.8rem;
  font-weight: 700;
  border-radius: 50%;
  margin: 0 auto 20px auto;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.page-promotions__step-title {
  font-size: 1.4rem;
  color: var(--page-promotions-text-main);
  margin-bottom: 15px;
  font-weight: 600;
}

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

.page-promotions__terms-list {
  list-style: none;
  padding: 0;
  margin: 40px auto 0 auto;
  max-width: 800px;
}

.page-promotions__terms-item {
  background-color: var(--page-promotions-card-bg);
  color: var(--page-promotions-text-secondary);
  padding: 15px 20px;
  margin-bottom: 10px;
  border-radius: 6px;
  border-left: 4px solid var(--page-promotions-glow);
  font-size: 1rem;
}

.page-promotions__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-promotions__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.page-promotions__faq-item[open] {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

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

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

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

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

.page-promotions__faq-toggle {
  font-size: 1.5rem;
  font-weight: bold;
  width: 24px;
  text-align: center;
}

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

.page-promotions__cta-bottom {
  text-align: center;
  padding-bottom: 80px;
}

/* Responsive Styles */
@media (max-width: 992px) {
  .page-promotions__feature-card {
    flex-direction: column;
    text-align: center;
  }

  .page-promotions__feature-card--reverse {
    flex-direction: column;
  }

  .page-promotions__feature-image {
    max-width: 80%;
    margin-bottom: 30px;
  }
}

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

  .page-promotions__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important; /* body handles header offset */
  }

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

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

  .page-promotions__cta-buttons {
    flex-direction: column;
    gap: 10px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding-left: 15px;
    padding-right: 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: 12px 20px;
    font-size: 0.95rem;
  }

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

  .page-promotions__section-description {
    font-size: 0.95rem;
    margin-bottom: 30px;
  }

  .page-promotions__intro-section,
  .page-promotions__categories,
  .page-promotions__featured,
  .page-promotions__guide,
  .page-promotions__terms,
  .page-promotions__faq-section,
  .page-promotions__cta-bottom {
    padding: 40px 0;
    padding-top: 10px !important; /* Small top padding */
  }

  .page-promotions__container {
    padding: 0 15px !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .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 {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .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__feature-image {
    max-width: 100%;
  }

  .page-promotions__feature-title {
    font-size: 1.6rem;
  }

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

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