/* style/promotions.css */

:root {
  --primary-color: #017439;
  --secondary-color: #FFFFFF;
  --text-dark: #333333;
  --text-light: #ffffff;
  --bg-light: #ffffff;
  --bg-dark: #017439;
  --btn-register-bg: #C30808;
  --btn-register-text: #FFFF00;
}

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

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

.page-promotions__section-title {
  font-size: 2.5rem;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-promotions__section-intro {
  font-size: 1.1rem;
  text-align: center;
  margin-bottom: 40px;
  color: var(--text-dark);
}

.page-promotions__btn-primary,
.page-promotions__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  text-align: center;
  cursor: pointer;
  box-sizing: border-box;
}

.page-promotions__btn-primary {
  background-color: var(--primary-color);
  color: var(--text-light);
  border: 2px solid var(--primary-color);
}

.page-promotions__btn-primary:hover {
  background-color: darken(var(--primary-color), 10%);
  border-color: darken(var(--primary-color), 10%);
}

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

.page-promotions__btn-secondary:hover {
  background-color: var(--primary-color);
  color: var(--text-light);
}

/* Specific button colors for login/register */
.page-promotions__cta-buttons .page-promotions__btn-primary {
  background-color: var(--btn-register-bg);
  border-color: var(--btn-register-bg);
  color: var(--btn-register-text);
}

.page-promotions__cta-buttons .page-promotions__btn-primary:hover {
  background-color: darken(var(--btn-register-bg), 10%);
  border-color: darken(var(--btn-register-bg), 10%);
}

.page-promotions__cta-buttons .page-promotions__btn-secondary {
  background-color: var(--btn-register-bg);
  border-color: var(--btn-register-bg);
  color: var(--btn-register-text);
}

.page-promotions__cta-buttons .page-promotions__btn-secondary:hover {
  background-color: var(--secondary-color);
  border-color: var(--btn-register-bg);
  color: var(--btn-register-bg);
}

/* Hero Section */
.page-promotions__hero-section {
  position: relative;
  width: 100%;
  height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--text-light);
  overflow: hidden;
  padding-top: var(--header-offset, 120px);
}

.page-promotions__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.page-promotions__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: -1;
}

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

.page-promotions__hero-title {
  font-size: 3.5rem;
  margin-bottom: 20px;
  color: var(--text-light);
  line-height: 1.2;
}

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

.page-promotions__hero-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
}

/* Why Section */
.page-promotions__why-section {
  padding: 80px 0;
  background-color: var(--bg-light);
  color: var(--text-dark);
}

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

