/* style/promotions.css */

/* General styles for the promotions page */
.page-promotions {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Assuming body has a dark background from shared.css, so text inside page-promotions should be light */
  background-color: transparent; /* Main content background is handled by body's dark-bg-1 */
}

/* Hero Section */
.page-promotions__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small decorative top padding, not --header-offset */
  text-align: center;
  overflow: hidden;
}

.page-promotions__hero-image {
  width: 100%;
  height: auto;
  display: block;
  max-width: 100%;
  object-fit: cover;
  border-radius: 8px;
}

.page-promotions__hero-content {
  max-width: 900px;
  margin-top: 30px;
  position: relative;
  z-index: 2;
}

.page-promotions__main-title {
  color: #ffffff;
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  font-size: clamp(2.2rem, 5vw, 3.5rem);
}

.page-promotions__description {
  color: #f0f0f0;
  font-size: 1.1em;
  margin-bottom: 30px;
}

.page-promotions__cta-button {
  display: inline-block;
  background-color: #26A9E0; /* Primary brand color */
  color: #ffffff;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
  border: none;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-promotions__cta-button:hover {
  background-color: #1a7eb3; /* Darker shade of primary */
}

/* General Content Sections */
.page-promotions__section {
  max-width: 1200px;
  margin: 40px auto;
  padding: 40px 20px;
  background-color: rgba(255, 255, 255, 0.05); /* Slightly transparent white for contrast on dark body */
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-promotions__section-title {
  color: #26A9E0; /* Primary brand color for titles */
  font-size: 2.2em;
  margin-bottom: 25px;
  text-align: center;
  font-weight: bold;
}

.page-promotions__section-subtitle {
  color: #ffffff;
  font-size: 1.6em;
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-promotions__text-block p {
  margin-bottom: 15px;
  color: #f0f0f0;
}

.page-promotions__text-block ul {
  list-style: disc;
  margin-left: 20px;
  margin-bottom: 15px;
}

.page-promotions__text-block li {
  margin-bottom: 8px;
  color: #f0f0f0;
}

/* Image styling within content */
.page-promotions__content-image {
  width: 100%;
  height: auto;
  display: block;
  max-width: 800px; /* Example max-width, adjust as needed */
  margin: 25px auto;
  border-radius: 8px;
  object-fit: cover;
}

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

.page-promotions__promo-card {
  background-color: rgba(255, 255, 255, 0.1); /* Lighter transparent white */
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  color: #ffffff;
}

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

.page-promotions__card-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
  display: block;
}

.page-promotions__card-title {
  color: #26A9E0;
  font-size: 1.4em;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-promotions__card-description {
  font-size: 0.95em;
  color: #f0f0f0;
  flex-grow: 1;
  margin-bottom: 15px;
}

.page-promotions__card-button {
  background-color: #EA7C07; /* Login/Action color */
  color: #ffffff;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  display: block;
  margin-top: auto;
}

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

/* FAQ Section */
.page-promotions__faq-section {
  max-width: 1000px;
  margin: 40px auto;
  padding: 40px 20px;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-promotions__faq-item {
  margin-bottom: 15px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  overflow: hidden;
  color: #ffffff;
}

.page-promotions__faq-item summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  background-color: rgba(255, 255, 255, 0.1);
  cursor: pointer;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease;
}

.page-promotions__faq-item summary:hover {
  background-color: rgba(255, 255, 255, 0.15);
}

.page-promotions__faq-item summary::-webkit-details-marker {
  display: none;
}

.page-promotions__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.page-promotions__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 10px;
  color: #26A9E0;
}

.page-promotions__faq-answer {
  padding: 15px 20px;
  background-color: rgba(0, 0, 0, 0.3); /* Darker background for answer */
  color: #f0f0f0;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-promotions__hero-section {
    padding: 40px 15px;
  }
  .page-promotions__main-title {
    font-size: clamp(2rem, 6vw, 3rem);
  }
  .page-promotions__section,
  .page-promotions__faq-section {
    margin: 30px auto;
    padding: 30px 15px;
  }
}

@media (max-width: 768px) {
  .page-promotions {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-promotions__hero-section {
    padding: 30px 15px;
    padding-top: 10px !important; /* Ensure small top padding on mobile */
  }
  .page-promotions__main-title {
    font-size: clamp(1.8rem, 7vw, 2.8rem);
  }
  .page-promotions__description {
    font-size: 1em;
  }
  .page-promotions__cta-button {
    width: 100% !important;
    padding: 12px 20px;
  }

  /* Force all images to be responsive and prevent overflow */
  .page-promotions img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-promotions__section,
  .page-promotions__card,
  .page-promotions__container,
  .page-promotions__faq-section,
  .page-promotions__promo-card {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Button container for multiple buttons */
  .page-promotions__button-group {
    display: flex;
    flex-direction: column; /* Stack buttons vertically on mobile */
    gap: 15px; /* Spacing between stacked buttons */
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  
  .page-promotions__card-button {
    width: 100% !important;
  }

  .page-promotions__section-title {
    font-size: 1.8em;
  }
  .page-promotions__section-subtitle {
    font-size: 1.4em;
  }
  .page-promotions__promo-grid {
    grid-template-columns: 1fr; /* Single column on mobile */
  }
}

/* Specific color rules */
.page-promotions a {
  color: #26A9E0; /* Primary brand color for links */
  text-decoration: underline;
}
.page-promotions a:hover {
  color: #1a7eb3;
}

/* Login button specific color */
.page-promotions__login-button {
  background-color: #EA7C07;
  color: #ffffff;
}
.page-promotions__login-button:hover {
  background-color: #c46406;
}

/* Ensure contrast for all text elements */
.page-promotions h1, .page-promotions h2, .page-promotions h3, .page-promotions h4, .page-promotions h5, .page-promotions h6 {
  color: #ffffff; /* Default to white on dark background */
}
.page-promotions p, .page-promotions li, .page-promotions span, .page-promotions div {
  color: #f0f0f0; /* Slightly off-white for body text */
}
.page-promotions__card-title, .page-promotions__section-title {
  color: #26A9E0; /* Brand color for emphasis, good contrast on dark */
}