/* Hero Slideshow Styles */
.hero-slideshow {
  position: relative;
  width: 100%;
  height: 500px;
  max-height: 500px;
  overflow: hidden;
  background-color: #000;
}

.slideshow-container {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
  will-change: opacity;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slide-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.slide.active {
  opacity: 1;
  z-index: 1;
}

.slide.prev {
  opacity: 0;
  z-index: 0;
}

.slide-content {
  position: absolute;
  bottom: 20%;
  left: 10%;
  right: 10%;
  color: #fff;
  text-align: center;
  transform: translateY(20px) translateZ(50px);
  opacity: 0;
  transition: all 0.8s ease-in-out 0.3s;
  will-change: transform, opacity;
}

.slide.active .slide-content {
  transform: translateY(0) translateZ(50px);
  opacity: 1;
}

.slide-content h2 {
  font-size: 3rem;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.slide-content p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.btn-primary {
  display: inline-block;
  padding: 1rem 2rem;
  background: linear-gradient(135deg, #ffd700, #ffa500);
  color: #000;
  text-decoration: none;
  border-radius: 30px;
  font-weight: bold;
  transition: transform 0.3s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
}

/* Slideshow Controls */
.slideshow-controls {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 1rem;
  z-index: 10;
}

.control-btn {
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: #fff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.2rem;
  transition: all 0.3s ease;
}

.control-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.1);
}

.slideshow-dots {
  display: flex;
  gap: 0.5rem;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.dot.active {
  background: #ffd700;
  transform: scale(1.2);
}

/* Responsive Styles */
@media (max-width: 768px) {
  .hero-slideshow {
    height: auto;
    min-height: 400px;
  }

  .slideshow-container {
    height: auto;
    min-height: 400px;
  }

  .slide {
    height: auto;
    min-height: 400px;
  }

  .slide-image {
    height: auto;
    min-height: 400px;
    background-size: contain;
    background-color: #000;
  }

  .slideshow-controls {
    display: none;
  }

  .slide-content h2 {
    font-size: 2rem;
  }

  .slide-content p {
    font-size: 1rem;
  }

  .btn-primary {
    padding: 0.8rem 1.5rem;
  }
}

@media (max-width: 480px) {
  .hero-slideshow {
    height: auto;
    min-height: 300px;
  }

  .slideshow-container {
    height: auto;
    min-height: 300px;
  }

  .slide {
    height: auto;
    min-height: 300px;
  }

  .slide-image {
    height: auto;
    min-height: 300px;
    background-size: contain;
    background-color: #000;
  }

  .slide-content h2 {
    font-size: 1.5rem;
  }

  .slide-content p {
    font-size: 0.9rem;
  }
}

/* Parallax Effects */
.parallax-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  will-change: transform;
  transition: transform 0.1s ease-out;
}

.parallax-mouse-effect {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2;
}

@media (max-width: 768px) {
  .parallax-bg {
    background-size: contain;
    background-position: center;
    background-color: #000;
  }
}

@media (max-width: 480px) {
  .parallax-bg {
    background-size: contain;
    background-position: center;
    background-color: #000;
  }
}

/* Scroll Progress Bar */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #ffd700, #ffb700);
  transform-origin: 0 50%;
  transform: scaleX(0);
  z-index: 1000;
  will-change: transform;
} 