@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500&family=Roboto&display=swap");
@import url('https://fonts.googleapis.com/css2?family=Dancing+Script:wght@400..700&display=swap');
@import url('https://fonts.cdnfonts.com/css/aristotelica-display-trial');
@import url('https://fonts.cdnfonts.com/css/geo-sans-light');
@import url('https://fonts.cdnfonts.com/css/autography');

@font-face {
  font-family: "GeoSans";   /* Nom que tu choisis */
  src: url("../GeosansLight.ttf") format("truetype"); 
  font-weight: normal;
  font-style: normal;
}



::selection {
    background: #6db329;
}
html {
    scroll-behavior: smooth;
    overflow-y: scroll !important;
}
* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    text-decoration: none;
    list-style: none;
    font-family: "Poppins", sans-serif;
}
body {
    font-family: "Poppins", sans-serif;
    visibility: hidden;
}
img {
    width: 100%;
}
header {
    background: #1e2022;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-left: 9%;
    padding-right: 9%;
    position: fixed;
    width: 100%;
    z-index: 9;
    transition: 0.6s;
    border-bottom: none;
    justify-content: center;
}
header.sticky {
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-left: 9%;
    padding-right: 9%;
    background: #1e2022;
    position: fixed;
    width: 100%;
    z-index: 9;
    border-bottom: 1px solid #6db329;
    justify-content: center;
}

header.sticky nav ul li a:hover {
    display: block;
    color: #6db329;
    font-size: 18px;
    padding: 5px 10px;
    transition: 0.2s;
    font-family: "Poppins", sans-serif;
}


header .header-left {
    display: flex;
    align-items: center;
}
header .header-left .logo {
    width: 140px;
}
header .header-left nav {
    margin-left: 50px;
}
header .header-left nav ul {
    display: flex;
}
nav ul li a {
    display: block;
    color: rgb(255, 255, 255);
    font-size: 18px;
    padding: 5px 10px;
    transition: 0.2s;
    font-family: "Poppins", sans-serif;
}
nav ul li a:hover,
nav ul li a.active {
    color: #6db329;
}
#bckimage {
    background-image: url("../2000-1181a65fd7e2c6674d05d59dd863d38b.JPG");
    width: 100%;
    height: 140vh;
    background-size: cover;
    background-repeat: no-repeat;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}
#cover {
    width: 100%;
    height: auto;
    display: block;
    pointer-events: none;
}
.lsm {
    height: 40px;
}
.nsm {
    display: flex;
}
header .header-right {
    display: flex;
    align-items: center;
}
header .login-signup {
    color: black;
    font-weight: bold;
}
header .login-signup a {
    display: inline-block;
    color: #FFFAEF;
    background: #4ad295;
    padding: 5px 12px;
    border-radius: 5px;
}
header .header-right .hamburger {
    margin-left: 20px;
    cursor: pointer;
    display: none;
}
header .header-right .hamburger div {
    width: 30px;
    height: 2px;
    margin: 6px 0;
    background: #538620;
}
#azienda {
    background-color: #FFFAEF;
    display: block;
    text-align: center;
}

.container {
    display: flex;
    flex-direction: column;
    align-items: center; /* Centre horizontalement les éléments */
    position: relative;
}



.text-wrapper {
    display: block;
    width: 100%; /* Adapte la largeur des phrases à celle de l'image */
    margin-top: 10px;
    font-size: 35px;
}


#ncover {
    height: auto;
    width: 872px;
  }

  #slogan {
        max-width: 872px;
        margin: auto;
  }

  .titleL {
    font-style: italic !important;
    font-family: 'Autography', sans-serif !important;
    font-size: 45px !important;
    text-align: left !important;
  }


.titleR {
    font-style: italic !important;
    font-family: 'Autography', sans-serif !important;
    font-size: 45px !important;
    text-align: right !important;
    margin-top: 0 !important;
  }


.titleM {
    display: none !important;
    font-family: 'Autography', sans-serif !important; 
}


#stext h1 {
    font-weight: bolder;
    margin-top: 5%;
    margin-bottom: 0%;
    font-family: 'Aristotelica Display Trial', sans-serif;
}

