body {
    margin: 0;
    background-color: #f5f2ef;
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: center;
    font-family: optima;
}

.video-header {
    position: relative;
    width: 100%;
    height: 650px;
    overflow: hidden;
}

.video-header video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Pour couvrir toute la surface sans distorsion */
    z-index: -1;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 0;
}

.contact-btn {
    position: absolute;
    top: 80%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #9b907c;
    color: white;
    font-size: 1.5rem;
    text-decoration: none;
    border-radius: 25px;
    text-align: center;
    transition: background-color 0.3s ease;
    z-index: 10;
    padding: 10px;
}

.contact-btn:hover {
    background-color: #d1c4aa;
}

.video-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    text-align: center;
    z-index: 1;
}

.video-text h1 {
    font-size: 3rem;
    margin: 0;
}

.video-text p {
    font-size: 1.2rem;
}

/* Navbar styles */
.navbar {
    position: absolute;
    top: 20px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;

}

/* Logo styles */
.navbar .logo img {
    height: 90px;
    width: 90px;
    border-radius: 50%;
    margin-left: 25px;
    object-fit: contain;
    background-color: white;
    padding: 10px;
}

/* Navigation links styles */
.nav-links {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    justify-content: center;
    flex-grow: 1;
    margin-right: 5%;
}

.logo1 img {
    height: 50px;
    opacity: 0;

}

.nav-links li {
    margin: 0 25px;
}

.nav-links a {
    text-decoration: none;
    color: #fff;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #9b907c;
    /* Effet survol */
}

.nav-links li img {
    height: 50px;
    opacity: 0;
}



/* Hamburger menu icon */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    background-color: #d1c4aa;
    height: 5px;
    width: 30px;
    margin: 4px 0;
    border-radius: 5px;
    transition: 0.3s;
}

main {
    max-width: 100%;
}

/* Section Qui suis-je */
#qui-suis-je {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    flex-wrap: wrap;
}

#qui-suis-je .content {
    display: flex;
    flex-direction: row;
    gap: 70px;
    max-width: 1000px;
}

#qui-suis-je .text {
    flex: 1;
    color: black;
    padding: 20px;
    margin-top: 40px;

}

#qui-suis-je .text h2 {
    font-size: 30px;
    margin-bottom: 15px;
}

#qui-suis-je .text p {
    font-size: 20px;
    line-height: 1.1;
    margin-bottom: 0;
}

#qui-suis-je .image {
    flex: 1;
    text-align: center;
    margin-top: 150px;

}

#qui-suis-je .image img {
    max-width: 100%;
    max-height: 800px;
    border-radius: 40px;
    box-shadow: 10px 10px 20px rgba(0, 0, 0, 0.1);

}

.container-image-dog {
    width: 100%;
    height: 500px;
    background-image: url('images/dogs.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.prestations {
    width: 80%;
    background-color: #efeeec;
    margin-left: 10%;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    margin-top: 50px;
    padding-top: 20px;
    box-sizing: border-box;
}

.img1 {
    height: 20%;
    max-width: 80%;
    margin-top: 60px;
    margin-left: 10%;
}


.prestations h2 {
    text-align: center;
    font-size: 2rem;
    color: #333;
}


.prestations p {
    text-align: center;
    font-size: 1.3rem;
    color: black;
    line-height: 1.6;
    margin-top: 50px;
    max-width: 80%;
    margin-left: 10%;
    padding-bottom: 30px;
}

.avis-section {
    margin-top: 80px;
    padding: 20px;
    text-align: center;

}

.avis-section h2 {
    font-size: 2rem;
    margin-bottom: 40px;
}

.carousel {
    position: relative;
    width: 40%;
    height: 20%;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
    margin-left: 30%;
    margin-bottom: 50px;
    background-color: #f5f6f8;
}

.carousel-container {
    display: flex;
    transition: transform 0.5s ease-in-out;
    width: 90%;
}

.carousel-container img {
    width: 80%;
    height: 30%;
    flex-shrink: 0;
    padding: 30px 70px;
}

.arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0);
    color: rgb(0, 0, 0);
    border: none;
    padding: 10px 10px;
    cursor: pointer;
    z-index: 2;
    font-size: 50px;
    transition: background-color 0.3s;
    opacity: 100%;
}


.left-arrow {
    left: -10px;
}

.right-arrow {
    right: -10px;
}



/* Bouton centré */
.center-button {
    position: absolute;
    margin-top: -10px;
    margin-left: -70px;
    background-color: #9b907c;
    color: white;
    border: none;
    padding: 15px 30px;
    font-size: 15px;
    border-radius: 10px;
    border: solid white 2px;
    cursor: pointer;
    z-index: 99;
    text-decoration: none;
    transition: 0.5s;
    font-weight: bold;
}

.center-button:hover {
    background-color: #d1c4aa;
}




.contact {
    width: 90%;
    text-align: center;
    padding-bottom: 50px;
    margin-top: 100px;
}

.image-ago img {
    border-radius: 10px;
    width: 550px;
    margin-left: -200px;
    margin-top: 30px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
}

