/* style/promotions.css */

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

/* Fixed header spacing - body padding-top is handled by shared.css */
/* Hero section should only have a small top padding */
.page-promotions__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px; /* Default padding */
  padding-top: 10px; /* Small top padding, body handles the main offset */
  background: linear-gradient(180deg, #0A0A0A 0%, #111111 100%);
  overflow: hidden;
}

.page-promotions__hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%; /* Ensure it takes full width for flex item */
}

.page-promotions__hero-image {
  width: 100%;
  margin-bottom: 30px;
}

.page-promotions__hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
  border: 1px solid #3A2A12; /* Border */
}

.page-promotions__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
  max-width: 900px;
  padding: 0 15px;
}

.page-promotions__main-title {
  font-size: 3.2em;
  color: #FFD36B; /* Glow color for emphasis */
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 0 0 10px rgba(255, 211, 107, 0.5);
  font-weight: bold;
}

.page-promotions__description {
  font-size: 1.2em;
  color: #FFF6D6; /* Text Main */
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* CTA Button Styles */
.page-promotions__cta-button,
.page-promotions__btn-primary,
.page-promotions__btn-secondary {
  display: inline-block;
  padding: 15px 40px;
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Button color */
  color: #111111; /* Dark text on gold button for contrast */
  text-decoration: none;
  border-radius: 5px;
  font-size: 1.1em;
  font-weight: bold;
  margin-top: 20px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 5px 15px rgba(242, 193, 78, 0.4);
  max-width: 100%; /* Responsive button */
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-promotions__cta-button:hover,
.page-promotions__btn-primary:hover,
.page-promotions__btn-secondary:hover {
  background: linear-gradient(180deg, #FFD36B 0%, #F2C14E 100%); /* Slightly brighter on hover */
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(242, 193, 78, 0.6);
}

/* General Section Styles */
.page-promotions__section {
  padding: 80px 0;
  border-bottom: 1px solid #3A2A12; /* Border */
}

.page-promotions__section:last-of-type {
  border-bottom: none;
}

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

.page-promotions__section-title {
  font-size: 2.5em;
  color: #FFD36B; /* Glow color */
  text-align: center;
  margin-bottom: 40px;
  text-shadow: 0 0 8px rgba(255, 211, 107, 0.4);
}

.page-promotions__intro-section p {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: #FFF6D6; /* Text Main */
  text-align: justify;
}

/* Image wrappers for content images */
.page-promotions__image-wrapper {
    margin: 40px auto;
    max-width: 1000px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid #3A2A12; /* Border */
}

.page-promotions__image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

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

.page-promotions__card {
  background-color: #111111; /* Card BG */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
  border: 1px solid #3A2A12; /* Border */
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-promotions__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

.page-promotions__card-image-wrapper {
    width: 100%;
    height: 200px; /* Fixed height for card images */
    overflow: hidden;
}

.page-promotions__card-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.page-promotions__card-content {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

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

.page-promotions__card-content p {
  font-size: 1em;
  color: #FFF6D6; /* Text Main */
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-promotions__card-content .page-promotions__btn-primary {
  width: 100%;
  text-align: center;
  margin-top: auto; /* Push button to bottom */
}

/* How to Claim Section */
.page-promotions__how-to-claim-section {
  background-color: #0A0A0A; /* Background */
}

.page-promotions__steps-list {
  list-style: none;
  padding: 0;
  counter-reset: step-counter;
}

.page-promotions__steps-list li {
  background-color: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 8px;
  padding: 30px;
  margin-bottom: 20px;
  position: relative;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
  padding-left: 80px; /* Space for step number */
}

.page-promotions__steps-list li::before {
  counter-increment: step-counter;
  content: counter(step-counter);
  position: absolute;
  left: 25px;
  top: 25px;
  background-color: #F2C14E; /* Primary color */
  color: #111111; /* Dark text on gold */
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5em;
  font-weight: bold;
  box-shadow: 0 2px 8px rgba(242, 193, 78, 0.4);
}

.page-promotions__step-title {
  color: #F2C14E; /* Primary color */
  font-size: 1.3em;
  margin-bottom: 10px;
}

.page-promotions__steps-list p {
  color: #FFF6D6; /* Text Main */
}

.page-promotions__steps-list a {
  color: #FFD36B; /* Glow color for links */
  text-decoration: none;
}

.page-promotions__steps-list a:hover {
  text-decoration: underline;
}

/* Terms and Conditions Section */
.page-promotions__terms-section {
  background-color: #0A0A0A; /* Background */
}

.page-promotions__terms-list {
  list-style: disc;
  padding-left: 25px;
  color: #FFF6D6; /* Text Main */
  font-size: 1.05em;
}

.page-promotions__terms-list li {
  margin-bottom: 10px;
}

.page-promotions__terms-section a {
  color: #FFD36B; /* Glow color for links */
  text-decoration: none;
}

.page-promotions__terms-section a:hover {
  text-decoration: underline;
}

/* FAQ Section */
.page-promotions__faq-section {
  background-color: #111111; /* Card BG */
  padding: 80px 0;
}

.page-promotions__faq-intro {
  text-align: center;
  margin-bottom: 40px;
  font-size: 1.1em;
  color: #FFF6D6; /* Text Main */
}

details.page-promotions__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #3A2A12; /* Border */
  overflow: hidden;
  background: #0A0A0A; /* Background for FAQ item */
}
details.page-promotions__faq-item summary.page-promotions__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
  color: #FFF6D6; /* Text Main */
}
details.page-promotions__faq-item summary.page-promotions__faq-question::-webkit-details-marker {
  display: none;
}
details.page-promotions__faq-item summary.page-promotions__faq-question:hover {
  background: #111111; /* Slightly darker on hover */
}
.page-promotions__faq-qtext {
  flex: 1;
  font-size: 1.1em;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #F2C14E; /* Primary color */
}
.page-promotions__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #FFD36B; /* Glow color */
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}
details.page-promotions__faq-item .page-promotions__faq-answer {
  padding: 0 20px 20px;
  background: #0A0A0A; /* Background for FAQ answer */
  border-radius: 0 0 5px 5px;
  color: #FFF6D6; /* Text Main */
}
.page-promotions__faq-answer p {
  margin-bottom: 0;
}
.page-promotions__faq-answer a {
  color: #FFD36B; /* Glow color for links */
  text-decoration: none;
}
.page-promotions__faq-answer a:hover {
  text-decoration: underline;
}

/* Why Choose Section */
.page-promotions__why-choose-section {
  background-color: #0A0A0A; /* Background */
  padding-bottom: 80px;
}

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

.page-promotions__advantages-list li {
  background-color: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 8px;
  padding: 30px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-promotions__advantages-list li:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

.page-promotions__advantage-title {
  font-size: 1.4em;
  color: #F2C14E; /* Primary color */
  margin-bottom: 15px;
  font-weight: bold;
}

.page-promotions__advantages-list p {
  color: #FFF6D6; /* Text Main */
}

.page-promotions__cta-bottom {
  text-align: center;
  margin-top: 60px;
  font-size: 1.2em;
  color: #FFF6D6; /* Text Main */
}

.page-promotions__cta-bottom .page-promotions__btn-primary {
    padding: 18px 50px;
    font-size: 1.2em;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-promotions__main-title {
    font-size: 2.8em;
  }
  .page-promotions__section-title {
    font-size: 2em;
  }
  .page-promotions__card-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

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

  /* Fixed header spacing - body padding-top is handled by shared.css */
  .page-promotions__hero-section {
    padding-top: 10px !important; /* Mobile small top padding */
    padding-bottom: 40px;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-promotions__hero-image img {
    border-radius: 4px;
  }

  .page-promotions__hero-content {
    padding: 0 10px;
  }

  .page-promotions__main-title {
    font-size: 2.2em;
    margin-bottom: 15px;
  }

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

  .page-promotions__cta-button {
    padding: 12px 30px;
    font-size: 1em;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    margin-top: 15px;
  }

  /* Section and container padding for mobile */
  .page-promotions__section {
    padding: 50px 0;
  }

  .page-promotions__container {
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-promotions__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }

  .page-promotions__intro-section p {
    font-size: 0.95em;
  }

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

  .page-promotions__card-image-wrapper {
    height: 180px;
  }

  .page-promotions__card-content {
    padding: 20px;
  }

  .page-promotions__card-title {
    font-size: 1.3em;
  }

  .page-promotions__card-content p {
    font-size: 0.95em;
  }

  .page-promotions__card-content .page-promotions__btn-primary {
    padding: 12px 20px;
    font-size: 0.95em;
  }

  .page-promotions__steps-list li {
    padding: 20px;
    padding-left: 65px;
    margin-bottom: 15px;
  }

  .page-promotions__steps-list li::before {
    width: 35px;
    height: 35px;
    font-size: 1.3em;
    left: 20px;
    top: 20px;
  }

  .page-promotions__step-title {
    font-size: 1.1em;
  }

  .page-promotions__terms-list {
    font-size: 0.95em;
  }

  .page-promotions__faq-section {
    padding: 50px 0;
  }

  details.page-promotions__faq-item summary.page-promotions__faq-question {
    padding: 15px;
    flex-wrap: wrap; /* Allow wrapping */
  }

  .page-promotions__faq-qtext {
    font-size: 1em;
    width: calc(100% - 40px); /* Adjust width for toggle */
  }

  .page-promotions__faq-toggle {
    font-size: 20px;
    width: 24px;
    height: 24px;
    margin-left: 10px;
  }

  details.page-promotions__faq-item .page-promotions__faq-answer {
    padding: 0 15px 15px;
  }

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

  .page-promotions__advantages-list li {
    padding: 25px;
  }

  .page-promotions__advantage-title {
    font-size: 1.2em;
  }

  .page-promotions__cta-bottom {
    margin-top: 40px;
    font-size: 1.1em;
  }

  .page-promotions__cta-bottom .page-promotions__btn-primary {
    padding: 15px 35px;
    font-size: 1.1em;
  }

  /* Ensure all images are responsive and don't overflow */
  .page-promotions img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  /* Ensure button containers are responsive */
  .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;
  }

  /* If buttons are in a flex container, make them stack vertically or wrap */
  .page-promotions__cta-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .page-promotions__cta-bottom .page-promotions__btn-primary {
      width: auto; /* Allow button to shrink if text is short */
      min-width: 200px; /* Ensure minimum width */
  }
}

@media (max-width: 480px) {
  .page-promotions__main-title {
    font-size: 1.8em;
  }
  .page-promotions__section-title {
    font-size: 1.6em;
  }
  .page-promotions__cta-button {
    font-size: 0.9em;
    padding: 10px 25px;
  }
}

/* Contrast Fixes - applying to the main content area if needed */
/* Based on the color scheme, #FFF6D6 on #0A0A0A or #111111 should have good contrast.
   Buttons are #111111 on gold gradient, which is also good.
   Titles are #FFD36B on dark, also good.
   So explicit contrast fixes might not be needed, but classes are defined for robustness. */

.page-promotions__contrast-fix {
  background: #ffffff !important;
  color: #333333 !important;
  border: 1px solid #e0e0e0 !important;
}

.page-promotions__text-contrast-fix {
  color: #333333 !important;
  text-shadow: none !important;
}