/* style/promotions.css */
.page-promotions {
  font-family: 'Arial', sans-serif;
  color: #333;
  line-height: 1.6;
}

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

.page-promotions__section {
  padding: 60px 0;
}

.page-promotions__section:nth-child(even) {
  background-color: #f8f9fa; /* Light grey for subtle contrast */
}

.page-promotions__section-title {
  font-size: 2.5em;
  color: #007BFF;
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

.page-promotions__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #FFC107;
  border-radius: 2px;
}

.page-promotions__section-title a {
  color: inherit; /* Ensure link color matches title color */
  text-decoration: none;
}

.page-promotions__section-title a:hover {
  text-decoration: underline;
}

.page-promotions__hero {
  background: linear-gradient(135deg, #007BFF 0%, #0056b3 100%); /* Darker blue gradient */
  color: #fff;
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-promotions__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
  z-index: 0;
}

.page-promotions__hero .page-promotions__container {
  position: relative;
  z-index: 1;
}

.page-promotions__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #FFC107; /* Highlight with secondary color */
}

.page-promotions__hero-title a {
  color: inherit;
  text-decoration: none;
}

.page-promotions__hero-title a:hover {
  text-decoration: underline;
}

.page-promotions__hero-subtitle {
  font-size: 1.3em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-promotions__btn {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  font-size: 1.1em;
  border: 2px solid transparent;
}

.page-promotions__btn--primary {
  background-color: #FFC107;
  color: #007BFF; /* Ensure contrast */
  border-color: #FFC107;
}

.page-promotions__btn--primary:hover {
  background-color: #e0a800;
  border-color: #e0a800;
  color: #0056b3;
}

.page-promotions__btn--secondary {
  background-color: #007BFF;
  color: #fff;
  border-color: #007BFF;
}

.page-promotions__btn--secondary:hover {
  background-color: #0056b3;
  border-color: #0056b3;
}

.page-promotions__btn--outline {
  background-color: transparent;
  color: #007BFF;
  border-color: #007BFF;
}

.page-promotions__btn--outline:hover {
  background-color: #007BFF;
  color: #fff;
}

.page-promotions__why-zomclub p {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
  font-size: 1.1em;
}

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

.page-promotions__feature-item {
  text-align: center;
  background-color: #fff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  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: 60px;
  height: 60px;
  margin-bottom: 20px;
  filter: drop-shadow(2px 2px 3px rgba(0, 0, 0, 0.2));
}

.page-promotions__feature-item h3 {
  font-size: 1.5em;
  color: #007BFF;
  margin-bottom: 15px;
}

.page-promotions__promo-categories p {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
  font-size: 1.1em;
}

.page-promotions__category-card {
  display: flex;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  margin-bottom: 30px;
  overflow: hidden;
  flex-direction: column;
}

.page-promotions__category-card:nth-child(odd) {
  flex-direction: column;
}

.page-promotions__category-card:nth-child(even) {
  flex-direction: column-reverse;
}

@media (min-width: 768px) {
  .page-promotions__category-card {
    flex-direction: row;
  }
  .page-promotions__category-card:nth-child(even) {
    flex-direction: row-reverse;
  }
}

.page-promotions__category-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

@media (min-width: 768px) {
  .page-promotions__category-image {
    width: 40%;
    height: auto;
  }
}

.page-promotions__category-content {
  padding: 30px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.page-promotions__category-content h3 {
  font-size: 1.8em;
  color: #007BFF;
  margin-bottom: 15px;
}

.page-promotions__category-content p {
  margin-bottom: 25px;
  text-align: left;
}

.page-promotions__how-to-claim ol {
  list-style: none;
  counter-reset: step-counter;
  padding: 0;
}

.page-promotions__how-to-claim li {
  background-color: #fff;
  border-left: 5px solid #007BFF;
  margin-bottom: 20px;
  padding: 25px 30px 25px 70px;
  position: relative;
  border-radius: 5px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.page-promotions__how-to-claim li::before {
  content: counter(step-counter);
  counter-increment: step-counter;
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  background-color: #FFC107;
  color: #007BFF; /* Ensure contrast */
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.2em;
}

.page-promotions__how-to-claim li h3 {
  font-size: 1.6em;
  color: #007BFF;
  margin-bottom: 10px;
}

.page-promotions__how-to-claim li h3 a {
  color: inherit;
  text-decoration: none;
}

.page-promotions__how-to-claim li h3 a:hover {
  text-decoration: underline;
}

.page-promotions__how-to-claim .page-promotions__btn {
  margin-top: 30px;
  text-align: center;
}

.page-promotions__detailed-promos p {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
  font-size: 1.1em;
}

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

.page-promotions__promo-item {
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: center;
  padding-bottom: 20px;
  transition: transform 0.3s ease;
}

.page-promotions__promo-item:hover {
  transform: translateY(-5px);
}

.page-promotions__promo-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  margin-bottom: 20px;
}

.page-promotions__promo-item h3 {
  font-size: 1.6em;
  color: #007BFF;
  margin-bottom: 15px;
  padding: 0 20px;
}

.page-promotions__promo-item h3 a {
  color: inherit;
  text-decoration: none;
}

.page-promotions__promo-item h3 a:hover {
  text-decoration: underline;
}

.page-promotions__promo-item p {
  padding: 0 20px;
  margin-bottom: 25px;
  font-size: 1em;
  text-align: center;
}

.page-promotions__faq p {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
  font-size: 1.1em;
}

.page-promotions__accordion-item {
  background-color: #fff;
  border: 1px solid #ddd;
  margin-bottom: 10px;
  border-radius: 5px;
  overflow: hidden;
}

.page-promotions__accordion-header {
  background-color: #007BFF;
  color: #fff;
  padding: 18px 25px;
  cursor: pointer;
  margin: 0;
  font-size: 1.3em;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.3s ease;
}

.page-promotions__accordion-header::after {
  content: '+';
  font-size: 1.5em;
  transition: transform 0.3s ease;
}

.page-promotions__accordion-header.active {
  background-color: #0056b3;
}

.page-promotions__accordion-header.active::after {
  content: '-';
  transform: rotate(180deg);
}

.page-promotions__accordion-content {
  padding: 20px 25px;
  background-color: #fefefe;
  border-top: 1px solid #eee;
  display: none;
}

.page-promotions__accordion-content p {
  margin: 0;
  text-align: left;
}

.page-promotions__cta-bottom {
  background: linear-gradient(135deg, #FFC107 0%, #e0a800 100%); /* Gold gradient */
  color: #007BFF; /* Ensure contrast */
  text-align: center;
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.page-promotions__cta-bottom .page-promotions__section-title {
  color: #007BFF;
}

.page-promotions__cta-bottom .page-promotions__section-title::after {
  background-color: #007BFF;
}

.page-promotions__cta-bottom p {
  font-size: 1.2em;
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: #333; /* Darker text for readability on gold */
}

.page-promotions__cta-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.15;
  z-index: 0;
}

.page-promotions__cta-bottom .page-promotions__container {
  position: relative;
  z-index: 1;
}

.page-promotions__cta-bottom .page-promotions__btn--primary {
  background-color: #007BFF;
  color: #FFC107;
  border-color: #007BFF;
}

.page-promotions__cta-bottom .page-promotions__btn--primary:hover {
  background-color: #0056b3;
  border-color: #0056b3;
  color: #e0a800;
}

.page-promotions__floating-ad {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
  background-color: #FFC107;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  width: 280px; /* Fixed width for better control */
  max-width: 90vw; /* Responsive on smaller screens */
  text-align: center;
  animation: page-promotions-pulse 2s infinite;
}

.page-promotions__floating-ad a {
  display: block;
  text-decoration: none;
  color: #007BFF;
  padding: 10px;
}

.page-promotions__floating-ad-img {
  width: 100%;
  height: 100px;
  object-fit: cover;
  border-radius: 5px;
  margin-bottom: 5px;
}

.page-promotions__floating-ad p {
  font-weight: bold;
  font-size: 1.1em;
  margin: 0;
  color: #007BFF;
}

.page-promotions__floating-ad p a {
  color: inherit;
  text-decoration: none;
}

.page-promotions__floating-ad p a:hover {
  text-decoration: underline;
}

@keyframes page-promotions-pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.03); }
  100% { transform: scale(1); }
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-promotions__hero-title {
    font-size: 2.8em;
  }
  .page-promotions__section-title {
    font-size: 2em;
  }
  .page-promotions__category-card {
    flex-direction: column;
  }
  .page-promotions__category-image {
    width: 100%;
    height: 200px;
  }
  .page-promotions__category-content {
    padding: 20px;
  }
}