#stext li {
    list-style: none;
    font-family: 'GeosansLight', sans-serif;
    font-size: 17px;
    text-align: center;
    margin-top: 30px;
}

#ncontatto {
    background-color: #6db329;
    border: none;
    color: black;
    font-family: "Poppins";
    padding: 5px;
    border-radius: 18px;
    width: 200px;
    font-size: 26px;
    transition: 0.5s;
    margin-top: 9%;
}

#imgSrv {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
  }
  
  .image-link {
    position: relative;
    display: inline-block;
    overflow: hidden;
  }
  
  .matrimoni {
    margin-bottom: 100px;
    font-size: 50px !important;
  }

  .matrimoni a {
    color: #6db329;
    text-decoration: underline;
  }

  .matrimoni span {
    font-family: 'GeoSans' !important;
  }

  .mh1 {
    font-size: 50px;
    font-family: 'GeoSans' !important;
    font-weight: bold !important;
  }


  #servizi {
    background-color: #FFFAEF;
}

.image-link {
    position: relative;
    display: inline-block;
    overflow: hidden;
    width: 270px; /* Fixer la largeur des images à 300px */
    height: 346px;
}

#imgSrv {
    justify-content: center;
    margin-top: 50px;
}

.isrv {
    width: 270px !important; /* Fixer la largeur des images à 300px */
    height: 346px !important; /* Fixer la hauteur des images pour que tout soit uniforme */
    display: block;
    transition: filter 0.3s ease;
    filter: brightness(50%);
    object-fit: cover !important; /* Optionnel si tu veux couper l'image au lieu de la déformer */
    z-index: 1; /* L'image est derrière le texte */
    justify-content: center;
}

.overlay-text {
    position: absolute;
    bottom: 10px;
    left: 0;
    right: 0;
    text-align: center;
    font-size: 20px;
    font-weight: bold;
    color: white;
    text-transform: uppercase;
    background: rgba(0, 0, 0, 0.7); /* Fond semi-transparent plus opaque */
    padding: 10px;
    z-index: 2; /* Le texte est devant l'image */
}

.image-link:hover .isrv {
    filter: brightness(100%); /* L'image s'éclaircira au hover */
}

.image-link:hover .overlay-text {
    background: rgba(0, 0, 0, 0.5); /* Le fond devient plus clair au hover */
}


  
  .image-link:hover .overlay-text {
    background: rgba(0, 0, 0, 0.2); /* Le fond devient plus clair au hover */
  }
  

#ncontatto:hover {
    background-color: #538620;
    border: none;
    color: black;
    font-family: "Poppins";
    padding: 5px;
    border-radius: 18px;
    width: 200px;
    font-size: 26px;
    transition: 0.5s;
}


.sectitle, h1 {
    font-family: "Poppins";
    color: black;
    text-align: center;
    font-size: 27px;
    font-weight: 100;
    padding-top: 60px;
}


#logo_brand {
    width: 46%;
    pointer-events: none;
}



.sepbar {
    width: 43%;
    height: 5px;
    background-color: #6db329;
    margin-top: 4px;
    margin: auto;
}

.cstext {
    padding-left: 9%;
    padding-right: 9%;
}

.cstext h1 {
    margin-top: 5% !important;
    margin-bottom: 0%;
    padding-top: 0;
}

.cstext img {
    height: auto;
    width: 820px;
    margin-top: 7%;
    margin-bottom: 2%;
}
.cstext p {
    font-family: "Poppins";
    font-size: 17px;
    color: black;
    text-align: left;
    margin-top:1%;
}


.cstext h2 {
    font-family: "Poppins";
    font-size: 20px;
    color: black;
    text-align: center;
    margin-right: 9%;
    margin-left: 9%;
    margin-top: 7%;
    margin-bottom: 4%;
}

.cstext ul {
    color: black;
    font-size: 17px;
}

.cstext li {
    list-style: inside;
    text-align: left;
}


#servizi .cstext {
    padding-left: 9%;
    padding-right: 9%;
}

#servizi .cstext h1 {
    margin-top: 10%;
    margin-bottom: 14%;
}

#servizi .cstext img .isrv {
    display: none !important;
    height: auto;
    width: 420px;
    margin-top: 7%;
    margin-bottom: 9%;
}
#servizi .cstext p {
    font-family: "Poppins";
    font-size: 17px;
    color: black;
    text-align: center;
    margin-top: 4%;
}


