/* style/promotions.css */
:root {
  --primary-color: #0A2463;
  --secondary-color: #FFD700;
  --text-light: #ffffff;
  --text-dark: #333333;
  --background-dark: #0a0a0a;
  --background-light: #f8f9fa;
  --border-color: #e0e0e0;
}

.page-promotions {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-light); /* Body background is dark, so text is light */
  background-color: var(--background-dark); /* Inherited from shared.css body */
}

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

/* Fixed header spacing */
.page-promotions__hero-section {
  padding-top: 120px; /* Adjust for fixed header */
  padding-bottom: 60px;
  text-align: center;
  background: var(--primary-color);
}

.page-promotions__dark-section {
  background: var(--primary-color);
  color: var(--text-light);
  padding: 60px 0;
}

.page-promotions__light-section {
  background: var(--background-light);
  color: var(--text-dark);
  padding: 60px 0;
}

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

.page-promotions__hero-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: rgba(255, 255, 255, 0.9);
}

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

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

.page-promotions__cta-button {
  display: inline-block;
  padding: 15px 35px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

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

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

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

.page-promotions__btn-secondary:hover {
  background: var(--secondary-color);
  color: var(--text-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-promotions__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 40px;
  line-height: 1.2;
}

.page-promotions__text-block {
  font-size: 1.1em;
  margin-bottom: 30px;
  text-align: justify;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-promotions__light-section .page-promotions__text-block {
  color: var(--text-dark);
}

.page-promotions__dark-section .page-promotions__text-block {
  color: rgba(255, 255, 255, 0.9);
}

.page-promotions__image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.page-promotions__image--full-width {
  width: 100%;
}

.page-promotions__image--medium {
  max-width: 800px;
}

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

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

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

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

.page-promotions__card-title {
  font-size: 1.6em;
  margin-bottom: 15px;
  color: var(--secondary-color);
}

.page-promotions__card-description {
  font-size: 1em;
  margin-bottom: 25px;
  flex-grow: 1;
  color: rgba(255, 255, 255, 0.8);
}

.page-promotions__card-button {
  display: inline-block;
  padding: 12px 25px;
  background: var(--secondary-color);
  color: var(--text-dark);
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: background-color 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
}

.page-promotions__card-button:hover {
  background: #e6c200;
}

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

.page-promotions__list li {
  background: rgba(255, 255, 255, 0.1);
  margin-bottom: 10px;
  padding: 15px 20px;
  border-radius: 5px;
  display: flex;
  align-items: flex-start;
  color: var(--text-light);
}

.page-promotions__light-section .page-promotions__list li {
  background: #ffffff;
  border: 1px solid var(--border-color);
  color: var(--text-dark);
}

.page-promotions__list li p {
  margin: 0;
  font-size: 1.05em;
}

.page-promotions__list li strong {
  color: var(--secondary-color);
}

.page-promotions__light-section .page-promotions__list li strong {
  color: var(--primary-color);
}

.page-promotions__list--two-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.page-promotions__list--two-cols li {
  margin-bottom: 0;
}

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

.page-promotions__step-card {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  color: var(--text-light);
}

.page-promotions__step-icon {
  width: 120px;
  height: 120px;
  object-fit: contain;
  margin-bottom: 20px;
}

.page-promotions__step-title {
  font-size: 1.4em;
  margin-bottom: 10px;
  color: var(--secondary-color);
}

.page-promotions__step-description {
  font-size: 0.95em;
  color: rgba(255, 255, 255, 0.7);
}

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

/* FAQ Section */
.page-promotions__faq-list {
  max-width: 900px;
  margin: 40px auto 0 auto;
}

.page-promotions__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
  background: var(--primary-color);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-promotions__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  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: rgba(255, 255, 255, 0.1);
  border-color: var(--secondary-color);
}

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

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

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

.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, opacity 0.4s ease;
  padding: 0 20px;
  opacity: 0;
  color: rgba(255, 255, 255, 0.8);
}

.page-promotions__faq-item.active .page-promotions__faq-answer {
  max-height: 2000px !important;
  padding: 20px !important;
  opacity: 1;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 0 0 5px 5px;
}

/* Brand Section */
.page-promotions__brand-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-promotions__brand-item {
  background: #ffffff;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  color: var(--text-dark);
  text-align: justify;
}

.page-promotions__brand-item h3 {
  font-size: 1.8em;
  margin-bottom: 15px;
  color: var(--primary-color);
  text-align: center;
}

.page-promotions__brand-item p {
  font-size: 1em;
  margin-bottom: 15px;
}

.page-promotions__brand-item .page-promotions__list {
  list-style: disc;
  margin-left: 20px;
  background: none;
  padding: 0;
  max-width: none;
}

.page-promotions__brand-item .page-promotions__list li {
  background: none;
  border: none;
  padding: 5px 0;
  margin-bottom: 5px;
  color: var(--text-dark);
}

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

.page-promotions__brand-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin-top: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Blog Section */
.page-promotions__blog-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-promotions__blog-item {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
}

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

.page-promotions__blog-link {
  text-decoration: none;
  color: var(--text-light);
  display: block;
  height: 100%;
}

.page-promotions__blog-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 10px 10px 0 0;
}

.page-promotions__blog-item-title {
  font-size: 1.4em;
  margin: 20px 20px 10px 20px;
  color: var(--secondary-color);
  line-height: 1.3;
}

.page-promotions__blog-item-excerpt {
  font-size: 0.95em;
  margin: 0 20px 15px 20px;
  color: rgba(255, 255, 255, 0.7);
}

.page-promotions__blog-item-date {
  display: block;
  font-size: 0.85em;
  color: rgba(255, 255, 255, 0.5);
  margin: 0 20px 20px 20px;
}

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

  .page-promotions__section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-promotions {
    font-size: 16px;
    line-height: 1.6;
  }
  
  .page-promotions__hero-section {
    padding-top: 100px; /* Mobile adjust for fixed header */
    padding-bottom: 40px;
  }

  .page-promotions__dark-section, .page-promotions__light-section {
    padding: 40px 0;
  }

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

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

  .page-promotions__hero-description {
    font-size: 1em;
    margin-bottom: 30px;
  }

  .page-promotions__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-promotions__cta-button {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 12px 25px !important;
    font-size: 1em !important;
  }

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

  .page-promotions__text-block {
    font-size: 1em;
    margin-bottom: 20px;
  }

  .page-promotions__list--two-cols {
    grid-template-columns: 1fr;
  }

  .page-promotions__promotion-grid, 
  .page-promotions__steps-grid, 
  .page-promotions__brand-content, 
  .page-promotions__blog-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-promotions__promotion-card, .page-promotions__step-card, .page-promotions__brand-item, .page-promotions__blog-item {
    padding: 20px;
  }

  .page-promotions__card-image, .page-promotions__blog-image {
    height: 180px;
  }

  .page-promotions__card-title, .page-promotions__blog-item-title {
    font-size: 1.3em;
  }

  .page-promotions__faq-question {
    padding: 15px;
  }
  
  .page-promotions__faq-question h3 {
    font-size: 1em;
  }

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

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

  .page-promotions img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !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;
  }
}

@media (max-width: 480px) {
  .page-promotions__main-title {
    font-size: 1.8em;
  }

  .page-promotions__section-title {
    font-size: 1.6em;
  }

  .page-promotions__cta-button {
    font-size: 0.9em !important;
    padding: 10px 20px !important;
  }

  .page-promotions__step-icon {
    width: 90px;
    height: 90px;
  }

  .page-promotions__step-title {
    font-size: 1.2em;
  }
}