/* style/promotions.css */
:root {
  --primary-color: #1A202C;
  --secondary-color: #FFD700;
  --text-light: #ffffff;
  --text-dark: #333333;
  --bg-dark-body: #121212;
  --bg-dark-section: #1A202C;
  --bg-light-section: #f9f9f9;
  --border-color: #333333;
}

.page-promotions {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-light); /* Body background is dark, so text should be light */
  background-color: var(--bg-dark-body);
  padding-top: 120px; /* Ensure content is not hidden by fixed header - Desktop */
}

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

.page-promotions__hero-section {
  text-align: center;
  padding: 80px 0;
  background-color: var(--bg-dark-section);
  color: var(--text-light);
}

.page-promotions__main-title {
  font-size: 3.2em;
  color: var(--secondary-color);
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-promotions__hero-description {
  font-size: 1.2em;
  max-width: 800px;
  margin: 0 auto 40px;
  color: #f0f0f0;
}

.page-promotions__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

.page-promotions__cta-button {
  display: inline-block;
  padding: 15px 35px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  border: none;
  cursor: pointer;
  max-width: 100%; /* Ensure button doesn't overflow */
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-promotions__btn-primary {
  background-color: var(--secondary-color);
  color: var(--primary-color);
}

.page-promotions__btn-primary:hover {
  background-color: #e6c200;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.page-promotions__btn-secondary {
  background-color: transparent;
  color: var(--secondary-color);
  border: 2px solid var(--secondary-color);
}

.page-promotions__btn-secondary:hover {
  background-color: var(--secondary-color);
  color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.page-promotions__section-title {
  font-size: 2.5em;
  color: var(--secondary-color);
  text-align: center;
  margin-bottom: 40px;
  padding-top: 60px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
}

.page-promotions__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  line-height: 1.7;
  color: var(--text-light);
}

/* Section Specific Styles */
.page-promotions__overview-section,
.page-promotions__terms-section,
.page-promotions__why-choose-section {
  background-color: var(--bg-light-section);
  color: var(--text-dark);
  padding: 80px 0;
}

.page-promotions__overview-section .page-promotions__text-block,
.page-promotions__terms-section .page-promotions__text-block,
.page-promotions__why-choose-section .page-promotions__text-block {
  color: var(--text-dark);
}

.page-promotions__overview-section .page-promotions__section-title,
.page-promotions__terms-section .page-promotions__section-title,
.page-promotions__why-choose-section .page-promotions__section-title {
  color: var(--primary-color);
  text-shadow: none;
}

.page-promotions__types-section,
.page-promotions__guide-section,
.page-promotions__final-cta-section {
  background-color: var(--bg-dark-section);
  color: var(--text-light);
  padding: 80px 0;
}

.page-promotions__types-section .page-promotions__section-title,
.page-promotions__guide-section .page-promotions__section-title,
.page-promotions__final-cta-section .page-promotions__section-title {
  color: var(--secondary-color);
}

.page-promotions__image-full-width {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-top: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  display: block;
}

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

.page-promotions__card {
  background-color: rgba(255, 255, 255, 0.08); /* Slightly transparent white on dark background */
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: var(--text-light);
}

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

.page-promotions__card-image {
  max-width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 25px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

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

.page-promotions__card-description {
  font-size: 1em;
  color: #f0f0f0;
  margin-bottom: 25px;
  flex-grow: 1;
}

.page-promotions__card-button {
  display: inline-block;
  padding: 12px 25px;
  background-color: var(--secondary-color);
  color: var(--primary-color);
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  max-width: 100%; /* Ensure button doesn't overflow */
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-promotions__card-button:hover {
  background-color: #e6c200;
  transform: translateY(-2px);
}

.page-promotions__list {
  list-style: disc;
  margin-left: 25px;
  margin-bottom: 20px;
  color: var(--text-dark);
}

.page-promotions__list-item {
  margin-bottom: 10px;
  font-size: 1.1em;
  line-height: 1.7;
}

.page-promotions__guide-section .page-promotions__numbered-list {
  list-style: decimal;
  margin-left: 25px;
  margin-bottom: 20px;
  color: var(--text-light);
}

.page-promotions__guide-section .page-promotions__list-item strong {
  color: var(--secondary-color);
}

.page-promotions__guide-section .page-promotions__list-item a {
  color: var(--secondary-color);
  text-decoration: underline;
}

.page-promotions__guide-section .page-promotions__list-item a:hover {
  color: #e6c200;
}

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

.page-promotions__feature-item {
  background-color: #ffffff;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  color: var(--text-dark);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-promotions__feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.page-promotions__feature-icon {
  width: 120px; /* Enlarge icon size */
  height: 120px; /* Enlarge icon size */
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-promotions__feature-title {
  font-size: 1.4em;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.page-promotions__feature-description {
  font-size: 1em;
  color: var(--text-dark);
}

.page-promotions__final-cta-section {
  text-align: center;
  padding: 80px 0 100px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-promotions__main-title {
    font-size: 2.8em;
  }

  .page-promotions__section-title {
    font-size: 2.2em;
  }

  .page-promotions__hero-description,
  .page-promotions__text-block,
  .page-promotions__list-item,
  .page-promotions__card-description,
  .page-promotions__feature-description {
    font-size: 1em;
  }
}

@media (max-width: 768px) {
  .page-promotions {
    padding-top: 100px !important; /* Mobile padding-top */
  }

  .page-promotions__hero-section,
  .page-promotions__overview-section,
  .page-promotions__types-section,
  .page-promotions__terms-section,
  .page-promotions__guide-section,
  .page-promotions__why-choose-section,
  .page-promotions__final-cta-section {
    padding: 60px 0;
  }

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

  .page-promotions__main-title {
    font-size: 2.2em;
  }

  .page-promotions__section-title {
    font-size: 1.8em;
  }

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

  .page-promotions__cta-button {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

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

  .page-promotions__card,
  .page-promotions__feature-item {
    padding: 25px;
  }

  .page-promotions__card-image,
  .page-promotions__image-full-width,
  .page-promotions__feature-icon {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-promotions__card-image {
    height: 180px; /* Adjust for mobile consistency */
  }

  .page-promotions__list,
  .page-promotions__numbered-list {
    margin-left: 15px;
  }
}

@media (max-width: 480px) {
  .page-promotions__main-title {
    font-size: 1.8em;
  }

  .page-promotions__section-title {
    font-size: 1.6em;
  }

  .page-promotions__hero-description,
  .page-promotions__text-block,
  .page-promotions__list-item,
  .page-promotions__card-description,
  .page-promotions__feature-description {
    font-size: 0.95em;
  }

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

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

  .page-promotions__feature-icon {
    width: 100px; /* Adjust for smaller screens */
    height: 100px; /* Adjust for smaller screens */
  }
}