/* style/promotions.css */

.page-promotions {
  background-color: #08160F; /* Nền tối theo custom配色 */
  color: #F2FFF6; /* Text Main theo custom配色 */
  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;
  justify-content: center;
  padding: 60px 20px;
  padding-top: 10px; /* Nhỏ hơn so với --header-offset */
  text-align: center;
  overflow: hidden;
  background-color: #08160F;
}

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

.page-promotions__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.4); /* Làm mờ ảnh để chữ nổi bật */
  display: block;
}

.page-promotions__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  color: #F2FFF6;
}

.page-promotions__main-title {
  font-size: clamp(2em, 4vw, 3.5em);
  font-weight: bold;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #F2FFF6;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-promotions__subtitle {
  font-size: clamp(1em, 1.8vw, 1.25em);
  margin-bottom: 30px;
  color: #A7D9B8; /* Text Secondary */
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-promotions__cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.page-promotions__btn-primary,
.page-promotions__btn-secondary,
.page-promotions__card-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 25px;
  border-radius: 8px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
  max-width: 100%;
}

.page-promotions__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button color */
  color: #F2FFF6; /* Text Main */
  border: 2px solid #2E7A4E; /* Border color */
}

.page-promotions__btn-primary:hover {
  filter: brightness(1.1);
  box-shadow: 0 0 15px #57E38D; /* Glow color */
}

.page-promotions__btn-secondary {
  background: #11271B; /* Card BG */
  color: #57E38D; /* Glow color */
  border: 2px solid #2E7A4E; /* Border color */
}

.page-promotions__btn-secondary:hover {
  background: #0A4B2C; /* Deep Green */
  color: #F2FFF6;
  box-shadow: 0 0 15px #2AD16F;
}

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

.page-promotions__section {
  padding: 40px 20px;
  background-color: #08160F;
  color: #F2FFF6;
}

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

.page-promotions__section-title {
  font-size: clamp(1.8em, 3vw, 2.5em);
  color: #F2C14E; /* Gold color */
  text-align: center;
  margin-bottom: 30px;
  font-weight: bold;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.page-promotions__paragraph {
  font-size: 1.05em;
  color: #A7D9B8;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 30px auto;
}

.page-promotions__image-full-width {
  width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 10px;
  object-fit: cover;
  min-width: 200px;
  min-height: 200px;
}

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

.page-promotions__card {
  background-color: #11271B; /* Card BG */
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid #2E7A4E; /* Border color */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-promotions__card-title {
  font-size: 1.5em;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 15px;
  font-weight: bold;
}

.page-promotions__card-text {
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-promotions__card-button {
  margin-top: auto;
}

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

.page-promotions__step-item {
  background-color: #11271B;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid #2E7A4E;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-promotions__step-icon {
  width: 120px;
  height: 120px;
  object-fit: contain;
  margin-bottom: 20px;
  min-width: 200px;
  min-height: 200px;
}

.page-promotions__step-title {
  font-size: 1.3em;
  color: #F2C14E; /* Gold color */
  margin-bottom: 15px;
  font-weight: bold;
}

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

.page-promotions__info-box {
  background-color: #11271B;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid #2E7A4E;
}

.page-promotions__info-title {
  font-size: 1.4em;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 15px;
  font-weight: bold;
}

.page-promotions__list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-promotions__list-item {
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 10px;
  position: relative;
  padding-left: 25px;
}

.page-promotions__list-item::before {
  content: '•';
  color: #2AD16F; /* Button gradient start color */
  position: absolute;
  left: 0;
  font-weight: bold;
  font-size: 1.2em;
  line-height: 1;
}

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

.page-promotions__faq-item {
  background-color: #11271B;
  border-radius: 12px;
  margin-bottom: 15px;
  border: 1px solid #2E7A4E;
  color: #F2FFF6;
}

.page-promotions__faq-item summary {
  list-style: none;
  padding: 20px 25px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: bold;
  font-size: 1.2em;
  color: #F2C14E; /* Gold color */
  transition: color 0.3s ease;
}

.page-promotions__faq-item summary:hover {
  color: #57E38D; /* Glow color */
}

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

.page-promotions__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  color: #2AD16F;
}

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

.page-promotions__faq-answer {
  padding: 0 25px 20px 25px;
  color: #A7D9B8;
  font-size: 1em;
  line-height: 1.7;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-promotions__hero-content {
    padding: 0 15px;
  }
}

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

  .page-promotions__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important;
  }

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

  .page-promotions__subtitle {
    font-size: clamp(0.9em, 3.5vw, 1.1em);
  }

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

  .page-promotions__btn-primary,
  .page-promotions__btn-secondary,
  .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__section-title {
    font-size: clamp(1.6em, 6vw, 2em);
  }

  .page-promotions__paragraph {
    font-size: 0.95em;
    margin-bottom: 20px;
  }

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

  .page-promotions__card,
  .page-promotions__step-item,
  .page-promotions__info-box,
  .page-promotions__faq-item {
    padding: 20px;
  }

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

  .page-promotions__section,
  .page-promotions__card,
  .page-promotions__container,
  .page-promotions__hero-section,
  .page-promotions__cta-section,
  .page-promotions__steps-grid,
  .page-promotions__info-grid,
  .page-promotions__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  .page-promotions__step-icon {
    min-width: 200px;
    min-height: 200px;
  }

  .page-promotions__faq-item summary {
    font-size: 1.1em;
  }
}