.custom-slider {
  position: relative;
  max-width: 100vw;
  height: 650px;
  margin: 0 auto;
  overflow: hidden;
  background: #ededed;
}
.custom-slide {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  justify-content: center;
  align-items: center;
  opacity: 0;
  z-index: 1;
  transition: opacity 1s;
}
.custom-slide.active {
  opacity: 1;
  z-index: 2;
}
.custom-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
  background: #ededed;
  transition: transform 5s cubic-bezier(0.4,0.2,0.2,1);
  transform-origin: top center;
}
.custom-slide.active img {
  animation: zoomInTop 5s cubic-bezier(0.4,0.2,0.2,1);
  transform: scale(1);
}
.custom-caption {
  position: absolute;
  left: 50%;
  top: 80%;
  transform: translate(-50%, -50%);
  color: #fff;
  font-size: 4rem;
  font-weight: 700;
  text-transform: uppercase;
  text-align: center;
  letter-spacing: 2px;
  text-shadow: 2px 2px 8px #888, 0 2px 8px #888;
  background: none;
  border-radius: 0;
  padding: 0;
  margin: 0;
}
.custom-slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  color: #fff;
  border: none;
  font-size: 2.5rem;
  padding: 0;
  cursor: pointer;
  border-radius: 0;
  z-index: 10;
  transition: color 0.2s, transform 0.2s;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: none;
  text-shadow: 2px 2px 8px #888, 0 2px 8px #888;
}
.custom-slider-arrow.left { left: 30px; }
.custom-slider-arrow.right { right: 30px; }
.custom-slider-arrow:hover { text-shadow: 2px 2px 8px #000, 0 2px 8px #000; }
@keyframes fadein {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes zoomInTop {
  from {
    transform: scale(1.08);
    opacity: 0.7;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}
@media (max-width: 900px) {
  .custom-slider { height: 350px; }
  .custom-caption { font-size: 2rem; top: 65%; }
}
@media (max-width: 600px) {
  .custom-slider { height: 200px; }
  .custom-caption { font-size: 1.2rem; top: 70%; }
} 