@font-face {
    font-family: 'Nerko One';
    src: url('./fonts/NerkoOne-Regular.ttf') format('truetype');
}

@font-face {
    font-family: 'Niconne';
    src: url('./fonts/Niconne-Regular.ttf') format('truetype');
}

@font-face { 
    font-family: 'Roboto';
    src: url('./fonts/Roboto-Regular.ttf') format('truetype');
}



html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    max-width: 100%;
    height: 100%;
    background-color: #F5F5DC;
    overflow-x: hidden;
}

.topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.625em;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(199, 205, 185, 0.55);
    z-index: 1000;
}

/* Styles pour l'icône du menu hamburger */
.menu-icon {
    display: none; /* Masqué par défaut */
    position: absolute;
    top: 1.5vh;
    left: 1.5vw;
    z-index: 1000; /* Assurez-vous qu'il est au-dessus d'autres éléments */
    cursor: pointer;
}

.menu-hamburger {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 20px;
}

.menu-hamburger span {
    display: block;
    width: 100%;
    height: 0.3vw;
    background-color: black;
}

html, body { /* Style de base */
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    background-color: #F5F5DC;
}

.topbar { /* Barre de navigation */
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.625em;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(199, 205, 185, 0.55); /* Couleur de fond avec 55% de transparence */
    z-index: 1000;
}

.topbar .menu { /* Menu de navigation */
    width: 100%;
}

.topbar .menu ul {
    display: flex;
    justify-content: space-between; /* Espacement entre les éléments */
    list-style-type: none; /* Supprime les puces de la liste */
    margin: 0;
    padding: 0;
    width: 100%;
}

.topbar .menu ul li { 
    flex: 1;
    text-align: center;
}

.topbar .menu ul li.connexion a { /* Style du bouton "Connexion" */
    background-color: #A0724D;
    padding: 0.3125em 0.9375em;
    border-radius: 3.125em;
    color: black;
    text-shadow: 0.5px 0.5px 1px rgba(0, 0, 0, 0.1);
}

.topbar .menu ul li:first-child { 
    text-align: left;
}

.topbar .menu ul li:last-child { /* Positionnement du bouton "Connexion" */
    position: relative;
    text-align: right;
    right: 4.5vh;
}

.topbar .menu ul li a { /* Style des liens du menu */
    color: #FFFFFF;
    opacity: 1;
    text-shadow: none;
    text-decoration: none;
    font-size: 1.125rem;
    padding: 0.625rem 0.9375rem;
    -webkit-text-stroke: 0.025rem #000000;
    font-family: 'Roboto';
    font-weight: 500;
    text-shadow: 
        -0.0625rem -0.0625rem 0 #000, 
        0.0625rem -0.0625rem 0 #000, 
        -0.0625rem 0.0625rem 0 #000, 
        0.0625rem 0.0625rem 0 #000;
}

.topbar .menu ul li a:hover {
    text-decoration: underline; /* Soulignement au survol */
}

