/* ce-slider.css — Simple L/R slide + Ken Burns bg, orange nav (#F69322), no microcard, no horizontal scroll */

.ce-slider-full {
  position: relative;
  width: 100%;
  margin: 0 auto;
  overflow: hidden; /* prevent horizontal scroll */
  z-index: 1;
  -webkit-font-smoothing: antialiased;
}

/* slides container: full viewport height */
.ce-slides {
  position: relative;
  height: 96vh; /* full height */
  width: 100%;
  overflow: hidden;
}

/* individual slide (stacked) */
.ce-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateX(100%); /* start off-screen right */
  transition: transform 700ms cubic-bezier(.25,.8,.25,1), opacity 600ms ease;
  will-change: transform, opacity;
  pointer-events: none;
}

/* active slide sits in view */
.ce-slide.is-active {
  opacity: 1;
  transform: translateX(0);
  z-index: 4;
  pointer-events: auto;
}

/* outgoing to left */
.ce-slide.leaving-left {
  transform: translateX(-100%);
  opacity: 0;
}

/* outgoing to right */
.ce-slide.leaving-right {
  transform: translateX(100%);
  opacity: 0;
}

/* incoming from right (applied by JS) */
.ce-slide.entering-right {
  transform: translateX(0);
  opacity: 1;
}

/* incoming from left (applied by JS) */
.ce-slide.entering-left {
  transform: translateX(0);
  opacity: 1;
}

/* background image (covers slide) */
.ce-slide-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 1200ms ease;
  will-change: transform;
  filter: blur(3px) brightness(0.7);
}

/* simple Ken Burns on active slide */
@keyframes kb-simple {
  0% { transform: scale(1.02) translateX(0%); }
  50% { transform: scale(1.06) translateX(1.5%); }
  100% { transform: scale(1.02) translateX(0%); }
}
.ce-slide.is-active .ce-slide-bg {
  animation: kb-simple 12s ease-in-out infinite;
}

/* centered overlay (title + desc) */
.ce-overlay {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) translateY(12px);
  text-align: center;
  width: min(1000px, 86%);
  color: #fff;
  z-index: 6;
  pointer-events: none;
  opacity: 0;
  transition: transform 520ms 80ms, opacity 520ms 80ms;
  text-shadow: 0 12px 28px rgba(0,0,0,0.56);
}
.ce-slide.is-active .ce-overlay {
  transform: translate(-50%, -50%) translateY(0);
  opacity: 1;
}

/* title and description */
.ce-title {
  margin: 0 0 10px;
  font-weight: 700;
  font-size: clamp(26px, 4vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.02em;
}
.ce-desc {
  margin: 0;
  font-size: clamp(13px, 1.4vw, 18px);
  color: rgba(255,255,255,0.92);
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

/* controls (right-bottom) */
.ce-controls {
  position: absolute;
  right: 28px;
  bottom: 28px;
  z-index: 20;
  display: flex;
  gap: 12px;
  align-items: center;
  user-select: none;
}

/* boxed arrows (rectangular) with orange background accent */
.ce-arrow {
  min-width: 64px;
  height: 44px;
  padding: 0 14px;
  border-radius: 10px;
  border: 0;
  background: #F69322; /* desired color */
  color: #111;
  font-size: 20px;
  display: inline-grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 10px 28px rgba(0,0,0,0.25);
  transition: transform 160ms ease, filter 160ms, background-color 160ms ease, color 160ms ease;
}

/* hover: white background (requested) */
.ce-arrow:hover,
.ce-arrow:focus {
  transform: translateY(-3px);
  filter: none;
  background: #ffffff;
  color: #111;
  box-shadow: 0 12px 30px rgba(0,0,0,0.18);
  outline: none;
}

/* progress bar (simple) */
.ce-progress-wrap {
  width: 220px;
  height: 8px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.02);
}
.ce-progress {
  width: 0%;
  height: 100%;
  background: rgba(255,255,255,0.92);
  transition: width linear;
}

/* responsive */
@media (max-width: 980px) {
  .ce-controls { right: 14px; bottom: 14px; gap: 8px; }
  .ce-arrow { min-width: 52px; height: 40px; }
  .ce-progress-wrap { width: 140px; height: 7px; }
  .ce-title { font-size: clamp(20px, 7vw, 36px); }
}
@media (max-width: 560px) {
  .ce-slides { height: calc(100vh - 60px); }
  .ce-title { font-size: clamp(18px, 8vw, 28px); }
  .ce-progress-wrap { display:none; }
  .ce-controls { right: 10px; bottom: 10px; }
}

/* ensure nothing forces horizontal scrolling from slider */
.ce-slider-full, .ce-slides, .ce-slide, .ce-slide-bg { box-sizing: border-box; max-width: 100%; }
