/* style/promotions.css */
:root {
  --primary-color: #8B0000;
  --secondary-color: #FFD700;
  --text-dark: #333333;
  --text-light: #ffffff;
  --background-dark: #111111;
  --background-light: #f1f3f5;
  --card-background: #ffffff;
  --border-color: #e0e0e0;
}

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

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

/* Padding for fixed header */
.page-promotions__intro-section {
  padding-top: 120px; /* Desktop: Adjust based on shared header height */
  padding-bottom: 60px;
  background: var(--background-dark);
}

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

.page-promotions__intro-text {
  font-size: 1.1em;
  line-height: 1.8;
  text-align: center;
  margin-bottom: 40px;
  color: var(--text-light);
}

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

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

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

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

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

.page-promotions__btn-secondary {
  background: var(--secondary-color);
  color: var(--text-dark);
}

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

.page-promotions__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.3;
}

.page-promotions__section-description {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 50px;
  line-height: 1.7;
}

/* Dark Section */
.page-promotions__dark-section {
  background-color: var(--primary-color);
  color: var(--text-light);
  padding: 80px 0;
}

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

.page-promotions__dark-section .page-promotions__section-description {
  color: var(--text-light);
}

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

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

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

.page-promotions__promo-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto 20px auto;
  border-radius: 8px;
  object-fit: cover;
  min-width: 200px; /* Min size requirement */
  min-height: 200px; /* Min size requirement */
}

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

.page-promotions__promo-text {
  font-size: 1em;
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-promotions__promo-features {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
  text-align: left;
  color: var(--text-dark);
}

.page-promotions__promo-features li {
  margin-bottom: 8px;
  padding-left: 25px;
  position: relative;
  font-size: 0.95em;
}

.page-promotions__promo-features li::before {
  content: '✓';
  color: var(--primary-color);
  position: absolute;
  left: 0;
  font-weight: bold;
}

.page-promotions__how-to-claim-section {
  background-color: var(--background-light);
  padding: 80px 0;
  color: var(--text-dark);
}

.page-promotions__how-to-claim-section .page-promotions__section-title,
.page-promotions__how-to-claim-section .page-promotions__section-description {
  color: var(--text-dark);
}

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

.page-promotions__step-card {
  background: var(--card-background);
  color: var(--text-dark);
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-promotions__step-number {
  width: 60px;
  height: 60px;
  background: var(--primary-color);
  color: var(--text-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2em;
  font-weight: bold;
  margin: 0 auto 20px auto;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

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

.page-promotions__step-text {
  font-size: 0.95em;
  line-height: 1.6;
  margin-bottom: 20px;
}

.page-promotions__btn-link {
  display: inline-block;
  padding: 10px 20px;
  background: var(--secondary-color);
  color: var(--text-dark);
  text-decoration: none;
  border-radius: 5px;
  font-size: 0.9em;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-promotions__btn-link:hover {
  background: #FFEB3B;
}

.page-promotions__terms-conditions-section {
  padding: 80px 0;
}

.page-promotions__terms-content {
  background: var(--card-background);
  color: var(--text-dark);
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 40px;
  line-height: 1.7;
  font-size: 1em;
}

.page-promotions__terms-content ul {
  list-style: disc;
  margin-left: 25px;
  margin-bottom: 30px;
}

.page-promotions__terms-content li {
  margin-bottom: 10px;
}

.page-promotions__why-choose-us-section {
  background-color: var(--background-light);
  padding: 80px 0;
  color: var(--text-dark);
}

.page-promotions__why-choose-us-section .page-promotions__section-title,
.page-promotions__why-choose-us-section .page-promotions__section-description {
  color: var(--text-dark);
}

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

.page-promotions__advantage-item {
  background: var(--card-background);
  color: var(--text-dark);
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-promotions__advantage-icon {
  max-width: 150px;
  height: auto;
  display: block;
  margin: 0 auto 20px auto;
  min-width: 200px; /* Min size requirement */
  min-height: 200px; /* Min size requirement */
}

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

.page-promotions__advantage-text {
  font-size: 0.95em;
  line-height: 1.6;
}

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

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

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

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

.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, opacity 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: #222222;
  border-radius: 0 0 5px 5px;
  color: var(--text-light);
}

.page-promotions__faq-answer p {
  margin: 0;
}

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

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

.page-promotions__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 1.1em;
  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: 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 {
  color: var(--text-light);
  transform: rotate(45deg);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-promotions__main-title {
    font-size: 2.8em;
  }
  .page-promotions__section-title {
    font-size: 2.2em;
  }
  .page-promotions__promo-card, .page-promotions__step-card, .page-promotions__advantage-item {
    padding: 25px;
  }
  .page-promotions__promo-image, .page-promotions__advantage-icon {
    max-width: 80%;
  }
}

@media (max-width: 768px) {
  .page-promotions__intro-section {
    padding-top: 100px !important; /* Mobile: Adjust based on shared header height */
    padding-bottom: 40px;
  }
  .page-promotions__container {
    padding: 0 15px;
  }
  .page-promotions__main-title {
    font-size: 2.2em;
    margin-bottom: 15px;
  }
  .page-promotions__intro-text {
    font-size: 1em;
    margin-bottom: 30px;
  }
  .page-promotions__cta-wrapper {
    flex-direction: column;
    gap: 15px;
  }
  .page-promotions__cta-button {
    width: 100%;
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-promotions__dark-section, .page-promotions__how-to-claim-section, .page-promotions__terms-conditions-section, .page-promotions__why-choose-us-section, .page-promotions__faq-section {
    padding: 50px 0;
  }
  .page-promotions__section-title {
    font-size: 1.8em;
    margin-bottom: 15px;
  }
  .page-promotions__section-description {
    font-size: 0.95em;
    margin-bottom: 30px;
  }
  .page-promotions__promo-card, .page-promotions__step-card, .page-promotions__advantage-item {
    padding: 20px;
  }
  .page-promotions__promo-image, .page-promotions__advantage-icon {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    min-width: 200px; 
    min-height: 200px; 
  }
  .page-promotions__promo-title {
    font-size: 1.4em;
  }
  .page-promotions__step-number {
    width: 50px;
    height: 50px;
    font-size: 1.8em;
  }
  .page-promotions__step-title {
    font-size: 1.2em;
  }
  .page-promotions__terms-content {
    padding: 25px;
  }
  .page-promotions__faq-question {
    padding: 15px;
    flex-wrap: wrap;
  }
  .page-promotions__faq-question h3 {
    font-size: 1em;
    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;
  }
  /* Ensure all image containers are responsive */
  .page-promotions__promo-card, .page-promotions__step-card, .page-promotions__advantage-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-promotions__promotions-grid, .page-promotions__steps-grid, .page-promotions__advantages-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .page-promotions__main-title {
    font-size: 1.8em;
  }
  .page-promotions__section-title {
    font-size: 1.6em;
  }
  .page-promotions__promo-image, .page-promotions__advantage-icon {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-promotions__faq-question h3 {
    font-size: 0.9em;
  }
}