/* style/promotions.css */
.page-promotions {
  font-family: 'Arial', sans-serif;
  color: #E0E0E0; /* Light gray for general text on dark background */
  background-color: #0A192F; /* Main dark blue background */
}

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

/* Hero Section */
.page-promotions__hero {
  background: linear-gradient(135deg, #0A192F 0%, #1a3a5f 100%); /* Dark blue gradient */
  padding: 80px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-promotions__hero-content {
  z-index: 1;
  max-width: 800px;
}

.page-promotions__hero-title {
  font-size: 3.2em;
  color: #FFD700; /* Gold for title */
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: bold;
}

.page-promotions__hero-description {
  font-size: 1.3em;
  color: #F0F0F0; /* Lighter gray for description */
  margin-bottom: 30px;
  line-height: 1.6;
}

.page-promotions__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.15;
  overflow: hidden;
}

.page-promotions__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%) blur(5px);
  transform: scale(1.1);
}

.page-promotions__cta-button {
  display: inline-block;
  background-color: #FFD700; /* Gold button */
  color: #0A192F; /* Dark blue text on gold */
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-promotions__cta-button:hover {
  background-color: #e6c200; /* Slightly darker gold on hover */
  transform: translateY(-3px);
}

/* Intro Text Section */
.page-promotions__intro-text {
  padding: 60px 0;
  background-color: #1a2a40; /* Slightly lighter dark blue */
}

.page-promotions__intro-title {
  font-size: 2.5em;
  color: #FFD700;
  text-align: center;
  margin-bottom: 30px;
  font-weight: bold;
}

.page-promotions__intro-text p {
  font-size: 1.1em;
  line-height: 1.8;
  text-align: justify;
  margin-bottom: 20px;
  color: #F0F0F0;
}

/* Promotions List Section */
.page-promotions__list {
  padding: 80px 0;
  background-color: #0A192F;
}

.page-promotions__list-title {
  font-size: 2.8em;
  color: #FFD700;
  text-align: center;
  margin-bottom: 50px;
  font-weight: bold;
}

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

.page-promotions__card {
  background-color: #1a2a40; /* Darker card background */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

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

.page-promotions__card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-bottom: 3px solid #FFD700;
}

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

.page-promotions__card-title {
  font-size: 1.8em;
  margin-bottom: 15px;
  line-height: 1.3;
}

.page-promotions__card-title a {
  color: #FFD700; /* Gold title link */
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-promotions__card-title a:hover {
  color: #e6c200;
}

.page-promotions__card-description {
  font-size: 1em;
  color: #C0C0C0; /* Lighter gray for description */
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-promotions__card-actions {
  display: flex;
  justify-content: space-between;
  margin-top: auto; /* Push actions to bottom */
  gap: 15px;
}

.page-promotions__btn {
  display: inline-block;
  padding: 12px 20px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.95em;
  transition: background-color 0.3s ease, transform 0.3s ease, color 0.3s ease;
  text-align: center;
  flex: 1;
}

.page-promotions__btn--details {
  background-color: #34495e; /* Darker blue for details button */
  color: #F0F0F0;
  border: 1px solid #34495e;
}

.page-promotions__btn--details:hover {
  background-color: #4a6581;
  transform: translateY(-2px);
}

.page-promotions__btn--join {
  background-color: #FFD700; /* Gold for join button */
  color: #0A192F;
  border: 1px solid #FFD700;
}

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

/* Call to Action Section */
.page-promotions__call-to-action {
  background-color: #1a2a40;
  padding: 80px 0;
  text-align: center;
}

.page-promotions__cta-content {
  max-width: 900px;
}

.page-promotions__cta-title {
  font-size: 2.8em;
  color: #FFD700;
  margin-bottom: 25px;
  font-weight: bold;
}

.page-promotions__cta-description {
  font-size: 1.2em;
  color: #F0F0F0;
  margin-bottom: 40px;
  line-height: 1.7;
}

.page-promotions__cta-button--large {
  padding: 18px 40px;
  font-size: 1.3em;
  border-radius: 10px;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-promotions__hero-title {
    font-size: 2.8em;
  }
  .page-promotions__hero-description {
    font-size: 1.1em;
  }
  .page-promotions__intro-title,
  .page-promotions__list-title,
  .page-promotions__cta-title {
    font-size: 2.2em;
  }
  .page-promotions__card-title {
    font-size: 1.6em;
  }
}

@media (max-width: 768px) {
  .page-promotions__hero {
    padding: 60px 0;
  }
  .page-promotions__hero-title {
    font-size: 2.4em;
  }
  .page-promotions__hero-description {
    font-size: 1em;
  }
  .page-promotions__intro-text,
  .page-promotions__list,
  .page-promotions__call-to-action {
    padding: 40px 0;
  }
  .page-promotions__intro-title,
  .page-promotions__list-title,
  .page-promotions__cta-title {
    font-size: 1.8em;
  }
  .page-promotions__grid {
    grid-template-columns: 1fr;
  }
  .page-promotions__card-image {
    height: 180px;
  }
  .page-promotions__card-title {
    font-size: 1.4em;
  }
  .page-promotions__card-actions {
    flex-direction: column;
  }
  .page-promotions__btn {
    width: 100%;
  }
  .page-promotions__cta-button--large {
    padding: 15px 30px;
    font-size: 1.1em;
  }
}

@media (max-width: 480px) {
  .page-promotions__hero-title {
    font-size: 2em;
  }
  .page-promotions__hero-description {
    font-size: 0.9em;
  }
  .page-promotions__intro-title,
  .page-promotions__list-title,
  .page-promotions__cta-title {
    font-size: 1.6em;
  }
  .page-promotions__card-title {
    font-size: 1.2em;
  }
  .page-promotions__card-description {
    font-size: 0.9em;
  }
}