:root {
    --blue-color: #1d3557;
    --secondary-color: #6b1e1e;
    --grey-color: #4a4a4a;
    --primary-color: #d3c6b1;
    --text-color: #000000;
    --alternate-color: #f0efed;
    --white-color: #fff;
    --primary-image-color:#ffc46c;
    --secondary-image-color:#6c635e;
    --hair-image-color: #a77f5b;
    --tertiary-image-color:#909e6d;
}

/* Google fonts */
@font-face {
    font-family: 'montserrat';
    src: url('fonts/Montserrat-Regular.ttf');
}

@font-face {
    font-family: 'amsterdam';
    src: url('fonts/Amsterdam.ttf');
}

@font-face {
    font-family: 'cooper';
    src: url('fonts/CooperHewitt-Light.otf');
}

* {
    margin: 0;
    padding: 0;
}

.top {
    background-color: #161616;
}

/*Header*/
header {
    background-color: var(--primary-color);
}

.divider {
    background-color: var(--secondary-color);
    height: 5px;
}

.menu-pc {
    display: flex;
    align-items: center;
    justify-content: space-around;
}

.menu img {
    width: 200px;
    height: auto;
}

.menu a {
    font-family: 'cooper';
    font-size: large;
    font-weight: 900;
    padding: 5px;
    color: var(--text-color);
    text-decoration: none;
}
.menu a:hover {
    color: #fff;
    border-radius: 8px;
    background-color: var(--secondary-color);
}

/*langue*/
.language-select-container {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 10px;
    gap: 10px; /* Espacement entre l'image et le select */
}

#language-select {
    padding: 4px;
    font-size: 14px;
    border-radius: 18px;
}

/*Main*/
.section-home {
    position: relative; /* Nécessaire pour utiliser des pseudo-éléments */
    display: flex;
    justify-content: space-around;
    height: 90vh;
    align-items: center;
    background-image: url(../assets/img/pexels.webp);
    background-repeat: no-repeat;
    background-size: cover; 
    background-position: center center;
    background-attachment: fixed; /* Assure que l'image reste fixe lors du défilement */
    overflow: hidden; 
    z-index: 1;
}

.section-home::before {
    content: ""; /* Nécessaire pour un pseudo-élément */
    position: absolute; 
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Overlay noir semi-transparent */
    z-index: -1; /* Place le pseudo-élément derrière le contenu */
}

.section-about {
    background-color: var(--primary-color);
    height: 505px;
}

.section-about img {
    height: 500px;
    width: auto;
}

.image-phone {
    display: none;
}

.section-about h2 {
    text-align: center;
    font-family: 'cooper';
    text-transform: uppercase;
    font-size: 30px;
    color: var(--secondary-color);
    padding: 30px;
}

.section-about p{
    text-align: justify;
    width: 60%;
    font-family: 'montserrat';
    color: var(--grey-color);
    margin: 0 auto;
    padding: 10px;
    font-size: 22px;
}

#par2 {
    margin-bottom: 40px;
}

.about-me {
    display: flex;
}

.text-about {
    text-align: center;
}

.text-about a {
    text-decoration: none;
    color: var(--white-color);
    font-family: 'montserrat';
    font-size: 16px;
    padding: 10px;
    background-color: var(--secondary-color);
    border-radius: 24px;
}

.text-about a:hover {
    color: var(--text-color);
    background-color: var(--primary-color);
    border: 1px solid var(--text-color);
}

.intro {
    display: flex;
    flex-direction: column;
    text-align: center;
    font-family: 'montserrat', sans-serif;
}

.intro h1 {
    font-family:'montserrat', serif;
    color: var(--white-color);
    font-weight: 600;
    font-size: 60px;
    text-transform: uppercase;
    text-shadow: -1px -1px 1px #b110101a, 2px 2px 2px rgba(245, 64, 64, 0.5);
}

.intro h2 {
    font-family:'cooper', serif;
    color: var(--white-color);
    font-weight: 600;
    font-size: 45px;
    margin: 0px auto 0;
    align-self: center;
    text-transform: uppercase;
    text-shadow: -1px -1px 1px #b110101a, 2px 2px 2px rgba(245, 64, 64, 0.5);
}

.intro h3 {
    font-family:'cooper', serif;
    color: var(--white-color);
    font-weight: 600;
    font-size: 22px;
    margin: 0px auto 0;
    align-self: center;
    text-transform: uppercase;
    text-shadow: -1px -1px 1px #b110101a, 2px 2px 2px rgba(245, 64, 64, 0.5);
}

.button-dc {
    color: var(--white-color);
    background-color: var(--secondary-color);
    padding: 12px;
    border-radius: 24px;
    border: none;
    max-width: 300px;
    font-family: 'montserrat', sans-serif;
    cursor: pointer;
    font-size: 14px;
    margin: 20px auto 0; 
    align-self: center;
    text-decoration: none;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
}

.button-dc:hover {
    background-color: var(--primary-color);
    color: var(--text-color);
}

.dividerWave img {
width: 100%;  
}

