/* style/promotions.css */

/* Base styles */
.page-promotions {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #F2FFF6; /* Text Main */
  background-color: #08160F; /* Background */
  padding-bottom: 50px;
}

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

.page-promotions__section-title {
  font-size: 2.5em;
  color: #F2C14E; /* Gold */
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.5px;
}

.page-promotions__text-block {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 30px;
  color: #A7D9B8; /* Text Secondary */
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* 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: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
}

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

.page-promotions__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(87, 227, 141, 0.4);
}

.page-promotions__btn-secondary {
  background: transparent;
  color: #F2C14E; /* Gold */
  border: 2px solid #F2C14E; /* Gold */
}

.page-promotions__btn-secondary:hover {
  background: rgba(242, 193, 78, 0.1);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(242, 193, 78, 0.2);
}

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

/* Hero Section */
.page-promotions__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 0 60px 0;
  overflow: hidden;
}

.page-promotions__hero-image-wrapper {
  width: 100%;
  max-height: 700px;
  overflow: hidden;
}

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

.page-promotions__hero-content {
  max-width: 900px;
  text-align: center;
  margin-top: 40px;
  padding: 0 20px;
}

.page-promotions__main-title {
  font-size: clamp(2.2em, 4vw, 3.5em);
  color: #F2C14E; /* Gold */
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -1px;
}

.page-promotions__description {
  font-size: 1.2em;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 30px;
}

.page-promotions__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

/* Why Choose Section */
.page-promotions__why-choose-section {
  padding: 80px 0;
  background-color: #11271B; /* Card BG */
}

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

.page-promotions__feature-card {
  background-color: #0A4B2C; /* Deep Green */
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid #2E7A4E; /* Border */
}

.page-promotions__feature-icon {
  width: 100%;
  max-width: 250px;
  height: auto;
  margin-bottom: 20px;
  min-width: 200px;
  min-height: 200px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-promotions__feature-title {
  font-size: 1.8em;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 15px;
}

.page-promotions__feature-description {
  color: #A7D9B8; /* Text Secondary */
  font-size: 1em;
}

/* Hot Promotions Section */
.page-promotions__hot-promotions-section {
  padding: 80px 0;
}

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

.page-promotions__promotion-card {
  background-color: #11271B; /* Card BG */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
  border: 1px solid #2E7A4E; /* Border */
  display: flex;
  flex-direction: column;
}

.page-promotions__promotion-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
  min-width: 200px;
  min-height: 200px;
}

.page-promotions__promotion-content {
  padding: 25px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.page-promotions__promotion-title {
  font-size: 1.6em;
  color: #F2C14E; /* Gold */
  margin-bottom: 15px;
  line-height: 1.3;
}

.page-promotions__promotion-description {
  color: #A7D9B8; /* Text Secondary */
  font-size: 0.95em;
  margin-bottom: 25px;
  flex-grow: 1;
}

.page-promotions__promotion-content .page-promotions__btn-primary,
.page-promotions__promotion-content .page-promotions__btn-secondary {
  width: 100%;
  margin-top: auto; /* Push button to bottom */
}

/* How To Claim Section */
.page-promotions__how-to-claim-section {
  padding: 80px 0;
  background-color: #0A4B2C; /* Deep Green */
}

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

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

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

.page-promotions__step-description {
  color: #A7D9B8; /* Text Secondary */
  font-size: 1em;
  margin-bottom: 25px;
  flex-grow: 1;
}

.page-promotions__step-card .page-promotions__btn-primary,
.page-promotions__step-card .page-promotions__btn-secondary {
  width: 100%;
  margin-top: auto;
}

/* FAQ Section */
.page-promotions__faq-section {
  padding: 80px 0;
}

.page-promotions__faq-list {
  margin-top: 50px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-promotions__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: bold;
  color: #F2FFF6; /* Text Main */
  cursor: pointer;
  background-color: #0A4B2C; /* Deep Green */
  border-bottom: 1px solid #2E7A4E;
}

.page-promotions__faq-question::-webkit-details-marker, /* Hide default marker for Chrome */
.page-promotions__faq-question::marker { /* Hide default marker for Firefox */
  display: none;
}

.page-promotions__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  color: #F2C14E; /* Gold */
}

.page-promotions__faq-answer {
  padding: 20px 25px;
  color: #A7D9B8; /* Text Secondary */
  font-size: 1em;
  border-top: 1px solid #1E3A2A; /* Divider */
}

.page-promotions__faq-item[open] .page-promotions__faq-question {
  border-bottom: none;
}

/* CTA Bottom Section */
.page-promotions__cta-bottom-section {
  padding: 60px 0 80px 0;
  text-align: center;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-promotions__section-title {
    font-size: 2em;
  }
  .page-promotions__main-title {
    font-size: clamp(2em, 5vw, 3em);
  }
  .page-promotions__description {
    font-size: 1.1em;
  }
}

@media (max-width: 768px) {
  .page-promotions {
    font-size: 16px;
    line-height: 1.6;
  }
  
  .page-promotions__container {
    padding-left: 15px !important;
    padding-right: 15px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-promotions__hero-section,
  .page-promotions__why-choose-section,
  .page-promotions__hot-promotions-section,
  .page-promotions__how-to-claim-section,
  .page-promotions__faq-section,
  .page-promotions__cta-bottom-section {
    padding: 40px 0;
  }

  .page-promotions__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  
  .page-promotions__main-title {
    font-size: clamp(1.8em, 6vw, 2.5em);
    line-height: 1.3;
  }

  .page-promotions__description {
    font-size: 1em;
    margin-bottom: 25px;
  }

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

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

  .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__features-grid,
  .page-promotions__promotions-grid,
  .page-promotions__steps-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .page-promotions__feature-card,
  .page-promotions__promotion-card,
  .page-promotions__step-card {
    padding: 25px;
  }

  .page-promotions__feature-title,
  .page-promotions__promotion-title,
  .page-promotions__step-title {
    font-size: 1.5em;
  }
  
  .page-promotions img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    min-width: 200px !important;
    min-height: 200px !important;
  }

  .page-promotions__video-section {
    padding-top: 10px !important; /* body đã xử lý padding-top cho header */
  }
}

/* Ensure all images are responsive and not smaller than 200px */
.page-promotions img {
  max-width: 100%;
  height: auto;
  display: block;
  min-width: 200px;
  min-height: 200px;
}

/* Color Contrast Adjustments (Dark Background #08160F) */
.page-promotions h1, .page-promotions h2, .page-promotions h3, .page-promotions h4, .page-promotions h5, .page-promotions h6 {
  color: #F2C14E; /* Gold for titles */
}

.page-promotions p, .page-promotions li {
  color: #A7D9B8; /* Text Secondary for paragraphs and lists */
}

.page-promotions__faq-question {
  color: #F2FFF6; /* Text Main */
}

.page-promotions__faq-answer {
  color: #A7D9B8; /* Text Secondary */
}