/* 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;
}

/* Styles pour le menu latéral */
.side-menu {
    display: block;
    height: 100%;
    width: 0;
    position: fixed;
    top: 50%;
    
    left: 0;
    background-color: rgba(199, 205, 185, 0.95);
    z-index: 1001;
    overflow-x: hidden;
    transition: width 0.5s ease, left 0.5s ease; /* Transition pour l'animation */
    padding-top: 60px;
}


.side-menu ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.side-menu ul li {
    padding: 10px 15px;
    text-align: left;
}

.side-menu ul li a {
    text-decoration: none;
    font-size: 22px;
    color: black;
    display: block;
    transition: 0.3s;
}

.side-menu ul li a:hover {
    color: #A0724D;
}

/* Affiche le menu latéral ouvert */
.side-menu.open {
    left: 0;
    width: 250px;
}

/* Transition pour cacher le menu vers la droite */
.side-menu.closing {
    left: -250px; /* Le menu glisse vers la gauche pour se cacher */
    
}

@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 { /* 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 */
}

.hero-section { /* Section principale */
    background-image: url('./image/fond.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    width: 100%;
    height: 100vh;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    box-sizing: border-box;
}

.hero-section h1 .lettre-z { /* Style de la lettre "Z" */
    -webkit-text-stroke: 0.125rem, black;
    color: #A0724D;
    font-size: 11.25rem;
    font-weight: normal;
    margin-bottom: 1.25rem;
    font-family: 'libre baskerville';
    position: relative;
    top: -8rem;
    left: 3vw;
}

.hero-section h1 .lettre-o1 { /* Style de la première lettre "O" */
    -webkit-text-stroke: 0.125rem, black;
    color: #DDCFCF;
    font-size: 11.25rem;
    font-weight: normal;
    margin-bottom: 1.25rem;
    font-family: 'libre baskerville';
    position: relative;
    top: -8rem;
    left: 1vw;

}

.hero-section h1 .lettre-o2 { /* Style de la deuxième lettre "O" */
    -webkit-text-stroke: 0.125rem, black;
    color: #A0724D;
    font-size: 11.25rem;
    font-weight: normal;
    margin-bottom: 1.25rem;
    font-family: 'libre baskerville';
    position: relative;
    top: -8rem;
    right: 2.76vw;

}

.hero-section .Arcadia { /* Style du texte "Arcadia" */
    font-family: 'Nerko One';
    font-size: 50px;
    color: #DDCFCF;
    border: 2px solid black;
    border-radius: 50px;
    background-color: black;
    padding: 1px 63px;
    position: relative;
    top: -8rem;
    right: 10px;
    
}

.zoo-description, .zoo-hours {
    font-family: 'Niconne';
    font-size: 42px;
    color: #ffffff;
}



.hero-section h3 { /* Style du sous-titre */
    color: #FFFFFF;
    font-family: 'Niconne';
    font-size: 42px;
    -webkit-text-stroke: 0.1px #000000;
    font-weight: 100;
    text-shadow: 0.5px 0.5px 1px rgba(0, 0, 0, 0.1);
}

.h3-1 { /* Positionnement du premier sous-titre */
    position: relative;
    bottom: 40%;
    display: flex;
    justify-content: center;
}

.h3-2 { /* Positionnement du deuxième sous-titre */
    position: relative;
    bottom: 2%;
    display: flex;
    justify-content: center;
}

.button-arrow {
    position: relative;
    top: -17vh;
    left: 50%;
    transform: translateX(-50%);
    z-index: 999;
    cursor: pointer;
}

.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;
    
}

.peroquet_accueil {
    width: 24vw; 
    height: auto; 
    position: absolute; 
    top: 5vh; 
    left: 20vw; 
    z-index: 100; 
}

.singe_accueil { 
    width: 20vw;
    height: auto;
    position: absolute;
    top: 0vh;
    left: 70vw;
}

.guepard_accueil {
    width: 60vw;
    height: auto;
    position: absolute;
    bottom: 0vh;
    left: 0vw;
}

.oiseau2_accueil {
    width: 20vw;
    height: auto;
    position: absolute;
    bottom: -0.5vh;
    left: 80%;
    max-width: 100%;
}

.tigre_accueil {
    width: 56vw;
    height: auto;
    position: absolute;
    bottom: -38vh;
    left: 31vw;
}

.tortue_accueil {
    position: absolute;
    width: 17vw;
    height: auto;
    bottom: -102vh;
    left: 6vw;
}

