@import url('https://fonts.googleapis.com/css2?family=Notable&display=swap');

*{
	box-sizing: border-box;
	margin:0;
	padding: 0;
}
html{
    scroll-behavior: smooth;
}
body{
    background-image: url("img/bg-noise.webp");
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
}
/* ===================== Navigation ====================== */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: linear-gradient(to bottom, rgb(16,15,15),rgba(16,15,15,0.9), transparent );
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 999;
}
nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
}
nav li {
    margin: 0 10px;
}
nav li a {
    text-decoration: none;
    color: white;
    font-weight: bold;
    font-size: 20px;
    font-family: helvetica, sans-serif;
}
nav li a:hover{
    color: #E9B864;
}
header img {
    height: 60px;
    width: auto;
}
header nav ul div{
    display: flex;
    background-color: rgba(233, 184, 100, 0.6);
    border-radius: 6px;
    padding-top: 5px;
    margin-top: -10px;
}
img.social{
    height:30px;
    width: auto;
}
/* ===================== Accueil ====================== */
section#accueil{
    background-image: url("img/bg-accueil.webp");
    background-repeat: no-repeat;
    background-size: cover;
    height:97vh;

    display:flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
section#accueil img{
    height: 300px;
    width: auto;
    margin-bottom: 50px;
}
section#accueil p{
    font-size: 32px;
    font-weight: bold;
    font-family: helvetica, sans-serif;
    text-transform: uppercase;
    color: #E9B864;
    background-color: rgba(28, 27, 26, 0.9);
    padding: 15px;
}
section#accueil a{
    font-size: 32px;
    font-weight: bold;
    font-family: helvetica;
    text-decoration: none;
    background-color: #E9B864;
    color: black;
    border-radius: 10px;
    padding: 10px;
    margin-top: 50px;
    box-shadow: 5px 5px 5px 5px rgba(28, 27, 26, 0.5);
    cursor: pointer;
}
section#accueil a:hover{
    transform: scale(1.05);
}

/* ===================== Titre ====================== */
div.titre{
    padding-top: 100px;
    margin-bottom: 50px;
    display:flex;
    flex-direction: column;
    align-items: center;
}
h1{
    font-size: 48px;
    color: #E9B864;
    text-transform: uppercase;
    font-family: "Notable", sans-serif;
    letter-spacing: 4px;
}
h2{
    font-family: Helvetica, sans-serif;
    color: #E9B864;
    text-transform: uppercase;
    font-size: 32px;
    letter-spacing: 4px;
    margin-bottom: -50px;
}
/* ===================== Galerie ====================== */
section#galerie{
    width: 80%;
    margin: auto;
    padding-bottom: 50px;
}
section#galerie div.galerie{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
section#galerie div.galerie figure{
    width: 100%;
    padding-bottom: 100%;
    position: relative;
    overflow: hidden;
    box-shadow: 8px 8px 2px 1px rgba(28, 27, 26, 0.2);
}
section#galerie div.galerie figure img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}
section#galerie div.galerie figure:hover{
    transform: scale(1.1);
}
/* ===================== Piercings ======================  */
section#piercings{
    width: 80%;
    margin: auto;
    padding-bottom: 50px;
}
section#piercings div.galerie{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
section#piercings div.galerie figure{
    width: 100%;
    padding-bottom: 100%;
    position: relative;
    overflow: hidden;
    box-shadow: 8px 8px 2px 1px rgba(28, 27, 26, 0.2);
}
section#piercings div.galerie figure img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}
section#piercings div.galerie figure:hover{
    transform: scale(1.1);
}

/* ===================== Art custom ====================== */

section#custom{
    width: 80%;
    margin: auto;
    padding-bottom: 50px;
}
section#custom div.galerie{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
section#custom div.galerie figure{
    width: 100%;
    padding-bottom: 100%;
    position: relative;
    overflow: hidden;
    box-shadow: 8px 8px 2px 1px rgba(28, 27, 26, 0.2);
}
section#custom div.galerie figure img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}
section#custom div.galerie figure:hover{
    transform: scale(1.1);
}
/* ===================== Le salon ====================== */
section#salon{
    background-image: url("img/salon/bg-salon.webp");
    background-repeat: no-repeat;
    background-size: cover;
}
section#salon article{
    width: 80%;
    margin: auto;
    padding-bottom: 100px;
}
section#salon article div.salon{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    align-items: center;
}
section#salon article div.galerie figure{
    width: 80%;
    padding-bottom: 100%;
    position: relative;
    overflow: hidden;
}
section#salon article div.salon figure img{
    width: 80%;
    height: 100%;
    object-fit: cover;
}

section#salon div#presentation p{
    font-family: Helvetica, sans-serif;
    color: white;
    font-size: 20px;
    letter-spacing: 2px;
    line-height: 30px;
    padding-bottom: 60px;
}