.section-principale {
    background-image: url('./image/image-services.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    width: 100vw;
    height: 50vh; /* Ajuste la hauteur selon ton besoin */
    position: relative; /* Important pour que les éléments enfants soient positionnés par rapport à elle */
    z-index: 1;
    overflow: hidden;
}

.small-logo {
    position: absolute;
    top: 0px; 
    left: 0px; 
    z-index: 200; 
    margin: 0; 
    padding: 0; 
}

.small-logo .small-lettre-z { /* Style de la petite lettre "Z" */
    -webkit-text-stroke: 1px, black;
    color: #98A9A3;
    font-size: 50px;
    font-weight: normal;
    margin-bottom: 20px;
    font-family: 'libre baskerville';
    position: absolute;
    top: 50px;
    left: 15px;
}

.small-logo .small-lettre-o1 { /* Style de la première petite lettre "O" */
    -webkit-text-stroke: 1px, black;
    color: #BEBFB8;
    font-size: 50px;
    font-weight: normal;
    margin-bottom: 20px;
    font-family: 'libre baskerville';
    position: absolute;
    top: 50px;
    left: 40px;
}

.small-logo .small-lettre-o2 { /* Style de la deuxième petite lettre "O" */
    -webkit-text-stroke: 1px, black;
    color: #98A9A3;
    font-size: 50px;
    font-weight: normal;
    margin-bottom: 20px;
    font-family: 'libre baskerville';
    position: absolute;
    top: 50px;
    left: 57px;
}

.small-logo .small-Arcadia { /* Style du texte "Arcadia" */
    font-family: 'Nerko One';
    font-size: 20px;
    color: #DDCFCF;
    border: 1px solid black;
    border-radius: 50px;
    background-color: black;
    padding: 1px 10px;
    position: absolute;
    top: 105px;
    left: 10px;
}

.menu ul {
    display: flex;
    justify-content: space-between;
    list-style-type: none;
    margin: 0;
    padding: 0;
    width: 100%;
}

.menu ul li {
    flex: 1;
    text-align: center;
}

.small-logo {
    position: absolute;
    top: 0px;
    left: 0px;
    z-index: 200;
    margin: 0;
    padding: 0;
}





.titre-services {
    font-family: 'Georgia';
    font-style: italic;
    font-size: 1.1em;
    color: #FFFFFF;
    position: absolute;
    top: 27%;
    left: 38%;
    z-index: 100;
    border-bottom: 1px solid #FFFFFF;
    padding-bottom: 10px;
}

.subtitle {
    font-size: 1.4rem;
    color: #555; /* Une couleur plus claire */
    margin-top: 10px;
}

.description {
    font-size: 1.2rem;
    color: #666; /* Un peu plus sombre que le sous-titre */
    margin-top: 5px;
}

.singe-service {
    width: 95%;
    display: block;
    margin: 20px auto;
}

.all-card {
    display: flex;
    justify-content: space-around; /* Espace uniforme autour des cartes */
    align-items: stretch; /* Toutes les cartes auront la même hauteur */
    flex-wrap: wrap; /* Permet d'enrouler les cartes sur plusieurs lignes si nécessaire */
}

.card-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 29%;
    word-wrap: break-word;
}

.card-restauration, .card-visite-habitat, .card-visite-zoo {
    background-color: #FEFEEF;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    padding: 1rem;
    min-height: 550px;
    text-align: center;
    margin: 2rem;
    max-width: 25.5rem;
    flex-grow: 1;
}

.h1-restauration, .h1-visite-habitat, .h1-visite-zoo {
    font-weight: bold;
    border-bottom: 4px solid #F5F5DC;
    font-size: 28px;
    padding-bottom: 15px;
    font-family: 'Roboto';
    text-align: center;
    display: inline-block;
    width: 350px;
}

.h3-1-restauration, .h3-1-visite-habitat, .h3-1-visite-zoo, .h3-2-restauration, .h3-2-visite-habitat,
.h3-2-visite-zoo, .h3-3-restauration, .h3-3-visite-habitat, .h3-3-visite-zoo {
    font-weight: 900;
    font-family: 'Roboto';
    font-size: 22px;
    margin-top: 10px;
    justify-content: left;
    text-align: left;
    margin-left: 20px;
    color: #444444;
}

.p-1-restauration, .p-1-visite-habitat, .p-1-visite-zoo, .p-2-restauration, .p-2-visite-habitat,
.p-2-visite-zoo, .p-3-restauration, .p-3-visite-habitat, .p-3-visite-zoo {
    font-family: 'Nerko';
    font-size: 20px;
    color: #555555;
    text-align: left;
    margin-left: 1px;
    margin-top: 30px;
    margin-bottom: 40px;
}

.button-arrow {
    margin-top: 0%;
}

.card-image {
    width: 80%;
    height: auto;
    margin-top: 1rem;
}

