/* style/promo.css */

/* General page styling */
.page-promo {
  font-family: Arial, sans-serif;
  color: #FFF6D6; /* Main text color for dark background */
  background-color: #0A0A0A; /* Main background color */
  line-height: 1.6;
  padding-top: 10px; /* Small top padding for the first section, body handles header offset */
}

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

.page-promo__section-title {
  font-size: clamp(2em, 4vw, 2.8em); /* Responsive font size */
  color: #F2C14E; /* Main brand color for titles */
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: 0.05em;
}

.page-promo__section-description {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #FFF6D6;
}

/* Hero Section */
.page-promo__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column; /* Image on top, content below */
  align-items: center;
  padding: 0 0 60px 0; /* No top padding, body handles it. Bottom padding for separation */
  overflow: hidden;
}

.page-promo__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  margin-bottom: 40px; /* Space between image and content */
}

.page-promo__hero-content {
  text-align: center;
  max-width: 900px;
  padding: 0 20px;
}

.page-promo__main-title {
  font-size: clamp(2.5em, 5vw, 3.5em); /* Responsive H1 font size */
  color: #FFD36B; /* Auxiliary brand color for H1 */
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: 0.05em;
  text-shadow: 0 0 10px rgba(255, 211, 107, 0.5); /* Subtle glow */
}

.page-promo__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #FFF6D6;
}

.page-promo__cta-buttons {
  display: flex;
  flex-wrap: wrap; /* Allow wrapping on small screens */
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

.page-promo__btn-primary,
.page-promo__btn-secondary,
.page-promo__btn-small {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  box-sizing: border-box;
  text-align: center;
  white-space: normal;
  word-wrap: break-word;
}

.page-promo__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #ffffff;
  border: 2px solid transparent;
  box-shadow: 0 5px 15px rgba(242, 193, 78, 0.4);
}

.page-promo__btn-primary:hover {
  background: linear-gradient(180deg, #FFE08A 0%, #E6B02A 100%);
  box-shadow: 0 8px 20px rgba(242, 193, 78, 0.6);
  transform: translateY(-2px);
}

.page-promo__btn-secondary {
  background: #111111; /* Card BG color */
  color: #F2C14E;
  border: 2px solid #3A2A12; /* Border color */
}

.page-promo__btn-secondary:hover {
  background: #1A1A1A;
  color: #FFD36B;
  border-color: #F2C14E;
  transform: translateY(-2px);
}

.page-promo__btn-small {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #ffffff;
  border: none;
  padding: 10px 20px;
  font-size: 0.9em;
  border-radius: 6px;
  box-shadow: 0 3px 10px rgba(242, 193, 78, 0.3);
}

.page-promo__btn-small:hover {
  background: linear-gradient(180deg, #FFE08A 0%, #E6B02A 100%);
  box-shadow: 0 5px 12px rgba(242, 193, 78, 0.5);
  transform: translateY(-1px);
}


/* Promotions Grid Section */
.page-promo__promotions-grid {
  padding: 80px 0;
  background-color: #0A0A0A; /* Main background color */
}

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

.page-promo__promo-card {
  background-color: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-promo__promo-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4), 0 0 20px rgba(242, 193, 78, 0.3);
}

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

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

.page-promo__card-title {
  font-size: 1.4em;
  color: #FFD36B;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-promo__card-text {
  font-size: 1em;
  color: #FFF6D6;
  margin-bottom: 20px;
  flex-grow: 1;
}

/* How to Claim Section */
.page-promo__how-to-claim {
  padding: 80px 0;
  background-color: #0A0A0A; /* Main background color */
}

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

.page-promo__step-item {
  background-color: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-promo__step-number {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #ffffff;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.8em;
  font-weight: bold;
  margin-bottom: 20px;
  box-shadow: 0 0 15px rgba(242, 193, 78, 0.5);
}

.page-promo__step-title {
  font-size: 1.5em;
  color: #F2C14E;
  margin-bottom: 10px;
}

.page-promo__step-text {
  font-size: 1em;
  color: #FFF6D6;
}

.page-promo__step-text a {
  color: #FFD36B;
  text-decoration: underline;
}

.page-promo__step-text a:hover {
  color: #F2C14E;
}

/* Why Choose Us Section */
.page-promo__why-choose-us {
  padding: 80px 0;
  background-color: #0A0A0A; /* Main background color */
}

.page-promo__content-wrapper {
  display: flex;
  align-items: center;
  gap: 50px;
}

.page-promo__text-content {
  flex: 1;
}

.page-promo__feature-list {
  list-style: none;
  padding: 0;
  margin: 30px 0;
}

.page-promo__feature-list li {
  font-size: 1.1em;
  color: #FFF6D6;
  margin-bottom: 15px;
  position: relative;
  padding-left: 30px;
}

.page-promo__feature-list li::before {
  content: '✓';
  color: #FFD36B;
  position: absolute;
  left: 0;
  font-weight: bold;
  font-size: 1.2em;
}

.page-promo__image-content {
  flex: 1;
  text-align: center;
}

.page-promo__feature-image {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3), 0 0 20px rgba(242, 193, 78, 0.3);
  display: block; /* Ensure it respects max-width */
}

/* FAQ Section */
.page-promo__faq-section {
  padding: 80px 0;
  background-color: #0A0A0A; /* Main background color */
}

.page-promo__faq-list {
  max-width: 900px;
  margin: 40px auto 0 auto;
}

.page-promo__faq-item {
  background-color: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 12px;
  margin-bottom: 20px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-promo__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  background-color: #111111;
  transition: background-color 0.3s ease;
}

.page-promo__faq-question:hover {
  background-color: #1A1A1A;
}

.page-promo__faq-question h3 {
  font-size: 1.2em;
  color: #F2C14E;
  margin: 0;
}

.page-promo__faq-toggle {
  font-size: 1.8em;
  color: #FFD36B;
  font-weight: bold;
  transition: transform 0.3s ease;
}

.page-promo__faq-item.active .page-promo__faq-toggle {
  transform: rotate(45deg); /* Change + to X-like symbol */
}

.page-promo__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px; /* Initial padding 0, will expand */
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
  color: #FFF6D6;
  font-size: 1em;
}