/* ===================== L'équipe ====================== */
section#equipe{
    width: 80%;
    margin: auto;
    padding-bottom: 100px;
}
section#equipe .carte {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 20px; 
    justify-content: center;
}

section#equipe figure {
    text-align: center; 
}

section#equipe .carte figure img {
    max-width: 100%;
}

section#equipe figure p {
    font-family: helvetica, sans-serif;
    font-size: 30px;
    font-weight: bold;
    margin-top: 20px; 
    color:#E9B864;
}

/* ===================== Contact ====================== */
section#contact{
    background-image: url("img/bg-contact.webp");
    background-repeat: no-repeat;
    background-size: cover;
    font-family: helvetica, sans-serif;
}
section#contact article{
    width: 80%;
    margin: auto;
    padding-bottom: 100px;
    color: white;
    font-family: helvetica, sans-serif;

    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 50px;
    justify-items: center;
    align-items: center;
}
section#contact article iframe{
    outline: 8px solid #E9B864;
}
section#contact article div ul{
    list-style-type: none;
}
section#contact article ul.social{
    display: flex;
}
section#contact article p, li{
    font-family: helvetica, sans-serif;
    font-size: 20px;
    white-space: nowrap;
}
section#contact article p.adrs{
    font-weight: bold;
    font-size: 26px;
}
section#contact article h2{
    font-weight: bold;
    margin: 10px;
    margin-top: 20px;
}
section#contact article div.contact{
    text-align: center;
    background-color: rgba(28, 27, 26, 0.7);
    padding: 30px;
    line-height: 1.5;
}
section#contact article div.horaire{
    display: flex;
    justify-content: center;
    gap: 50px;
    text-align: left;
    font-weight: normal;
}
section#contact div.contact a.tel{
    color: #E9B864;
    text-decoration: none;
    font-weight: bold;
    font-size: 32px;
    margin-top: 50px;
}
section#contact ul.social{
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-top: 15px;
}
section#contact ul.social img{
    width: 60px;
    height: auto;
}


/* ===================== Footer ====================== */
footer{
    width: 100%;
    height: 80px;
    background: linear-gradient(to top, rgb(16,15,15),rgba(16,15,15,0.9), transparent );
    position: relative;
    bottom: 0;
    color: white;
    display: flex;
    justify-content: center;
}
footer a{
    text-decoration: none;
    color: white;
}
footer a:hover{
    color: #E9B864;
}
/* ===================== metions légales ====================== */
body#mentions{
    width: 80%;
    margin: auto;
    padding: 150px 0 100px 0;
    color: white;
}
body#mentions h2{
    margin: 50px 0 5px 0;  
}
body#mentions p{
    font-family: Helvetica, sans-serif;
}
body#mentions p#createur{
    color: lightgray;
    margin-top: 80px;
    font-style: italic;
}
body#mentions a{
    color: white;
    text-decoration: none;
}


/*==================navbar hamburger==================*/
.menu-icon {
    display: none;
    flex-direction: column;
    cursor: pointer;
}
.bar {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 3px 0;
}

/*================== ----- media query ----- ==================*/
@media screen and (max-width: 1080px){
    section#accueil p{
        font-size: 25px;
    }
    section#galerie div.galerie, section#piercings div.galerie, section#custom div.galerie{
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
    section#contact article{
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        gap: 50px;
    } 
    section#salon article div.salon div#presentation p{
        font-size: 14px;
    }
}
@media screen and (max-width: 480px){
    html{
        overflow-x: hidden;
    }
    header{
        width: 100%;
    }
    div.titre img{
        width: 300px;
    }
    section#accueil p{
        font-size: 14px;
        text-align: center;
    }
    section#accueil img{
        width: 270px;
        height: auto;
    }
    div.titre h1{
        font-size: 32px;
    }
    section#galerie div.galerie, section#piercings div.galerie, section#custom div.galerie{
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    section#equipe .carte {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
    }
    section#contact article{
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        gap: 50px;
    }
    section#salon article div.salon{
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        gap: 50px;
        justify-items: center;
    }
    section#salon article div.salon figure{
        width: 60%;
    }
    section#salon article div.salon div#presentation p{
        font-size: 14px;
    }
    section#contact article iframe{
        width: 90%;
    }
    footer{
        font-size: 14px;
    }
/*==================navbar hamburger==================*/
    .nav-list {
        display: none;
        flex-direction: column;
        gap: 50px;
        width: 100%;
        text-align: center;
        position: absolute;
        top: 60px;
        left: 0;
        padding-top: 30px;
        background-color: rgba(16, 15, 15, 0.9);
    }
    .nav-list.show {
        display: flex;
    }
    .menu-icon {
        display: flex;
    }
    div.social{
        justify-content: space-evenly;
        padding: 10px;
    }
}