/*___________ HERO SECTION ____________*/
#hero-banner {
    position: relative;
    height: 60vh;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    overflow: hidden;
    height: 500px;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient( rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.3));
    z-index: 1;
}

#hero-video {
    position: absolute;
    width: 100vw;
    height: 500px;
    object-fit: cover;
    z-index: 0;
    opacity: 1 !important;
    display: block !important;
}

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


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

#anniImg{
    position:absolute;
    top:430px;
    left:100px;
    height: 150px;
    width: 150px;
    z-index: 1000;
}   

@media (max-width: 768px) {
    #anniImg{
        left:20px;
        height: 100px;
        width: 100px;
    }   
    
}

/*___________ END HERO SECTION ____________*/
/*___________ FLOWERS SECTION ____________*/

#flowers-section{
    padding-top: 50px;
    padding-bottom: 50px;
}

.card {
    transform: scale(1);
    box-shadow: 0 10px 10px rgba(53, 19, 40, 0.3);
    background-color: rgb(127, 132, 66);
    transition: transform 1s ease-in-out; /* Corretto per un'animazione fluida */
}

@media (min-width: 768px) {
    .card:hover {
        transform: scale(1.02); /* Usa transform con scale per l'effetto zoom */
        cursor: pointer;
    }

    .card {
        height: 430px;
    }
    
}

/* Stile per le immagini delle card */
.card-img-top {
    height: 300px; /* Altezza uniforme per tutte le immagini */
    object-fit: cover; /* Adatta l'immagine senza distorsioni */
    width: 100%; /* Assicura che occupi tutta la larghezza della card */
}

.accordion-header {
    cursor: pointer;
}

.accordion-button:not(.collapsed) {
    background-color: rgb(75, 79, 40);
    color: white;              
    border-color: black;    
}

.accordion img {
    max-width: 100%;
    border-radius: 5px;
}

/*___________ END FLOWERS SECTION ____________*/
/*___________ 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 */
}

/* 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 ____________*/

/*___________ NUMBERS SECTION ____________*/

#numbers-section{
    padding-top: 50px;
}

.stat-icon {
    font-size: 50px;
    margin-bottom: 15px;
    background:#2a4deb;/* Gradiente di colore */
    -webkit-background-clip: text; /* Usa il gradiente per il testo */
    background-clip: text;
    color: transparent; /* Rende il testo trasparente così che solo il gradiente si veda */
  }

.number{
    font-size: 60px;
    color: rgb(208, 71, 157);
}

.text-numbers-section{
    font-size: 20px;
}

/*___________ END NUMBERS SECTION ____________*/
/*___________ TOWNS SECTION ____________*/
.slide {
    height: 60vh;
    color: white;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    position: relative;
}
.slide h1, .slide p {
    z-index: 2;
}
.slide img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    
}

#slide1{
    background: linear-gradient(rgba(0,0,0,0.2), rgba(0,0,0,0.8)), url('/images/index/progettazione_carousel.jpg');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

#slide2{
    background: linear-gradient(rgba(0,0,0,0.2), rgba(0,0,0,0.8)), url('/images/index/potature.jpg');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

#slide3{
    background: linear-gradient(rgba(0,0,0,0.2), rgba(0,0,0,0.8)), url('/images/index/perizie.jpg');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

#slide4{
    background: linear-gradient(rgba(0,0,0,0.2), rgba(0,0,0,0.8)), url('/images/index/interior.jpg');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

#slide5{
    background: linear-gradient(rgba(0,0,0,0.2), rgba(0,0,0,0.8)), url('/images/index/mezziSpeciali.jpg');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

#slide6{
    background: linear-gradient(rgba(0,0,0,0.2), rgba(0,0,0,0.8)), url('/images/index/freezanz.jpg');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

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

#partner-section{
    padding-top: 0px;
    overflow-x: hidden;
}

.carousel-container {
    width: 100vw;
    height: 150px;
    background: rgb(33,37,41);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
}

.carousel-track {
    display: flex;
    position: relative;
}

.carousel-track img {
    width: 300px;
    height: auto;
}



/*___________ END PARTNER SECTION ____________*/