/* === Full width breakout wrapper === */
.hero-slider-wrapper {
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;   /* break out of content container */
  margin-right: -50vw;
  width: 100vw;
  box-sizing: border-box;
  z-index: 0;
  padding: 0;
}

/* hero area */
.hero-slider {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 80vh;
  max-height: 900px;
  background: #000;
}

/* slides as a horizontal row */
.slides-wrapper {
  display: flex;
  transition: transform 0.6s ease-in-out;
  will-change: transform;
}

/* each slide fills the viewport */
.slide {
  min-width: 100vw;          /* ensure full viewport width */
  flex: 0 0 100vw;
  height: 100%;
  position: relative;
  overflow: hidden;
}

/* image fills slide */
.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* subtle gradient overlay for readability */
.slide::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(0,0,0,0.12) 0%, rgba(0,0,0,0.45) 60%);
}

/* caption card */
.caption {
  position: absolute;
  left: 6%;
  bottom: 10%;
  max-width: 48%;
  background: rgba(0, 0, 0, 0.52);
  color: #fff;
  padding: 18px 20px;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.45);
  z-index: 5;
}

.caption h2 {
  margin: 0 0 8px;
  font-size: clamp(1.5rem, 3vw, 2.6rem);
  line-height: 1.1;
}

.caption p {
  margin: 0 0 12px;
  font-size: clamp(0.95rem, 1.2vw, 1.05rem);
  line-height: 1.4;
}

.read-more {
  color: #fff;
  text-decoration: underline;
  font-weight: 500;
}

/* controls */
.prev-slide, .next-slide {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.45);
  color: #fff;
  border: none;
  font-size: 1.9rem;
  cursor: pointer;
  padding: 10px 14px;
  border-radius: 50%;
  transition: background 0.2s ease;
  z-index: 10;
  box-shadow: 0 6px 20px rgba(0,0,0,0.5);
}

.prev-slide:hover, .next-slide:hover {
  background: rgba(0,0,0,0.7);
}

.prev-slide { left: 18px; }
.next-slide { right: 18px; }

/* dots */
.slider-dots {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}

.slider-dots button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.45);
  cursor: pointer;
  transition: transform .15s;
}

.slider-dots button.active { background: #fff; transform: scale(1.05); }

/* responsive */
@media (max-width: 1024px) {
  .caption { max-width: 60%; left: 5%; bottom: 9%; padding: 14px 16px; }
}

@media (max-width: 768px) {
  .hero-slider { height: 65vh; }
  .caption { left: 5%; bottom: 8%; max-width: 86%; padding: 12px 14px; }
  .caption h2 { font-size: 1.4rem; }
  .caption p { font-size: 0.95rem; }
  .prev-slide, .next-slide { font-size: 1.4rem; padding: 8px 10px; }
  .slider-dots { bottom: 12px; }
}

@media (max-width: 480px) {
  .hero-slider { height: 55vh; }
  .caption { bottom: 7%; left: 4%; right: 4%; max-width: 92%; padding: 10px 12px; }
  .caption h2 { font-size: 1.1rem; }
  .caption p { font-size: 0.9rem; }
}
