/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    
}
.page-header{
	display:none;
}
.header-desk {
    display: flex;
}

/* Stile per il logo */
.logo {
    flex: 1;
    display: flex;
    flex-direction: row;
    align-items: center;
	margin-left: 100px;
}
.fixed-top{
	padding:0px !important;
}

/* Stile per il menu principale */
.main-menu {
    display: none;
    /* Nascondi il menu principale per impostazione predefinita */
}

/* Stile per l'icona delle tre barre (hamburger) */
.menu-toggle {
    display: block;
    cursor: pointer;
    padding: 10px;
}
[type=button]:focus, [type=button]:hover, [type=submit]:focus, [type=submit]:hover, button:focus, button:hover.navbar-toggler:hover,.navbar-toggler:active, .navbar-toggler:focus,.navbar-toggler:visited{
	background-color:transparent;
	border:0;
	box-shadow:none;
}
.bar {
    width: 50px;
    height: 3px;
    background-color: white;
    margin: 10px 0;
}
.colonna-offcanvas {
    width: 50%;
    display: flex;
    height: 100%;
    color: white;
    align-items: flex-end;
    justify-content: center;
}
.colonna-offcanvas p{
	color:white;
	font-family:'Urbanist';
	font-size:20px;
	width:80%;
	line-height:25px;
	
}
.menu-full {
    height: 100vh !important;
    
}

.menu-full:before {
    
    width: 100vw;
    position: absolute;
    height: 100vh;
    background: white;
    opacity: 0.8;
    z-index: -1;
}

header .offcanvas-body {

    display: flex;
    justify-content: center;

}
.menu-principale-offcanvas{
	width:50%;
}
.menu-principale,
.menu-principale a {
    list-style: none;
    font-size: 40px;
    font-weight: 100;
    font-family: 'Urbanist', sans-serif;
    color: white;
    text-decoration: none;
    text-transform: uppercase;
}


