/*
Theme Name:   Opera Atelier Child
Theme URI:    https://www.monteluna.it
Author:       Monteluna
Author URI:   https://www.monteluna.it
Description:  Child theme di Opera Atelier
Template:     opera_atelier
Version:      1.0.0
License:      GNU General Public License v2 or later
License URI:  https://www.gnu.org/licenses/gpl-2.0.html
Text Domain:  opera_atelier-child
*/

/* IMPORT */
@import url("inc/css/generali.css");
@import url("inc/css/colori.css");
@import url("inc/css/font.css");
@import url("inc/css/pulsanti.css");
@import url("inc/css/link-fx.css");
@import url("inc/css/carosello.css");
@import url("inc/css/titoloni-fx.css");
@import url("inc/css/testo-fx.css");
@import url("inc/css/img-fx.css");
@import url("inc/css/slider-loghi.css");
/*@import url("inc/css/slider-infinito.css");*/

/* SPLASH PAGE */
body.page-template-page-splash {
	margin: 0;
	padding: 0;
	overflow: hidden;
	height: 100dvh;
}

.page-template-page-splash {
	margin: 0 !important;
}

.page-template-page-splash header,
.page-template-page-splash footer {
	display: none;
}

section.splash-page {
	height: 100vh;
	height: 100dvh;
	max-height: 100dvh;
	display: flex;
	align-items: flex-end;
	justify-content: flex-end;
	padding: 25px;
	position: relative;
}

section.splash-page .slider {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 1;
}

section.splash-page .slider img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 0;
	transition: opacity 1.2s ease-in-out;
}

section.splash-page .slider img.active {
	opacity: 1;
}

section.splash-page .box-info {
	display: flex;
	flex-direction: column;
	background-color: #0e3cc5;
	color: #fff;
	padding: 25px 20px;
	width: 500px;
	align-items: flex-end;
	position: relative;
	z-index: 2;
}

section.splash-page .box-info > img {
	width: 100%;
	margin-bottom: 30px;
}

section.splash-page .slider > img:nth-child(3) {
	object-position: 20%;
}

section.splash-page .box-info p {
	font-family: "times-new-roman";
	font-size: 1.5em;
	line-height: 1;
	width: 100%;
}

section.splash-page .box-info .box-link {
	display: flex;
	flex-direction: column;
	margin-top: 3px;
	gap: 2px;
	font-size: 0.9em;
}

section.splash-page .box-info .box-link a {
	font-weight: 600;
	font-family: "inter-18pt";
	line-height: 1.2;
}

section.splash-page .box-info .box-link a.brochure {
	display: flex;
	gap: 2px;
}

/* HEADER */
#masthead {
	display: none;
}

/* FOOTER */
footer {
	padding-top: 80px;
	padding-bottom: 40px;
	position: relative;
}

footer .info {
	display: flex;
	flex-direction: column;
	gap: 40px;
	align-items: center;
	margin-bottom: 100px;
}

footer .info .payoff {
	font-size: 5.5em;
	line-height: 0.7;
	padding-bottom: 10px;
	max-width: 660px;
	text-align: center;
}

footer .info .link {
	max-width: 440px;
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
}

footer .info .link a {
	font-size: 2.5em;
	display: flex;
	align-items: center;
	gap: 3px;
}

footer .info .link a img {
	width: 40px;
}

footer .info .social {
	display: flex;
	gap: 20px;
}

footer .info .social a {
	border-radius: 100px;
	border: 1px solid #fff;
	padding: 15px 15px 13px;
	line-height: 0;
	background-color: #ffffff00;
	transition: all 0.3s;
}

footer .info .social a svg {
	width: 26px;
	height: 26px;
}

footer .info .social a svg path {
	transition: all 0.3s;
}

footer .info .social a:hover {
	background-color: #ffffffff;
}

footer .info .social a:hover svg path {
	fill: #0e3cc5;
}

footer .copyright {
	display: flex;
	align-items: flex-end;
	gap: 40px;
	flex-wrap: wrap;
}

