/* style/promotions.css */

/* 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;
  background-color: transparent; /* Body background handled by shared.css */
}

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

.page-promotions__section {
  padding: 60px 0;
  text-align: center;
}

.page-promotions__dark-section {
  background-color: #0a0a0a; /* Dark background matching body for seamless look */
  color: #ffffff;
}

.page-promotions__light-bg {
  background-color: #1a1a1a; /* Slightly lighter dark background for contrast sections */
  color: #ffffff;
}

.page-promotions__section-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  margin-bottom: 20px;
  color: #26A9E0;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.page-promotions__text-block {
  font-size: 18px;
  margin-bottom: 30px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: #f0f0f0;
}

.page-promotions__small-text {
  font-size: 15px;
  color: #cccccc;
  margin-top: 20px;
}

/* Hero Section */
.page-promotions__hero-section {
  position: relative;
  padding: 10px 0 60px 0; /* body handles padding-top, this is for internal spacing */
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 600px;
}

.page-promotions__hero-image-wrapper {
  width: 100%;
  max-height: 600px; /* Limit height to prevent image from being too tall */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 40px;
}

.page-promotions__hero-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  min-height: 300px;
}

.page-promotions__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 0 20px;
}

.page-promotions__main-title {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 800;
  margin-bottom: 20px;
  color: #FFFFFF;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-promotions__description {
  font-size: clamp(18px, 2.5vw, 22px);
  margin-bottom: 40px;
  color: #f0f0f0;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

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

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

.page-promotions__btn-primary:hover {
  background-color: #1e87b6;
  border-color: #1e87b6;
  transform: translateY(-2px);
}

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

.page-promotions__btn-secondary:hover {
  background-color: #FFFFFF;
  color: #26A9E0;
  transform: translateY(-2px);
}

/* Card Grid */
.page-promotions__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
  justify-content: center;
}

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

.page-promotions__card {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.page-promotions__card-image {
  width: 100%;
  max-width: 400px;
  height: auto;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  min-height: 200px;
}

.page-promotions__card-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 15px;
  color: #26A9E0;
}

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

.page-promotions__card-button {
  width: auto;
  padding: 10px 20px;
  font-size: 16px;
}

/* Promo List */
.page-promotions__promo-list {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-promotions__promo-item {
  display: flex;
  align-items: center;
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 20px;
  text-align: left;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.page-promotions__promo-image {
  width: 150px;
  height: 100px;
  object-fit: cover;
  border-radius: 8px;
  margin-right: 20px;
  flex-shrink: 0;
  min-width: 150px;
  min-height: 100px;
}

.page-promotions__promo-content {
  flex-grow: 1;
}

.page-promotions__promo-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #26A9E0;
}

.page-promotions__promo-description {
  font-size: 16px;
  color: #f0f0f0;
  margin-bottom: 15px;
}

/* VIP Program */
.page-promotions__card--vip {
  background-color: rgba(38, 169, 224, 0.15); /* Semi-transparent brand color */
  border: 1px solid #26A9E0;
}

.page-promotions__card-image--vip {
  max-width: 300px;
}

/* Terms & Conditions */
.page-promotions__checklist {
  list-style: none;
  padding: 0;
  margin-top: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

.page-promotions__checklist-item {
  background-color: rgba(255, 255, 255, 0.05);
  padding: 15px 20px;
  margin-bottom: 10px;
  border-radius: 8px;
  font-size: 17px;
  color: #f0f0f0;
  border-left: 4px solid #26A9E0;
}

.page-promotions__checklist-item strong {
  color: #26A9E0;
}

/* FAQ Section */
.page-promotions__faq-list {
  margin-top: 40px;
  text-align: left;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-promotions__faq-item {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  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;
  font-size: 18px;
  font-weight: 600;
  color: #26A9E0;
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: background-color 0.3s ease;
  list-style: none;
}

.page-promotions__faq-question:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.page-promotions__faq-item[open] > .page-promotions__faq-question {
  background-color: rgba(255, 255, 255, 0.1);
  border-bottom: none;
}

.page-promotions__faq-toggle {
  font-size: 24px;
  line-height: 1;
  margin-left: 15px;
  color: #FFFFFF;
}

.page-promotions__faq-item[open] .page-promotions__faq-toggle {
  content: '−';
}

.page-promotions__faq-answer {
  padding: 15px 25px 20px;
  font-size: 16px;
  color: #f0f0f0;
  line-height: 1.7;
}

.page-promotions__faq-answer p {
  margin-bottom: 10px;
}

/* Remove default details marker */
.page-promotions__faq-item > summary::-webkit-details-marker {
  display: none;
}

.page-promotions__faq-item > summary {
  list-style: none;
}

/* CTA Bottom Section */
.page-promotions__cta-bottom {
  padding-bottom: 80px;
}

.page-promotions__center-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.page-promotions__center-cta {
  margin-top: 30px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-promotions__section-title {
    font-size: clamp(26px, 3.5vw, 38px);
  }

  .page-promotions__main-title {
    font-size: clamp(28px, 4.5vw, 50px);
  }

  .page-promotions__description {
    font-size: clamp(16px, 2.2vw, 20px);
  }
}

@media (max-width: 768px) {
  .page-promotions__container {
    padding: 0 15px;
  }

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

  .page-promotions__hero-section {
    padding-bottom: 40px;
  }

  .page-promotions__hero-image-wrapper {
    margin-bottom: 30px;
  }

  .page-promotions__main-title {
    font-size: 32px;
  }

  .page-promotions__description {
    font-size: 16px;
    margin-bottom: 30px;
  }

  .page-promotions__cta-buttons {
    flex-direction: column;
    gap: 10px;
  }

  .page-promotions__btn-primary,
  .page-promotions__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 16px;
  }

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

  .page-promotions__promo-item {
    flex-direction: column;
    text-align: center;
    padding: 15px;
  }

  .page-promotions__promo-image {
    margin-right: 0;
    margin-bottom: 15px;
    width: 100%;
    max-width: 250px;
    height: auto;
  }

  .page-promotions__promo-title {
    font-size: 20px;
  }

  .page-promotions__promo-description {
    font-size: 15px;
  }

  .page-promotions__checklist-item {
    font-size: 15px;
    padding: 12px 15px;
  }

  .page-promotions__faq-question {
    font-size: 16px;
    padding: 15px 20px;
  }

  .page-promotions__faq-answer {
    font-size: 15px;
    padding: 12px 20px 15px;
  }

  /* Mobile image responsiveness */
  .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__cta-buttons,
  .page-promotions__button-group,
  .page-promotions__btn-container,
  .page-promotions__hero-image-wrapper,
  .page-promotions__promo-list,
  .page-promotions__promo-item,
  .page-promotions__checklist,
  .page-promotions__faq-list,
  .page-promotions__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  
  /* Specific adjustments for hero section padding */
  .page-promotions__hero-section {
    padding-top: 10px !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .page-promotions__hero-content {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }

  .page-promotions__cta-buttons {
    flex-direction: column !important;
    gap: 10px;
  }

  .page-promotions__promo-item {
    flex-direction: column !important;
  }

  .page-promotions__promo-image {
    margin-right: 0 !important;
    margin-bottom: 15px !important;
  }

  /* Video responsiveness (if any) */
  .page-promotions video,
  .page-promotions__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-promotions__video-section,
  .page-promotions__video-container,
  .page-promotions__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  
  .page-promotions__video-section {
    padding-top: 10px !important;
  }

  .page-promotions__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
}