/* styles.css */
.slider {
  width: 100vw; /* Full viewport width */
  height: 80vh;
  overflow: hidden;
  position: relative;
  border-bottom: 30px;
}

.slides {
  display: flex;
  height: 100%;
  transition: transform 1.5s cubic-bezier(0.4, 0.0, 0.2, 1); /* Smooth manual transition */
}

.slide {
  width: 100vw; /* Each slide takes full viewport width */
  height: 100%;
  flex-shrink: 0;
  position: relative;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.slide a {
  text-decoration: none;
  color: white;
  position: absolute;
  bottom: 10%;
  left: 5%;
  background: rgba(0, 0, 0, 0.5);
  padding: 10px 20px;
  border-radius: 5px;
  font-size: 18px;
  font-weight: bold;
  transition: background 0.3s ease;
}

.slide a:hover {
  background: rgba(0, 0, 0, 0.8);
}

button.prev,
button.next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.5);
  border: none;
  color: white;
  width: 50px;
  height: 50px;
  cursor: pointer;
  font-size: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: background-color 0.3s ease;
}

button.prev {
  left: 20px;
}

button.next {
  right: 20px;
}

button.prev:hover,
button.next:hover {
  background-color: rgba(0, 0, 0, 0.8);
}
