/* style/promotions.css */

/* BEM Naming: .page-promotions__element-name */
/* Colors: #FF8C1A, #FFA53A, #17191F, #0D0E12, #FFF3E6, #A84F0C, #FFB04D, #D96800 */

/* Base styles for page-promotions container */
.page-promotions {
  background-color: var(--bg-color, #0D0E12); /* Assuming --bg-color is dark based on provided custom colors */
  color: #FFF3E6; /* Text Main */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

/* Hero Section */
.page-promotions__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  overflow: hidden;
  min-height: 500px; /* Ensure hero has a decent height */
}

.page-promotions__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.page-promotions__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 20px;
  background: rgba(0, 0, 0, 0.6); /* Semi-transparent overlay for text readability */
  border-radius: 10px;
  margin-top: 20px; /* Separates content from image above */
}

.page-promotions__hero-title {
  font-size: clamp(2em, 4vw, 3.2em); /* Responsive H1 font size */
  font-weight: bold;
  color: #FFF3E6;
  margin-bottom: 15px;
  line-height: 1.2;
}

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

/* General Section Styles */
.page-promotions__section {
  padding: 40px 20px;
  margin-bottom: 20px;
}

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

.page-promotions__section-title {
  font-size: clamp(1.8em, 3.5vw, 2.5em);
  color: #FF8C1A; /* Main color for titles */
  text-align: center;
  margin-bottom: 30px;
  font-weight: bold;
}

.page-promotions__text-block {
  font-size: 1.05em;
  margin-bottom: 20px;
  color: #FFF3E6;
}

.page-promotions__text-block .text-main {
  color: #FFA53A; /* Auxiliary color for emphasis */
  font-weight: bold;
}

/* Buttons */
.page-promotions__btn-primary,
.page-promotions__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.2s ease;
  cursor: pointer;
  text-align: center;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-promotions__btn-primary {
  background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%);
  color: #FFF3E6;
  border: none;
}

.page-promotions__btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 165, 58, 0.4);
}

.page-promotions__btn-secondary {
  background-color: #17191F; /* Card BG */
  color: #FF8C1A;
  border: 2px solid #FF8C1A;
}

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

.page-promotions__btn-large {
  padding: 15px 35px;
  font-size: 1.1em;
}

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

.page-promotions__card {
  background-color: #17191F; /* Card BG */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #A84F0C; /* Border color */
  color: #FFF3E6;
}

.page-promotions__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(255, 140, 26, 0.5);
}

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

.page-promotions__card-title {
  font-size: 1.4em;
  color: #FFA53A; /* Auxiliary color for card titles */
  padding: 15px;
  margin-bottom: 5px;
}

.page-promotions__card-text {
  font-size: 0.95em;
  color: #f0f0f0;
  padding: 0 15px 15px;
}

/* Steps Grid */
.page-promotions__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  margin-top: 30px;
}

.page-promotions__step-card {
  background-color: #17191F; /* Card BG */
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  border-left: 5px solid #FF8C1A;
  color: #FFF3E6;
}

.page-promotions__step-title {
  font-size: 1.3em;
  color: #FF8C1A;
  margin-bottom: 10px;
}

.page-promotions__step-description {
  font-size: 1em;
  color: #f0f0f0;
}

/* Benefit List */
.page-promotions__benefit-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.page-promotions__benefit-item {
  background-color: #17191F; /* Card BG */
  padding: 15px 20px;
  margin-bottom: 15px;
  border-radius: 8px;
  border-left: 4px solid #FFA53A;
  font-size: 1.05em;
  color: #FFF3E6;
}

.page-promotions__benefit-item strong {
  color: #FFB04D; /* Glow color for emphasis */
}

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

/* FAQ Section */
.page-promotions__faq-list {
  margin-top: 30px;
}

.page-promotions__faq-item {
  background-color: #17191F; /* Card BG */
  border-radius: 8px;
  margin-bottom: 15px;
  border: 1px solid #A84F0C; /* Border color */
  overflow: hidden;
}

.page-promotions__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  cursor: pointer;
  font-weight: bold;
  color: #FFA53A;
  font-size: 1.1em;
  user-select: none;
}

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

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

.page-promotions__faq-answer {
  padding: 0 20px 15px;
  color: #f0f0f0;
  font-size: 1em;
}

.page-promotions__faq-item[open] .page-promotions__faq-question {
  background-color: #2a2c33; /* Slightly darker on open */
}

/* Conclusion Section */
.page-promotions__conclusion-section {
  text-align: center;
  padding-bottom: 60px;
}

.page-promotions__conclusion-section .page-promotions__btn-primary {
  margin-top: 30px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .page-promotions {
    font-size: 16px;
    line-height: 1.6;
  }

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

  .page-promotions__hero-content {
    padding: 15px;
  }

  .page-promotions__hero-title {
    font-size: clamp(1.8em, 8vw, 2.5em);
  }

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

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

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

  .page-promotions__section-title {
    font-size: clamp(1.5em, 7vw, 2em);
    margin-bottom: 20px;
  }

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

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

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

  .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;
    margin-bottom: 10px; /* Add margin between stacked buttons */
  }

  .page-promotions__cta-buttons,
  .page-promotions__button-group,
  .page-promotions__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
    display: flex;
    flex-direction: column; /* Stack buttons vertically */
  }

  .page-promotions img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .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;
  }

  .page-promotions__faq-question {
    font-size: 1em;
    padding: 12px 15px;
  }

  .page-promotions__faq-answer {
    padding: 0 15px 12px;
  }
}