body,
html {
  margin: 0;
  padding: 0;
  font-family: "Inter", sans-serif;
  background-color: #000;
  overflow-x: hidden;
}

.hero-slider {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  cursor: grab;
}

.hero-slider:active {
  cursor: grabbing;
}

.slider-track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.5s ease-in-out;
  will-change: transform;
}

.slide {
  flex: 0 0 100%;
  position: relative;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  user-select: none;
}

/* Dark overlay over images so text is readable */
.slide::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.slide-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
  max-width: 1200px;
  padding: 0 20px;
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.8s ease-out,
    transform 0.8s ease-out;
  will-change: opacity, transform;
  backface-visibility: hidden;
}

/* Animate content when active */
.slide.active-slide .slide-content {
  opacity: 1;
  transform: translateY(0);
}

.slide-content h3 {
  font-size: 60px;
  font-weight: 700;
  margin-bottom: 20px;
  margin-top: 0;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.slide-content p {
  font-size: 18px;
  font-weight: 300;
  margin-bottom: 40px;
  line-height: 1.6;
  color: #f1f1f1;
}

/* Transparent button styling */
.btn {
  display: inline-block;
  background: transparent;
  color: #fff;
  padding: 18px 45px;
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  border-radius: 0;
  border: 1px solid #fff;
  transition:
    background 0.3s,
    color 0.3s,
    border-color 0.3s;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 1px;
  backface-visibility: hidden;
  transform: translateZ(0);
}

.btn:hover {
  background: #fff;
  color: #131313;
  border-color: #fff;
}

/* Dots Navigation */
.slider-controls {
  position: absolute;
  bottom: 30px;
  width: 100%;
  display: flex;
  justify-content: center;
  z-index: 5;
}

.dot {
  width: 12px;
  height: 12px;
  margin: 0 6px;
  background: rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.3s;
}

.dot.active {
  background: #fff;
}

/* Responsive Design */
@media (max-width: 768px) {
  .slide-content h3 {
    font-size: 36px;
  }
  .slide-content p {
    font-size: 15px;
  }
  .btn {
    padding: 14px 30px;
  }
}
