/* === PROMO SECTION ATAS === */
.promo-section {
  display: flex;
  gap: 2rem;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  padding: 3rem 1rem;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.promo-text {
  flex: 1 1 400px;
  min-width: 280px;
}

.promo-text h2 {
  color: #2e7d32;
  margin-bottom: 1rem;
  font-size: 2rem;
}

.promo-text ul {
  list-style: disc inside;
  margin-bottom: 1rem;
  color: #333;
}

.promo-text ul li {
  margin-bottom: 0.5rem;
}

.promo-text p {
  margin-bottom: 1.5rem;
  color: #555;
  font-size: 1.1rem;
}

.promo-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-primary {
  padding: 12px 28px;
  border-radius: 7px;
  font-weight: 700;
  text-decoration: none;
  font-size: 1.1rem;
  display: inline-block;
  background: #2e7d32;
  color: #fff;
  transition: background 0.3s ease;
}

.btn-primary:hover {
  background: #27682a;
}

/* Gambar utama promo */
.promo-main-image {
  flex: 1 1 400px;
  max-width: 450px;
  max-height: 280px;
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Fade in animation */
.fade-element {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease-in-out, transform 0.8s ease-in-out;
}

.fade-element.visible {
  opacity: 1;
  transform: translateY(0);
}

/* === MEDIA QUERIES === */

/* Tablet */
@media (max-width: 992px) {
  .promo-section {
    flex-direction: column;
    text-align: center;
  }

  .promo-text {
    max-width: 100%;
  }

  .promo-buttons {
    justify-content: center;
  }

  .promo-main-image {
    max-width: 90%;
    margin-top: 1.5rem;
  }
}

/* Mobile */
@media (max-width: 576px) {
  .promo-section {
    padding: 2rem 1rem;
    gap: 1.5rem;
  }

  .promo-text h2 {
    font-size: 1.6rem;
  }

  .promo-text p {
    font-size: 1rem;
  }

  .btn-primary {
    width: 100%;
    text-align: center;
    font-size: 1rem;
    padding: 10px 20px;
  }

  .promo-main-image {
    max-width: 100%;
    max-height: 220px;
  }
}
