/* Hero Slider */
.hero-slider {
  position: relative;
  height: 70vh;
  overflow: hidden;
  margin-bottom: 40px;
  background: #111;
  font-family: "Playfair Display", serif;
}

/* Slides Container */
.slides {
  display: flex;
  transition: transform 0.7s ease-in-out;
  height: 100%;
}

/* Single Slide */
.slide {
  min-width: 100%;
  height: 100%;
  position: relative;
  display: grid;
  place-items: center;
  background: #111;
}

.slide img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  object-position: center;
  display: block;
}

/* Fade Overlay */
.slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.6) 15%, transparent 50%);
  pointer-events: none;
}

/* Caption Overlay */
.slide-text {
  position: absolute;
  bottom: 20px;
  left: 20px;
  color: #fff;
  max-width: 60%;
  z-index: 2;
}

.slide-text h2 {
  font-size: 1.8rem;
  margin: 0 0 5px;
}

.slide-text p {
  font-size: 1rem;
  margin: 0;
  opacity: 0.9;
}

/* Dots Navigation */
.hero-dots {
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 3;
}

.hero-dots .dot {
  width: 10px;
  height: 10px;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.3s;
}

.hero-dots .dot.active {
  background: #fff;
}

/* Responsive */
@media (max-width: 768px) {
  .hero-slider {
    height: 300px;
  }
  .slide-text {
    max-width: 80%;
  }
  .slide-text h2 {
    font-size: 1.3rem;
  }
  .slide-text p {
    font-size: 0.9rem;
  }
}
