/* style/promotions.css */

:root {
  --primary-color: #FF8C1A;
  --secondary-color: #FFA53A;
  --card-bg-color: #17191F;
  --background-color: #0D0E12;
  --text-main-color: #FFF3E6;
  --border-color: #A84F0C;
  --glow-color: #FFB04D;
  --deep-orange-color: #D96800;
}

.page-promotions {
  color: var(--text-main-color); /* Body background is dark, so text is light */
  background-color: var(--background-color);
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
}

.page-promotions__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  box-sizing: border-box;
  overflow: hidden;
  color: var(--text-main-color);
}

.page-promotions__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  z-index: 0;
  overflow: hidden;
}

.page-promotions__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.5); /* Darken image for text readability */
}

.page-promotions__hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 900px;
  margin-top: 50px; /* Space from top of image */
  padding: 20px;
  background: rgba(0, 0, 0, 0.4); /* Semi-transparent overlay for text */
  border-radius: 10px;
}

.page-promotions__main-title {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text-main-color);
  margin-bottom: 20px;
}

.page-promotions__hero-description {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: var(--text-main-color);
}

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

.page-promotions__btn-primary,
.page-promotions__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.05em;
  transition: all 0.3s ease;
  min-width: 180px;
  box-sizing: border-box;
}

.page-promotions__btn-primary {
  background: linear-gradient(180deg, var(--secondary-color) 0%, var(--deep-orange-color) 100%);
  color: #ffffff; /* White text for primary button */
  border: 2px solid transparent;
}

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

.page-promotions__btn-secondary {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.page-promotions__btn-secondary:hover {
  background: var(--primary-color);
  color: #ffffff;
  transform: translateY(-2px);
}

.page-promotions__section {
  padding: 80px 20px;
  box-sizing: border-box;
}

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

.page-promotions__section-title {
  font-size: 2.5em;
  font-weight: 700;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 40px;
  line-height: 1.3;
}

.page-promotions__text-block {
  font-size: 1.1em;
  color: var(--text-main-color);
  margin-bottom: 20px;
  text-align: justify;
}

.page-promotions__highlight {
  color: var(--secondary-color);
  font-weight: 600;
}

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

.page-promotions__card {
  background-color: var(--card-bg-color);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--text-main-color);
}

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

.page-promotions__card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px; /* Ensure minimum size */
  min-height: 200px; /* Ensure minimum size */
}

.page-promotions__card-title {
  font-size: 1.6em;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.page-promotions__card-description {
  font-size: 1em;
  color: var(--text-main-color);
  margin-bottom: 25px;
  flex-grow: 1;
}

.page-promotions__card-button {
  display: inline-block;
  padding: 12px 25px;
  background: linear-gradient(180deg, var(--secondary-color) 0%, var(--deep-orange-color) 100%);
  color: #ffffff;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 500;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-promotions__card-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 3px 10px rgba(255, 165, 58, 0.3);
}

.page-promotions__ordered-list,
.page-promotions__unordered-list {
  list-style: none;
  padding: 0;
  margin: 0;
  color: var(--text-main-color);
}

.page-promotions__ordered-list li,
.page-promotions__unordered-list li {
  background-color: var(--card-bg-color);
  padding: 20px 25px;
  margin-bottom: 15px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.page-promotions__ordered-list li:last-child,
.page-promotions__unordered-list li:last-child {
  margin-bottom: 0;
}

.page-promotions__list-title {
  font-size: 1.3em;
  font-weight: 600;
  color: var(--secondary-color);
  margin: 0;
}

.page-promotions__cta-buttons--center {
  margin-top: 40px;
}

.page-promotions__benefit-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
  text-align: center;
}

.page-promotions__benefit-item {
  background-color: var(--card-bg-color);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  color: var(--text-main-color);
}

.page-promotions__benefit-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
  filter: drop-shadow(0 0 5px var(--glow-color));
  min-width: 200px; /* Enforce minimum size */
  min-height: 200px; /* Enforce minimum size */
}

.page-promotions__benefit-title {
  font-size: 1.5em;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.page-promotions__benefit-description {
  font-size: 1em;
  color: var(--text-main-color);
}

.page-promotions__why-choose-us .page-promotions__unordered-list li {
  text-align: left;
}

.page-promotions__faq-section {
  background-color: rgba(255, 140, 26, 0.05); /* Light orange tint for FAQ section */
}

.page-promotions__faq-list {
  margin-top: 40px;
}

.page-promotions__faq-item {
  background-color: var(--card-bg-color);
  border-radius: 8px;
  margin-bottom: 15px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  color: var(--text-main-color);
}

.page-promotions__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: 600;
  color: var(--primary-color);
  cursor: pointer;
  transition: background-color 0.3s ease;
  user-select: none;
}

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