.page-promotions__feature-item {
  text-align: center;
  padding: 20px;
  background-color: var(--secondary-color);
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

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

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

.page-promotions__feature-description {
  font-size: 1rem;
  color: var(--text-dark);
}

/* Promotions Grid Section */
.page-promotions__promotions-grid {
  padding: 80px 0;
  background-color: var(--bg-dark);
  color: var(--text-light);
}

.page-promotions__promotions-grid .page-promotions__section-title,
.page-promotions__promotions-grid .page-promotions__section-intro {
  color: var(--text-light);
}

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

.page-promotions__promo-card {
  background-color: var(--secondary-color);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
}

.page-promotions__promo-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.page-promotions__promo-content {
  padding: 25px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.page-promotions__promo-title {
  font-size: 1.6rem;
  color: var(--primary-color);
  margin-bottom: 15px;
}

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

.page-promotions__promo-content .page-promotions__btn-primary,
.page-promotions__promo-content .page-promotions__btn-secondary {
  margin-top: 10px;
  width: 100%;
}

/* How To Claim Section */
.page-promotions__how-to-claim-section {
  padding: 80px 0;
  background-color: var(--bg-light);
  color: var(--text-dark);
}

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

.page-promotions__step-item {
  text-align: center;
  padding: 30px;
  background-color: var(--secondary-color);
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.page-promotions__step-icon {
  width: 60px;
  height: 60px;
  line-height: 60px;
  background-color: var(--primary-color);
  color: var(--text-light);
  border-radius: 50%;
  font-size: 2rem;
  font-weight: bold;
  margin: 0 auto 20px;
}

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

.page-promotions__step-description {
  font-size: 1rem;
  color: var(--text-dark);
}

/* Video Section */
.page-promotions__video-section {
  padding: 80px 0;
  background-color: var(--bg-dark);
  color: var(--text-light);
}

.page-promotions__video-section .page-promotions__section-title,
.page-promotions__video-section .page-promotions__section-intro {
  color: var(--text-light);
}

.page-promotions__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  max-width: 100%;
  background: #000;
  margin: 40px auto;
  border-radius: 10px;
}

.page-promotions__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  cursor: pointer;
}

.page-promotions__video-cta {
  text-align: center;
  margin-top: 30px;
}

/* Terms Section */
.page-promotions__terms-section {
  padding: 80px 0;
  background-color: var(--bg-light);
  color: var(--text-dark);
}

.page-promotions__terms-content {
  margin-top: 40px;
  text-align: left;
}

.page-promotions__terms-subtitle {
  font-size: 1.8rem;
  color: var(--primary-color);
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-promotions__terms-content p {
  margin-bottom: 15px;
  color: var(--text-dark);
}

.page-promotions__terms-content a {
  color: var(--primary-color);
  text-decoration: underline;
}

.page-promotions__terms-cta {
  text-align: center;
  margin-top: 40px;
}

/* FAQ Section */
.page-promotions__faq-section {
  padding: 80px 0;
  background-color: var(--bg-dark);
  color: var(--text-light);
}

.page-promotions__faq-section .page-promotions__section-title,
.page-promotions__faq-section .page-promotions__section-intro {
  color: var(--text-light);
}

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

.page-promotions__faq-item {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

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

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

.page-promotions__faq-question:hover {
  background-color: rgba(255, 255, 255, 0.15);
}

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

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

.page-promotions__faq-answer {
  padding: 0 25px 20px;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.8);
}

.page-promotions__faq-answer p {
    margin-bottom: 10px;
}

.page-promotions__faq-answer .page-promotions__contact-link {
    color: var(--btn-register-text);
    text-decoration: underline;
}

/* CTA Section */
.page-promotions__cta-section {
  padding: 80px 0;
  background-color: var(--bg-dark);
  color: var(--text-light);
  text-align: center;
}

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

.page-promotions__section-outro {
  font-size: 1.1rem;
  text-align: center;
  margin-top: 40px;
  color: var(--text-dark);
}

.page-promotions__dark-bg .page-promotions__section-outro {
    color: var(--text-light);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-promotions__hero-title {
    font-size: 3rem;
  }
  .page-promotions__hero-description {
    font-size: 1.1rem;
  }
  .page-promotions__section-title {
    font-size: 2rem;
  }
}

@media (max-width: 768px) {
  .page-promotions__hero-section {
    height: 500px;
    padding-top: var(--header-offset, 120px) !important;
  }
  .page-promotions__hero-title {
    font-size: 2.5rem;
  }
  .page-promotions__hero-description {
    font-size: 1rem;
  }
  .page-promotions__hero-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-promotions__btn-primary,
  .page-promotions__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-promotions__section-title {
    font-size: 1.8rem;
  }
  .page-promotions__section-intro {
    font-size: 1rem;
  }
  .page-promotions__why-section,
  .page-promotions__promotions-grid,
  .page-promotions__how-to-claim-section,
  .page-promotions__video-section,
  .page-promotions__terms-section,
  .page-promotions__faq-section,
  .page-promotions__cta-section {
    padding: 60px 0;
  }

  .page-promotions__container {
    padding: 0 15px;
  }

  .page-promotions img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !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 {
    padding-bottom: 75%; /* Adjust for 4:3 or other aspect ratios if needed, or keep 56.25% for 16:9 */
  }

  .page-promotions__cta-button,
  .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;
    flex-direction: column;
  }

  .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__feature-image, .page-promotions__promo-image {
    height: 180px;
  }

  .page-promotions p,
  .page-promotions li {
    font-size: 16px;
    line-height: 1.6;
  }
}

@media (max-width: 480px) {
  .page-promotions__hero-title {
    font-size: 2rem;
  }
  .page-promotions__hero-description {
    font-size: 0.9rem;
  }
  .page-promotions__section-title {
    font-size: 1.5rem;
  }
  .page-promotions__feature-item,
  .page-promotions__promo-card,
  .page-promotions__step-item {
    padding: 15px;
  }
  .page-promotions__promo-title {
    font-size: 1.4rem;
  }
  .page-promotions__faq-question {
    font-size: 1rem;
    padding: 15px 20px;
  }
  .page-promotions__faq-answer {
    padding: 0 20px 15px;
  }
}