/* style/promotions.css */
:root {
  --primary-color: #FFD700; /* Gold */
  --secondary-color: #1A1A1A; /* Dark Black */
  --accent-color: #e74c3c; /* Red for emphasis */
  --text-light: #ffffff;
  --text-dark: #333333;
  --background-dark: #0a0a0a;
  --background-light: #f1f3f5;
  --card-background: rgba(255, 255, 255, 0.1);
  --border-color: rgba(255, 255, 255, 0.2);
}

.page-promotions {
  color: var(--text-light); /* Default text color for dark body background */
  background-color: var(--background-dark);
  padding-top: 120px; /* Adjust for fixed header on desktop */
}

@media (max-width: 768px) {
  .page-promotions {
    padding-top: 100px !important; /* Adjust for fixed header on mobile */
  }
}

/* HERO Section Styles */
.page-promotions__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  background: linear-gradient(135deg, var(--secondary-color), #0a0a0a);
  overflow: hidden;
}

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

.page-promotions__hero-image {
  width: 100%;
  max-width: 800px; /* Example max-width for the image */
  margin-bottom: 20px;
}

.page-promotions__hero-img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-promotions__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
  color: var(--text-light);
}

.page-promotions__hero-title {
  font-size: 48px;
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  line-height: 1.2;
}

.page-promotions__hero-description {
  font-size: 20px;
  line-height: 1.6;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: var(--text-light);
}

.page-promotions__cta-button {
  display: inline-block;
  padding: 18px 45px;
  background: linear-gradient(135deg, var(--primary-color), #FFA500);
  color: #1A1A1A;
  text-decoration: none;
  border-radius: 10px;
  font-size: 20px;
  font-weight: bold;
  margin-top: 20px;
  transition: all 0.3s ease;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
  border: none;
}

.page-promotions__cta-button:hover {
  background: linear-gradient(135deg, #FFA500, var(--primary-color));
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

/* General Section Styles */
.page-promotions__section {
  padding: 80px 20px;
  background-color: var(--background-dark);
  color: var(--text-light);
}

.page-promotions__container {
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
}

.page-promotions__heading {
  font-size: 38px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 40px;
  color: var(--primary-color);
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

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

.page-promotions__paragraph a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: bold;
}

.page-promotions__paragraph a:hover {
  text-decoration: underline;
  color: #FFA500;
}

/* Promo Card Grid Styles */
.page-promotions__card-grid, .page-promotions__promo-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-promotions__card--promo {
  background: var(--card-background);
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--border-color);
}

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

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

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

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

.page-promotions__btn-primary {
  display: inline-block;
  padding: 12px 25px;
  background: linear-gradient(135deg, var(--primary-color), #FFA500);
  color: #1A1A1A;
  text-decoration: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  border: none;
}

.page-promotions__btn-primary:hover {
  background: linear-gradient(135deg, #FFA500, var(--primary-color));
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

/* Ordered List Styles */
.page-promotions__ordered-list {
  list-style: decimal;
  margin-left: 25px;
  margin-bottom: 20px;
  color: var(--text-light);
}

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

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

/* Unordered List Styles */
.page-promotions__unordered-list {
  list-style: disc;
  margin-left: 25px;
  margin-bottom: 20px;
  color: var(--text-light);
}

/* Special Offers Cards */
.page-promotions__promo-card {
  background: var(--card-background);
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--border-color);
}

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

.page-promotions__promo-card-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  min-width: 200px;
  min-height: 200px;
}

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

.page-promotions__promo-card-title {
  font-size: 22px;
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.page-promotions__promo-card-text {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-light);
  margin-bottom: 20px;
}

.page-promotions__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  background: #2c3e50; /* Darker accent for secondary */
  color: var(--primary-color);
  text-decoration: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--primary-color);
  text-align: center;
}

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

/* FAQ Section Styles */
.page-promotions__section--faq {
  background-color: var(--secondary-color);
}

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

.page-promotions__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.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;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-light);
}

.page-promotions__faq-item.active .page-promotions__faq-answer {
  max-height: 2000px !important; /* Sufficiently large value */
  padding: 20px !important;
  opacity: 1;
  border-radius: 0 0 8px 8px;
}

