* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.slideshow {
  position: relative;
  width: 100%;
  height: auto;
  overflow: hidden;
}

@media (min-width: 768px) {
  .slideshow {
    height: 500px;
  }
}

.slideshow-container {
  display: flex;
  height: 100%;
  transition: transform 0.5s ease;
}

.slide {
  flex-shrink: 0;
  width: 100%;
  height: 100%;
}

.slide a {
  display: block;
  width: 100%;
  height: auto;
}

.slide img {
  width: 100%;
  height: 500px;
  object-fit: cover;
}

.nav-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s;
  padding: 0px 0px !important;
}


.nav-button:hover {
  background: rgba(0, 0, 0, 0.7);
}

.prev {
  left: 16px;
}

.next {
  right: 16px;
}

.dots {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  border: none;
  cursor: pointer;
  padding: 0;
}

.dot.active {
  background: white;
}