#servizi .cstext h2 {
    font-family: "Poppins";
    font-size: 20px;
    color: black;
    text-align: center;
    margin-right: 9%;
    margin-left: 9%;
    margin-top: 7%;
    margin-bottom: 4%;
}

#servizi .cstext ul {
    color: black;
    font-size: 17px;
}

#servizi .cstext li {
    list-style: inside;
    text-align: left;
}


#chisono {
    background-color: #FFFAEF;
    padding-left: 9%;
    padding-right: 9%;
    text-align-last: center;
}

#chisono p:nth-child(2) {
    margin-top: 80px !important;
}


.sectitle h1 {
    font-size: 33px;
}

#cattura {
    font-family: "Dancing Script", cursive;
    font-size: 39px;
}

.testimonials:not(span) {
    font-weight: bold;
    text-align-last: left;
}

.testimonials span {
    text-align: justify;
    text-align-last: left;
}


#chisono .sectitle {
    font-family: "Poppins";
    color: black;
    text-align: center;
    font-size: 27px;
    font-weight: 100;
}

#chisono p {
    font-family: "Poppins";
    font-size: 17px;
    color: black;
    text-align: center;
    margin-top: 1%;
    text-align: justify;
}

#chisono img {
    height: auto;
    width: 820px;
    margin-top: 7%;
    margin-bottom: 9%;
}

#parallax1 {
    height: 60vh !important;
    background-image: url("../prl1.jpeg");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    background-attachment: fixed;
    height: auto;
    text-align: center;
}

.sm {
    place-content: center;
}

.sm ul {
    display: flex;
    place-content: center;
    margin-top: 6%;
    gap: 15px;
}

.sm img {
    height: 100px;
    width: 100px;
}




#secundo {
    padding-left: 9%;
    padding-right: 9%;
    background-color: #FFFAEF !important;
}
.hidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}
#scroll-top-btn {
    position: fixed;
    right: 0;
    bottom: 142px;
    display: block;
    width: 40px;
    height: 40px;
    border: 0;
    background: #6db329;
    border-radius: 0%;
    color: black;
    cursor: pointer;
    transition: 0.3s;
    opacity: 0;
    visibility: hidden;
    z-index: 9999999;
}
#scroll-top-btn.show {
    opacity: 1;
    visibility: visible;
}
#contatti {
    background-image: url("../img/background.png");
    height: auto !important;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    position: relative;
}
.card {
    background-color: #FFFAEF;
    margin-left: 9%;
    margin-right: 9%;
    border-radius: 11px;
    margin-top: 6%;
    height: 80vh;
}
form {
    max-width: 420px;
    margin: 50px auto;
    padding-top: 3%;
}
.contact-input {
    color: black;
    font-family: Helvetica, Arial, sans-serif;
    font-weight: 500;
    font-size: 18px;
    border-radius: 5px;
    line-height: 22px;
    background-color: transparent;
    border: 2px solid #6db329;
    transition: all 0.3s;
    padding: 13px;
    margin-bottom: 15px;
    width: 100%;
    box-sizing: border-box;
    outline: 0;
}
.contact-input:focus {
    border: 2px solid #6db329;
}
textarea {
    height: 150px;
    line-height: 150%;
    resize: vertical;
}
[type="submit"] {
    font-family: "Montserrat", Arial, Helvetica, sans-serif;
    width: 100%;
    background: #6db329;
    border-radius: 5px;
    border: 0;
    cursor: pointer;
    color: black;
    font-size: 24px;
    padding-top: 10px;
    padding-bottom: 10px;
    transition: all 0.3s;
    margin-top: -4px;
    font-weight: 700;
    margin-bottom: 7%;
}
[type="submit"]:hover {
    background: #6db329;
}
footer {
    width: 100%;
    background-color: #1e2022;
    justify-items: center;
}

#footertop {
    border-top: solid 1px #6db329;
    border-bottom: solid 1px #6db329;
    text-align: left;
    text-align-last: left;
    /* display: flex
; */
    width: 100%;
    padding-top: 22px;
    padding-bottom: 22px;
    text-align-last: center;
}

