/* style/promotions.css */
:root {
  --primary-color: #0056B3;
  --secondary-color: #FFC107;
  --dark-bg-1: #0d0d0d;
  --text-light: #ffffff;
  --text-dark: #333333;
  --grey-light: #f1f3f5;
  --grey-medium: #e0e0e0;
}

.page-promotions {
  color: var(--text-dark); /* Default text color for light backgrounds */
  background-color: var(--grey-light);
}

/* Fixed navigation bar spacing */
.page-promotions__hero-intro-section {
  padding-top: 180px; /* Desktop: Adjust based on fixed header height */
}

.page-promotions__hero-intro-section {
  background: linear-gradient(135deg, var(--primary-color) 0%, #003366 100%);
  padding-bottom: 60px;
  text-align: center;
  color: var(--text-light);
  position: relative;
  overflow: hidden;
}

.page-promotions__hero-intro-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 1;
}

.page-promotions__hero-intro-title {
  font-size: 42px;
  font-weight: bold;
  margin-bottom: 25px;
  line-height: 1.2;
  color: var(--text-light);
}

.page-promotions__hero-intro-description {
  font-size: 18px;
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #e0e0e0;
}

.page-promotions__hero-intro-description a {
  color: var(--secondary-color);
  text-decoration: underline;
}

.page-promotions__hero-intro-image-wrapper {
  margin-bottom: 40px;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-promotions__hero-intro-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-promotions__hero-intro-cta-button {
  display: inline-block;
  padding: 18px 45px;
  background: var(--secondary-color);
  color: var(--text-dark);
  text-decoration: none;
  border-radius: 8px;
  font-size: 20px;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 6px 15px rgba(255, 193, 7, 0.4);
  border: none;
  cursor: pointer;
}

.page-promotions__hero-intro-cta-button:hover {
  background: #e6b300;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(255, 193, 7, 0.6);
}

.page-promotions__main-content-section,
.page-promotions__tips-section {
  padding: 60px 20px;
  background: var(--grey-light);
  color: var(--text-dark);
}

.page-promotions__terms-section,
.page-promotions__faq-section {
  padding: 60px 20px;
  background: var(--dark-bg-1);
  color: var(--text-light);
}

.page-promotions__main-content-container,
.page-promotions__terms-container,
.page-promotions__tips-container,
.page-promotions__faq-container {
  max-width: 1200px;
  margin: 0 auto;
}

.page-promotions__section-title {
  font-size: 36px;
  font-weight: bold;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 30px;
  line-height: 1.3;
}

.page-promotions__section-title--light {
  color: var(--secondary-color);
}

.page-promotions__section-description,
.page-promotions__text-block {
  font-size: 17px;
  line-height: 1.8;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px auto;
}

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

.page-promotions__text-block--light {
  color: #e0e0e0;
}

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

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

.page-promotions__promotion-card {
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}

.page-promotions__promotion-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-promotions__promotion-card-image {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 8px;
  margin-bottom: 25px;
  object-fit: cover;
}

.page-promotions__promotion-card-title {
  font-size: 24px;
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.page-promotions__promotion-card-text {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-dark);
  margin-bottom: 25px;
  flex-grow: 1;
}

.page-promotions__promotion-card-text a {
  color: var(--primary-color);
  font-weight: bold;
  text-decoration: underline;
}

.page-promotions__cta-button {
  display: inline-block;
  padding: 12px 25px;
  background: var(--primary-color);
  color: var(--text-light);
  text-decoration: none;
  border-radius: 6px;
  font-size: 16px;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
  border: none;
  cursor: pointer;
}

.page-promotions__cta-button:hover {
  background: #004085;
  transform: translateY(-2px);
  box-shadow: 0 5px 12px rgba(0, 0, 0, 0.3);
}

.page-promotions__cta-button--secondary {
  background: var(--secondary-color);
  color: var(--text-dark);
  box-shadow: 0 3px 10px rgba(255, 193, 7, 0.4);
}

.page-promotions__cta-button--secondary:hover {
  background: #e6b300;
  color: var(--text-dark);
  box-shadow: 0 5px 12px rgba(255, 193, 7, 0.6);
}

.page-promotions__tips-image {
  width: 100%;
  max-width: 800px;
  height: auto;
  display: block;
  margin: 0 auto 40px auto;
  border-radius: 10px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

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

.page-promotions__tips-list li {
  background: #ffffff;
  padding: 20px 25px;
  margin-bottom: 15px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text-dark);
  border-left: 5px solid var(--secondary-color);
}

.page-promotions__tips-list li strong {
  color: var(--primary-color);
}

.page-promotions__tips-list li a {
  color: var(--primary-color);
  font-weight: bold;
  text-decoration: underline;
}

/* FAQ Styles */
.page-promotions__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
}

