/* style/promotions.css */

:root {
  --primary-color: #FF8C1A;
  --secondary-color: #FFA53A;
  --card-bg: #17191F;
  --bg-color: #0D0E12; /* Inherited from shared.css body */
  --text-main-color: #FFF3E6;
  --border-color: #A84F0C;
  --glow-color: #FFB04D;
  --deep-orange-color: #D96800;
  --button-gradient: linear-gradient(180deg, #FFA53A 0%, #D96800 100%);
}

.page-promotions {
  color: var(--text-main-color); /* Ensure high contrast on dark body background */
  background-color: var(--bg-color);
}

.page-promotions__hero-section {
  padding-top: 10px; /* Small top padding, relying on body for header offset */
  padding-bottom: 40px;
  background-color: var(--bg-color);
}

.page-promotions__hero-container {
  max-width: 1170px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 40px 16px;
}

.page-promotions__hero-content {
  flex: 1 1 45%;
  min-width: 300px;
  color: var(--text-main-color);
}

.page-promotions__main-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--secondary-color);
}

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

.page-promotions__cta-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.page-promotions__btn-primary,
.page-promotions__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  white-space: nowrap;
  cursor: pointer;
  box-sizing: border-box;
  max-width: 100%;
}

.page-promotions__btn-primary {
  background: var(--button-gradient);
  color: #ffffff;
  border: 2px solid transparent;
}

.page-promotions__btn-primary:hover {
  filter: brightness(1.1);
  box-shadow: 0 0 15px var(--glow-color);
}

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

.page-promotions__btn-secondary:hover {
  background: var(--secondary-color);
  color: var(--bg-color);
}

.page-promotions__hero-image {
  flex: 1 1 45%;
  min-width: 300px;
  text-align: center;
}

.page-promotions__side-image {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  display: block;
}

.page-promotions__content-area {
  max-width: 1170px;
  margin: 0 auto;
  padding: 40px 16px;
}

.page-promotions__section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  line-height: 1.3;
  color: var(--secondary-color);
  text-align: center;
  margin-bottom: 20px;
}

.page-promotions__section-description {
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--text-main-color);
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px;
}

.page-promotions__intro-section {
  background-color: var(--card-bg);
  padding: 60px 0;
}

.page-promotions__icon-boxes {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
  margin-top: 40px;
}

.page-promotions__icon-box {
  flex: 1 1 30%;
  min-width: 280px;
  background-color: var(--bg-color);
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border-color);
}

.page-promotions__icon-box-media {
  width: 240px;
  height: 240px;
  aspect-ratio: 1/1;
  margin: 0 auto 20px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-promotions__icon-box-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}

.page-promotions__icon-box-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--secondary-color);
  margin-bottom: 15px;
}

.page-promotions__icon-box-text {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-main-color);
}

.page-promotions__promotions-list-section {
  padding: 60px 0;
  background-color: var(--bg-color);
}

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

.page-promotions__promo-card {
  background-color: var(--card-bg);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border-color);
  transition: transform 0.3s ease;
}

.page-promotions__promo-card:hover {
  transform: translateY(-5px);
}

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

.page-promotions__promo-content {
  padding: 25px;
}

.page-promotions__promo-title {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--secondary-color);
  margin-bottom: 10px;
  line-height: 1.4;
}

.page-promotions__promo-text {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-main-color);
  margin-bottom: 20px;
}

.page-promotions__btn-link {
  display: inline-block;
  background: var(--primary-color);
  color: #ffffff;
  padding: 10px 20px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 500;
  transition: background-color 0.3s ease;
}

.page-promotions__btn-link:hover {
  background: var(--deep-orange-color);
}

.page-promotions__benefits-section {
  padding: 60px 0;
  background-color: var(--card-bg);
}

.page-promotions__benefits-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

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

.page-promotions__benefit-heading {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--secondary-color);
  margin-bottom: 10px;
}

.page-promotions__benefit-text {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-main-color);
}

.page-promotions__faq-section {
  padding: 60px 0;
  background-color: var(--bg-color);
}

.page-promotions__faq-list {
  max-width: 800px;
  margin: 40px auto 0;
}

.page-promotions__faq-item {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-promotions__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--secondary-color);
  cursor: pointer;
  list-style: none;
  user-select: none;
  background-color: var(--bg-color);
}

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

.page-promotions__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  transition: transform 0.3s ease;
}

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

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

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

.page-promotions__cta-bottom-section {
  padding: 60px 0;
  background-color: var(--card-bg);
  text-align: center;
}

.page-promotions__cta-bottom-content {
  max-width: 700px;
  margin: 0 auto;
}

.page-promotions__cta-bottom-content .page-promotions__btn-primary {
  margin-top: 30px;
}

/* General image and button responsiveness */
.page-promotions img {
  max-width: 100%;
  height: auto;
  display: block;
}

.page-promotions__section,
.page-promotions__card,
.page-promotions__container {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

/* Responsive styles for mobile */
@media (max-width: 768px) {
  .page-promotions__hero-section {
    padding-top: 10px !important; /* Ensure small top padding */
    padding-bottom: 30px;
  }

  .page-promotions__hero-container {
    flex-direction: column;
    padding: 30px 15px;
    gap: 30px;
  }

  .page-promotions__hero-content {
    flex: 1 1 100%;
    text-align: center;
  }

  .page-promotions__main-title {
    font-size: 2rem;
    margin-bottom: 15px;
  }

  .page-promotions__hero-description {
    font-size: 1rem;
    margin-bottom: 25px;
  }

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

  .page-promotions__btn-primary,
  .page-promotions__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    padding: 12px 20px;
    font-size: 1rem;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-promotions__hero-image {
    flex: 1 1 100%;
  }

  .page-promotions__content-area {
    padding: 30px 15px;
  }

  .page-promotions__section-title {
    font-size: 1.8rem;
    margin-bottom: 15px;
  }

  .page-promotions__section-description {
    font-size: 0.95rem;
    margin-bottom: 30px;
  }

  .page-promotions__intro-section,
  .page-promotions__promotions-list-section,
  .page-promotions__benefits-section,
  .page-promotions__faq-section,
  .page-promotions__cta-bottom-section {
    padding: 40px 0;
  }

  .page-promotions__icon-boxes {
    flex-direction: column;
    gap: 20px;
  }

  .page-promotions__icon-box {
    min-width: unset;
    flex: 1 1 100%;
  }

  .page-promotions__icon-box-media {
    width: 200px;
    height: 200px;
    border-width: 3px;
  }

  .page-promotions__icon-box-title {
    font-size: 1.3rem;
  }

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

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

  .page-promotions__promo-title {
    font-size: 1.2rem;
  }

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

  .page-promotions__benefit-heading {
    font-size: 1.2rem;
  }

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

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

  .page-promotions__faq-toggle {
    font-size: 1.3rem;
  }

  .page-promotions__faq-answer {
    padding: 0 20px 15px;
    font-size: 0.95rem;
  }

  /* Universal image and container rules for mobile */
  .page-promotions img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-promotions__section,
  .page-promotions__card,
  .page-promotions__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-promotions__cta-bottom-content .page-promotions__btn-primary {
    margin-top: 20px;
    max-width: 100% !important;
    width: 100% !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}