/* Media Queries pour Mobile */
@media (max-width: 767px) {
    /* Assurez-vous que le body n'a pas de marges ou de padding */
    html, body {
        margin: 0;
        padding: 0;
        width: 100%;
        box-sizing: border-box;
    }

    .menu ul li {
        display: none; /* Masquer le menu complet */
    }

    .menu ul li.connexion {
        display: block;
    }

    .menu-icon {
        display: block; /* Afficher le menu hamburger */
        width: 100vw;
    }

    .topbar {
        flex-direction: row-reverse;
        padding: 0.2rem;
        max-width: 100vw; /* Assurez-vous que la topbar ne dépasse pas */
        width: 100vw;
    }

    .small-logo .small-lettre-z,
    .small-logo .small-lettre-o1,
    .small-logo .small-lettre-o2 {
        font-size: 2rem;
        -webkit-text-stroke: 0.1vw, black;
    }

    .small-logo .small-lettre-z {
        left: 0.9rem;
    }

    .small-logo .small-lettre-o1 {
        left: 1.8rem;
    }

    .small-logo .small-lettre-o2 {
        left: 2.4rem;
    }

    .small-logo .small-Arcadia {
        font-size: 1rem;
        left: 0.2rem;
        top: 5.5rem;
    }


    .all-card {
        flex-direction: column;
        align-items: center;
        display: flex;
        justify-content: center;
        width: 100vw;
        padding: 0;
        margin: 0;
    }

    .card-restauration, .card-visite-habitat, .card-visite-zoo {
        width: 100%;
        margin: 1rem 0;
        text-align: center;
        
    }

    

    .card-image {
        width: 80%;
        margin-bottom: 2rem;
    }

    .card-group {
        width: 90%;
        padding: 0 5%;
        margin-bottom: 2rem;
    }

    .h1-restauration, .h1-visite-habitat, .h1-visite-zoo {
        text-align: left;
        display: inline-block;
        font-size: 1..7rem;
    }

    .section-principale {
        background-image: url('./image/image-services.png');
        background-size: cover;
        background-repeat: no-repeat;
        background-position: center;
        width: 100vw;
        height: 50vh;
        max-width: 100vw;
    }

    .titre-services {
        font-size: 1.5rem;
        top: 30%;
        left: 24%;
    }

    .singe-service {
        width: 90%;
    }
}

@media (min-width: 768px) and (max-width: 1281px) {
    .menu ul li {
        display: none; /* Masquer le menu complet */
    }

    

    .menu ul li.connexion {
        display: block;
        

    }
    
    .menu-icon {
        display: block; /* Afficher le menu hamburger */
    }

    .topbar {
        flex-direction: row-reverse;
        padding: 0.2rem;
    }

    .small-logo .small-lettre-z,
    .small-logo .small-lettre-o1,
    .small-logo .small-lettre-o2 {
        font-size: 2rem;
        -webkit-text-stroke: 0.1vw, black;
    }

    .small-logo .small-lettre-z {
        left: 0.9rem;
    }

    .small-logo .small-lettre-o1 {
        left: 1.8rem;
    }

    .small-logo .small-lettre-o2 {
        left: 2.4rem;
    }

    .small-logo .small-Arcadia {
        font-size: 1rem;
        left: 0.2rem;
        top: 5.5rem;
    }

    .all-card {
        flex-direction: column;
        align-items: center;
        display: flex;
        justify-content: center;
        width: 100vw;
        padding: 0;
        margin: 0;
    }

    .card-restauration, .card-visite-habitat, .card-visite-zoo {
        width: 100%;
        margin: 1rem 0;
        text-align: center;
    }

    .card-image {
        width: 50%;
        margin-bottom: 2rem;
    }

    .card-group {
        width: 90%;
        padding: 0 5%;
        margin-bottom: 2rem;
    }

    .h1-restauration, .h1-visite-habitat, .h1-visite-zoo {
        text-align: left;
        display: inline-block;
        font-size: 2rem;
    }

    .titre-services {
        font-size: 2rem;
        top: 40%;
        left: 33%;
    }    
}

