/* style/promotions.css */
:root {
  --primary-color: #007BFF;
  --secondary-color: #28A745;
  --text-color-dark: #333333;
  --text-color-light: #ffffff;
  --bg-light-gray: #f1f3f5;
  --border-color: #e0e0e0;
}

.page-promotions {
  color: var(--text-color-light); /* Based on body background var(--dark-bg-1) */
  background-color: var(--dark-bg-1); /* Assuming --dark-bg-1 is dark */
}

/* Fixed Navigation Bar Spacing */
.page-promotions__hero-promotions {
  padding-top: 180px; /* Desktop: Adjust based on fixed header height */
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-bottom: 60px;
}

.page-promotions__hero-container {
  position: relative;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-promotions__hero-image {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 8px;
  object-fit: cover;
  margin-bottom: 30px;
}

.page-promotions__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
  padding: 0 20px;
}

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

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

.page-promotions__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--secondary-color);
  color: var(--text-color-light);
  text-decoration: none;
  border-radius: 8px;
  font-size: 20px;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

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

.page-promotions__section {
  padding: 60px 20px;
  background-color: var(--bg-light-gray);
  color: var(--text-color-dark);
}

.page-promotions__section:nth-of-type(even) {
  background-color: #ffffff;
}

.page-promotions__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: 40px;
}

.page-promotions__paragraph {
  font-size: 17px;
  line-height: 1.7;
  margin-bottom: 20px;
  color: var(--text-color-dark);
}

.page-promotions__highlight-text {
  font-weight: bold;
  color: var(--primary-color);
}

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

.page-promotions__card {
  background: #ffffff;
  border-radius: 12px;
  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;
  border: 1px solid var(--border-color);
}

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

.page-promotions__card-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

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

.page-promotions__card-text {
  font-size: 16px;
  color: var(--text-color-dark);
  line-height: 1.6;
}

.page-promotions__promotion-list {
  display: flex;
  flex-direction: column;
  gap: 25px;
  margin-top: 30px;
}

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

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

.page-promotions__promo-info {
  display: flex;
  align-items: center;
  flex: 1;
  gap: 20px;
}

.page-promotions__promo-icon {
  width: 80px;
  height: 80px;
  object-fit: contain;
  border-radius: 50%;
  border: 2px solid var(--primary-color);
  flex-shrink: 0;
}

.page-promotions__promo-title {
  font-size: 22px;
  font-weight: bold;
  color: var(--text-color-dark);
  margin: 0;
}

.page-promotions__promo-link {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-promotions__promo-link:hover {
  color: #0056b3;
  text-decoration: underline;
}

.page-promotions__promo-description {
  font-size: 16px;
  color: var(--text-color-dark);
  margin-left: 15px;
  flex: 1;
}

.page-promotions__promo-description .page-promotions__highlight-text {
  color: var(--secondary-color);
}

.page-promotions__promo-actions {
  display: flex;
  gap: 15px;
  flex-shrink: 0;
}

.page-promotions__promo-button {
  display: inline-block;
  padding: 12px 25px;
  background: var(--primary-color);
  color: var(--text-color-light);
  text-decoration: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  border: 2px solid transparent;
}

.page-promotions__promo-button:hover {
  background: #0056b3;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-promotions__promo-button--secondary {
  background: #ffffff;
  color: var(--primary-color);
  border-color: var(--primary-color);
}

.page-promotions__promo-button--secondary:hover {
  background: var(--primary-color);
  color: #ffffff;
}

.page-promotions__tips-section .page-promotions__container {
  display: flex;
  align-items: flex-start;
  gap: 40px;
}

.page-promotions__tips-image {
  flex: 0 0 400px;
  max-width: 400px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-promotions__text-block {
  flex: 1;
}

.page-promotions__tips-list {
  list-style: disc;
  padding-left: 25px;
  margin-top: 20px;
  color: var(--text-color-dark);
}

.page-promotions__list-item {
  font-size: 17px;
  line-height: 1.7;
  margin-bottom: 10px;
}

.page-promotions__list-item strong {
  color: var(--primary-color);
}

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

.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: #f9f9f9;
  border-radius: 0 0 5px 5px;
}

.page-promotions__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: #fff;
  border: 1px solid #e0e0e0;
  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: #f5f5f5;
  border-color: #d0d0d0;
}

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

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

