/**
 * Hero Slideshow Styles - Fullwidth Responsive with Slick Slider
 */
.hero-slideshow-block {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  height: 65vh;
  min-height: 600px;
  max-height: 800px;
  overflow: hidden;
}

.hero-slideshow {
  position: relative;
  width: 100%;
  height: 100%;
}

.slides-container {
  position: relative;
  width: 100%;
  height: 100%;
}

/* Slick Slider specific fixes */
.slides-container .slick-list,
.slides-container .slick-track {
  height: 100%;
}

.slide {
  position: relative !important;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  max-height: 800px;
  outline: none;
  display: block !important;
}

.slide-picture {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.slide-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.slide-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.3),
    rgba(0, 0, 0, 0.5)
  );
  z-index: 1;
}

.slide-caption {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 10px 20px;
  border-radius: 5px;
  font-size: 14px;
  z-index: 2;
}

.hero-content {
  position: absolute;
  top: 73%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  text-align: left;
  color: white;
  z-index: 3;
}

.hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
  font-size: 1.5em;
  margin-bottom: 30px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.hero-button {
  display: inline-block;
  background: var(--color-white, #fff);
  color: var(--color-text, #333);
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
}

.hero-button:hover {
  background: var(--color-gray-200, #f0f0f0);
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

/* Slide Arrows - Slick Slider */
.slide-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.3);
  border: none;
  color: white;
  font-size: 3em;
  width: 60px;
  height: 60px;
  cursor: pointer;
  z-index: 10;
  transition: background 0.3s ease;
  border-radius: 50%;
  line-height: 1;
  padding: 0;
}

.slide-arrow:hover,
.slide-arrow:focus {
  background: rgba(255, 255, 255, 0.5);
  outline: none;
}

.slide-arrow.slide-prev,
.slick-prev.slide-arrow {
  left: 20px;
}

.slide-arrow.slide-next,
.slick-next.slide-arrow {
  right: 20px;
}

/* Slick Dots Customization */
.hero-slideshow-block .slick-dots {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex !important;
  gap: 10px;
  z-index: 10;
  list-style: none;
  padding: 0;
  margin: 0 35px;
}

.hero-slideshow-block .slick-dots li {
  width: 12px;
  height: 12px;
  margin: 0;
}

.hero-slideshow-block .slick-dots li button {
  width: 12px;
  height: 12px;
  padding: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  border: 2px solid white;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0;
  line-height: 0;
}

.hero-slideshow-block .slick-dots li button:before {
  display: none;
}

.hero-slideshow-block .slick-dots li.slick-active button,
.hero-slideshow-block .slick-dots li button:hover {
  background: white;
  transform: scale(1.2);
}

/* Responsive */
@media (max-width: 768px) {
  .hero-slideshow-block {
    height: 100vh;
    min-height: 500px;
    max-height: 600px;
  }

  .slide {
    height: 100vh;
    min-height: 500px;
    max-height: 600px;
  }

  .hero-title {
    font-size: 2em;
    margin-bottom: 15px;
  }

  .hero-subtitle {
    font-size: 1.1em;
    margin-bottom: 20px;
  }

  .hero-button {
    font-size: 0.9em;
  }

  .slide-arrow {
    width: 40px;
    height: 40px;
    font-size: 2em;
  }

  .slide-arrow.slide-prev,
  .slick-prev.slide-arrow {
    left: 10px;
  }

  .slide-arrow.slide-next,
  .slick-next.slide-arrow {
    right: 10px;
  }

  .hero-slideshow-block .slick-dots {
    bottom: 20px;
    gap: 8px;
  }

  .hero-slideshow-block .slick-dots li {
    width: 10px;
    height: 10px;
  }

  .hero-slideshow-block .slick-dots li button {
    width: 10px;
    height: 10px;
  }

  .slide-caption {
    bottom: 10px;
    right: 10px;
    padding: 8px 15px;
    font-size: 12px;
  }

  .hero-content .container {
    padding: 0 60px;
  }
}
