/* Albrau footer: scena cu munti din subsol. Totul se activeaza din footer.js;
   fara JS subsolul ramane exact ca inainte. */

.af-on {
	background-image: none !important;
	background-color: #135f30 !important;
}
.af-scene {
	position: absolute;
	inset: 0;
	overflow: hidden;
	pointer-events: none;
	color: #1e6539;
}
.af-layer {
	position: absolute;
	left: 0;
	top: 0;
	will-change: transform;
}
.af-layer > svg {
	display: block;
	max-width: none;
	overflow: visible;
	opacity: 0;
	transform: translate3d(0, 30px, 0);
	transition: opacity 1.5s ease, transform 1.8s cubic-bezier(.2, .7, .2, 1);
}
.af-layer--mB > svg { transition-delay: .12s; }
.af-layer--mC > svg { transition-delay: .24s; }
.af-layer--field > svg { transition-delay: .36s; }
.af-seen .af-layer > svg {
	opacity: 1;
	transform: none;
}

/* moara: palele se invart */
.af-mills {
	position: absolute;
	inset: 0;
	opacity: 0;
	transition: opacity 1.5s ease .5s;
}
.af-seen .af-mills {
	opacity: 1;
}
.af-mill {
	position: absolute;
	animation: af-spin 16s linear infinite;
	will-change: transform;
}
.af-mill svg {
	display: block;
	width: 100%;
	height: 100%;
	overflow: visible;
}
@keyframes af-spin {
	to { transform: rotate(360deg); }
}

/* pasari care traverseaza cerul */
.af-birds {
	position: absolute;
	left: 0;
	opacity: 0;
	animation: af-fly 58s linear 2s infinite;
	will-change: transform;
}
.af-birds-in {
	animation: af-bob 5.5s ease-in-out infinite;
}
.af-birds svg {
	display: block;
	width: 100%;
	height: auto;
	overflow: visible;
}
@keyframes af-fly {
	0% { transform: translate3d(-60px, 0, 0); opacity: 0; }
	4% { opacity: 1; }
	94% { opacity: 1; }
	100% { transform: translate3d(calc(var(--af-w, 100vw) + 60px), -18px, 0); opacity: 0; }
}
@keyframes af-bob {
	0%, 100% { transform: translate3d(0, 0, 0); }
	50% { transform: translate3d(0, 7px, 0); }
}

/* continutul apare treptat */
.af-anim .af-item {
	opacity: 0;
	transform: translate3d(0, 20px, 0);
	transition: opacity .8s ease, transform .9s cubic-bezier(.2, .7, .2, 1);
	transition-delay: calc(.15s + var(--af-i, 0) * .11s);
}
.af-anim.af-seen .af-item {
	opacity: 1;
	transform: none;
}

/* iconitele sociale se ridica usor la hover */
.af-on .elementor-social-icon:not([class*="elementor-animation-"]) {
	transition: transform .25s ease, background-color .3s, color .3s, border-color .3s;
}
.af-on .elementor-social-icon:not([class*="elementor-animation-"]):hover {
	transform: translate3d(0, -3px, 0);
}

@media (prefers-reduced-motion: reduce) {
	.af-layer > svg,
	.af-mills {
		opacity: 1;
		transform: none;
		transition: none;
	}
	.af-mill,
	.af-birds,
	.af-birds-in {
		animation: none !important;
	}
	.af-on .elementor-social-icon:hover {
		transform: none !important;
	}
}