.page-promotions__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  line-height: 1;
  color: var(--primary-color);
  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: 32px;
  height: 32px;
}

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

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

.page-promotions__news-item {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--border-color);
}

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

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

.page-promotions__news-item h3 {
  padding: 20px 20px 10px;
  font-size: 20px;
  font-weight: bold;
  line-height: 1.4;
}

.page-promotions__news-link {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-promotions__news-link:hover {
  color: #0056b3;
  text-decoration: underline;
}

.page-promotions__news-excerpt {
  font-size: 15px;
  color: #555555;
  padding: 0 20px;
  margin-bottom: 15px;
  line-height: 1.6;
}

.page-promotions__news-date {
  display: block;
  font-size: 13px;
  color: #888888;
  padding: 0 20px 20px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-promotions__main-title {
    font-size: 36px;
  }

  .page-promotions__hero-description {
    font-size: 16px;
  }

  .page-promotions__section-title {
    font-size: 30px;
  }

  .page-promotions__tips-section .page-promotions__container {
    flex-direction: column;
    align-items: center;
  }

  .page-promotions__tips-image {
    max-width: 100%;
    flex: none;
    margin-bottom: 30px;
  }

  .page-promotions__promotion-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
  }

  .page-promotions__promo-info {
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 20px;
  }

  .page-promotions__promo-description {
    margin-left: 0;
    margin-top: 10px;
  }

  .page-promotions__promo-actions {
    width: 100%;
    flex-direction: column;
    gap: 10px;
  }

  .page-promotions__promo-button {
    width: 100%;
    text-align: center;
    font-size: 15px;
  }
}

@media (max-width: 768px) {
  .page-promotions__hero-promotions {
    padding-top: 160px !important; /* Mobile: Adjust based on mobile fixed header height */
    padding-bottom: 40px;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-promotions__main-title {
    font-size: 28px;
    margin-bottom: 15px;
  }

  .page-promotions__hero-description {
    font-size: 15px;
    margin-bottom: 25px;
  }

  .page-promotions__cta-button {
    padding: 12px 30px;
    font-size: 18px;
  }

  .page-promotions__section {
    padding: 40px 15px;
  }

  .page-promotions__section-title {
    font-size: 26px;
    margin-bottom: 30px;
  }

  .page-promotions__paragraph {
    font-size: 16px;
  }

  .page-promotions__grid-layout {
    gap: 20px;
  }

  .page-promotions__card {
    padding: 20px;
  }

  .page-promotions__card-title {
    font-size: 20px;
  }

  .page-promotions__card-text {
    font-size: 15px;
  }

  .page-promotions__promo-icon {
    width: 60px;
    height: 60px;
  }

  .page-promotions__promo-title {
    font-size: 18px;
  }

  .page-promotions__promo-description {
    font-size: 14px;
  }

  .page-promotions__list-item {
    font-size: 16px;
  }

  .page-promotions__faq-question {
    padding: 15px;
  }

  .page-promotions__faq-question h3 {
    font-size: 16px;
  }

  .page-promotions__faq-toggle {
    font-size: 24px;
    width: 28px;
    height: 28px;
  }

  .page-promotions__faq-item.active .page-promotions__faq-answer {
    padding: 15px !important;
  }

  .page-promotions__news-item h3 {
    font-size: 18px;
    padding: 15px 15px 8px;
  }

  .page-promotions__news-excerpt {
    font-size: 14px;
    padding: 0 15px;
  }

  .page-promotions__news-date {
    padding: 0 15px 15px;
  }

  .page-promotions img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-promotions__section,
  .page-promotions__container,
  .page-promotions__card,
  .page-promotions__promotion-card,
  .page-promotions__news-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-promotions__tips-section .page-promotions__container {
    padding-left: 0;
    padding-right: 0;
  }
}