#ii {
    float: right;
    margin-right: auto;
    position: absolute;
    padding-left: 3%;

}

#ii h1 {
    color: white;
    font-size: 10px;
    padding-top: 0;
    justify-self: left;
    display: flex;
}

#footertop .logo {
    align-self: center;
    height: 54px;
    width: auto;
}

#footerbottom {
    display: flex;
    padding-left: 5%;
    padding-bottom: 9%;
    place-content: space-between;
    padding-right: 5%;
}
.ltext {
    width: 360px;
}
.mtext {
    width: 360px;
}
.rtext {
    width: 360px;
}
.ltext h1 {
    font-size: 18px;
}
.mtext h1 {
    font-size: 18px;
}
.rtext h1 {
    font-size: 18px;
}
.ltext p {
    color: black;
    text-align: justify;
    margin-top: 25px;
}
#falbum {
    margin-top: 25px;
    text-align: center;
}
#falbum a img {
    height: 300px;
    width: 300px;
    filter: brightness(0.2);
    transition: 0.3s;
    object-fit: cover;
}

/* Style du modal */
.modal {
    display: none;
    position: fixed;
    z-index: 999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9); /* Fond sombre */
  }
  
  /* Image à l'intérieur du modal */
  .modal-content {
    margin: auto;
    display: block;
    max-width: 90%; /* Limite la taille de l'image à 90% de l'écran */
    max-height: 90%;
    width: auto;
    height: auto;
  }
  
  /* La croix pour fermer le modal */
  .close {
    position: absolute;
    top: 10px;
    right: 25px;
    color: black;
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
  }
  
  /* Style des flèches de navigation */
  .prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -22px;
    color: black;
    font-weight: bold;
    font-size: 40px; /* Plus grand pour plus de visibilité */
    transition: 0.3s ease;
    background-color: rgba(0, 0, 0, 0.5); /* Ajoute un fond semi-transparent */
    border-radius: 50%;
    user-select: none;
    z-index: 1000; /* S'assure que les flèches apparaissent au-dessus de l'image */
  }
  
  .prev {
    left: 10px; /* Place la flèche à gauche avec un peu de marge */
  }
  
  .next {
    right: 10px; /* Place la flèche à droite avec un peu de marge */
  }
  
  /* Changement de couleur au survol */
  .prev:hover, .next:hover {
    background-color: rgba(0, 0, 0, 0.8); /* Rendre le fond plus sombre au survol */
  }
  
  /* Pour s'assurer que les flèches soient bien visibles sur mobile */
  @media only screen and (max-width: 768px) {
    .prev, .next {
      font-size: 30px; /* Réduit la taille des flèches sur les petits écrans */
      padding: 10px;
    }
  }
  
  

.modal {
    display: none; /* Cacher par défaut */
    position: fixed;
    z-index: 999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9); /* Fond sombre */
  }
  
  .modal-content {
    margin: auto;
    display: block;
    max-width: 90%; /* Limite la taille pour l'adapter à l'écran */
    max-height: 90%;
    width: auto;
    height: auto;
  }
  
  .close {
    position: absolute;
    top: 10px;
    right: 25px;
    color: black;
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
  }
  
  .close:hover,
  .close:focus {
    color: #999;
  }
  