.page-promotions__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease;
  padding: 0 15px;
  opacity: 0;
}

.page-promotions__faq-item.active .page-promotions__faq-answer {
  max-height: 2000px !important;
  padding: 20px 15px !important;
  opacity: 1;
  background: #1a1a1a; /* Darker background for dark theme */
  border-radius: 0 0 5px 5px;
  color: #cccccc;
}

.page-promotions__faq-item.active .page-promotions__faq-answer p {
  color: #cccccc;
}

.page-promotions__faq-item.active .page-promotions__faq-answer a {
  color: var(--secondary-color);
}

.page-promotions__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: #2a2a2a; /* Dark theme background */
  border: 1px solid #3a3a3a;
  border-radius: 5px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.page-promotions__faq-question:hover {
  background: #3a3a3a;
  border-color: #4a4a4a;
}

.page-promotions__faq-question:active {
  background: #4a4a4a;
}

.page-promotions__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none;
  color: var(--text-light);
}

.page-promotions__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  line-height: 1;
  color: #888;
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
}

.page-promotions__faq-item.active .page-promotions__faq-toggle {
  color: var(--secondary-color);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-promotions__hero-intro-title {
    font-size: 36px;
  }
  .page-promotions__hero-intro-description {
    font-size: 16px;
  }
  .page-promotions__section-title {
    font-size: 30px;
  }
  .page-promotions__promotion-card-title {
    font-size: 22px;
  }
  .page-promotions__promotion-card-text {
    font-size: 15px;
  }
  .page-promotions__text-block,
  .page-promotions__tips-list li {
    font-size: 16px;
  }
}

@media (max-width: 768px) {
  /* Mobile fixed header padding */
  .page-promotions__hero-intro-section {
    padding-top: 140px !important; /* Mobile: Adjust based on fixed header height */
    padding-bottom: 40px;
  }

  .page-promotions__hero-intro-title {
    font-size: 28px;
    margin-bottom: 20px;
  }
  .page-promotions__hero-intro-description {
    font-size: 15px;
    margin-bottom: 30px;
  }
  .page-promotions__hero-intro-cta-button {
    padding: 15px 30px;
    font-size: 18px;
  }
  .page-promotions__main-content-section,
  .page-promotions__terms-section,
  .page-promotions__tips-section,
  .page-promotions__faq-section {
    padding: 40px 15px;
  }
  .page-promotions__section-title {
    font-size: 26px;
    margin-bottom: 25px;
  }
  .page-promotions__section-description,
  .page-promotions__text-block {
    font-size: 15px;
    margin-bottom: 30px;
  }
  .page-promotions__promotions-grid {
    grid-template-columns: 1fr;
  }
  .page-promotions__promotion-card {
    padding: 25px;
  }
  .page-promotions__promotion-card-image {
    max-width: 100%;
  }
  .page-promotions__promotion-card-title {
    font-size: 20px;
  }
  .page-promotions__promotion-card-text {
    font-size: 14px;
  }
  .page-promotions__cta-button {
    padding: 10px 20px;
    font-size: 15px;
  }
  .page-promotions__tips-image {
    margin-bottom: 30px;
  }
  .page-promotions__tips-list {
    margin-bottom: 30px;
  }
  .page-promotions__tips-list li {
    padding: 15px 20px;
    font-size: 15px;
  }

  /* FAQ responsive */
  .page-promotions__faq-question {
    padding: 15px;
    flex-wrap: wrap;
  }
  
  .page-promotions__faq-question h3 {
    font-size: 15px;
    margin-bottom: 0;
    width: calc(100% - 40px);
  }
  
  .page-promotions__faq-toggle {
    margin-left: 10px;
    width: 24px;
    height: 24px;
    font-size: 20px;
  }
  
  .page-promotions__faq-answer {
    padding: 0 15px;
  }
  
  .page-promotions__faq-item.active .page-promotions__faq-answer {
    padding: 15px !important;
  }

  /* Mobile image adaptation */
  .page-promotions img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-promotions__hero-intro-container,
  .page-promotions__main-content-container,
  .page-promotions__terms-container,
  .page-promotions__tips-container,
  .page-promotions__faq-container,
  .page-promotions__promotion-card,
  .page-promotions__promotion-card-image-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}

@media (max-width: 480px) {
  .page-promotions__hero-intro-title {
    font-size: 24px;
  }
  .page-promotions__section-title {
    font-size: 22px;
  }
  .page-promotions__hero-intro-cta-button {
    font-size: 16px;
    padding: 12px 25px;
  }
  .page-promotions__faq-question h3 {
    font-size: 14px;
  }
}