.welcome-text {
    font-family: 'Georgia';
    position: absolute;
    margin: 50px auto;
    padding: 20px;
    max-width: 900px;
    line-height: 1.3;
    text-align: center;
    top: 136vh;
    left: 35vw;
    font-size: 22px;
    color: #4B2E0F;
}

.welcome-text p {
    margin-bottom: 15px;
}

.highlight {
    color: #3ACFD5;
    font-weight: bold;
}

.feuille_haut_gauche_accueil {
    position: absolute;
    bottom: -105vh;
    z-index: 100;
    width: 40vw;
    left: 0;
}

.feuille_bas_droite_accueil {
    position: absolute;
    bottom: -203vh;
    right: 0;
    z-index: 100;
    width: 55vw;
}

.elephant_accueil {
    position: absolute;
    bottom: -208vh;
    left: 0;
    z-index: 100;
    width: 45vw;
}

.section-avis {
    background-color: #ffffff;
    border-radius: 2.1875rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    padding: 1.25rem;
    max-width: 37.5rem;
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    top: 135vh;
    left: 14%;
}

.note-globale {
    text-align: center;
    background-color: #f9f9f9;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.2);
    padding: 1%;
    border-radius: 10%;
    margin-bottom: 1.25rem;
    position: relative;
    max-width: 200px;
    width: 100%;
    padding-left: 2%;
    padding-right: 2%;
    z-index: 100;
    top: 140vh;
    left: 59%;
}

.titre-note-globale {
    font-size: 18px;
    font-weight: bold;
    margin: 0;
}

.score-note-globale {
    font-size: 36px;
    font-weight: bold;
    margin: 5px 0;
}

.score-note-globale span {
    font-size: 18px;
}

.etoiles-note-globale {
    color: #ffd700;
    font-size: 30px;
    justify-content: space-between;
    
}

.avis-visiteur h2 {
    font-size: 20px;
    margin-bottom: 10px;
    font-weight: bold;
}

.avis {
    display: flex;
    background-color: #f9f9f9;
    padding: 0.9375em;
    border-radius: 0.625em;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.note {
    text-align: center;
    margin-right: 15px;
}

.note p {
    font-size: 18px;
    font-weight: bold;
    margin: 0;
}

.etoiles {
    color: #ffd700;
    font-size: 18px;
}

.contenu-avis {
    max-width: 450px;
}

.contenu-avis p {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
}

.auteur-avis {
    margin-top: 10px;
    font-size: 12px;
    color: #666666;
}

.auteur-avis span {
    font-weight: bold;
}

.donner-avis {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
}

.donner-avis .btn-avis {
    color: #006400;
    background-color: #fefefe;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 0.9375em;
}

.bouton-avis:hover {
    background-color: #7cbb7c;
}

.icone-avis {
    font-size: 24px;
    margin-left: 10px;
    color: #006400;
}

/* Media Queries pour les petits écrans */
@media (max-width: 767px) {
    .hero-section h1 .lettre-z, 
    .hero-section h1 .lettre-o1, 
    .hero-section h1 .lettre-o2 {
        font-size: 6.3rem;
        -webkit-text-stroke: 0.25vw, black;
        letter-spacing: -1.2rem;
        top: -0.9em;
    }

    .hero-section .Arcadia {
        font-size: 1.7rem;
        padding: 0.5rem 2rem;
        top: -2.9em;
        left: 0.1em;
    }
    
    .hero-section {
        width: 100%;
    }
    
    .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;
    }

    .peroquet_accueil {
        width: 42vw;
        left: 3vw;
        top: 10vh;
    }

    .singe_accueil {
        top: 3.8vh;
    }

    .hero-section h1 .lettre-o2 {
        right: 0.2em;
    }

    .zoo-description {
        font-size: 1.5rem;
        top: -2em;
    }

    .zoo-hours {
        font-size: 1.5rem;
        top: 2%;
    }

    .button-arrow {
        bottom: 1vh;
        display: flex;
        justify-content: center;
    }
   
    .section-avis {
        position: relative;
        bottom: 1vh;
        left: 2vw;
        max-width: 90%;
    }

    .note-globale {
        position: relative;
        bottom: 1vh;
        left: 30%;
        max-width: 300px;
        width: 45%;
    }

    .welcome-text {
        font-size: 16px;
        top: 3rem;
        left: 1%;
    }

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

    

    .menu ul li.connexion {
        display: block;
        

    }
    
    .menu-icon {
        display: block;
        position: absolute;
        top: 1.5vh;
        left: 1.5vw;
        z-index: 1002;
        cursor: pointer;
    }

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

    .guepard_accueil {
        display: none;
    }


    .oiseau2_accueil {
        display: none;
    }

    .tigre_accueil {
        position: relative;
        width: 95vw;
        left: 2vw;
        top: -2.5rem;
    }

    .welcome-text {
        top: 113vh;
        left: 5vw;
    }

    .tortue_accueil {
        width: 45vw;
        top: 210vh;
        left: 27vw;
    }

    .feuille_haut_gauche_accueil {
        width: 50vw;
        top: 170vh;
        left: 0vw;
    }

    .feuille_bas_droite_accueil {
        width: 65vw;
        top: 180vh;
        right: 0vw;
    }

    .elephant_accueil {
        bottom: -295vh;
        width: 100vw;
    }

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

    .menu-hamburger span {
        display: block;
        width: 100%;
        height: 3px;
        background-color: black;
        transition: 0.4s;
    }

    /* Styles pour le menu déroulant latéral visible seulement sur petits écrans */
    .side-menu {
        display: block;
        height: 100%;
        width: 0;
        position: fixed;
        top: 0;
        left: 0;
        background-color: rgba(199, 205, 185, 0.95);
        z-index: 1001;
        overflow-x: hidden;
        transition: 0.5s;
        padding-top: 60px;
    }

    .side-menu ul {
        list-style-type: none;
        padding: 0;
        margin: 0;
    }

    .side-menu ul li {
        padding: 10px 15px;
        text-align: left;
    }

    .side-menu ul li a {
        text-decoration: none;
        font-size: 22px;
        color: black;
        display: block;
        transition: 0.3s;
    }

    .side-menu ul li a:hover {
        color: #A0724D;
    }

    /* Menu latéral ouvert prend 250px de largeur */
    .side-menu.open {
        width: 250px;
    }

}


