/* style/promotions.css */

/* Base styles for the promotions page */
.page-promotions {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #FFF3E6; /* Text Main */
  background-color: #0D0E12; /* Background */
}

.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__section-title {
  font-size: clamp(28px, 4vw, 42px);
  color: #FF8C1A; /* Main color */
  margin-bottom: 30px;
  font-weight: bold;
}

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

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

.page-promotions__hero-image-wrapper {
  width: 100%;
  max-height: 600px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 40px; /* Space between image and content */
}

.page-promotions__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  min-height: 200px; /* Ensure minimum size */
}

.page-promotions__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-promotions__main-title {
  font-size: clamp(36px, 5vw, 60px);
  color: #FFB04D; /* Glow */
  margin-bottom: 20px;
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -1px;
}

.page-promotions__subtitle {
  font-size: 20px;
  margin-bottom: 30px;
  color: #FFF3E6; /* Text Main */
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-promotions__cta-button {
  display: inline-block;
  padding: 15px 30px;
  background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%); /* Button gradient */
  color: #ffffff;
  text-decoration: none;
  border-radius: 8px;
  font-size: 20px;
  font-weight: bold;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(255, 140, 26, 0.4);
}

.page-promotions__cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 140, 26, 0.6);
}

.page-promotions__cta-button--center {
  margin-top: 30px;
}

/* Image styles */
.page-promotions__image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 40px auto;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
  min-width: 200px;
  min-height: 200px;
}

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

.page-promotions__card {
  background-color: #17191F; /* Card BG */
  border: 1px solid #A84F0C; /* Border */
  border-radius: 12px;
  padding: 30px;
  text-align: left;
  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;
  justify-content: space-between;
}

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

.page-promotions__card-title {
  font-size: 24px;
  color: #FFB04D; /* Glow */
  margin-bottom: 15px;
  font-weight: bold;
}

.page-promotions__card-description {
  font-size: 16px;
  color: #FFF3E6; /* Text Main */
  margin-bottom: 25px;
  flex-grow: 1;
}

.page-promotions__card-button {
  display: inline-block;
  padding: 10px 20px;
  background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%); /* Button gradient */
  color: #ffffff;
  text-decoration: none;
  border-radius: 6px;
  font-size: 16px;
  font-weight: bold;
  transition: background 0.3s ease;
  border: none;
  cursor: pointer;
  text-align: center;
  white-space: normal;
  word-wrap: break-word;
}

.page-promotions__card-button:hover {
  background: linear-gradient(180deg, #D96800 0%, #FFA53A 100%);
}

/* Steps List */
.page-promotions__steps-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-top: 40px;
}

.page-promotions__step-item {
  background-color: #17191F; /* Card BG */
  border: 1px solid #A84F0C; /* Border */
  border-radius: 12px;
  padding: 30px;
  text-align: left;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  flex: 1 1 calc(50% - 30px);
  max-width: calc(50% - 30px);
  box-sizing: border-box;
}

.page-promotions__step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: #FF8C1A;
  color: #ffffff;
  border-radius: 50%;
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 15px;
}

.page-promotions__step-title {
  font-size: 22px;
  color: #FFB04D; /* Glow */
  margin-bottom: 10px;
  font-weight: bold;
}

.page-promotions__step-description {
  font-size: 16px;
  color: #FFF3E6; /* Text Main */
}

/* Benefits List */
.page-promotions__benefits-list {
  list-style: none;
  padding: 0;
  margin: 40px auto;
  max-width: 900px;
  text-align: left;
}

