.main-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  
  align-items: center;
  padding: 20px;
  gap: 20px;
  height: 700px;
}

.text-section {
  flex: 1 1 300px;
  min-width: 300px;
  max-width: 600px;
}

.carousel-section {
  flex: 1 1 300px;
  min-width: 300px;
  max-width: 600px;
}

.carousel-inner {
  height: 400px;
  /* или колкото искаш, в px или vh */
}

.carousel-inner img {
  height: 100%;
  width: 100%;
  border-radius: 12px;
  object-fit: cover;
}

.carousel {
  max-width: 100%;
}





/* Optional: Add some spacing and shadow to carousel */
.carousel-inner {
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  border-radius: 12px;
}

@media (max-width: 768px) {
  .main-container {
    flex-direction: column;
    align-items: center;
  }
.carousel-inner {
    height: 250px; /* по-ниска височина за телефони */
  }
  .carousel-inner img {
    max-height: 300px;
  }
}