#falbum a img:hover {
    height: 300px;
    width: 300px;
    filter: none;
    transition: 0.3s;
}



  
.fsepbar {
    width: 50px;
    background-color: #6db329;
    height: 3px;
    margin: auto;
}
#fsm {
    margin-top: 24px;
    text-align: center;
}
#fsm ul {
    display: flex;
    justify-content: center;
}
.fs:nth-child(0) {
    height: 70px;
    width: 70px;
    margin-top: 5px;
    margin-right: 5px;
    object-fit: contain;
}
.fs {
    height: 80px;
    width: 80px;
    object-fit: cover;
}
@media only screen and (max-width: 1000px) {
    header {
        justify-content: space-between;
        position: fixed;
        width: 100%;
        z-index: 9;
        border-bottom: 1px solid #6db329;
        padding: 39px;
        background: #1e2022;
    }

    
    header.sticky {
        height: 70px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        background: #1e2022 !important;
        position: fixed;
        width: 100%;
        z-index: 9;
        border-bottom: 1px solid #6db329;
    }
    header .header-left nav.active {
        top: 79px !important;
        z-index: 9;
        background: #1e2022;
    }
    header.sticky .header-left nav.active {
        top: 79px !important;
        z-index: 9;
        background: #1e2022;
    }

    header.sticky nav ul li a {
        display: block;
        color: white;
        font-size: 18px;
        padding: 5px 10px;
        transition: 0.2s;
        font-family: "Poppins", sans-serif;
    }

    .sm {
        display: flex;
        margin-top: 5%;
    }
    header .header-right .hamburger {
        display: block;
    }
    header .header-left nav {
        margin: 0;
        position: absolute;
        top: -368%;
        left: 0;
        width: 100%;
        height: fit-content;
        background-color: #FFFAEF;
        padding: 30px;
        transition: 0.3s;
        text-align: center;
        z-index: -1;
    }
    header .header-left nav.active {
        top: 70px;
        z-index: 9;
    }
    header .header-left nav ul {
        display: block;
    }
    #azienda {
        background-color: #FFFAEF;
        display: block;
    }

    .titleL {
        display: none !important;
        font-style: italic !important; 
        font-family: 'Autography', sans-serif !important; 
        font-size: 31px !important; 
        text-align: left !important; 
        margin-left: 0 !important;
    }
    
    .titleR {
        display: none !important;
        font-style: italic !important;  
        font-family: 'Autography', sans-serif !important; 
        font-size: 31px !important; 
        text-align: right !important; 
        margin-top: 0 !important; 
        margin-right: 0 !important;
    }

    .titleM {
        display: block !important;
        font-family: 'Autography', sans-serif !important; 
        font-size: 26px !important;
        text-align: center !important;
        margin-bottom: 40px !important;
    }


    .sectitle {
        padding-bottom: 6% !important;
    }
    .sectitle,
    h1 {
        font-family: "Poppins";
        color: black;
        text-align: center;
        font-size: 25px;
        font-weight: 100;
        padding-top: 20px;
    }

    #logo_brand {
        width: 46%;
        pointer-events: none;
    }

    #ncover {
        height: 205px !important;
        width: auto;
    }


    .cstext {
        display: block;
        font-family: "Poppins";
        margin-top: 69px;
        text-align: center;
        margin-left: 0;
    }
    .cstext img {
        height: auto;
        width: 79%;
        margin-left: 0;
        margin-top: 20%;
    }
    .cstext p {
        font-family: "Poppins";
        font-size: 17px;
        color: black;
        text-align: justify;
        margin-left: 0;
        margin-right: 0px;
        padding-right: 0;
    }
  
    #bckimage {
        background-image: url("../2000-1181a65fd7e2c6674d05d59dd863d38b.JPG");
        width: 100%;
        height: 100vh;
        background-size: cover;
        background-repeat: no-repeat;
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 2;
        background-position-x: center;
    }

    #chisono {
        background-color: #FFFAEF;
        padding-left: 9%;
        padding-right: 9%;
        text-align-last: center;
        padding-top: 0%;
    }

    .modal-content {
        margin: auto;
        margin-top: auto;
        display: block;
        max-width: 90%;
        max-height: 90%;
        object-fit: contain;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
        border-radius: 10px;
        margin-top: 40%;
      }
    #contatti {
        background-color: #FFFAEF !important;
        background-image: none;
    }


    #falbum a img {
        height: 300px;
        width: 231px;
        filter: brightness(0.2);
        transition: 0.3s;
        object-fit: cover;
    }
    #falbum a img:hover {
        height: 300px;
        width: 231px;
        filter: none;
        transition: 0.3s;
    }

.sm img {
    height: 87px;
    width: 87px;
  }
    #chisono img {
    height: auto;
    width: 79%;
    margin-top: 7%;
    margin-bottom: 9%;
    }
    .sm ul {
    display: flex;
    place-content: center;
    margin-top: 6%;
    gap: 15px !important;
}

#ii h1 {
    font-size: 8px;
}

#footertop .logo {
    align-self: center;
    height: 40px;
    width: auto;
    padding-right: 5%;
}



}
