.carousel-container {
  background-color: #1A1A1A;
  padding: 40px 0;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: 'Montserrat', sans-serif;
}

.carousel {
  width: 100%;
  max-width: 1200px;
  position: relative;
  overflow: hidden;
}

.carousel-item {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 500px;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
  position: absolute;
  width: 100%;
}

.carousel-item.active {
  opacity: 1;
  position: relative;
}

.carousel-item img {
  width: 60%;
  height: auto;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

.text-top {
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.7);
  color: #FFFFFF;
  padding: 10px 20px;
  font-size: 24px;
  font-weight: 700;
  border-radius: 5px;
  text-align: center;
  opacity: 0;
  animation: fadeInText 0.5s ease forwards 0.2s;
}

.text-right {
  width: 35%;
  background: #333333;
  color: #FFFFFF;
  padding: 20px;
  font-size: 16px;
  font-weight: 400;
  border-radius: 5px;
  margin-left: 20px;
  opacity: 0;
  animation: fadeInText 0.5s ease forwards 0.4s;
}

@keyframes fadeInText {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Адаптивность для мобильных */
@media (max-width: 768px) {
  .carousel-item {
    flex-direction: column;
    min-height: 600px;
  }
  .carousel-item img {
    width: 90%;
  }
  .text-top {
    font-size: 18px;
    padding: 8px 16px;
  }
  .text-right {
    width: 90%;
    margin-left: 0;
    margin-top: 20px;
  }
}