/* =========================================================== */
/* Elementor Container & Section Parallax
/* =========================================================== */
.dplf--parallax-container {
	position: relative;
	overflow: hidden;
	z-index: 1;
}

.dplf-parallax-bg {
	position: absolute;
	top: -15%;
	left: 0;
	width: 100%;
	height: 130%;
	background-repeat: no-repeat;
	background-position: center center;
	background-size: cover;
	background-attachment: scroll;
	will-change: transform;
	transform: translate3d(0, 0, 0);
	backface-visibility: hidden;
	z-index: -1;
}

/* Elementor Editor Mode */
.elementor-editor-active .dplf--parallax-container {
	overflow: hidden;
}

.elementor-editor-active .dplf-parallax-bg {
	top: 0;
	height: 100%;
	animation: none;
}

/* Editor preview animation */
.elementor-editor-active .dplf-parallax-bg.dplf-preview-animation {
	animation: dplfParallaxPreview 4s ease-in-out infinite;
}

@keyframes dplfParallaxPreview {
	0%, 100% { transform: translate3d(0, 0, 0); }
	25% { transform: translate3d(0, -25px, 0); }
	75% { transform: translate3d(0, 25px, 0); }
}

/* Content layering */
.dplf--parallax-container > *:not(.dplf-parallax-bg) {
	position: relative;
	z-index: 2;
}

/* Performance optimizations */
.dplf-parallax-bg {
	transform-style: preserve-3d;
	perspective: 1000px;
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
	.dplf-parallax-bg {
		transform: none !important;
		animation: none !important;
		will-change: auto;
	}
}