/* Dropdown menu header */
.menu-burger {
    display: none;
}
.menu i {
    font-size: 32px;
    cursor: pointer;
}
.dropdown-modal {
    position: absolute;
    top: 145px;
    right: 10px;
    width: 200px;
    background-color: var(--primary-color);
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    border-radius: 5px;
    padding: 10px;
    display: none;
    opacity: 0; /* Opacité initiale pour l'animation */
    transform: translateY(-10px); /* Position légèrement plus haute pour l'animation */
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 1000;
}
.dropdown-modal.show {
    display: block; /* Afficher lorsque la classe "show" est ajoutée */
    opacity: 1;
    transform: translateY(0); /* Animation vers le bas */
}
.dropdown-modal a {
    display: flex;
    flex-direction: column;
    padding: 10px;
    font-family: 'montserrat';
    border-top: 1px solid #a29580;
}

#dropwho {
    border-top: none;
}

.prestations {
    background-color: var(--primary-color); 
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); 
    padding: 15px;
}

.logo-title {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.logo-title img {
    height: 25px;
    width: 25px;
}

.card-double {
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.card {
    border: 1px solid #ddd; 
    border-radius: 8px;
    padding: 15px;
    margin: 5px;
    background-color: var(--white-color); 
    text-align: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease-in-out;
    width: 50%;
    height: 300px;
    display: flex; 
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: rgba(0, 0, 0, 0.07) 0px 1px 1px, rgba(0, 0, 0, 0.07) 0px 2px 2px, rgba(0, 0, 0, 0.07) 0px 4px 4px, rgba(0, 0, 0, 0.07) 0px 8px 8px, rgba(0, 0, 0, 0.07) 0px 16px 16px;
}

.card:hover {
    border: 1px solid var(--secondary-color);
}

.prestation-name {
    font-size: 25px; 
    color: var(--text-color);  
    font-family: 'cooper';
    text-align: center;
    padding-left: 8px;
}

.prestation-description {
    font-size: 16px; 
    color: var(--grey-color); 
    margin: 10px 0; 
    line-height: 1.4; 
    text-align: justify; 
    font-family: 'montserrat';
}

.prestation-price {
    font-size: 14px; 
    color: var(--grey-color); 
    font-weight: bold;
    font-family: 'cooper';
    margin-top: auto;
}

.offre {
   display: flex;
   justify-content: center;
   padding-top: 15px;
   font-family: 'montserrat';
   font-weight: bolder;
   font-size: 16px;
   color: var(--grey-color);
}

.google {
    font-family: 'cooper';
    text-align: center;
    text-transform: uppercase;
    padding-top: 30px;
    color: var(--secondary-color);
    font-weight: 900;
    font-size: 25px;
}

.pourquoimoi {
    display: flex;
    text-align: justify;
    justify-content: space-evenly;
    align-items: center;
    color: var(--grey-color);
    margin-bottom: 60px;
}

.pm-para {
    font-family: 'montserrat';
    width: 40%;
}

.pm-para p {
    padding: 4px;
    font-size: 18px;
}

#contactproject {
    color: var(--white-color);
    font-weight: bold;
    text-align: center;
    background-color: var(--secondary-image-color);
    margin-top: 10px;
}

.pourquoimoi img {
    height: 400px;
    width: 350px;
}

.divider-wave img {
    width: 100%;
}

.titre {
    font-family: 'cooper';
    text-align: center;
    text-transform: uppercase;
    padding: 30px;
    color: var(--secondary-color);
    font-weight: 900;
    font-size: 30px;
}

footer {
    background-color: var(--primary-color);
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin-top: -10px;
    padding-bottom: 20px;
    font-family: 'montserrat';
}

footer i {
    font-size: 20px;
    color: var(--secondary-color);
}

.footer-right, .footer-left {
    width: 400px;
    text-align: center;
}

.footer-right h2, .footer-left h2 {
    color: var(--secondary-color);
}

/* Wave Design */
.footer .wave img {
    width: 100%;
    height: auto;
    margin-bottom: -20px; /* Overlaps to remove gap */
}

footer h2 {
    font-family: 'cooper';
    font-size: 25px;
}

.footer-left-content a, .footer-right-content a {
    cursor: pointer;
    text-decoration: none;
    color: var(--text-color);
    font-weight: bolder;
}

.footer-left-content a:hover, .footer-right-content a:hover{
    color: var(--secondary-color);
    text-decoration: underline;
}

.footer-left-content {
    padding: 5px;
}

.footer-right-content {
    display: flex;
    flex-direction: column;
}

.footer-right-content a {
    padding: 5px;
}

.footer-divider {
    background-color: var(--secondary-color);
    width: 2px;
    height: 120px;
}

.devproject {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #161616;
    color: var(--white-color);
    padding: 15px;
    font-family: 'montserrat';
}

.devproject a {
    color: var(--white-color);
    padding-left: 6px;
    text-decoration: none;
    font-weight: bolder;
}

.devproject a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

#scroll-top{
    position: fixed;
    top: -120%;
    right: 2rem;
    padding: .4rem 1.5rem;
    font-size: 3rem;
    background: var(--white-color);
    border: 2px solid var(--secondary-color);
    color: var(--secondary-color);
    text-decoration: none;
    border-radius: 50%;
    transition: 1s smooth;
}

