/* ==========================================================================
   Custom Slider — front-end styles
   ========================================================================== */

.custom-slider {
  --slider-gold: #d4af37;
  --slider-green: #14532d;

  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.custom-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.9s ease-in-out;
}

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

.custom-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.custom-slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(6, 23, 10, 0.7), rgba(6, 23, 10, 0.8));
}

/* .custom-slide-caption {
  position: absolute;
  left: 6%;
  bottom: 20%;
  z-index: 2;
  color: #fff;
  max-width: 600px;
} */

.custom-slide-caption {
    position: absolute;
    left: 6%;
    top: 0;
    z-index: 2;
    color: #fff;
    max-width: 600px;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.custom-slide-caption h1,
.custom-slide-caption h2 {
  font-size: 60px;
  margin: 0 0 12px 0;
  line-height: 60px;
/*   color: #fff; */
}

.custom-slide-caption p {
/*   font-size: 18px; */
  margin: 0;
  line-height: 1.5;
/*   color: #fff; */
}

/* Arrow controls */
.custom-slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: #fff;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}

.custom-slider-arrow:hover {
  background: rgba(255, 255, 255, 0.3);
}

.custom-slider-arrow.prev {
  left: 24px;
}

.custom-slider-arrow.next {
  right: 24px;
}

/* Line navigation — active line grows bigger, then fills gold over time */
.custom-slider-nav {
  position: absolute;
  bottom: 50px;
  left: 10%;
  transform: translateX(-50%);
  display: flex;
  gap: 14px;
  z-index: 3;
}

.custom-slider-nav .nav-line {
  position: relative;
  width: 24px;
  height: 4px;
  background: #6B746D;
  border-radius: 2px;
  cursor: pointer;
  overflow: hidden;
  transition: width 0.4s ease;
}

.custom-slider-nav .nav-line.active {
  width: 56px;
  background: #D4A93F!important;
}

.custom-slider-nav .nav-line .nav-line-fill {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 0%;
  border-radius: 2px;
}

.custom-slider-nav .nav-line.active .nav-line-fill {
  width: 100%;
  transition: width 5s linear;
}

/* Responsive */
@media (max-width: 768px) {
  .custom-slide-caption h1,
  .custom-slide-caption h2 {
    font-size: 28px;
  }

  .custom-slide-caption p {
    font-size: 15px;
  }

  .custom-slider-arrow {
    width: 38px;
    height: 38px;
    font-size: 16px;
  }
}
