body {
    font-family: 'Proxima Nova Alt', sans-serif;
    background-color: #1F2128;
    color: #9295A9;
    margin: 0;
    padding: 0;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #151620;
    padding: 15px 30px;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
    margin-left: auto; /* Déplace les liens vers la droite */
}

nav .logo img {
    height: 50px;
}

nav ul li a {
    text-decoration: none;
    color: #9295A9;
}

nav ul li a.active {
    color: #F90000;
}

.dropdown {
    position: relative;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%); /* Centre le sous-menu horizontalement */
    background-color: #151620;
    padding: 10px 0;
    border-radius: 8px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.3);
    min-width: 200px;
    max-width: 90vw; 
    text-align: center;
    z-index: 1000;
}

.dropdown-menu li {
    list-style: none;
    padding: 10px 20px;
    white-space: nowrap;
}

.dropdown-menu li a {
    text-decoration: none;
    color: #9295A9;
    display: block;
    transition: color 0.3s;
}

.dropdown-menu li a:hover {
    color: #F90000;
}

@media (min-width: 769px) {
    .dropdown:hover .dropdown-menu {
        display: block;
    }
}

@media (max-width: 768px) {
    .dropdown-menu {
        position: relative;
        display: none;
        transform: translateX(0%); /* Réinitialise le translate pour mobile */
        background-color: transparent;
        box-shadow: none;
        transform: translateX(-60%); /* Centrer par rapport au parent */
    }

    .dropdown.active .dropdown-menu {
        display: block;
    }

    .dropdown-menu li {
        padding: 10px;
        text-align: center;
    }
}

.menu-burger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    z-index: 100;
    width: 35px;
    height: 30px;
    justify-content: center;
    align-items: center;
    position: relative;
    margin-left: auto; /* Assure que le menu burger reste à droite */
}

.menu-burger .bar {
    width: 35px;
    height: 4px;
    background-color: white;
    position: absolute;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.menu-burger .bar:nth-child(1) {
    top: 0;
}

.menu-burger .bar:nth-child(2) {
    top: 12px;
}

.menu-burger .bar:nth-child(3) {
    top: 24px;
}

.menu-burger.active .bar:nth-child(1) {
    transform: translateY(12px) rotate(45deg);
}

.menu-burger.active .bar:nth-child(2) {
    opacity: 0;
}

.menu-burger.active .bar:nth-child(3) {
    transform: translateY(-12px) rotate(-45deg);
}

@media (max-width: 768px) {
    nav ul {
        position: absolute;
        top: 60px;
        width: 100%; /* Ajuste selon besoin */
        background-color: #151620;
        text-align: center;
        display: none;
        flex-direction: column;
        z-index: 1000;
        left: 0;
        padding: 20px;
    }
    
    nav ul.active {
        display: flex;
    }
    
    .menu-burger {
        display: flex;
    }
    
}

footer {
    background-color: #1F2128;
    text-align: center;
    padding: 20px;
}

footer .logo img {
    height: 50px;
}

footer p {
    color: #555761;
}

header {
    background: linear-gradient(to bottom, #151722, #36384C);
    text-align: center;
    padding: 50px 20px;
}

.header-content .big-logo img {
    height: 100px;
}

.header-content p {
    color: white;
    font-size: 40px;
    font-weight: 700;
}

.buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.btn {
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    color: white;
    font-weight: bold;
}

.btn.call {
    background-color: #EB462D;
}

.btn.contact {
    background-color: #4A4253;
}

.about {
    text-align: center;
    padding: 10px 10px;
    background: linear-gradient(to bottom, #292B34, #1F2128);
    border-radius: 15px;
    margin: 30px auto 10px;
    max-width: 900px;
    color: #ffffff;
}

.about h2 {
    color: #F90000;
    margin-bottom: 25px;
    font-size: 28px;
    text-transform: uppercase;
}

.about p {
    font-size: 18px;
    line-height: 1.6;
    max-width: 750px;
    margin: 0 auto 20px;
}

.about-details p {
    background-color: #151620;
    padding: 15px;
    border-radius: 8px;
    margin: 10px auto;
    max-width: 750px;
    font-size: 16px;
}

.about-conclusion {
    font-weight: bold;
    font-size: 20px;
    padding-top: 50px;
}

.instagram-feed {
    text-align: center;
    padding: 50px 20px;
}

body.contact-page {
    background-color: #272933;
}

.contact-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 50px 0;
    text-align: center;
    color: white;
}

.contact-header img {
    height: 80px;
}

.contact-intro {
    text-align: center;
    font-size: 18px;
    margin: 20px auto;
    max-width: 800px;
}

.contact-info {
    background-color: #1F2128;
    border-radius: 10px;
    padding: 40px;
    margin: 50px 10%;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    text-align: left;
}

.info-item {
    display: flex;
    align-items: center;
    background-color: #292B34;
    border-radius: 10px;
    padding: 20px;
}

.info-item img {
    height: 50px;
    margin-right: 15px;
}

@media (max-width: 768px) {
    .info-grid {
        grid-template-columns: 1fr;
    }

    .contact-header {
        flex-direction: column;
        text-align: center;
    }
    .header-content .big-logo img {
        height: 70px;
    }
}

body.services-page {
    background-color: #272933;
}

.service-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 50px 0;
    text-align: center;
    color: white;
}

.service-header img {
    height: 80px;
}

.service-intro {
    text-align: center;
    font-size: 30px;
    margin: 20px auto;
    max-width: 800px;
    color: white;
    font-weight: 700;
}

.service-item {
    display: flex;
    padding: 50px 20px;
    justify-content: center;
    gap: 30px;
}

.service-item .service-text {
    color: white;
    max-width: 600px;
}

.service-item .service-text h2 {
    color: #F90000;
}

.service-item .service-image img {
    width: 300px;
    height: auto;
    border-radius: 10px;
}

.service-item ul {
    padding-left: 20px; 
    list-style-position: inside;
}

@media (max-width: 768px) {
    .service-item {
        flex-direction: column;
        text-align: center;
    }

    .service-image, 
    .service-text {
        width: 100%;
    }

    .service-item ul {
        padding-left: 10px; 
    }
}

.service-footer {
    text-align: center;
    color: white;
}

.image-gallery {
    padding: 50px 0;
    text-align: center;
    margin-left: 25%;
    margin-right: 25%;
    max-width: 90%; 
}

.image-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px; 
    justify-content: center;
    max-width: 100%; 
}

.image-item {
    position: relative;
    width: 100%;
    padding-top: 100%;
    overflow: hidden;
    border-radius: 10px;
}

.image-item img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; 
    border-radius: 10px;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.image-item .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6); 
    color: white;
    font-size: 18px;
    font-weight: bold;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.image-item:hover img {
    transform: scale(1.1); 
    filter: brightness(0.7);
}

.image-item:hover .overlay {
    opacity: 1;
}

@media (max-width: 1000px) {
    .image-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 700px) {
    .image-grid {
        grid-template-columns: repeat(1, 1fr);
    }
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.zoom-in {
    opacity: 0;
    transform: scale(0.8);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.zoom-in.visible {
    opacity: 1;
    transform: scale(1);
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.slide-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.btn {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0px 4px 10px rgba(255, 255, 255, 0.2);
}

.fade-in, .slide-in-left, .slide-in-right {
    position: relative; 
    opacity: 0;
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

