/* Dual Motion Hero Slider 2.0 — style.css */

.dmh85-slider {
  position: relative;
  overflow: hidden;
  width: 100%;
  min-height: 680px;
  display: flex;
  flex-direction: column;
}

.dmh85-track {
  position: relative;
  width: 100%;
  flex: 1;
  overflow: hidden;
}

/* ---- SLIDE ---- */
.dmh85-slide {
  position: absolute;
  inset: 0;
  display: none;
  width: 100%;
  height: 100%;
}

.dmh85-slide.dmh85-active {
  display: flex;
  position: relative;
}

.dmh85-slide.dmh85-entering,
.dmh85-slide.dmh85-leaving {
  display: flex;
  position: absolute;
}

.dmh85-slide-inner {
  display: flex;
  flex-direction: row;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

/* ---- IMAGE COLUMN ---- */
.dmh85-image-col {
  position: relative;
  flex: 0 0 50%;
  max-width: 50%;
  overflow: hidden;
  background-color: #1a1a2e;
  will-change: transform, opacity;
}

.dmh85-image-col img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.dmh85-image-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background-color: rgba(0,0,0,0);
  opacity: 0.3;
}

/* ---- COPY COLUMN ---- */
.dmh85-copy-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px 60px;
  overflow: hidden;
  will-change: transform, opacity;
}

.dmh85-copy-inner {
  max-width: 560px;
}

/* ---- TYPOGRAPHY ---- */
.dmh85-subheadline {
  margin: 0 0 12px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #6EC1E4;
}

.dmh85-headline {
  margin: 0 0 20px;
  font-size: clamp(28px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.15;
  color: #1A1A2E;
}

.dmh85-description {
  margin: 0 0 32px;
  font-size: 16px;
  line-height: 1.7;
  color: #54595F;
}

.dmh85-description p { margin: 0 0 1em; }
.dmh85-description p:last-child { margin-bottom: 0; }

/* ---- CTAs ---- */
.dmh85-ctas {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

.dmh85-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: background-color 0.25s ease, color 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
  white-space: nowrap;
}

.dmh85-cta:hover {
  transform: translateY(-2px);
}

.dmh85-cta1 {
  padding: 14px 32px;
  background-color: #6EC1E4;
  color: #ffffff;
  border-radius: 6px;
}

.dmh85-cta2 {
  padding: 12px 30px;
  background-color: transparent;
  color: #1A1A2E;
  border: 2px solid #1A1A2E;
  border-radius: 6px;
}

.dmh85-cta svg,
.dmh85-cta i {
  font-size: 1em;
  width: 1em;
  height: 1em;
}

/* ---- ARROWS ---- */
.dmh85-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background-color: rgba(255,255,255,0.9);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 2px 12px rgba(0,0,0,0.12);
  padding: 0;
}

.dmh85-arrow:hover {
  transform: translateY(-50%) scale(1.08);
  box-shadow: 0 4px 20px rgba(0,0,0,0.18);
}

.dmh85-arrow svg {
  width: 20px;
  height: 20px;
  fill: #1A1A2E;
  pointer-events: none;
}

.dmh85-arrow-prev { left: 20px; }
.dmh85-arrow-next { right: 20px; }

/* ---- DOTS ---- */
.dmh85-dots-wrap {
  display: flex;
  align-items: center;
  z-index: 10;
}

.dmh85-dots-wrap.inside {
  position: absolute;
  bottom: 24px;
  left: 0;
  right: 0;
}

.dmh85-dots-wrap.outside {
  position: relative;
  padding: 16px 0 0;
}

.dmh85-dots {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  justify-content: center;
  width: 100%;
}

.dmh85-dot {
  display: block;
  width: 10px;
  height: 10px;
  background-color: rgba(26,26,46,0.35);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background-color 0.3s ease, transform 0.3s ease, width 0.3s ease;
  flex-shrink: 0;
}

.dmh85-dot.circle  { border-radius: 50%; }
.dmh85-dot.square  { border-radius: 2px; }
.dmh85-dot.pill    { border-radius: 999px; width: 10px; }
.dmh85-dot.pill.active { width: 28px; }

.dmh85-dot.active {
  background-color: #6EC1E4;
  transform: scale(1.2);
}
.dmh85-dot.pill.active { transform: none; }

/* ---- INVERT ---- */
.dmh85-slider.dmh85-invert .dmh85-slide-inner {
  flex-direction: row-reverse;
}

/* ---- RESPONSIVE STACKING ---- */
@media (max-width: 767px) {
  .dmh85-slider.dmh85-mobile-stack .dmh85-slide-inner {
    flex-direction: column;
  }
  .dmh85-slider.dmh85-mobile-stack .dmh85-image-col {
    flex: 0 0 45%;
    max-width: 100%;
    width: 100%;
    min-height: 240px;
  }
  .dmh85-slider.dmh85-mobile-stack .dmh85-copy-col {
    flex: 1;
    padding: 32px 24px;
  }
  .dmh85-slider.dmh85-mobile-stack.dmh85-img-first .dmh85-slide-inner {
    flex-direction: column;
  }
  .dmh85-slider.dmh85-mobile-stack:not(.dmh85-img-first) .dmh85-slide-inner {
    flex-direction: column-reverse;
  }
  .dmh85-headline {
    font-size: clamp(22px, 6vw, 36px);
  }
  .dmh85-arrow-prev { left: 10px; }
  .dmh85-arrow-next { right: 10px; }
  .dmh85-arrow { width: 36px; height: 36px; }
  .dmh85-arrow svg { width: 16px; height: 16px; }
  .dmh85-ctas { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 1024px) and (min-width: 768px) {
  .dmh85-copy-col { padding: 32px 40px; }
  .dmh85-headline { font-size: clamp(24px, 3.5vw, 42px); }
}

/* ---- TRANSITION STATES ---- */
.dmh85-col-anim {
  transition-property: transform, opacity;
  transition-timing-function: cubic-bezier(0.25,0.46,0.45,0.94);
  transition-duration: 800ms;
}

/* perspective for 3D */
.dmh85-slider.dmh85-3d .dmh85-slide-inner {
  perspective: 1200px;
  transform-style: preserve-3d;
}

.dmh85-slider.dmh85-3d .dmh85-image-col,
.dmh85-slider.dmh85-3d .dmh85-copy-col {
  transform-style: preserve-3d;
  backface-visibility: hidden;
}