@media (max-width: 768px) {
  .page-promotions__hero-title {
    font-size: 2.2em;
  }
  .page-promotions__hero-subtitle {
    font-size: 1.1em;
  }
  .page-promotions__section {
    padding: 40px 0;
  }
  .page-promotions__section-title {
    font-size: 1.8em;
  }
  .page-promotions__features-grid,
  .page-promotions__promo-list {
    grid-template-columns: 1fr;
  }
  .page-promotions__feature-item {
    padding: 20px;
  }
  .page-promotions__how-to-claim li {
    padding: 20px 20px 20px 60px;
  }
  .page-promotions__how-to-claim li::before {
    left: 15px;
    width: 35px;
    height: 35px;
    font-size: 1.1em;
  }
  .page-promotions__accordion-header {
    font-size: 1.1em;
    padding: 15px 20px;
  }
  .page-promotions__floating-ad {
    width: 200px;
    bottom: 15px;
    right: 15px;
  }
  .page-promotions__floating-ad-img {
    height: 80px;
  }
  .page-promotions__floating-ad p {
    font-size: 0.9em;
  }
}

@media (max-width: 480px) {
  .page-promotions__hero-title {
    font-size: 1.8em;
  }
  .page-promotions__btn {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-promotions__section-title {
    font-size: 1.5em;
  }
  .page-promotions__feature-item h3 {
    font-size: 1.3em;
  }
  .page-promotions__category-content h3 {
    font-size: 1.5em;
  }
  .page-promotions__promo-item h3 {
    font-size: 1.4em;
  }
  .page-promotions__how-to-claim li h3 {
    font-size: 1.3em;
  }
}