.btn-close {
    font-size: 30px;
    width:50px !important;
    height: 50px !important;
	opacity:1;
}
[type=button], [type=submit], button{
	border:0;
}
.offcanvas{
	background:#001051;
}
.custom-arrow-button {
        font-family: 'Urbanist';
    display: flex;
    border-radius: 30px;
    align-items: center;
    gap: 12px;
    padding: 10px 20px;
    background: none;
    border: 2px solid white;
    color: white;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.custom-arrow-button .arrow-icon {
    display: flex;
    align-items: center;
    position: relative;
}

/* 🔹 Freccia lunga iniziale (arriva fino a metà del cerchio) */
.arrow-line {
    width: 25px; /* Arriva fino a metà del cerchio */
    height: 1px; /* Più sottile per maggiore precisione */
    background-color: currentColor;
    position: relative;
    transition: width 0.3s ease, opacity 0.3s ease;
    display: flex;
    align-items: center;
}

/* 🔹 Punta della freccia */
.arrow-line::after {
    content: '';
    position: absolute;
    right: -4px;
    top: -3px;
    width: 6px;
    height: 6px;
    border-top: 1.5px solid currentColor;
    border-right: 1.5px solid currentColor;
    transform: rotate(45deg);
}

/* 🔹 Cerchio con l'icona FontAwesome */
.arrow-circle {
    width: 30px;
    height: 30px;
    border: 2px solid white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: -10px; /* Sovrapposizione precisa con la freccia */
    transition: transform 0.3s ease;
    position: relative;
    background: transparent;
}

/* 🔹 Icona FontAwesome inizialmente nascosta */
.arrow-circle i {
    font-size: 12px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* 🎯 Effetto Hover */
.custom-arrow-button:hover .arrow-line {
    width: 6px; /* Si accorcia leggermente */
    opacity: 0; /* Sparisce */
}

.custom-arrow-button:hover .arrow-circle {
    background: white;
    color:black;
    transform: translateX(-5px);
    
}

.custom-arrow-button:hover .arrow-circle i {
    opacity: 1; /* Appare l'icona */
}

.custom-arrow-button:hover {
    background: transparent;
    color: white;
}
.arrow-text{
  margin-right:5px;
}
.bluecolor{
        color:#001051;
    }
    .bluecolor .arrow-circle{
        border-color:#001051;
    }
    .bluecolor.custom-arrow-button{
        border: 2px solid #001051;
    }
    .bluecolor.custom-arrow-button:hover{
        color:#001051;
    }
    .bluecolor.custom-arrow-button:hover .arrow-circle{
        background: #001051;
    color:white;
    }
/* 🔹 Inizialmente, l'immagine è coperta da sotto */
.scroll-inset-img {
    clip-path: inset(100% 0 0 0); /* Nasconde l'immagine dal basso */
    transition: clip-path 0.6s ease-out;
}

/* 🔹 Quando entra nella viewport, l'immagine si rivela scorrendo verso l'alto */
.scroll-inset-img.active {
    clip-path: inset(0 0 0 0); /* Rende visibile tutta l'immagine */
}
.title-with-line {
    position: relative;
    display: inline-block; /* Assicura che la linea sia basata sulla larghezza del testo */
    padding-bottom: 10px; /* Spazio tra il testo e la linea */
}

.title-with-line::before {
    content: "";
    position: absolute;
    width: 80%; /* Larghezza della linea rispetto al titolo */
    height: 2px; /* Spessore della linea */
    background-color: #001051; /* Colore della linea */
    bottom: 0; /* Posizionata sotto il titolo */
    left: 0%; /* Centrata rispetto al titolo */
}
label{
	    font-family: 'Urbanist';
    font-weight: 300;
    line-height: 22.4px;
    color: #001051;
	font-size:20px;
	width:100%;
	margin:10px 0;
}
input[type=date], input[type=email], input[type=number], input[type=password], input[type=search], input[type=tel], input[type=text], input[type=url], select, textarea{
	margin-top:10px;
	width:100%;
}
textarea{
	height:100px;
}
input[type=submit]{
	    width: 100%;
    font-family: 'Urbanist';
    color: white;
    background: #001051;
}
.footer-cemetery{
	background:#E1E1E1;
	font-family:'Urbanist';
	
}
.div-footer{
	display:flex;
	flex-direction:row;
	justify-content: space-evenly;
	padding: 50px 0;
	width: 1300px;
    margin: auto;
}
.footer-cemetery img{
	margin-bottom:50px;
}
.footer-cemetery h4{
	
	color:#001051;
}
.colonna2-footer{
	display:flex;
	flex-direction:column;
	align-items:center;
}
.colonna1-footer,.colonna2-footer{
	width:40%;
}
.footer-cemetery h5, .footer-cemetery h5 a, .footer-cemetery h4{
color: #001051;
    font-family: 'Urbanist';
    font-weight: 300;
    font-size: 20px;
    line-height: 25px;
	font-weight:700;
} 
.footer-cemetery p{
	color:#001051;
	
	font-family: 'Urbanist';
	font-weight: 300;
	font-size: 18px;
	line-height:20px;

}
footer .menu_principale li a{
	color:#001051;
	font-size:18px;
	font-weight:300;
}
footer .menu_principale{
	list-style-type:none;
	padding: 0;
}
h3.copyright{
	font-size:14px;
	text-align:center;
	color:#001051;
	font-family:'Urbanist;
	font-weight:400;
	margin:0;
	padding:10px;
}
.btn-close {
    --bs-btn-close-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.414z'/%3e%3c/svg%3e");
}
.menu-principale li {
	position: relative;
margin-bottom:20px;}
.menu-principale li a {
    text-decoration: none;
    color: white;
    font-weight: normal;
    position: relative;
    transition: font-weight 0.3s ease;
	
}

.menu-principale li a::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: white;
    transition: width 0.3s ease, left 0.3s ease;
}

.menu-principale li:hover a {
    font-weight: bold; /* Testo in grassetto */
}

.menu-principale li:hover a::after {
    width: 100%;
    left: 0;
}
.sectionoffbassa a{
	color:white;
	font-family:'Urbanist';
	padding-left:2rem;
	text-transform:uppercase;
	font-size:20px;
}
.colonna-social i{
	font-size:35px;
}
button.bluecolor.custom-arrow-button{
	color: #001051;
}
input.wpcf7-form-control.wpcf7-submit.has-spinner:hover{
	    background: black;
    font-weight: 600;
}
.bottonScopri a{
     color:black;
}
.bottonScopri svg{
    margin-left: 20px;
}
.bottonScopri{
    
    width: 300px;
    position: absolute;
    right: 0;
    text-align: center;
    background: white;
    bottom:0;
    height: 100px;
    display: flex;
    
    align-items: center;
    justify-content: center;
    font-family: 'Urbanist';
    font-size: 25px;
   
}
/* 🔹 Contenitore principale con dimensione fissa */
.fixed-container {
    position: relative;
    width: 100%;
    height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* 🔹 Il rombo iniziale (fermo finché non scrolli) */
.animated-section {
    position: absolute;
    width: 90vmin; /* Quadrato perfetto */
    height: 90vmin;
    background: url('/wp-content/uploads/2025/02/Rectangle-51.png') center/cover no-repeat;
    transform: rotate(45deg);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1; /* Nasconde il rombo finché non appare */
    transition: transform 0.5s ease-in-out, width 0.5s ease-in-out, height 0.5s ease-in-out, opacity 0.5s ease-in-out;
}

/* 🔹 Titolo centrato */
.section-title {
    position: relative;
    color: white;
    font-size: 3rem;
    text-align: center;
    z-index: 2;
    opacity: 0;
    
    transition: opacity 1s;
    font-family: 'Urbanist';
font-weight: 700;
font-size: 58px;
line-height: 71.8px;
letter-spacing: 0%;
text-align: center;

}

/* 🔹 Quando entra nella viewport, il rombo si espande e diventa un rettangolo */
.animated-section.active {
    transform: rotate(0deg);
    width: 100%;
    height: 100%;
    opacity: 1; /* Mostra il rombo */
}

/* 🔹 Il titolo si raddrizza */
.animated-section.active .section-title {
    
    opacity: 1;
}


@media only screen and (max-width:900px){
	
	.logo{
		margin-left:0;
	}
	.menu-principale-offcanvas{
		width:100%;
	}
	.menu-principale, .menu-principale a{
		font-size:24px;
	}
	.custom-arrow-button{
		font-size:16px;
	}
	.section-title{
		font-size:32px;
		line-height:35px;
	}
	.bottonScopri{
		font-size:18px;
		width:200px;
		height:70px;
	}
	.div-footer {
    flex-direction: column;
		width: 100%;
		padding:50px 20px;

}
	.colonna1-footer, .colonna2-footer {
    width: 100%;
}
	.colonna2-footer{
		align-items: baseline;
	}
	header .offcanvas-body{
	align-items: center;
	flex-direction:column;
		justify-content: space-around;
	}
	.colonna-social a{
	padding:10px;
}
}




