/* style/promotions.css */

/* Custom Properties based on provided palette */
:root {
  --primary-color: #FF8C1A;
  --secondary-color: #FFA53A;
  --button-gradient: linear-gradient(180deg, #FFA53A 0%, #D96800 100%);
  --card-bg: #17191F;
  --background-color: #0D0E12;
  --text-main-color: #FFF3E6;
  --border-color: #A84F0C;
  --glow-color: #FFB04D;
  --deep-orange: #D96800;

  /* Default text colors for contrast */
  --light-text-color: #FFF3E6;
  --dark-text-color: #333333;
}

/* General page styling */
.page-promotions {
  font-family: 'Arial', sans-serif;
  color: var(--text-main-color); /* Default text color for the page */
  background-color: var(--background-color); /* Overall page background */
  line-height: 1.6;
  padding-bottom: 50px; /* Some padding at the bottom */
}

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

.page-promotions__section-title {
  font-size: 3em;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  line-height: 1.2;
  text-shadow: 0 0 10px rgba(255, 175, 58, 0.5);
}

.page-promotions__text-main {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 30px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: var(--light-text-color);
}

/* Hero Section */
.page-promotions__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding as body handles header offset */
  background-color: var(--background-color);
}

.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 full width for content inside container */
}

.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: 12px;
  object-fit: cover;
  box-shadow: 0 0 20px rgba(255, 175, 58, 0.6);
}

.page-promotions__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
  color: var(--light-text-color);
}

.page-promotions__main-title {
  font-size: clamp(2.2em, 5vw, 3.8em); /* Clamp for responsive H1 */
  color: var(--secondary-color);
  margin-bottom: 15px;
  font-weight: 900;
  line-height: 1.2;
  text-shadow: 0 0 15px rgba(255, 175, 58, 0.8);
}

.page-promotions__hero-description {
  font-size: 1.2em;
  max-width: 800px;
  margin: 0 auto 30px auto;
  color: var(--light-text-color);
}

.page-promotions__cta-button {
  display: inline-block;
  padding: 18px 45px;
  background: var(--button-gradient);
  color: #ffffff;
  text-decoration: none;
  border-radius: 8px;
  font-size: 1.2em;
  font-weight: bold;
  margin-top: 20px;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(255, 140, 26, 0.4);
  border: none;
}

.page-promotions__cta-button:hover {
  background: var(--primary-color);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(255, 140, 26, 0.6);
}

.page-promotions__cta-button--small {
  padding: 12px 30px;
  font-size: 1em;
}

.page-promotions__cta-button--large {
  padding: 22px 60px;
  font-size: 1.4em;
}

/* Intro Section */
.page-promotions__intro-section {
  padding: 80px 0;
  background-color: var(--card-bg); /* Dark background for contrast */
  color: var(--light-text-color);
}

.page-promotions__dark-bg {
  background-color: var(--card-bg);
  color: var(--light-text-color);
}

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

.page-promotions__card {
  background-color: var(--background-color);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--border-color);
}

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

.page-promotions__card img {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  border: 1px solid var(--border-color);
}

.page-promotions__card-title {
  font-size: 1.5em;
  color: var(--secondary-color);
  margin-bottom: 15px;
  font-weight: bold;
}

/* Types Section */
.page-promotions__types-section {
  padding: 80px 0;
  background-color: var(--background-color);
  color: var(--light-text-color);
}

.page-promotions__promotion-category {
  background-color: var(--card-bg);
  border-radius: 12px;
  padding: 40px;
  margin-bottom: 30px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-color);
}

.page-promotions__category-title {
  font-size: 2em;
  color: var(--primary-color);
  margin-bottom: 20px;
  font-weight: bold;
  border-bottom: 2px solid var(--border-color);
  padding-bottom: 10px;
}

.page-promotions__promotion-category ul {
  list-style: none;
  padding-left: 0;
  margin-top: 20px;
}

.page-promotions__promotion-category ul li {
  margin-bottom: 10px;
  padding-left: 25px;
  position: relative;
  font-size: 1.05em;
}

.page-promotions__promotion-category ul li::before {
  content: '✓';
  color: var(--secondary-color);
  position: absolute;
  left: 0;
  font-weight: bold;
}

/* Claim Guide Section */
.page-promotions__claim-guide {
  padding: 80px 0;
  background-color: var(--card-bg);
  color: var(--light-text-color);
}

.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: var(--background-color);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-color);
  position: relative;
  overflow: hidden;
}

.page-promotions__step-number {
  position: absolute;
  top: -15px;
  left: -15px;
  background-color: var(--primary-color);
  color: #ffffff;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2em;
  font-weight: bold;
  box-shadow: 0 0 15px rgba(255, 140, 26, 0.7);
}

.page-promotions__step-title {
  font-size: 1.6em;
  color: var(--secondary-color);
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-promotions__step-card img {
  width: 100%;
  
  object-fit: cover;
  border-radius: 8px;
  margin-top: 20px;
  border: 1px solid var(--border-color);
}

/* Terms Section */
.page-promotions__terms-section {
  padding: 80px 0;
  background-color: var(--background-color);
  color: var(--light-text-color);
}

.page-promotions__terms-list {
  list-style: decimal;
  padding-left: 25px;
  max-width: 900px;
  margin: 30px auto;
  font-size: 1.05em;
}

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

.page-promotions__note {
  text-align: center;
  font-style: italic;
  margin-top: 40px;
  color: var(--glow-color);
}

/* Why Choose Section */
.page-promotions__why-choose-section {
  padding: 80px 0;
  background-color: var(--card-bg);
  color: var(--light-text-color);
}

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

.page-promotions__benefit-item {
  background-color: var(--background-color);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-color);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-promotions__benefit-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(255, 175, 58, 0.3);
}