.page-promotions__benefit-item {
  background-color: #17191F; /* Card BG */
  border-left: 5px solid #FF8C1A;
  padding: 20px;
  margin-bottom: 15px;
  border-radius: 8px;
  font-size: 18px;
  color: #FFF3E6; /* Text Main */
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

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

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

.page-promotions__faq-item {
  background-color: #17191F; /* Card BG */
  border: 1px solid #A84F0C; /* Border */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-promotions__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-size: 20px;
  font-weight: bold;
  color: #FFB04D; /* Glow */
  background-color: #17191F;
  user-select: none;
  list-style: none;
}

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

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

.page-promotions__faq-answer {
  padding: 0 25px 20px 25px;
  font-size: 16px;
  color: #FFF3E6; /* Text Main */
}

.page-promotions__faq-item[open] .page-promotions__faq-question {
  border-bottom: 1px solid #A84F0C;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-promotions__hero-image-wrapper {
    max-height: 500px;
  }
  .page-promotions__main-title {
    font-size: clamp(32px, 5vw, 50px);
  }
  .page-promotions__subtitle {
    font-size: 18px;
  }
  .page-promotions__grid-layout {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
  .page-promotions__step-item {
    flex: 1 1 calc(100% - 20px);
    max-width: calc(100% - 20px);
  }
}

@media (max-width: 768px) {
  .page-promotions__hero-section {
    padding: 10px 0 40px 0;
  }
  .page-promotions__hero-image-wrapper {
    max-height: 400px;
    margin-bottom: 30px;
  }
  .page-promotions__main-title {
    font-size: clamp(28px, 6vw, 40px);
  }
  .page-promotions__subtitle {
    font-size: 16px;
  }
  .page-promotions__cta-button {
    font-size: 18px;
    padding: 12px 25px;
  }
  .page-promotions__section {
    padding: 40px 0;
  }
  .page-promotions__section-title {
    font-size: clamp(24px, 5vw, 36px);
  }
  .page-promotions__text-block {
    font-size: 16px;
  }
  .page-promotions__image {
    margin: 30px auto;
  }
  .page-promotions__grid-layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-promotions__card {
    padding: 25px;
  }
  .page-promotions__card-title {
    font-size: 20px;
  }
  .page-promotions__card-description {
    font-size: 15px;
  }
  .page-promotions__card-button {
    font-size: 15px;
    padding: 10px 15px;
  }
  .page-promotions__steps-list {
    gap: 20px;
  }
  .page-promotions__step-item {
    padding: 25px;
  }
  .page-promotions__step-number {
    width: 35px;
    height: 35px;
    font-size: 20px;
  }
  .page-promotions__step-title {
    font-size: 20px;
  }
  .page-promotions__step-description {
    font-size: 15px;
  }
  .page-promotions__benefits-list {
    margin: 30px auto;
  }
  .page-promotions__benefit-item {
    font-size: 16px;
    padding: 15px;
  }
  .page-promotions__faq-question {
    font-size: 18px;
    padding: 15px 20px;
  }
  .page-promotions__faq-toggle {
    font-size: 24px;
  }
  .page-promotions__faq-answer {
    font-size: 15px;
    padding: 0 20px 15px 20px;
  }

  /* Mobile specific image adaptation */
  .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__hero-section {
    padding-top: 10px !important; /* body already handles --header-offset */
  }

  /* Mobile button adaptation */
  .page-promotions__cta-button,
  .page-promotions__card-button,
  .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__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;
  }
  .page-promotions__cta-buttons {
    display: flex;
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .page-promotions__hero-image-wrapper {
    max-height: 300px;
  }
  .page-promotions__hero-content {
    padding: 0 15px;
  }
  .page-promotions__section {
    padding: 30px 0;
  }
  .page-promotions__section-title {
    font-size: clamp(22px, 6vw, 30px);
  }
  .page-promotions__text-block {
    font-size: 15px;
  }
  .page-promotions__card {
    padding: 20px;
  }
  .page-promotions__card-title {
    font-size: 18px;
  }
  .page-promotions__card-description {
    font-size: 14px;
  }
  .page-promotions__step-item {
    padding: 20px;
  }
  .page-promotions__step-title {
    font-size: 18px;
  }
  .page-promotions__step-description {
    font-size: 14px;
  }
  .page-promotions__benefit-item {
    font-size: 15px;
  }
  .page-promotions__faq-question {
    font-size: 16px;
    padding: 12px 15px;
  }
  .page-promotions__faq-toggle {
    font-size: 22px;
  }
  .page-promotions__faq-answer {
    font-size: 14px;
    padding: 0 15px 12px 15px;
  }
}