/* style/promotions.css */

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

/* Fixed header spacing for the first content module */
.page-promotions__introduction-section {
  padding-top: 120px; /* Desktop fixed header height approx */
  padding-bottom: 60px;
}

/* General container for content alignment */
.page-promotions__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Section titles */
.page-promotions__section-title {
  font-size: 36px;
  font-weight: bold;
  color: #FFD700; /* Accent color */
  text-align: center;
  margin-bottom: 40px;
  padding-top: 40px;
}

/* Main page title (h1) */
.page-promotions__main-title {
  font-size: 48px;
  font-weight: bold;
  color: #FFD700;
  text-align: center;
  margin-bottom: 30px;
  line-height: 1.2;
}

/* Sub-titles (h3) */
.page-promotions__sub-title {
  font-size: 28px;
  font-weight: bold;
  color: #FFD700;
  margin-top: 30px;
  margin-bottom: 20px;
  text-align: center;
}

/* General text blocks */
.page-promotions__text-block {
  font-size: 18px;
  margin-bottom: 20px;
  text-align: center;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* CTA buttons container */
.page-promotions__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  margin-bottom: 20px;
}

.page-promotions__cta-buttons--center {
    justify-content: center;
}

/* Primary Button */
.page-promotions__btn-primary {
  display: inline-block;
  background-color: #FFD700; /* Accent color */
  color: #1A1A1A; /* Dark text for accent background */
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 18px;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: 2px solid transparent;
}

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

/* Secondary Button */
.page-promotions__btn-secondary {
  display: inline-block;
  background-color: transparent;
  color: #FFD700; /* Accent text for dark background */
  padding: 15px 30px;
  border: 2px solid #FFD700;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 18px;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.page-promotions__btn-secondary:hover {
  background-color: #FFD700;
  color: #1A1A1A;
  transform: translateY(-3px);
}

/* Section specific styles */
.page-promotions__dark-section {
  background-color: #1A1A1A; /* Main brand dark color */
  padding: 60px 0;
}

.page-promotions__quick-access-section {
  padding: 60px 0;
  background-color: #0a0a0a; /* Body background */
}

.page-promotions__promo-types-section {
  padding: 60px 0;
  background-color: #1A1A1A;
}

.page-promotions__current-promos-section {
  padding: 60px 0;
  background-color: #0a0a0a;
}

.page-promotions__security-support-section {
  padding: 60px 0;
  background-color: #1A1A1A;
}

.page-promotions__faq-section {
  padding: 60px 0;
  background-color: #0a0a0a;
}

.page-promotions__latest-blog-section {
  padding: 60px 0;
  background-color: #1A1A1A;
}


/* Link cards in quick access section */
.page-promotions__link-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-promotions__link-card {
  background-color: rgba(255, 255, 255, 0.08); /* Slightly transparent white for dark background */
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px 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);
}

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

.page-promotions__link-card .page-promotions__card-title {
  color: #FFD700;
  font-size: 22px;
  margin-bottom: 15px;
  text-align: center;
}

.page-promotions__link-card p {
  font-size: 16px;
  color: #f0f0f0;
  margin-bottom: 25px;
}

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

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

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

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

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

.page-promotions__promo-content .page-promotions__card-title {
  color: #FFD700;
  font-size: 22px;
  margin-bottom: 10px;
  text-align: left;
}

.page-promotions__promo-content p {
  font-size: 16px;
  color: #f0f0f0;
  margin-bottom: 20px;
  flex-grow: 1;
  text-align: left;
}

.page-promotions__promo-content .page-promotions__btn-primary {
  align-self: flex-start;
  padding: 10px 20px;
  font-size: 16px;
}

/* Current promotions list */
.page-promotions__promo-list {
  margin-top: 40px;
  display: grid;
  gap: 25px;
}

.page-promotions__promo-item {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-promotions__promo-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  flex-wrap: wrap;
}

.page-promotions__item-title {
  color: #FFD700;
  font-size: 24px;
  margin: 0;
}

.page-promotions__item-status {
  background-color: #FFD700;
  color: #1A1A1A;
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: bold;
  margin-left: 15px;
}

.page-promotions__item-description {
  font-size: 16px;
  color: #f0f0f0;
  margin-bottom: 20px;
  text-align: left;
}

.page-promotions__promo-item .page-promotions__btn-primary {
  padding: 10px 20px;
  font-size: 16px;
}

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

.page-promotions__feature-card {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-promotions__feature-card .page-promotions__card-title {
  color: #FFD700;
  font-size: 22px;
  margin-top: 15px;
  margin-bottom: 10px;
  text-align: center;
}

.page-promotions__feature-card p {
  font-size: 16px;
  color: #f0f0f0;
  text-align: center;
}

.page-promotions__feature-icon {
  width: 80px;
  height: 80px;
  object-fit: contain;
  margin: 0 auto 15px auto;
  display: block;
}

/* Contact info */
.page-promotions__contact-info {
  margin-top: 60px;
  padding: 30px;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.page-promotions__contact-info .page-promotions__sub-title {
    margin-top: 0;
    margin-bottom: 20px;
    color: #FFD700;
    text-align: center;
}

.page-promotions__contact-info p {
  font-size: 17px;
  color: #f0f0f0;
  margin-bottom: 15px;
}

.page-promotions__contact-info ul {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}

.page-promotions__contact-info li {
  margin-bottom: 10px;
  font-size: 16px;
  color: #f0f0f0;
}

.page-promotions__contact-info li strong {
  color: #FFD700;
}

.page-promotions__contact-info li a {
  color: #FFD700;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-promotions__contact-info li a:hover {
  color: #e6c200;
  text-decoration: underline;
}

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

.page-promotions__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  background-color: rgba(255, 255, 255, 0.08); /* Darker background for item */
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-promotions__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background-color: rgba(255, 255, 255, 0.15); /* Slightly lighter for question */
  border-radius: 8px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.page-promotions__faq-item.active .page-promotions__faq-question {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  background-color: rgba(255, 255, 255, 0.2);
}

.page-promotions__faq-question:hover {
  background-color: 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;
  color: #FFD700;
  pointer-events: none; /* Prevent h3 from blocking click event */
}

.page-promotions__faq-toggle {
  font-size: 28px;
  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; /* Prevent icon from blocking click event */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
}