#scroll-top.active{
    top: calc(100% - 12rem);
}

@media (max-width: 1280px) {
    
    .intro h1 {
        font-size: 38px;
    }

    .intro h2 {
        font-size: 24px;
    }

    .intro h3 {
        font-size: 18px;
    }

    .menu a {
        font-size: medium;
    }

    .section-about h2 {
        font-size: 26px;
    }
    
    .section-about p {
        font-size: 20px;
    }

    .prestation-description {
        font-size: 14px; 
    }

    .prestation-price {
        font-size: 14px;
    }

    .pourquoimoi {
        margin-bottom: 30px;
    }

    .pm-para {
        width: 60%;
    }
}

@media (max-width: 1470px) {
    .section-about p {
        font-size: 18px;
        padding-top: 10px;
        width: 80%;
    }
}

@media (max-width: 1024px) {
    .section-about h2 {
        font-size: 22px;
        padding: 12px;
    }
    
    .section-about p {
        font-size: 16px;
        padding-top: 10px;
        width: 80%;
    }

    .card {
        height: 300px;
    }
}

@media (max-width: 912px) {
    .section-about h2 {
        font-size: 22px;
        padding: 12px;
    }
    
    .section-about p {
        font-size: 16px;
    }

    .card {
        height: 370px;
    }

    .google {
        padding-bottom: 15px;
    }
}

@media (max-width: 820px) {
    .section-home {
        display: flex;
        flex-direction: column;
        height: 80vh;
    }

    .section-about {
        height: 405px;
    }

    .section-about img {
        height: 400px;
        width: auto;
    }

    .section-about h2 {
        font-size: 20px;
        padding: 12px;
    }
    
    .section-about p {
        font-size: 14px;
        padding-top: 10px;
        width: 80%;
    }

    #par2 {
        margin-bottom: 15px;
    }

    .text-about a {
        font-size: 12px;
    }

    .card {
        height: 350px;
    }

    .titre {
        padding: 10px;
    }

    .pourquoimoi img {
        height: 300px;
        width: 250px;
    }

    .pm-para {
        width: 60%;
    }

    .pm-para p {
        padding: 4px;
        font-size: 16px;
    }

    .google {
        padding-bottom: 30px;
    }
}

@media (max-width: 853px) {
    .pm-para {
        width: auto;
        margin: 15px;
    }
}

.pm-para {
    width: auto;
    margin: 10px;
}

@media (max-width: 768px) {
    .section-home {
        background-attachment: scroll; /* Désactive l'effet fixe */
    }
    
    .menu-burger {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding-left: 15px;
        padding-right: 15px;
    }

    .menu-pc {
        display: none;
    }
    
    .intro h1 {
        font-size: 24px;
    }

    .intro h2 {
        font-size: 18px;
    }

    .intro h3 {
        font-size: 15px;
    }

    .section-about {
        height: 780px;
    }

    #par2 {
        margin-bottom: 25px;
    }

    .section-about img {
        display: none;
    }

    .section-about .image-phone {
        display: block;
        height: 300px;
        margin: 0 auto;
        width: auto;
    }
    
    .about-me {
        display: block;
    }    

    .card-double {
        display: block;
        text-align: center; /* Centrer horizontalement */
    }

    .card {
        margin: 10px auto; /* Centrer chaque carte horizontalement */
        width: 90%; /* Ajuste la largeur des cartes si nécessaire */
        height: auto;
    }

    .pourquoimoi {
        display: flex;
        flex-direction: column-reverse;
        margin-bottom: 10px;
    }

    .pm-para {
        width: auto;
        margin: 10px;
    }

    .pm-para p {
        font-size: 14px;
    }

    .pourquoimoi img {
        height: 400px;
        width: 350px;
    }

    .pm-para {
        width: 90%;
    }

    .google {
        padding-left: 10px;
        padding-right: 10px;
        padding-bottom: 5px;
    }

    footer {
        display: block;
        margin-top: 0px;
        text-align: center;
    }

    footer h2 {
        padding-top: 15px;
    }

    .wave  {
        display: none;
    }

    .footer-right, .footer-left {
        width: auto;
        text-align: center;
    }

    .footer-left-content {
        font-size: 14px;
    }

    .footer-divider {
        width: 180px;
        height: 2px;
        margin: 20px auto;

    }

    #scroll-top{
        right: 3rem;
        padding: .3rem 1rem;
        font-size: 2rem;

    }
}

@media (max-width: 375px) {
    .intro h1 {
        font-size: 20px;
    }

    .intro h2 {
        font-size: 16px;
    }

    .intro h3 {
        font-size: 14px;
    }
}

@media (max-width: 276px) {
    .section-about p {
        font-size: 12px;
    }
}