.contact-ago {
    overflow-x: hidden;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    background-color: rgb(89, 89, 89);
    height: 350px;
    max-width: 400px;
    font-size: 1rem;
    color: white;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
    position: absolute;
    margin-top: -450px;
    margin-left: 750px;
    border-radius: 10px;
    padding: 0px;
    flex-direction: column;
    gap: 20px;
}

.contact-ago a {
    text-decoration: none;
    color: white;
    font-size: 1.5rem;
    transition: 0.5s;
    font-weight: bold;
}

.contact-ago a:hover {
    transform: scale(1.3);
}


.social {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 20px;
}

.social a {
    display: inline-block;
    /* Maintient les icônes côte à côte */
}

.social img {
    margin: 10px;
}

.social .fcb img {
    height: 50px;
    transition: 0.5s;
}

.social .fcb img:hover {
    transform: scale(1.3);
}

.social .insta img {

    height: 50px;
    transition: 0.5s;
}

.social .insta img:hover {
    transform: scale(1.3);
}

.footer {
    background-color: #333;
    color: #fff;
    padding: 10px 20px 20px;
    font-size: 0.7rem;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
    max-width: 1200px;
    margin: 0;
}


/* Bas du footer */
.footer-bottom {
    text-align: center;
    border-top: 1px solid #555;
    margin-top: 20px;
    font-size: 0.8rem;
    color: #bbb;
}

@media screen and (max-width: 1450px) {
    .contact-ago {
        margin-left: 45%;
    }
}


@media screen and (max-width: 1136px) {

    #qui-suis-je .content {
        flex-direction: column;
        align-items: center;
        gap: 5px;
    }

    #qui-suis-je .text {
        text-align: center;
    }

    #qui-suis-je .image img {
        width: 600px;
        margin-top: -120px;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -200%;
        /* Menu caché initialement */
        height: 100%;
        width: 150%;
        background-color: rgb(255, 255, 255);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right 0.5s ease-in-out;
        padding-top: 30px;


    }

    .logo1 img {
        height: 100px;
        opacity: 100;
        margin: 0;

    }

    .nav-links a {
        text-decoration: none;
        color: #d1c4aa;
        font-size: 2rem;
        transition: color 0.3s ease;
        line-height: 3;

    }

    .nav-links a:hover {
        color: #d1c4aa;
        /* Effet survol */
    }

    .nav-links.active {
        right: -35%;
        /* Menu déplié */
    }

    .nav-links li img {
        opacity: 100%;
        margin-top: 20px;
        margin-left: 20px;
        margin-right: 15px;
    }

    .hamburger {
        display: flex;
        /* Affiche le hamburger sur mobile */
        position: fixed;
        right: 20px;
        /* Positionné à droite */
        top: 20px;
        /* Un peu plus bas que le bord supérieur */
    }

    .container-image-dog {
        width: 100%;
        height: 40vh;
    }

    .img1 {
        max-width: 90%;
    }

    .prestations p {
        line-height: 1.2;
        margin-top: 40px;
        margin-left: 10%;
    }

    .carousel {
        width: 50%;
        height: 30%;
        margin-left: 25%;
    }

    .contact {
        margin-left: 2%;
    }

    .contact-ago {
        width: 350px;
        height: 300px;
        margin-top: -400px;
    }

    .image-ago img {
        width: 500px;

    }
}


@media screen and (max-width: 950px) {

    .nav-links a {
        font-size: 2.5rem;
    }

    .nav-links.active {
        right: -28%;
        /* Menu déplié */
    }

    #qui-suis-je .content {
        flex-direction: column;
        align-items: center;
        gap: 5px;
    }

    #qui-suis-je .text {
        text-align: center;
    }

    #qui-suis-je .text h2 {
        font-size: 35px;
        margin-bottom: 5px;
    }

    #qui-suis-je .text p {
        font-size: 20px;
    }

    #qui-suis-je .image img {
        width: 550px;
        margin-top: 0;
    }

    #qui-suis-je .image {
        margin-top: 10px;
    }

    .container-image-dog {
        width: 100%;
        height: 30vh;
    }

    .prestations p {
        margin-top: 50px;
    }

    .container-prestations {
        gap: 20px;
        justify-content: center;
        margin-top: 50px;
        margin: 55px;
    }

    .footer-container {
        flex-direction: column;
        align-items: center;
    }

    .carousel {
        width: 70%;
        height: 40%;
        margin-left: 15%;
    }

    .carousel-container img {
        width: 80%;
        height: 40%;
    }
}

@media (max-width: 900px) {

    .nav-links a {
        font-size: 2rem;
    }

    .contact-btn {
        margin-top: 30px;
    }

    body {
        background-size: 200% 200%;
        background-repeat: no-repeat;
        background-position: center
    }

    .nav-links.active {
        right: -30%;
        /* Menu déplié */
    }


    .prestations p {
        line-height: 1.4;
        font-size: 1.2rem;
        margin-top: 50PX;
        margin-bottom: 80px;
    }

    .contact {
        margin-left: 7%;
    }

    .contact-ago {
        width: 300px;
        height: 250px;
        margin-top: -300px;

    }

    .image-ago img {
        width: 400px;
        margin-left: -270px;

    }

    .contact-ago a {
        font-size: 1.2rem;
    }

    .social .fcb img {
        height: 40px;
    }

    .social .insta img {
        height: 40px;
    }
}

