/* style/promotions.css */

/* Base styles for the page-promotions scope */
.page-promotions {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #f0f0f0; /* Light text for dark body background */
  background-color: var(--dark-bg-1); /* Assuming dark background from shared.css */
}

/* Fixed navigation spacing */
.page-promotions__hero-banner {
  padding-top: 120px; /* Adjust for fixed header */
}

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

/* Global container for content */
.page-promotions__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

/* Section styling */
.page-promotions__section {
  padding: 60px 0;
  margin-bottom: 20px;
  background-color: var(--dark-bg-1);
}

.page-promotions__section:nth-of-type(even) {
  background-color: var(--dark-bg-2); /* Slightly different dark background */
}

.page-promotions__section-title {
  font-size: 36px;
  font-weight: bold;
  color: #FFD700; /* Gold brand color */
  text-align: center;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.page-promotions__section-description {
  font-size: 18px;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: #cccccc;
}

/* Hero Banner */
.page-promotions__hero-banner {
  background: linear-gradient(135deg, #0a0a0a, #333333);
  text-align: center;
  padding-bottom: 80px;
}

.page-promotions__hero-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-promotions__hero-title {
  font-size: 48px;
  color: #FFD700; /* Gold brand color */
  margin-bottom: 20px;
  line-height: 1.2;
  text-transform: uppercase;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.page-promotions__hero-description {
  font-size: 20px;
  color: #f0f0f0;
  margin-bottom: 40px;
}

.page-promotions__hero-button {
  display: inline-block;
  background-color: #FFD700; /* Gold brand color */
  color: #000000; /* Black text for contrast */
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 20px;
  transition: background-color 0.3s ease, transform 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}

.page-promotions__hero-button:hover {
  background-color: #e6c200;
  transform: translateY(-3px);
}

/* Feature Grid */
.page-promotions__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-promotions__feature-item {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, background-color 0.3s ease;
  border: 1px solid rgba(255, 215, 0, 0.2);
}

.page-promotions__feature-item:hover {
  transform: translateY(-10px);
  background-color: rgba(255, 255, 255, 0.1);
}

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

.page-promotions__feature-title {
  font-size: 24px;
  color: #FFD700;
  margin-bottom: 10px;
}

.page-promotions__feature-text {
  font-size: 16px;
  color: #cccccc;
}

/* Offer Cards */
.page-promotions__offer-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-promotions__offer-card {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(255, 215, 0, 0.3);
}

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

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

.page-promotions__card-title {
  font-size: 22px;
  color: #FFD700;
  padding: 20px 20px 10px 20px;
  text-align: center;
}

.page-promotions__card-text {
  font-size: 16px;
  color: #cccccc;
  padding: 0 20px 20px 20px;
  text-align: center;
}

.page-promotions__card-button {
  display: block;
  background-color: #FFD700; /* Gold brand color */
  color: #000000; /* Black text for contrast */
  padding: 12px 20px;
  text-align: center;
  text-decoration: none;
  font-weight: bold;
  font-size: 18px;
  transition: background-color 0.3s ease;
  border-radius: 0 0 12px 12px;
}

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

/* Cashback Grid */
.page-promotions__cashback-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-promotions__cashback-item {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, background-color 0.3s ease;
  border: 1px solid rgba(255, 215, 0, 0.2);
}

.page-promotions__cashback-item:hover {
  transform: translateY(-8px);
  background-color: rgba(255, 255, 255, 0.1);
}

.page-promotions__cashback-title {
  font-size: 24px;
  color: #FFD700;
  margin-bottom: 10px;
}

.page-promotions__cashback-rate {
  font-size: 36px;
  font-weight: bold;
  color: #ffffff;
  margin-bottom: 15px;
}

.page-promotions__cashback-text {
  font-size: 16px;
  color: #cccccc;
}

/* Event Cards */
.page-promotions__event-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-promotions__event-card {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(255, 215, 0, 0.3);
}

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

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

/* VIP Program */
.page-promotions__vip-benefits {
  list-style: none;
  padding: 0;
  margin: 40px auto;
  max-width: 800px;
}

.page-promotions__vip-benefits li {
  display: flex;
  align-items: center;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  padding: 15px 20px;
  margin-bottom: 15px;
  font-size: 18px;
  color: #f0f0f0;
  border-left: 5px solid #FFD700;
}

.page-promotions__vip-icon {
  width: 40px;
  height: 40px;
  margin-right: 15px;
  object-fit: contain;
}

.page-promotions__call-to-action {
  font-size: 20px;
  text-align: center;
  color: #FFD700;
  margin-top: 40px;
  font-weight: bold;
}

.page-promotions__vip-button {
  display: block;
  width: fit-content;
  margin: 30px auto 0 auto;
  background-color: #FFD700; /* Gold brand color */
  color: #000000; /* Black text for contrast */
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 20px;
  transition: background-color 0.3s ease, transform 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}

.page-promotions__vip-button:hover {
  background-color: #e6c200;
  transform: translateY(-3px);
}

/* Terms and Conditions */
.page-promotions__terms-list {
  list-style: disc;
  padding-left: 25px;
  max-width: 900px;
  margin: 40px auto;
  color: #cccccc;
}

.page-promotions__terms-list li {
  margin-bottom: 15px;
  font-size: 16px;
  line-height: 1.8;
}

.page-promotions__terms-note {
  font-size: 16px;
  text-align: center;
  color: #FFD700;
  font-style: italic;
  margin-top: 30px;
}

/* 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;
}

.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;
  color: #cccccc;
}

.page-promotions__faq-item.active .page-promotions__faq-answer {
  max-height: 2000px !important; /* Ensure enough height for content */
  padding: 20px 15px !important;
  opacity: 1;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 0 0 5px 5px;
}

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

.page-promotions__faq-question:active {
  background: rgba(255, 255, 255, 0.2);
}

.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: #FFD700;
}

.page-promotions__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  line-height: 1;
  color: #FFD700;
  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: #ffffff;
  transform: rotate(45deg);
}

