/**
 * Pretpot Scaling Image on Scroll Widget Styles
 */

.pretpot-scaling-image-container {
	position: relative;
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: visible;
}

.pretpot-scaling-image-wrapper {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	will-change: transform;
	transition: transform 0.05s linear;
}

.pretpot-scaling-image {
	width: 100%;
	height: 100%;
	display: block;
	transition: filter 0.3s ease;
}

.pretpot-scaling-center-content {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	z-index: 10;
	display: flex;
	align-items: center;
	justify-content: center;
	pointer-events: none;
}

.pretpot-scaling-center-icon,
.pretpot-scaling-center-text {
	display: flex;
	align-items: center;
	justify-content: center;
}

.pretpot-scaling-center-icon svg {
	display: block;
}

/* Smooth transitions */
@media (prefers-reduced-motion: reduce) {
	.pretpot-scaling-image-wrapper {
		transition: none !important;
	}
}

/* Elementor Editor Compatibility */
.elementor-editor-active .pretpot-scaling-image-wrapper {
	transform: scale(0.75) !important;
}

/* Mobile optimizations */
@media (max-width: 768px) {
	.pretpot-scaling-image-container {
		overflow: visible;
	}
}