/* ==========================================================================
   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: auto!important;
  height: 100%!important;
  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;
    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: 3.5rem;
	margin: 0 0 12px 0;
	line-height: 3.5rem;
/*   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: 16%; */
  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: 2rem; line-height: 2.5rem;  }
	.custom-slide-caption p { font-size: 15px; }
	.custom-slider-arrow { width: 38px; height: 38px; font-size: 16px;  }
	.custom-slider-nav{ left: 8rem;}
	.custom-slide-caption {	left: 2%; max-width: 100%;}
}

@media (min-width: 768px) and (max-width: 1399px) {
	.custom-slide-caption h1, .custom-slide-caption h2 { font-size: 2.5rem; line-height: 3.5rem;  }
	.custom-slide-caption {	left: 2%; max-width: 500px;}
	.custom-slider-nav { left: 10%;}	
}

@media (min-width: 1400px) {
	.custom-slide-caption {	left: 6%; max-width: 600px;}
	.custom-slider-nav { left: 10%;}
}