/* =======================================================================
   HOME PAGE — Hero Slideshow
   Loaded only on the front page (front-page.php)
   ======================================================================= */

.slideshow {
  position: relative;
  width: 100%;
  height: 85vh;
  overflow: hidden;
  background-color: #f0f0f0;
}

.slide-track {
  display: flex;
  height: 100%;
  transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.slide {
  min-width: 100%;
  height: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
}

.slide-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.1) 50%, rgba(0, 0, 0, 0) 100%);
}

.slide-content {
  position: absolute;
  top: 50%;
  left: 10%;
  transform: translateY(-50%);
  color: #fff;
  z-index: 10;
  max-width: 600px;
  text-align: left;
}

.slide-content.center {
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

.slide-eyebrow {
  font-family: var(--font-accent);
  font-size: 20px;
  letter-spacing: 8px;
  display: block;
  margin-bottom: 10px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.slide-title {
  font-family: var(--font-accent);
  font-size: 60px;
  line-height: 1;
  letter-spacing: 4px;
  margin: 0 0 20px 0;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.slide-sub {
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 15px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.slide-content.center .slide-sub {
  justify-content: center;
}

.slide-sub .rule {
  width: 50px;
  height: 1px;
  background-color: #fff;
  display: inline-block;
}

.slide-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background-color: rgba(255, 255, 255, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--color-primary);
  z-index: 20;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.slide-nav:hover {
  background-color: rgba(255, 255, 255, 1);
  transform: translateY(-50%) scale(1.05);
}

.slide-nav svg {
  width: 24px;
  height: 24px;
}

.slide-nav.prev {
  left: 30px;
}

.slide-nav.next {
  right: 30px;
}

.slide-dots {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 20;
}

.slide-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: transparent;
  border: 1px solid #fff;
  padding: 0;
  transition: background-color 0.3s ease;
}

.slide-dot.active {
  background-color: #fff;
}

@media (max-width: 600px) {
  .slideshow {
    height: 80vh;
  }

  .slide-content {
    left: 20px;
    right: 20px;
    text-align: center;
  }

  .slide-eyebrow {
    font-size: 18px;
    letter-spacing: 4px;
  }

  .slide-title {
    font-size: 42px;
    margin-bottom: 15px;
  }

  .slide-sub {
    font-size: 12px;
    justify-content: center;
  }

  .slide-nav {
    display: none;
  }
}