.page-promotions__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  width: 30px;
  text-align: center;
  transition: transform 0.3s ease;
}

.page-promotions__faq-item[open] .page-promotions__faq-toggle {
  transform: rotate(45deg);
}

.page-promotions__faq-answer {
  padding: 0 25px 20px;
  font-size: 1em;
  color: var(--text-main-color);
  line-height: 1.7;
}

.page-promotions__faq-answer p {
  margin: 0;
}

.page-promotions__cta-bottom {
  padding: 80px 20px;
  text-align: center;
  background: linear-gradient(135deg, var(--deep-orange-color) 0%, var(--primary-color) 100%);
  color: #ffffff;
}

.page-promotions__cta-bottom .page-promotions__section-title {
  color: #ffffff;
  margin-bottom: 25px;
}

.page-promotions__cta-bottom .page-promotions__text-block {
  color: #ffffff;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-promotions__cta-bottom .page-promotions__highlight {
  color: var(--secondary-color);
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-promotions__section-title {
    font-size: 2em;
  }
  .page-promotions__main-title {
    font-size: 2.5em;
  }
}

@media (max-width: 768px) {
  .page-promotions__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important;
  }
  .page-promotions__hero-content {
    padding: 15px;
  }
  .page-promotions__main-title {
    font-size: 1.8em;
    margin-bottom: 15px;
  }
  .page-promotions__hero-description {
    font-size: 1em;
    margin-bottom: 20px;
  }
  .page-promotions__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-promotions__btn-primary,
  .page-promotions__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 15px;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-promotions__section {
    padding: 40px 15px;
  }
  .page-promotions__container {
    padding-left: 0;
    padding-right: 0;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-promotions__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-promotions__text-block {
    font-size: 0.95em;
  }
  .page-promotions__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-promotions__card {
    padding: 20px;
  }
  .page-promotions__card-image {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    min-width: 200px !important;
    min-height: 200px !important;
  }
  .page-promotions__card-title {
    font-size: 1.4em;
  }
  .page-promotions__card-description {
    font-size: 0.9em;
  }
  .page-promotions__ordered-list li,
  .page-promotions__unordered-list li {
    padding: 15px 20px;
  }
  .page-promotions__list-title {
    font-size: 1.1em;
  }
  .page-promotions__benefit-grid {
    grid-template-columns: 1fr;
  }
  .page-promotions__benefit-icon {
    width: 80px;
    height: 80px;
    min-width: 200px !important;
    min-height: 200px !important;
  }
  .page-promotions__benefit-title {
    font-size: 1.3em;
  }
  .page-promotions__faq-question {
    font-size: 1.1em;
    padding: 15px 20px;
  }
  .page-promotions__faq-answer {
    padding: 0 20px 15px;
    font-size: 0.95em;
  }

  /* Mobile specific image adaptation */
  .page-promotions img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    box-sizing: border-box !important;
  }
  .page-promotions__section,
  .page-promotions__card,
  .page-promotions__container,
  .page-promotions__hero-section,
  .page-promotions__hero-image-wrapper,
  .page-promotions__hero-content,
  .page-promotions__cta-buttons,
  .page-promotions__promotion-types,
  .page-promotions__how-to-participate,
  .page-promotions__terms-conditions,
  .page-promotions__benefits-section,
  .page-promotions__why-choose-us,
  .page-promotions__faq-section,
  .page-promotions__cta-bottom {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  /* Video specific adaptation (if any video were present) */
  .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;
  }
}

@media (max-width: 480px) {
  .page-promotions__main-title {
    font-size: 1.5em;
  }
  .page-promotions__section-title {
    font-size: 1.5em;
  }
  .page-promotions__hero-description {
    font-size: 0.9em;
  }
  .page-promotions__text-block {
    font-size: 0.85em;
  }
  .page-promotions__card-title {
    font-size: 1.2em;
  }
  .page-promotions__list-title {
    font-size: 1em;
  }
  .page-promotions__faq-question {
    font-size: 1em;
  }
}