@media (max-width: 720px) {

    .nav-links a {
        font-size: 2rem;
    }

    .video-text h1 {
        font-size: 2.5rem;

        #qui-suis-je .image {
            width: 400px;
            margin-top: 0px;

        }

        .nav-links a {
            font-size: 1.4rem;
            margin-right: 80px;
        }

        .navbar .logo img {
            height: 50px;
            width: 50px;

        }

        .contact-btn {
            margin-top: 50px;
        }

        .container-image-dog {
            width: 80%;
            height: 70vh;
        }

        .prestations p {
            line-height: 1.2;
            margin: 20px;
            font-size: 1.4rem;
            margin: 30PX;
            margin-top: 10PX;
            margin-bottom: 30px;
        }


        .carousel {
            width: 90%;
            height: 70%;
            margin-left: 5%;
        }

        .carousel-container img {
            width: 90%;
            height: 60%;
            padding: 10px 40px;
        }


        .center-button {
            font-size: 0.7rem;
        }

    }

    .contact-ago {
        width: 250px;
        height: 200px;
        margin-top: -250px;

    }

    .image-ago img {
        width: 300px;
        margin-left: -200px;

    }

    .contact-ago a {
        font-size: 1rem;
    }

    .social img {
        margin: 5px;
        margin-top: 0;
    }

    .social .fcb img {
        height: 30px;
    }

    .social .insta img {
        height: 30px;
    }
}

@media (max-width: 540px) {

    #qui-suis-je .text p {
        font-size: 20px;
    }

    #qui-suis-je .text {
        max-width: 80%;
    }

    .video-text h1 {
        font-size: 2.2rem;
    }

    #qui-suis-je .image img {
        width: 300px;
    }

    .container-image-dog {
        height: 35vh;
    }

    .prestations {
        width: 95%;
        margin-left: 2%;
    }

    .prestations p {
        font-size: 1rem;
        margin-bottom: 20px;
    }

    .img1 {
        max-width: 100%;
        height: 350px;
        margin-left: 0;
        margin-top: 20px;
    }

    .carousel {
        margin-left: 5%;
        width: 90%;
        height: 60%;

    }

    .contact-ago {
        width: 220px;
        height: 180px;
        margin-top: -230px;

    }

    .image-ago img {
        width: 280px;
        margin-left: -170px;

    }

}

@media (max-width: 450px) {

    .nav-links a {
        font-size: 1.7rem;
    }


    .img1 {
        height: 280px;
    }

    .contact {
        margin-left: 5%;
    }

    .contact-ago {
        width: 200px;
        height: 170px;
        margin-top: -200px;

    }

    .image-ago img {
        width: 250px;
        margin-left: -140px;

    }

    .contact-ago a {
        font-size: 0.8rem;
    }

}

@media (max-width: 380px) {
    
    body{
        max-width: 380px;
    }

    .nav-links {
        width: 100%;
    }

    .nav-links.active {
        width: 150%;
    }

    #qui-suis-je .image img {
        width: 300px;
    }

    #qui-suis-je .image {
        max-width: 300px;
    }

    #qui-suis-je .text h2 {
        font-size: 25px;
        margin-bottom: 15px;
    }

    #qui-suis-je .text p {
        font-size: 15px;
        line-height: 1.3;
        margin-bottom: 0;
    }

    #qui-suis-je .text {
        max-width: 90%;
    }

    .prestations p {
        font-size: 0.8rem;
    }


    .nav-links {
        right: -110%;

    }

    .carousel {
        margin-left: 5%;
        width: 90%;
        height: 60%;

    }

    .carousel-container img {
        width: 90%;
        height: 60%;
        padding: 10px 20px;
    }

    .center-button {
        font-size: 0.8rem;
        margin-left: -70PX;

    }

    .contact-ago {
        width: 180px;
        height: 140px;
        margin-top: -180px;
        margin-left: 160px;

    }

    .image-ago img {
        width: 230px;
        margin-left: -100px;
        margin-top: 10px;

    }

    .contact-ago a {
        font-size: 0.6rem;
    }

    .social {
        margin: 0;
    }

    .social .fcb img {
        height: 20px;
        transition: 0.5s;
    }

    .social .insta img {
        height: 20px;
        transition: 0.5s;
    }

}

@media (max-width: 350px) {

    .contact-btn {
        font-size: 1.2rem;
    }

    .contact-ago {
        width: 160px;
        height: 130px;
        margin-top: -180px;
        margin-left: 160px;

    }

    .image-ago img {
        width: 210px;
        margin-left: -100px;
        margin-top: 10px;

    }


}

@media (max-width: 320px) {

    .contact-ago {
        width: 160px;
        height: 130px;
        margin-top: -150px;
        margin-left: 140px;

    }

    .image-ago img {
        width: 180px;
        margin-left: -100px;
        margin-top: 0px;

    }


}