/* style/promotions.css */

/* 🚨 Fixed Navbar Spacing (Must be applied to the first content section) */
.page-promotions__hero-banner {
  padding-top: 120px; /* Desktop spacing for fixed header */
}

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

/* Base styles for the promotions page */
.page-promotions {
  color: #ffffff; /* Light text for dark body background */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
}

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

.page-promotions__hero-banner {
  background: linear-gradient(135deg, #003366, #FFA500);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-bottom: 60px;
  position: relative;
  overflow: hidden;
}

.page-promotions__hero-content {
  max-width: 800px;
  margin: 0 auto 30px auto;
  position: relative;
  z-index: 2;
}

.page-promotions__main-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.2;
  color: #ffffff;
}

.page-promotions__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-promotions__hero-image-wrapper {
  width: 100%;
  max-width: 1000px;
  margin-top: 30px;
  position: relative;
  z-index: 1;
}

.page-promotions__hero-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.page-promotions__section {
  padding: 60px 0;
  background: #1e1e1e; /* Slightly lighter dark background for sections */
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

.page-promotions__section-title {
  font-size: 2.5em;
  color: #ffffff;
  text-align: center;
  margin-bottom: 40px;
  font-weight: 700;
}

.page-promotions__section-text {
  font-size: 1.1em;
  color: #cccccc;
  margin-bottom: 20px;
  text-align: justify;
}

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

.page-promotions__card {
  background: rgba(255, 255, 255, 0.08); /* Semi-transparent white for cards */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
}

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

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

.page-promotions__card-content {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.page-promotions__card-title {
  font-size: 1.6em;
  color: #FFA500;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-promotions__card-text {
  font-size: 1em;
  color: #cccccc;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-promotions__btn-primary {
  display: inline-block;
  background: #FFA500; /* Orange auxiliary color */
  color: #000000; /* Black text for orange background */
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
}

.page-promotions__btn-primary:hover {
  background: #ffc107;
  transform: translateY(-3px);
}

.page-promotions__btn-secondary {
  display: inline-block;
  background: #003366; /* Main brand color */
  color: #ffffff; /* White text for dark blue background */
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: 1px solid #003366;
  margin-top: auto; /* Push button to bottom of card */
}

.page-promotions__btn-secondary:hover {
  background: #004488;
  transform: translateY(-2px);
}

.page-promotions__numbered-list {
  list-style: none;
  padding-left: 0;
  counter-reset: item;
  margin-top: 30px;
  margin-bottom: 30px;
}

.page-promotions__numbered-list li {
  counter-increment: item;
  margin-bottom: 15px;
  padding-left: 40px;
  position: relative;
  font-size: 1.1em;
  color: #cccccc;
}

.page-promotions__numbered-list li::before {
  content: counter(item) ".";
  position: absolute;
  left: 0;
  font-weight: 700;
  color: #FFA500;
  font-size: 1.3em;
  width: 30px;
  text-align: right;
}

.page-promotions__list-strong {
  color: #ffffff;
  font-weight: 700;
}

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

.page-promotions__feature-item {
  text-align: center;
  background: rgba(255, 255, 255, 0.05);
  padding: 30px 20px;
  border-radius: 10px;
  transition: background-color 0.3s ease;
}

.page-promotions__feature-item:hover {
  background: 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: 1.5em;
  color: #FFA500;
  margin-bottom: 10px;
}

.page-promotions__feature-text {
  color: #cccccc;
  font-size: 1em;
}

.page-promotions__contact-info {
  text-align: center;
  margin-top: 30px;
  font-size: 1.1em;
}

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

.page-promotions__contact-link {
  color: #FFA500; /* Orange for links */
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-promotions__contact-link:hover {
  color: #ffc107;
  text-decoration: underline;
}

.highlight-text {
  color: #FFA500; /* Highlight text with auxiliary color */
  font-weight: 600;
}

/* FAQ styles */
.page-promotions__faq-list {
  margin-top: 40px;
}

.page-promotions__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
}

.page-promotions__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: #003366; /* Dark blue background for questions */
  color: #ffffff;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
  border-radius: 8px;
}

.page-promotions__faq-question:hover {
  background: #004488;
}

.page-promotions__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 1.2em;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none;
  color: #ffffff;
}

.page-promotions__faq-toggle {
  font-size: 2em;
  font-weight: bold;
  line-height: 1;
  color: #FFA500;
  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: 30px;
  height: 30px;
}

.page-promotions__faq-item.active .page-promotions__faq-toggle {
  color: #ffc107;
  transform: rotate(45deg); /* Rotate for 'x' effect */
}

.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 25px;
  opacity: 0;
  color: #cccccc;
  font-size: 1.05em;
}

.page-promotions__faq-item.active .page-promotions__faq-answer {
  max-height: 2000px !important; /* Ensure enough space for content */
  padding: 20px 25px !important;
  opacity: 1;
  background: rgba(0, 0, 0, 0.3); /* Darker background for answer */
  border-radius: 0 0 8px 8px;
}

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

  .page-promotions__hero-description {
    font-size: 1.2em;
  }

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

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

@media (max-width: 768px) {
  /* 🚨 Mobile specific image styles */
  .page-promotions img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-promotions__section,
  .page-promotions__container,
  .page-promotions__card {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-promotions__hero-banner {
    flex-direction: column;
    padding-bottom: 40px;
  }

  .page-promotions__hero-content {
    padding: 0 15px;
    margin-bottom: 20px;
  }

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

  .page-promotions__hero-description {
    font-size: 1em;
  }

  .page-promotions__btn-primary {
    padding: 12px 25px;
    font-size: 1em;
  }

  .page-promotions__hero-image-wrapper {
    margin-top: 20px;
  }

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

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

  .page-promotions__section-text {
    font-size: 0.95em;
  }

  .page-promotions__grid {
    gap: 20px;
  }

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

  .page-promotions__card-content {
    padding: 20px;
  }

  .page-promotions__card-title {
    font-size: 1.4em;
  }

  .page-promotions__numbered-list li {
    font-size: 1em;
    padding-left: 35px;
  }

  .page-promotions__numbered-list li::before {
    font-size: 1.2em;
    width: 25px;
  }

  .page-promotions__features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

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

  .page-promotions__feature-title {
    font-size: 1.3em;
  }

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

  .page-promotions__faq-toggle {
    font-size: 1.8em;
    width: 25px;
    height: 25px;
  }

  .page-promotions__faq-answer {
    padding: 0 20px;
    font-size: 0.95em;
  }

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

  .page-promotions__contact-info p {
    font-size: 1em;
  }
}

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

  .page-promotions__hero-description {
    font-size: 0.9em;
  }

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

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

  .page-promotions__btn-primary {
    font-size: 0.9em;
    padding: 10px 20px;
  }

  .page-promotions__btn-secondary {
    font-size: 0.85em;
    padding: 10px 20px;
  }
}