/* luderio-homepage-prezentare.css */
/* Version: 1.2.9 */

.lud-hp-prez {
  position: relative;
  width: 100%;
  margin-top: -170px; /* revine exact ca înainte */
  z-index: 2;
}

.lud-hp-prez-wave {
  position: relative;
  width: 100%;
  height: 220px;
  pointer-events: none;
}

.lud-hp-prez-wave-svg {
  display: block;
  width: 100%;
  height: 100%;
}

.lud-hp-prez-bg {
  background: #f1f1fb;
  width: 100%;
}

.lud-hp-prez-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 40px 24px 70px 24px;
}

.lud-hp-prez-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 36px;
  align-items: center;
}

/* Fade la schimbarea conținutului din stânga */
.lud-hp-prez-left-inner {
  transition: opacity 180ms ease, transform 180ms ease;
}
.lud-hp-prez-left.is-fading .lud-hp-prez-left-inner {
  opacity: 0;
  transform: translateY(6px);
}

.lud-hp-prez-title {
  font-size: 2.2rem;
  color: #283345;
  text-transform: uppercase;
  font-weight: 400;
  margin: 0;
  line-height: 1.2;
}

.lud-hp-prez-text {
  margin: 14px 0 0 0;
  font-size: 1rem;
  color: #283345;
  opacity: 0.9;
  max-width: 520px;
}

.lud-hp-prez-link {
  display: inline-block;
  margin-top: 16px;
  color: #dd5034;
  text-decoration: underline;
  font-weight: 500;
}
.lud-hp-prez-link.is-hidden {
  display: none;
}

.lud-hp-prez-right {
  display: flex;
  justify-content: center;
  align-items: center;
}

.lud-hp-prez-shapes {
  position: relative;
  width: 100%;
  max-width: 820px;
  height: 560px;
}

/* Card style */
.lud-hp-prez-shape {
  position: absolute;
  display: block;
  border: 1px solid #e9ecef;
  background: #ffffff;
  box-shadow: 0 4px 18px rgba(0,0,0,0.04);
  padding: 10px;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, z-index 180ms ease;
  overflow: hidden;
}

.lud-hp-prez-shape:focus {
  outline: none;
}

.lud-hp-prez-shape:hover {
  transform: scale(1.04);
  box-shadow: 0 10px 28px rgba(0,0,0,0.08);
}

.lud-hp-prez-shape.is-active {
  transform: scale(1.07);
  box-shadow: 0 18px 40px rgba(0,0,0,0.12);
  z-index: 50 !important;
}

.lud-hp-prez-shape-inner {
  display: block;
  width: 100%;
  height: 100%;
  background: #ffffff;
  overflow: hidden;
}

.lud-hp-prez-img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

/* Forme + poziții */

.lud-shape-square {
  width: 360px;
  height: 360px;
  border-radius: 14px;
  top: 42px;
  left: 10px;
  z-index: 10;
}
.lud-shape-square .lud-hp-prez-shape-inner { border-radius: 10px; }

.lud-shape-rect {
  width: 560px;
  height: 320px;
  border-radius: 14px;
  top: 128px;
  left: 260px;
  z-index: 20;
}
.lud-shape-rect .lud-hp-prez-shape-inner { border-radius: 10px; }

.lud-shape-circle {
  width: 360px;
  height: 360px;
  border-radius: 999px;
  left: 48%;
  top: 300px;
  transform: translateX(-50%);
  z-index: 30;
}
.lud-shape-circle:hover { transform: translateX(-50%) scale(1.04); }
.lud-shape-circle.is-active { transform: translateX(-50%) scale(1.07); }
.lud-shape-circle .lud-hp-prez-shape-inner { border-radius: 999px; }

/* Responsive */
@media (max-width: 980px) {
  .lud-hp-prez {
    margin-top: -140px; /* exact ca înainte */
  }

  .lud-hp-prez-grid {
    grid-template-columns: 1fr;
  }

  .lud-hp-prez-left {
    text-align: center;
  }

  .lud-hp-prez-text {
    margin-left: auto;
    margin-right: auto;
  }

  .lud-hp-prez-shapes {
    height: 540px;
    max-width: 700px;
  }

  .lud-shape-square { left: 0; }
  .lud-shape-rect   { left: 150px; width: 520px; }
  .lud-shape-circle { left: 48%; }
}

@media (max-width: 640px) {
  .lud-hp-prez-wave {
    height: 170px;
  }

  .lud-hp-prez-inner {
    padding: 26px 16px 50px 16px;
  }

  .lud-hp-prez-left {
    text-align: center;
  }

  .lud-hp-prez-title {
    font-size: 1.7rem;
  }

  .lud-hp-prez-text {
    margin-left: auto;
    margin-right: auto;
    max-width: 520px;
  }

  .lud-hp-prez-link {
    margin-left: auto;
    margin-right: auto;
  }

  .lud-hp-prez-shapes {
    height: 520px;
  }

  .lud-shape-square { width: 300px; height: 300px; top: 30px; left: 0; }
  .lud-shape-rect   { width: 420px; height: 260px; top: 130px; left: 130px; }
  .lud-shape-circle { width: 320px; height: 320px; top: 285px; left: 48%; }
}
