/* style/promo.css */
.page-promo {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-main-color, #FFF6D6); /* Default text color for dark background */
  background-color: var(--background-color, #0A0A0A); /* Default background color */
}

.page-promo__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.page-promo__hero-section {
  padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
  background: linear-gradient(135deg, #F2C14E, #FFD36B);
  position: relative;
  overflow: hidden;
  color: #000000; /* Text color for the light gradient background */
}

.page-promo__hero-carousel {
  position: relative;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

.page-promo__hero-slides {
  display: flex;
  width: 300%; /* For 3 slides */
  transition: transform 0.5s ease-in-out;
}

.page-promo__hero-slide {
  width: 100%;
  flex-shrink: 0;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-bottom: 20px;
}

.page-promo__hero-image {
  width: 100%;
  height: auto;
  max-height: 675px; /* Limit height for better display */
  object-fit: cover;
  display: block;
}

.page-promo__hero-content {
  padding: 20px 15px;
  max-width: 900px;
  margin-top: 20px;
}

.page-promo__main-title {
  font-size: clamp(2em, 4vw, 3.5em);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 15px;
  color: #000000;
}

.page-promo__hero-subtitle {
  font-size: clamp(1.8em, 3.5vw, 3em);
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 15px;
  color: #000000;
}

.page-promo__hero-description {
  font-size: clamp(1em, 1.5vw, 1.2em);
  margin-bottom: 30px;
  color: #333333;
}

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

.page-promo__hero-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.page-promo__hero-dot {
  width: 10px;
  height: 10px;
  background-color: rgba(0, 0, 0, 0.5);
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.page-promo__hero-dot.active {
  background-color: #000000;
}

.page-promo__section-title {
  font-size: clamp(1.8em, 3vw, 2.8em);
  font-weight: 700;
  text-align: center;
  margin-bottom: 20px;
  color: var(--text-main-color, #FFF6D6);
}

.page-promo__section-description {
  font-size: 1.1em;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: var(--text-main-color, #FFF6D6);
}

.page-promo__dark-section {
  background-color: var(--background-color, #0A0A0A);
  padding: 60px 0;
}

.page-promo__promotions-grid {
  padding: 60px 0;
}

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

.page-promo__card {
  background-color: var(--card-bg-color, #111111);
  border: 1px solid var(--border-color, #3A2A12);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  display: flex;
  flex-direction: column;
  color: var(--text-main-color, #FFF6D6);
}

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

.page-promo__card-content {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-promo__card-title {
  font-size: 1.5em;
  margin-bottom: 15px;
  color: var(--text-main-color, #FFF6D6);
}

.page-promo__card-text {
  font-size: 1em;
  margin-bottom: 20px;
  color: var(--text-main-color, #FFF6D6);
}

.page-promo__card-btn {
  margin-top: auto;
  display: inline-block;
}

.page-promo__btn-primary,
.page-promo__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
}

.page-promo__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #111111; /* Dark text for light button */
  border: 2px solid transparent;
}

.page-promo__btn-primary:hover {
  background: linear-gradient(180deg, #DDA11D 0%, #FFD86A 100%);
  transform: translateY(-2px);
}

.page-promo__btn-secondary {
  background-color: transparent;
  color: var(--glow-color, #FFD36B);
  border: 2px solid var(--glow-color, #FFD36B);
}

.page-promo__btn-secondary:hover {
  background-color: var(--glow-color, #FFD36B);
  color: #111111;
  transform: translateY(-2px);
}

.page-promo__categories-section {
  padding: 60px 0;
  background-color: var(--background-color, #0A0A0A);
}

.page-promo__categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 20px;
  justify-items: center;
  text-align: center;
}

.page-promo__category-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: var(--text-main-color, #FFF6D6);
  font-weight: 600;
  transition: color 0.3s ease, transform 0.3s ease;
}

.page-promo__category-item:hover {
  color: var(--glow-color, #FFD36B);
  transform: translateY(-5px);
}

.page-promo__category-icon {
  width: 30px;
  height: 30px;
  margin-bottom: 10px;
  object-fit: contain;
}

.page-promo__download-app-section {
  padding: 60px 0;
  background-color: var(--card-bg-color, #111111);
}

.page-promo__download-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  text-align: center;
}

.page-promo__download-text {
  max-width: 600px;
}

.page-promo__app-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 30px;
}

.page-promo__download-image-wrapper {
  background-color: var(--background-color, #0A0A0A);
  border-radius: 15px;
  padding: 20px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-promo__app-image {
  width: 400px;
  height: 300px;
  object-fit: contain;
  display: block;
}

.page-promo__partners-section {
  padding: 60px 0;
  background-color: var(--background-color, #0A0A0A);
}

.page-promo__partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 30px;
  justify-items: center;
  align-items: center;
}

.page-promo__partner-logo {
  width: 167px;
  height: 127px;
  object-fit: contain;
  filter: grayscale(100%); /* Maintain original color, but in grayscale for partnership */
  opacity: 0.7;
  transition: filter 0.3s ease, opacity 0.3s ease;
}

.page-promo__partner-logo:hover {
  filter: grayscale(0%);
  opacity: 1;
}

.page-promo__faq-section {
  padding: 60px 0;
}

.page-promo__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.page-promo__faq-item {
  background-color: var(--card-bg-color, #111111);
  border: 1px solid var(--border-color, #3A2A12);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: var(--text-main-color, #FFF6D6);
}

.page-promo__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  font-weight: bold;
  font-size: 1.1em;
  color: var(--text-main-color, #FFF6D6);
}

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

.page-promo__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
}

.page-promo__faq-item.active .page-promo__faq-toggle {
  transform: rotate(45deg);
}

.page-promo__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.page-promo__faq-item.active .page-promo__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show all content */
  padding: 20px !important;
}

.page-promo__faq-answer p {
  margin-bottom: 15px;
  color: var(--text-main-color, #FFF6D6);
}

.page-promo__cta-final-section {
  padding: 60px 0;
  text-align: center;
  background: linear-gradient(135deg, #F2C14E, #FFD36B);
  color: #000000; /* Text color for light gradient background */
}

.page-promo__cta-final-section .page-promo__section-title,
.page-promo__cta-final-section .page-promo__section-description {
  color: #000000;
}

.page-promo__final-cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 30px;
}

/* Responsive Styles */
@media (max-width: 992px) {
  .page-promo__hero-image {
    max-height: 500px;
  }
  .page-promo__download-content {
    flex-direction: column;
  }
  .page-promo__app-image {
    width: 300px;
    height: 225px;
  }
}

@media (max-width: 768px) {
  .page-promo__hero-section {
    padding-top: var(--header-offset, 120px) !important; /* Mobile padding for header */
  }
  .page-promo__main-title {
    font-size: clamp(1.8em, 8vw, 2.5em);
  }
  .page-promo__hero-subtitle {
    font-size: clamp(1.5em, 7vw, 2.2em);
  }
  .page-promo__hero-description {
    font-size: clamp(0.9em, 4vw, 1.1em);
  }
  .page-promo__section-title {
    font-size: clamp(1.5em, 7vw, 2.2em);
  }
  .page-promo__section-description {
    font-size: 1em;
  }
  .page-promo__grid {
    grid-template-columns: 1fr;
  }
  .page-promo__download-content {
    flex-direction: column-reverse; /* Image above text on mobile */
  }
  .page-promo__app-image {
    width: 100% !important;
    height: auto !important;
    max-width: 300px !important;
  }
  .page-promo__download-image-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 15px;
  }
  .page-promo__partners-grid {
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  }
  .page-promo__partner-logo {
    width: 100px;
    height: 76px;
  }
  .page-promo img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-promo__section,
  .page-promo__card,
  .page-promo__container,
  .page-promo__cta-buttons,
  .page-promo__final-cta-buttons,
  .page-promo__app-buttons {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-direction: column;
  }
  .page-promo__btn-primary,
  .page-promo__btn-secondary,
  .page-promo a[class*="button"],
  .page-promo 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-promo__cta-buttons,
  .page-promo__final-cta-buttons,
  .page-promo__app-buttons {
    gap: 10px;
  }
}

@media (max-width: 480px) {
  .page-promo__hero-image {
    max-height: 300px;
  }
  .page-promo__section-title {
    font-size: 1.5em;
  }
  .page-promo__section-description {
    font-size: 0.9em;
  }
  .page-promo__card-title {
    font-size: 1.3em;
  }
  .page-promo__card-text {
    font-size: 0.9em;
  }
  .page-promo__categories-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* CSS filter for partner logos - allowed exception */
.page-promo__partner-logo {
  filter: grayscale(100%);
  opacity: 0.7;
  transition: filter 0.3s ease, opacity 0.3s ease;
}

.page-promo__partner-logo:hover {
  filter: grayscale(0%);
  opacity: 1;
}