.page-promo__faq-item.active .page-promo__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show content */
  padding: 15px 25px 25px 25px; /* Expanded padding */
}

.page-promo__faq-answer p {
  margin: 0;
  color: #FFF6D6;
}

.page-promo__faq-answer a {
  color: #FFD36B;
  text-decoration: underline;
}

.page-promo__faq-answer a:hover {
  color: #F2C14E;
}


/* Final CTA Section */
.page-promo__cta-section {
  padding: 80px 0;
  text-align: center;
  background-color: #0A0A0A; /* Main background color */
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-promo__hero-image {
    margin-bottom: 30px;
  }
  .page-promo__main-title {
    font-size: clamp(2.2em, 4.5vw, 3em);
  }
  .page-promo__section-title {
    font-size: clamp(1.8em, 3.5vw, 2.5em);
  }
  .page-promo__content-wrapper {
    flex-direction: column;
    gap: 30px;
  }
  .page-promo__image-content {
    order: -1; /* Image appears above text on smaller screens */
  }
}

@media (max-width: 768px) {
  .page-promo {
    padding-top: 10px !important; /* Ensures small top padding, body handles header offset */
  }
  .page-promo__container {
    padding: 0 15px;
  }
  .page-promo__hero-section {
    padding-bottom: 40px;
  }
  .page-promo__main-title {
    font-size: clamp(2em, 7vw, 2.5em); /* Adjust for smaller screens */
    line-height: 1.3;
  }
  .page-promo__hero-description {
    font-size: 1em;
  }
  .page-promo__cta-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100%;
    padding: 0 15px; /* Add padding to container */
    max-width: 100%;
    box-sizing: border-box;
  }
  .page-promo__btn-primary,
  .page-promo__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-promo__promotions-grid,
  .page-promo__how-to-claim,
  .page-promo__why-choose-us,
  .page-promo__faq-section,
  .page-promo__cta-section {
    padding: 50px 0;
  }
  
  .page-promo__grid-cards {
    grid-template-columns: 1fr;
  }

  .page-promo__promo-card {
    margin-bottom: 20px;
  }

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

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

  .page-promo__card-text {
    font-size: 0.9em;
  }

  .page-promo__steps-list {
    grid-template-columns: 1fr;
  }
  
  /* Images responsive */
  .page-promo img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  /* All containers with images/content */
  .page-promo__section,
  .page-promo__card,
  .page-promo__container,
  .page-promo__hero-section,
  .page-promo__promotions-grid,
  .page-promo__how-to-claim,
  .page-promo__why-choose-us,
  .page-promo__faq-section,
  .page-promo__cta-section,
  .page-promo__promo-card,
  .page-promo__step-item,
  .page-promo__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}

@media (max-width: 480px) {
  .page-promo__main-title {
    font-size: clamp(1.8em, 9vw, 2.2em);
  }
  .page-promo__hero-description {
    font-size: 0.9em;
  }
  .page-promo__btn-primary,
  .page-promo__btn-secondary {
    padding: 10px 15px;
    font-size: 0.9em;
  }
  .page-promo__section-description {
    font-size: 0.9em;
  }
  .page-promo__card-title {
    font-size: 1.1em;
  }
  .page-promo__card-text {
    font-size: 0.9em;
  }
  .page-promo__step-title {
    font-size: 1.3em;
  }
  .page-promo__step-text {
    font-size: 0.9em;
  }
  .page-promo__faq-question h3 {
    font-size: 1.1em;
  }
  .page-promo__faq-answer p {
    font-size: 0.9em;
  }
}

/* Ensure images don't have filters */
.page-promo img {
  filter: none !important;
}

/* Specific button group for cta-buttons to handle flex-wrap */
.page-promo__cta-buttons {
  display: flex;
  flex-wrap: wrap; /* Allows buttons to wrap on smaller screens */
  justify-content: center;
  gap: 20px;
}
@media (max-width: 768px) {
  .page-promo__cta-buttons {
    flex-direction: column; /* Stack buttons vertically on mobile */
    gap: 10px;
    padding: 0; /* Remove padding here as it's added to individual buttons */
  }
}