/* Contact Us */
.page-promotions__contact-info {
  text-align: center;
  margin-top: 40px;
  font-size: 18px;
  color: #f0f0f0;
}

.page-promotions__contact-info p {
  margin-bottom: 10px;
}

.page-promotions__contact-info a {
  color: #FFD700;
  text-decoration: none;
  font-weight: bold;
}

.page-promotions__contact-info a:hover {
  text-decoration: underline;
}

.page-promotions__contact-button {
  display: block;
  width: fit-content;
  margin: 40px auto 0 auto;
  background-color: #FFD700; /* Gold brand color */
  color: #000000; /* Black text for contrast */
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 20px;
  transition: background-color 0.3s ease, transform 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}

.page-promotions__contact-button:hover {
  background-color: #e6c200;
  transform: translateY(-3px);
}

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

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

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

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

@media (max-width: 768px) {
  .page-promotions__hero-title {
    font-size: 32px;
  }

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

  .page-promotions__hero-button,
  .page-promotions__vip-button,
  .page-promotions__contact-button {
    padding: 12px 25px;
    font-size: 18px;
  }

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

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

  .page-promotions__section-description {
    font-size: 15px;
    margin-bottom: 30px;
  }

  .page-promotions__features-grid,
  .page-promotions__offer-cards,
  .page-promotions__cashback-grid,
  .page-promotions__event-cards {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-promotions__feature-item,
  .page-promotions__offer-card,
  .page-promotions__cashback-item,
  .page-promotions__event-card {
    padding: 20px;
  }

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

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

  .page-promotions__offer-image,
  .page-promotions__event-image {
    height: 200px;
  }

  .page-promotions__cashback-rate {
    font-size: 30px;
  }

  .page-promotions__vip-benefits li {
    font-size: 16px;
    padding: 12px 15px;
  }

  .page-promotions__vip-icon {
    width: 30px;
    height: 30px;
    margin-right: 10px;
  }

  .page-promotions__terms-list {
    padding-left: 20px;
  }

  .page-promotions__terms-list li {
    font-size: 15px;
  }

  .page-promotions__faq-question {
    padding: 15px;
    flex-wrap: wrap;
  }
  
  .page-promotions__faq-question h3 {
    font-size: 16px;
    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;
  }

  .page-promotions__contact-info {
    font-size: 16px;
  }

  /* Mobile image responsive adaptation */
  .page-promotions img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-promotions__section,
  .page-promotions__card,
  .page-promotions__container,
  .page-promotions__feature-item,
  .page-promotions__offer-card,
  .page-promotions__cashback-item,
  .page-promotions__event-card,
  .page-promotions__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}