footer .copyright > div:not(.no-desktop) {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

footer .copyright > div:nth-child(2) {
	width: calc(65.5% - (40px / 2));
}

footer .copyright > div:last-child {
	width: calc(34.5% - (40px / 2));
}

footer .copyright .link {
	font-size: 0.8em;
	text-align: right;
	line-height: 1.2;
}

footer .copyright > .link {
	text-align: center;
	justify-content: center;
	width: 100%;
	gap: 5px;
	margin-bottom: 25px;
}

footer > .pulsante {
	width: 50px;
	height: 50px;
	padding: 0;
	position: absolute;
	top: 80px;
	right: 40px;
	transform: rotate(180deg);
}

footer > .pulsante svg {
	height: 21px;
}

/* HOME */
.hero {
	height: 100vh;
	height: 100dvh;
	max-height: 100dvh;
	display: flex;
	justify-content: space-between;
	position: relative;
	background-image: url("/wp-content/uploads/2026/04/img-4-carousel-splash-page-opera-atelier.jpg");
	background-size: cover;
	background-position: center;
	padding-top: 40px;
	padding-bottom: 40px;
	flex-direction: column;
}

.hero .logo {
	display: flex;
	gap: 40px;
	align-items: flex-end;
}

.hero .logo > img:first-child {
	width: calc(65.5% - (40px / 2));
}

.hero .logo > img:last-child {
	width: calc(34.5% - (40px / 2));
}

.hero div {
	gap: 20px;
}

.hero div .payoff {
	font-size: 2.9em;
	max-width: 420px;
	line-height: 0.8;
}

span.spazio {
	width: 13%;
	display: inline-block;
	vertical-align: middle;
}

#who-we-are {
	padding-top: 40px;
	padding-bottom: 40px;
	gap: 170px;
	display: flex;
	flex-direction: column;
}

#who-we-are div:first-child p {
	font-size: 5vw;
	line-height: 87%;
}

#who-we-are div:first-child p span.spazio {
	font-size: 0.2em;
}

#who-we-are div:last-child {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
}

#who-we-are div:last-child p {
	max-width: 395px;
}

#our-companies {
	padding-top: 140px;
	padding-bottom: 130px;
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
}

#our-companies p {
	font-size: 1.5em;
	color: #19191947;
}

#our-companies > div#grid-loghi {
	margin-top: 70px;
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 5vw;
	width: 100%;
	max-width: 90vw;
	flex-wrap: wrap;
}

#our-companies div#grid-loghi img {
	width: auto;
	max-width: 100%;
	height: 3vw;
	opacity: 0.32;
	transition: opacity 0.3s;
}

#our-companies div#grid-loghi a:nth-child(1) img {
	height: 2.9vw;
}

#our-companies div#grid-loghi a:nth-child(3) img {
	height: 3.5vw;
}

#our-companies div#grid-loghi a:nth-child(4) img {
	height: 3.6vw;
}

#our-companies div#grid-loghi img:hover {
	opacity: 1;
}

#our-project .dflex {
	margin-bottom: 15px;
}

#our-project .dflex:not(:first-child) {
	margin-top: 40px;
	display: flex !important;
}

#our-project .dflex p {
	font-size: 1.5em;
}

#our-project .frase {
	padding-top: 130px;
	padding-bottom: 150px;
	max-width: 82vw;
	margin: 0 auto;
}

#our-project .frase p {
	font-size: 5vw;
	line-height: 92%;
}

#our-project .frase p span.spazio {
	font-size: 0.2em;
}

#our-services {
	padding-top: 40px;
	padding-bottom: 50px;
}

#our-services > div.dflex p.semi-bold {
	font-size: 1.5em;
}

#our-services > div.dflex p.light {
	max-width: 395px;
}

#our-services .titoloni-fx {
	padding-top: 30px;
	padding-bottom: 30px;
}

#our-services .titoloni-fx p.times {
	font-size: 10.3vw;
	padding-bottom: 10px;
	line-height: 1.05;
}

#our-services .titoloni-fx p.inter {
	max-width: 395px;
}

@media screen and (max-width: 1300px) {
	#our-services .titoloni-fx p.inter {
		max-width: 28vw;
		padding: 20px 0;
	}
}

@media (max-width: 1500px) {
	#who-we-are div:first-child p {
		font-size: 4.9vw;
	}
}
@media (max-width: 1200px) {
	#who-we-are div:first-child p {
		font-size: 4.8vw;
	}
}

@media (max-width: 1100px) {
	#our-project .frase {
		max-width: 90vw;
	}
}

@media (max-width: 1023px) {
	#our-services .titoloni-fx-parent {
		flex-direction: column;
		align-items: flex-start;
		padding: 0;
		transition: all 0.4s;
	}

	#our-services .titoloni-fx p.times {
		font-size: 12.5vw;
		width: 100%;
		padding: 0;
		line-height: 1.2;
	}

	#our-services .titoloni-fx p.inter {
		font-size: 2em;
		max-width: 100%;
	}

	#our-services .titoloni-fx-parent.titoloni-fx-parent--hover {
		padding: 20px 0 0;
	}

	#our-services .titoloni-fx-parent.titoloni-fx-parent--hover .inter {
		opacity: 1;
	}

	#our-services {
		overflow: hidden;
	}
}