@media (min-width: 768px) and (max-width: 1281px) {
    .hero-section h1 .lettre-z, 
    .hero-section h1 .lettre-o1, 
    .hero-section h1 .lettre-o2 {
        font-size: 8.3rem;
        -webkit-text-stroke: 0.25vw, black;
        letter-spacing: -1.1rem;
        top: -30%;
    }

    .hero-section .Arcadia {
        font-size: 2.4rem;
        padding: 0.5rem 2rem;
        top: -20%;
        left: 0.1em;
    }
    
    .hero-section {
        width: 100%;
    }
    
    .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;
    }

    .peroquet_accueil {
        width: 42vw;
        left: 3vw;
        top: 10vh;
    }

    .singe_accueil {
        top: 3.8vh;
    }

    .hero-section h1 .lettre-o2 {
        right: 0.2em;
    }

    .hero-section .h3-1 {
        font-size: 2.5rem;
        top: -20%;
    }

    .hero-section .h3-2 {
        font-size: 2.5rem;
        top: -10%;
    }

    .button-arrow {
        bottom: 1vh;
        display: flex;
        justify-content: center;
    }
   
    .note-globale {
        position: relative;
        top: 22vh;
        left: 30%;
        max-width: 300px;
        width: 45%;
        left: 50%;
        transform: translateX(-50%);
    }

    .section-avis {
        position: relative;
        top: 20vh;
        left: 2vw;
        max-width: 90%;
        left: 45%;
        transform: translateX(-50%);
    }

    

    .welcome-text {
        font-size: 16px;
        top: 3rem;
        left: 1%;
    }

    
    .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;
    }

    .guepard_accueil {
        display: none;
    }


    .oiseau2_accueil {
        display: none;
    }

    .tigre_accueil {
        position: relative;
        width: 65vw;
        top: -10rem;
        left: 54%;
        transform: translateX(-30%);
    }

    .welcome-text {
        top: 120%;
        left: 54%;
        transform: translateX(-30%);
        font-size: 22px;
    }

    .tortue_accueil {
        position: relative;
        width: 20vw;
        top: 20rem;
        left: -60vw;
        
    }

    .feuille_haut_gauche_accueil {
        position: relative;
        width: 50vw;
        top: -38rem;
        left: 0vw;
    }

    .feuille_bas_droite_accueil {
        width: 65vw;
        top: 180vh;
        right: 0vw;
    }

    .elephant_accueil {
        bottom: -220vh;
        width: 62vw;
    }
}