/*___________ HERO SECTION ____________*/
#hero-banner {
    position: relative;
    height: 500px;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    overflow: hidden;
    background: url('/images/garden/garden.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:  rgba(0, 0, 0, 0.3);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    backdrop-filter: blur(5px); /* Sfocatura */
    -webkit-backdrop-filter: blur(5px); /* Supporto per Safari */
    z-index: 1;
    box-shadow: inset 0px -20px 20px rgb(127, 132, 66);
}


.hero-fallback-img {
    position: absolute;
    width: 100vw;
    height: 100vh;
    transform: translateX(-50%);
    object-fit: cover;
    z-index: 0;
}


.hero-content {
    position: relative;
    z-index: 2;
    padding-top: 166px;
}



/*___________ END HERO SECTION ____________*/

#bannerInfo{
    justify-content: center;
    text-align: center;
    object-position: center;
    padding: 20px;
    background: linear-gradient( #ff66b2, #ff66b2); /* Gradiente */
    box-shadow: 0px 20px 10px rgba(0, 0, 0, 0.5);

}



/*___________ AZIENDA SECTION ____________*/

#image-azienda-section img {
    width: 100%; /* L'immagine occupa tutta la larghezza del div */
    height: 100%; /* L'immagine occupa tutta l'altezza del div */
    object-fit: cover; /* Adatta l'immagine senza distorsioni */
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3); /* Ombra morbida */
}

/* Stile per il testo nel secondo div */
#text-azienda-section {
    justify-content: center; /* Centra orizzontalmente */
    align-items: center; /* Centra verticalmente */
    text-align: center; /* Centra il testo all'interno del div */
    padding: 20px; /* Aggiungi un po' di padding per il testo */
}



/*___________ END AZIENDA SECTION ____________*/

/*___________ TOWNS SECTION ____________*/
.slide {
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    position: relative;
    background-color: #7f8442;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    
}
.slide h1, .slide p {
    z-index: 2;
    
}

.slide-img {
    width: 100%;
    aspect-ratio: 1/1;
    border-radius: 50%;
    object-fit: cover;
    max-width: 450px; /* Imposta una dimensione massima */
    
}

@media (max-width: 768px) {
    .slide-img {
        width: 300px;
        height: 300px;
    }

    .carousel{
        height: 700px;
    }

    
}

.img-container-slide{
    overflow: hidden;
}

.slide-text{
    border-radius: 20px;
    padding: 40px;
    background-color: #7f8442;
    color: white;
}

.carousel-control{
    z-index: 10;
}
/*___________ END TOWNS SECTION ____________*/


.img-container {
    height: 500px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    border: none;
}

.gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Riempe il contenitore senza distorsioni */
    border-radius: 10px;
}


.image-left-round{
    border-radius: 30px 0px 0px 30px;
}





.instagram-media{
    background:#FFF; border:0;
     border-radius:3px; 
     box-shadow:0 0 1px 0 rgba(0,0,0,0.5),0 1px 10px 0 rgba(0,0,0,0.15);
      margin: 1px; 
      max-width:540px; 
      min-width:326px; 
      padding:0; 
      width:20%;
       width:-webkit-calc(100% - 2px);
        width:calc(100% - 2px);
}



#map{
    object-fit: cover;
    height: 100%;
    border-radius: 20px;
    width: 100%;
}