.page-promotions__benefit-item img {
  
  
  object-fit: contain;
  margin-bottom: 20px;
  border-radius: 50%;
  border: 2px solid var(--secondary-color);
  padding: 10px;
  background-color: rgba(255, 175, 58, 0.1);
}

.page-promotions__benefit-title {
  font-size: 1.5em;
  color: var(--secondary-color);
  margin-bottom: 15px;
  font-weight: bold;
}

/* FAQ Section */
.page-promotions__faq-section {
  padding: 80px 0;
  background-color: var(--background-color);
  color: var(--light-text-color);
}

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

details.page-promotions__faq-item {
  margin-bottom: 15px;
  border-radius: 10px;
  border: 1px solid var(--border-color);
  overflow: hidden;
  background: var(--card-bg);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

details.page-promotions__faq-item summary.page-promotions__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
  color: var(--light-text-color);
  font-size: 1.1em;
  font-weight: bold;
}

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: rgba(255, 140, 26, 0.1); /* Lighter hover for dark background */
}

.page-promotions__faq-qtext {
  flex: 1;
  font-size: 1.1em;
  font-weight: bold;
  line-height: 1.5;
  text-align: left;
  color: var(--light-text-color);
}

.page-promotions__faq-toggle {
  font-size: 2em;
  font-weight: bold;
  color: var(--primary-color);
  flex-shrink: 0;
  margin-left: 15px;
  width: 30px;
  text-align: center;
}

details.page-promotions__faq-item .page-promotions__faq-answer {
  padding: 0 25px 25px;
  background: var(--background-color);
  border-radius: 0 0 10px 10px;
  color: var(--light-text-color);
  font-size: 1.05em;
}

details.page-promotions__faq-item .page-promotions__faq-answer p {
  margin-top: 10px;
}

/* Final CTA Section */
.page-promotions__cta-section {
  padding: 80px 0;
  background-color: var(--card-bg);
  text-align: center;
  color: var(--light-text-color);
}


/* Responsive Design */
@media (max-width: 1024px) {
  .page-promotions__section-title {
    font-size: 2.5em;
  }
  .page-promotions__hero-description {
    font-size: 1.1em;
  }
  .page-promotions__cta-button {
    padding: 15px 35px;
    font-size: 1.1em;
  }
  .page-promotions__main-title {
    font-size: clamp(2em, 4.5vw, 3.2em);
  }
}

@media (max-width: 768px) {
  .page-promotions {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-promotions__container {
    padding: 0 15px;
  }
  .page-promotions__hero-section {
    padding-top: 10px !important; /* Small top padding for mobile */
    padding-bottom: 40px;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-promotions__hero-image img {
    border-radius: 8px;
  }
  .page-promotions__main-title {
    font-size: clamp(1.8em, 7vw, 2.8em);
  }
  .page-promotions__hero-description {
    font-size: 1em;
    margin-bottom: 20px;
  }
  .page-promotions__cta-button {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 15px 20px;
    font-size: 1em;
  }
  .page-promotions__cta-button--large {
    padding: 18px 25px;
    font-size: 1.1em;
  }
  .page-promotions__cta-button--small {
    padding: 10px 20px;
    font-size: 0.9em;
  }

  .page-promotions__section-title {
    font-size: 2em;
    margin-bottom: 30px;
  }
  .page-promotions__text-main {
    font-size: 1em;
  }

  .page-promotions__feature-cards,
  .page-promotions__steps-grid,
  .page-promotions__benefits-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-promotions__card,
  .page-promotions__promotion-category,
  .page-promotions__step-card,
  .page-promotions__benefit-item {
    padding: 25px;
    border-radius: 8px;
  }

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

  .page-promotions__category-title {
    font-size: 1.5em;
  }
  .page-promotions__promotion-category ul li {
    font-size: 0.95em;
  }

  .page-promotions__step-title {
    font-size: 1.3em;
    margin-top: 20px;
  }
  .page-promotions__step-card img {
    
  }

  .page-promotions__terms-list {
    font-size: 0.95em;
    padding-left: 20px;
  }

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

  details.page-promotions__faq-item {
    border-radius: 8px;
  }
  details.page-promotions__faq-item summary.page-promotions__faq-question {
    padding: 15px 20px;
    font-size: 1em;
  }
  .page-promotions__faq-qtext {
    font-size: 1em;
  }
  .page-promotions__faq-toggle {
    font-size: 1.8em;
    width: 25px;
    height: 25px;
  }
  details.page-promotions__faq-item .page-promotions__faq-answer {
    padding: 0 20px 20px;
    font-size: 1em;
  }

  /* Mobile image responsive rules */
  .page-promotions img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-promotions__section,
  .page-promotions__card,
  .page-promotions__container,
  .page-promotions__hero-container,
  .page-promotions__hero-content,
  .page-promotions__feature-cards,
  .page-promotions__steps-grid,
  .page-promotions__benefits-grid,
  .page-promotions__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !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-direction: column; /* Ensure vertical stacking for multiple buttons */
    gap: 10px;
  }
}