.page-promotions__faq-answer p {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
}

.page-promotions__faq-answer a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: bold;
}

.page-promotions__faq-answer a:hover {
  text-decoration: underline;
  color: #FFA500;
}

.page-promotions__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: #333333;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  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: var(--primary-color);
}

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

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

.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: 20px;
  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: #FFA500;
  transform: rotate(180deg);
}

/* Latest News Section Styles */
.page-promotions__section--latest-news {
  background-color: var(--background-dark);
}

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

.page-promotions__news-card {
  background: var(--card-background);
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--border-color);
}

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

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

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

.page-promotions__news-card-title {
  font-size: 22px;
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 10px;
}

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

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

.page-promotions__news-card-text {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-light);
  margin-bottom: 15px;
}

.page-promotions__news-date {
  font-size: 14px;
  color: #bbb;
  text-align: right;
  display: block;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-promotions__hero-title {
    font-size: 40px;
  }
  .page-promotions__hero-description {
    font-size: 18px;
  }
  .page-promotions__heading {
    font-size: 32px;
  }
  .page-promotions__paragraph {
    font-size: 17px;
  }
  .page-promotions__card-title {
    font-size: 22px;
  }
  .page-promotions__news-card-title {
    font-size: 20px;
  }
}

@media (max-width: 768px) {
  .page-promotions__hero-section {
    padding: 40px 15px;
  }
  .page-promotions__hero-title {
    font-size: 32px;
  }
  .page-promotions__hero-description {
    font-size: 16px;
  }
  .page-promotions__cta-button {
    padding: 15px 35px;
    font-size: 18px;
  }
  .page-promotions__section {
    padding: 50px 15px;
  }
  .page-promotions__container {
    padding-left: 15px;
    padding-right: 15px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-promotions__heading {
    font-size: 28px;
    margin-bottom: 30px;
  }
  .page-promotions__paragraph {
    font-size: 16px;
  }
  .page-promotions__list-item {
    font-size: 16px;
  }
  .page-promotions__card-grid, .page-promotions__promo-card-grid, .page-promotions__news-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-promotions__card--promo, .page-promotions__promo-card, .page-promotions__news-card {
    padding: 20px;
  }
  .page-promotions__card-image, .page-promotions__promo-card-image, .page-promotions__news-card-image {
    height: auto;
    max-width: 100% !important;
    width: 100% !important;
    min-width: unset;
    min-height: unset;
  }
  .page-promotions__card-title {
    font-size: 20px;
  }
  .page-promotions__card-text {
    font-size: 15px;
  }
  .page-promotions__btn-primary, .page-promotions__btn-secondary {
    font-size: 15px;
    padding: 10px 20px;
    width: 100%;
  }
  .page-promotions__faq-question {
    padding: 15px 20px;
  }
  .page-promotions__faq-question h3 {
    font-size: 16px;
  }
  .page-promotions__faq-toggle {
    font-size: 24px;
    width: 28px;
    height: 28px;
    margin-left: 15px;
  }
  .page-promotions__faq-answer {
    padding: 0 20px;
  }
  .page-promotions__faq-item.active .page-promotions__faq-answer {
    padding: 15px 20px !important;
  }
  .page-promotions__news-card-title {
    font-size: 18px;
  }
  .page-promotions__news-card-text {
    font-size: 14px;
  }
  .page-promotions__news-date {
    font-size: 13px;
  }
}

@media (max-width: 480px) {
  .page-promotions__hero-title {
    font-size: 28px;
  }
  .page-promotions__hero-description {
    font-size: 15px;
  }
  .page-promotions__cta-button {
    font-size: 16px;
    padding: 12px 30px;
  }
  .page-promotions__heading {
    font-size: 24px;
  }
  .page-promotions__paragraph {
    font-size: 15px;
  }
  .page-promotions__card-title {
    font-size: 18px;
  }
  .page-promotions__faq-question h3 {
    font-size: 15px;
  }
  .page-promotions__faq-toggle {
    font-size: 22px;
    width: 26px;
    height: 26px;
  }
  .page-promotions__news-card-title {
    font-size: 16px;
  }
}