.image-slide {
  width: 50vw;
  height: 70vh;
  border-radius: 20px;
}

.image-slide2 {
  width: 40vw;
  height: 50vh;
  border-radius: 20px;
}

.carousel-container {
  background: transparent; /* Remove o fundo branco */
  border-radius: 20px;
  padding: 0; /* Remove todo o padding */
  box-shadow: none; /* Remove a sombra */
  overflow: hidden;
}
.carousel {
  position: relative;
  overflow: hidden;
  border-radius: 15px;
  background: transparent;
  width: 600px;
  height: 450px;
  text-align: right;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.carousel-slide {
  width: 25%;
  position: relative;
  flex-shrink: 0;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.9);
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 10;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.carousel-btn:hover {
  background: white;
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.carousel-btn-prev {
  left: 5px;
}

.carousel-btn-next {
  right: 5px;
}

.carousel-btn svg {
  color: #333;
}

.carousel-indicators {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}

.indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: none;
  background: #ddd;
  cursor: pointer;
  transition: all 0.3s ease;
}

.indicator.active {
  background: #667eea;
  transform: scale(1.2);
}

.indicator:hover {
  background: #764ba2;
  transform: scale(1.1);
}

/* Responsividade */
@media (max-width: 768px) {
  .container {
    padding: 10px;
  }

  h1 {
    font-size: 2rem;
    margin-bottom: 20px;
  }

  .carousel {
    height: 40vh;
    width: 100vw;
  }

  .carousel-slide {
    width: 30%;
  }

  .carousel-container {
    padding: 15px;
    border-radius: 15px;
  }

  .carousel-btn {
    width: 40px;
    height: 40px;
  }

  .carousel-btn-prev {
    left: 10px;
  }

  .carousel-btn-next {
    right: 20px;
  }

  .slide-caption {
    font-size: 1rem;
    padding: 20px 15px 15px;
  }
  .image-slide2 {
    width: 95vw;
    height: 35vh;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 1.5rem;
  }

  .carousel-container {
    padding: 10px;
  }

  .carousel-btn {
    width: 35px;
    height: 35px;
  }

  .slide-caption {
    font-size: 0.9rem;
    padding: 15px 10px 10px;
  }
}

/* Animações suaves */
.carousel-slide {
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

.carousel-slide.active {
  opacity: 1;
}

/* Efeito de hover nas imagens */
.carousel-slide img {
  transition: transform 0.3s ease;
}

.carousel-slide:hover img {
  transform: scale(1.05);
}

/* Prevenção de seleção de texto */
.carousel-btn,
.indicator {
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}

/* Suporte para touch em dispositivos móveis */
.carousel {
  touch-action: pan-y;
}

/* Loading state */
.carousel-slide img {
  background: #f0f0f0;
}

.carousel-slide img:not([src]) {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: loading 1.5s infinite;
}

@keyframes loading {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}