@media (max-width: 849px) {
	#who-we-are {
		padding-top: 15px;
		padding-bottom: 30px;
	}

	#who-we-are div:first-child p span.spazio {
		width: 100%;
		font-size: 0.5em;
		padding-bottom: 12px;
	}

	#who-we-are div:first-child p {
		font-size: 5.8vw;
	}

	#who-we-are div:last-child {
		justify-content: flex-start;
	}

	#our-project .frase p span.spazio {
		font-size: 0.3em;
	}

	#our-project .frase {
		width: 100%;
		max-width: 100%;
	}

	footer .copyright {
		gap: 20px 40px;
		align-items: flex-end;
	}

	footer .copyright > .link {
		font-size: 1em;
		flex-wrap: wrap;
	}

	#our-services > div.dflex p.light {
		width: 100%;
		padding: 20px 0 10px;
	}

	#our-services .titoloni-fx p.inter {
		font-size: 4.7vw;
	}
	footer > .pulsante {
		top: 22px;
		right: 22px;
		width: 40px;
		height: 40px;
	}
	footer > .pulsante svg {
		height: 17px;
	}
}

@media (max-width: 549px) {
	section.splash-page .box-info {
		align-items: flex-start;
		width: 100%;
		max-width: 400px;
		overflow: hidden;
		cursor: pointer;
	}

	section.splash-page .box-info > img {
		margin-bottom: 0;
		transition: all 0.4s ease;
	}

	section.splash-page .box-info p,
	section.splash-page .box-info .box-link {
		max-height: 0;
		opacity: 0;
		overflow: hidden;
		transition:
			max-height 0.5s ease,
			opacity 0.4s ease 0.1s,
			margin-top 0.2s ease 0.1s;
	}

	section.splash-page .box-info p {
		font-size: 1.2em;
	}

	section.splash-page .box-info .box-link {
		font-size: 0.85em;
	}

	section.splash-page .box-info.box-info--open p {
		max-height: 300px;
		opacity: 1;
		margin-top: 20px;
	}

	section.splash-page .box-info.box-info--open .box-link {
		max-height: 120px;
		opacity: 1;
		margin-top: 15px;
	}

	span.spazio {
		width: 17.5vw;
	}

	#who-we-are {
		gap: 100px;
	}

	#who-we-are div:first-child p {
		font-size: 7vw;
	}

	#who-we-are div:first-child p span.spazio {
		font-size: 0.5em;
	}

	#who-we-are div:last-child p {
		max-width: 100%;
		width: 100%;
	}

	#our-project .frase {
		padding-top: 80px;
		padding-bottom: 80px;
	}

	#our-project .frase p {
		font-size: 7.5vw;
	}

	#our-project .frase p span.spazio {
		font-size: 0.4em;
	}

	#our-project .frase p span.spazio {
		width: 30vw;
	}

	section.lh0 > img {
		object-fit: cover;
		height: 140vw;
	}

	footer {
		padding-top: 50px;
		padding-bottom: 20px;
	}

	footer .copyright {
		gap: 15px;
		flex-direction: column;
		align-items: flex-start;
	}

	footer .copyright > div:nth-child(2) {
		width: 100%;
	}

	footer .copyright > div:last-child {
		width: 42%;
	}

	footer .info .payoff {
		font-size: 12vw;
	}

	footer .info .payoff {
		font-size: 11.7vw;
	}

	footer .info .link a {
		font-size: 7vw;
	}

	footer .info .link a img {
		width: 30px;
	}

	footer .info {
		margin-bottom: 60px;
	}

	footer .info .payoff {
		padding-bottom: 0;
	}

	footer > .pulsante {
		bottom: 17px;
		right: 17px;
		top: unset;
		width: 30px;
		height: 30px;
	}
	footer > .pulsante svg {
		height: 14px;
	}

	#our-companies {
		padding-top: 60px;
		padding-bottom: 80px;
		position: relative;
	}
	footer .copyright > .link {
		font-size: 0.77em;
	}
	#our-services > div.dflex p.light {
		max-width: 100%;
	}
}

@media (max-width: 360px) {
	#who-we-are div:first-child p {
		font-size: 8vw;
	}

	footer .info .payoff {
		font-size: 11.5vw;
	}

	footer .info .link a img {
		width: 25px;
	}
	footer > .pulsante {
		width: 36px;
		height: 36px;
	}
	footer > .pulsante svg {
		height: 15px;
	}
}
