/* style/promotions.css */

/* Base styles for the promotions page */
.page-promotions {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: #000000; /* Body background from shared.css */
}

.page-promotions__section {
  padding: 60px 20px;
  text-align: center;
  position: relative;
}

.page-promotions__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-promotions__center-text {
  text-align: center;
}

/* Hero Section */
.page-promotions__hero-section {
  padding: 10px 0 60px 0; /* Small top padding, body handles main offset */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.page-promotions__hero-image-wrapper {
  width: 100%;
  max-width: 1920px;
  margin-bottom: 30px;
}

.page-promotions__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-promotions__hero-content {
  max-width: 900px;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-promotions__main-title {
  font-size: clamp(2em, 4vw, 2.5em); /* Responsive font size */
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 20px;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

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

.page-promotions__cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

.page-promotions__btn-primary,
.page-promotions__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-promotions__btn-primary {
  background-color: #26A9E0;
  color: #ffffff;
  border: 2px solid #26A9E0;
}

.page-promotions__btn-primary:hover {
  background-color: #1e87b6;
  border-color: #1e87b6;
}

.page-promotions__btn-secondary {
  background-color: transparent;
  color: #26A9E0;
  border: 2px solid #26A9E0;
}

.page-promotions__btn-secondary:hover {
  background-color: #26A9E0;
  color: #ffffff;
}

.page-promotions__btn-large {
    padding: 18px 40px;
    font-size: 1.1em;
}

.page-promotions__btn-text {
    display: inline-block;
    margin-top: 15px;
    color: #26A9E0;
    text-decoration: none;
    font-weight: bold;
    position: relative;
    padding-bottom: 2px;
}

.page-promotions__btn-text::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background-color: #26A9E0;
    transition: width 0.3s ease;
}

.page-promotions__btn-text:hover::after {
    width: 0;
}

/* Section Titles */
.page-promotions__section-title {
  font-size: clamp(1.8em, 3.5vw, 2.2em);
  font-weight: 700;
  margin-bottom: 40px;
  line-height: 1.3;
}

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

/* Card Styles */
.page-promotions__card {
  background: rgba(255, 255, 255, 0.1); /* Semi-transparent white for dark background */
  color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  text-align: left;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

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

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

.page-promotions__card-list {
  list-style: none;
  padding: 0;
  margin-top: 15px;
}

.page-promotions__card-list li {
  margin-bottom: 8px;
  position: relative;
  padding-left: 25px;
}

.page-promotions__card-list li::before {
  content: '✔';
  color: #26A9E0;
  position: absolute;
  left: 0;
  top: 0;
}

/* Feature Items */
.page-promotions__feature-item {
  background: rgba(255, 255, 255, 0.05);
  padding: 30px;
  border-radius: 10px;
  margin-bottom: 30px;
  text-align: left;
  color: #f0f0f0;
}

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

.page-promotions__feature-item p {
  margin-bottom: 15px;
}

/* Step-by-Step Guide */
.page-promotions__step-by-step-guide {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
  text-align: left;
}

.page-promotions__step-item {
  background: #ffffff;
  color: #333333;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.page-promotions__step-number {
  font-size: 2.5em;
  font-weight: bold;
  color: #26A9E0;
  margin-bottom: 15px;
  background-color: rgba(38, 169, 224, 0.1);
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-promotions__step-title {
  font-size: 1.5em;
  font-weight: 600;
  color: #000000;
  margin-bottom: 15px;
}

/* Terms & Conditions */
.page-promotions__terms-list {
  margin-top: 40px;
  text-align: left;
}

.page-promotions__term-item {
  background: rgba(255, 255, 255, 0.05);
  padding: 25px;
  border-radius: 8px;
  margin-bottom: 20px;
  color: #f0f0f0;
}

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

/* FAQ Section */
.page-promotions__faq-container {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  align-items: flex-start;
  margin-top: 40px;
}

.page-promotions__faq-image {
  flex: 1 1 300px;
  max-width: 400px;
  height: auto;
  object-fit: contain;
  border-radius: 10px;
  display: block;
  margin: 0 auto;
}

.page-promotions__faq-list {
  flex: 2 1 600px;
  text-align: left;
}

.page-promotions__faq-item {
  background: #ffffff;
  color: #333333;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.page-promotions__faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 25px;
  font-weight: bold;
  font-size: 1.1em;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #f5f5f5;
  color: #000000;
  border-bottom: 1px solid #e0e0e0;
}

.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: 15px;
  color: #26A9E0;
}

.page-promotions__faq-answer {
  padding: 20px 25px;
  background-color: #ffffff;
  color: #333333;
  font-size: 0.95em;
  border-top: 1px solid #e0e0e0;
}

.page-promotions__faq-item[open] .page-promotions__faq-answer {
  border-top: none;
}

/* Color Schemes */
.page-promotions__dark-bg {
  background-color: #000000;
  color: #ffffff;
}

.page-promotions__light-bg {
  background-color: #f8f9fa;
  color: #333333;
}

.page-promotions__light-bg .page-promotions__section-title,
.page-promotions__light-bg .page-promotions__card-title,
.page-promotions__light-bg .page-promotions__step-title {
  color: #000000;
}

.page-promotions__light-bg .page-promotions__card {
  background: #ffffff;
  color: #333333;
  border: 1px solid #e0e0e0;
}

.page-promotions__light-bg .page-promotions__card-list li::before {
  color: #26A9E0;
}

.page-promotions__light-bg .page-promotions__btn-text {
    color: #26A9E0;
}

.page-promotions__light-bg .page-promotions__btn-text::after {
    background-color: #26A9E0;
}

.page-promotions__light-bg .page-promotions__btn-secondary {
  background-color: transparent;
  color: #26A9E0;
  border: 2px solid #26A9E0;
}

.page-promotions__light-bg .page-promotions__btn-secondary:hover {
  background-color: #26A9E0;
  color: #ffffff;
}

.page-promotions__cta-bottom {
  padding-top: 80px;
  padding-bottom: 80px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-promotions__content-area {
    padding: 0 15px;
  }
  .page-promotions__main-title {
    font-size: clamp(2em, 5vw, 2.5em);
  }
  .page-promotions__section-title {
    font-size: clamp(1.8em, 4.5vw, 2.2em);
  }
  .page-promotions__faq-image {
    flex: 1 1 100%;
    max-width: 100%;
  }
  .page-promotions__faq-list {
    flex: 1 1 100%;
  }
}

@media (max-width: 768px) {
  .page-promotions__section {
    padding: 40px 15px;
  }
  .page-promotions__hero-section {
    padding-top: 10px !important;
    padding-bottom: 40px;
  }
  .page-promotions__main-title {
    font-size: clamp(1.8em, 7vw, 2.2em);
  }
  .page-promotions__intro-text {
    font-size: 1em;
  }
  .page-promotions__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
  }
  .page-promotions__btn-primary,
  .page-promotions__btn-secondary,
  .page-promotions a[class*="button"],
  .page-promotions a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-promotions__grid-container,
  .page-promotions__step-by-step-guide {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-promotions__card,
  .page-promotions__feature-item,
  .page-promotions__step-item,
  .page-promotions__term-item {
    padding: 20px;
  }
  .page-promotions img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-promotions__section,
  .page-promotions__card,
  .page-promotions__container,
  .page-promotions__hero-image-wrapper,
  .page-promotions__faq-container,
  .page-promotions__faq-image,
  .page-promotions__faq-list,
  .page-promotions__cta-buttons,
  .page-promotions__button-group,
  .page-promotions__btn-container,
  .page-promotions__grid-container,
  .page-promotions__step-by-step-guide,
  .page-promotions__terms-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden !important; /* Ensure no horizontal scroll */
  }
  .page-promotions__faq-item summary {
    font-size: 1em;
    padding: 15px 20px;
  }
  .page-promotions__faq-answer {
    padding: 15px 20px;
  }
  .page-promotions__cta-bottom {
    padding-top: 60px;
    padding-bottom: 60px;
  }
}

/* Ensure no filter on images */
.page-promotions img {
  filter: none;
}