@import url("https://fonts.googleapis.com/css2?family=Julius+Sans+One&family=Lexend:wght@100..900&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Orbitron:wght@400..900&display=swap");

.carrusel-section {
  /* display: flex; */
  margin: 50px auto;
  width: 90%;
  max-width: 1100px;
  text-align: center;
}

.titulo-carrusel {
  color: #00ffff;
  font-size: 1.8rem;
  text-shadow: 0 0 8px #00ffff;
  margin-bottom: 20px;
}

.carousel-container {
  position: relative;
  overflow: hidden;
  width: 100%;
}

.carousel-track {
  display: flex;
  gap: 20px;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

.card {
  flex: 0 0 300px;
  background: #121212;
  color: white;
  border-radius: 20px;
  overflow: hidden;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  transform-origin: center center;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 18px rgba(13, 236, 236, 0.25);
}

.card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.card h3 {
  margin: 10px 0 5px;
  font-family: "Orbitron", sans-serif;
  color: #00ffff;
  text-shadow: 0 0 6px #00ffff;
}

.card p {
  color: #ccc;
  font-family: "Lexend", sans-serif;
  padding-bottom: 15px;
}

.carousel-btn {
  position: absolute;
  top: 45%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.6);
  color: white;
  border: none;
  font-size: 2rem;
  padding: 8px 15px;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.3s;
  z-index: 2;
}

.prev-btn {
  left: 10px;
}
.next-btn {
  right: 10px;
}

.carousel-btn:hover {
  background: rgba(255, 255, 255, 0.2);
}

@media (max-width: 768px) {
  .card {
    flex: 0 0 80%;
  }
}
