.carousel-section {
  padding: 0;
  margin-top: 70px;
}

.carousel {
  position: relative;
  height: 70vh;
  overflow: hidden;
}

/* Slides */
.carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  background-size: cover;
  background-position: center;
  z-index: 0;
}

.carousel-slide.active {
  opacity: 1;
  z-index: 1;
}

.carousel-slide::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  z-index: 1;
}

/* Conteúdo */
.carousel-content {
  position: absolute;
  bottom: 20%;
  left: 10%;
  z-index: 2;
  color: white;
  max-width: 600px;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.7);
}

.carousel-content h2 {
  margin-left: 1px;
  font-size: 2.5rem;
  margin-bottom: 15px;
  color: white;
}

.carousel-content p {
  font-size: 1.2rem;
  margin-bottom: 20px;
}

/* Botão */
.carousel-btn {
  display: inline-block;
  padding: 12px 30px;
  background-color: var(--marrom-madeira);
  color: white;
  text-decoration: none;
  border-radius: 5px;
  font-weight: 600;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.carousel-btn:hover {
  background-color: var(--azul-petroleo);
  transform: translateY(-3px);
}

/* Navegação */
.carousel-nav {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  z-index: 10;
}

.carousel-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  margin: 0 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.carousel-dot.active {
  background-color: white;
}

/* Responsividade */
@media (max-width: 768px) {
  .carousel-content {
    left: 5%;
    max-width: 300px;
    bottom: 15%;
  }

  .carousel-content h2 {
    margin-left: 1px;
    font-size: 1rem;
    margin-bottom: 5px;
  
  }

  .carousel-content p {
    font-size: 1rem;
    margin-bottom: 10px;  
  }

  .carousel {
   height: 30vh;
  }

  .carousel-btn {
    padding: 5px 10px;
    border-radius: 1px;
    font-weight: 600;
  }
}
  @media (max-width: 576px) {
    .carousel {
      height: 50vh;

}
    .carousel-content h2 {
       margin-left: 1px;
      font-size: 1.2rem;
      margin-bottom: 15px;
      color: white;
      }

    .carousel-content p {
      font-size: 1rem;
      margin-bottom: 20px;
     }
}



