@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600&display=swap');
@import url('https://fonts.googleapis.com/css2?family=League+Spartan:wght@400;600;700&display=swap');

* {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


/* Bouton remonter en haut de page */
.scroll-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background-color: #FFCC02;
    color: #1b323a;
    border: none;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 22px;
    cursor: pointer;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
    transition: opacity 0.3s, transform 0.3s;
    opacity: 0;
    visibility: hidden;
}

.scroll-top:hover {
    background-color: #FFD700;
}

.scroll-top.show {
    opacity: 1;
    visibility: visible;
}


/* Barre de navigation */
.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 50px;
    background-color: #1b323a; /* Couleur de fond comme sur ta maquette */
}

.logo img {
    width: 120px; /* Ajuste la taille si besoin */
}

.nav ul {
    display: flex;
    justify-content: center;
    gap: 40px;
    list-style: none;
    width: 100%;
}

.nav li a {
    color: white;
    text-decoration: none;
    font-size: 18px;
    padding: 5px 10px;
    transition: 0.3s;
}

.nav li a:hover {
    color: #FFCC02;
}

.nav li a.active, .nav li a:active {
    color: #FFCC02;
    text-decoration: underline;
}


/* Changement de langue */
.language-dropdown {
    position: relative;
}

.language-dropdown .dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #1b323a;
    padding: 10px;
    border-radius: 5px;
    min-width: 120px;
}

.language-dropdown:hover .dropdown-content {
    display: block; 
}

.dropdown-content li {
    list-style: none;
}

.dropdown-content a {
    color: white;
    text-decoration: none;
    display: block;
    padding: 5px;
}

.dropdown-content a:hover {
    background-color: #FFCC02; 
    color: #1b323a !important; 
}





/* Masquer le menu en mode mobile */
.nav-links {
    display: flex;
    gap: 30px;
}


/* Bouton Burger */
.burger-menu {
    display: none; /* Caché par défaut */
    font-size: 30px;
    cursor: pointer;
    color: white;
}

@media (max-width: 768px) {
    .nav-links {
        display: none; /* Cache les liens en mode mobile */
        flex-direction: column;
        position: absolute;
        top: 120px;
        left: 0;
        background: #1b323a;
        width: 100%;
        text-align: center;
        padding: 20px;
        height: auto;
    }

    .nav-links.active {
        display: flex; /* Affiche le menu quand actif */
    }

    .burger-menu {
        display: block; /* Affiche le burger */
        cursor: pointer;
        font-size: 30px;
        color: #FFCC02;
        z-index: 1000; /* Évite qu’il soit caché par d’autres éléments */
    }
}

@media (min-width: 769px) {
    .nav-links {
        display: flex !important; /* Assure l'affichage du menu en mode desktop */
        gap: 40px;
        list-style: none;
        width: 100%;
        justify-content: center;
    }

    .burger-menu {
        display: none; /* Cache le burger en mode desktop */
    }
}



/* Photo accueil avec texte */
section.top-page {
    background: url('../images/agence.jpg') center/cover no-repeat;
    height: 80vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.big-title {
    text-align: center;
    font-size: 4vw; /* Taille dynamique selon l’écran */
    font-weight: bold;
    color: #FFCC02;
    letter-spacing: 2px;
    width: 80%;
    margin: 0 auto;
    padding: 20px;
    text-shadow: 4px 4px 10px rgba(0, 0, 0, 0.6);
}

@media (max-width: 768px) {
    .big-title {
        font-size: 6vw;
        width: 90%;
        padding: 10px;
    }
}



/* Logo bar */
.logo-bar {
    width: 100%;
    padding: 20px 0;
    background-color: #1b323a; 
    display: flex;
    justify-content: center;
    border-top: 4px solid #1b323a; 
}

.logo-container {
    display: flex;
    gap: 40px;
    align-items: center;
}

.logo-container img {
    width: 120px;
    height: auto;
    object-fit: contain;
    filter: brightness(0) invert(1); /* Logos blancs par défaut */
    transition: 0.3s ease-in-out;
}

.logo-container img:hover {
    filter: brightness(0) invert(70%) sepia(100%) saturate(500%) contrast(100%);
}



/* Section Services */
h2 {
    text-align: center;
    font-size: 40px; 
    font-weight: bold;
    color: #FFCC02;
    letter-spacing: 3px; 
    width: 80%; 
    margin: 0 auto 30px;
    margin-top: 40px;
}

@media (max-width: 480px) {
    h2 h4 {
        font-size: 35px; 
    }
}

h3 {
    margin-bottom: 10px;
}

.services {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 60px; 
    padding: 60px;
    max-width: 900px;
    margin: auto;
    margin-top: 80px; 
}

@media (max-width: 768px) {
    .services {
        grid-template-columns: repeat(1, 1fr); /* Passe en une seule colonne */
    }
}

.service-item {
    width: calc(50% - 40px);
    padding: 20px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.service-item:hover {
    transform: scale(1.1);
    box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.2);
}

.service-icon {
    font-size: 32px;
    color: #FFCC02;
    margin-bottom: 20px;
}



/* Formulaire de contact */ 
h4 {
    text-align: center;
    font-size: 40px; 
    font-weight: bold;
    color: white;
    letter-spacing: 3px; 
    width: 80%; 
    margin: 0 auto 30px;
    margin-top: 40px;
}

.contact-form {
    width: 100%;
    margin: 40px auto;
    padding: 20px;
    background-color: #FFCC02;
    text-align: center;
    padding-bottom: 60px;
}

.contact-form h3 {
    font-size: 24px;
    color: #1b323a;
}

.contact-form p {
    font-size: 16px;
    color: #1b323a;
    margin-bottom: 20px;
}

.contact-form form {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact-form label {
    font-size: 18px;
    margin-top: 20px;
    text-align: left;
    width: 80%;
}

.contact-form input, .contact-form textarea {
    width: 80%;
    padding: 8px;
    border: 1px solid #1b323a;
    border-radius: 5px;
    margin-top: 5px;
}

.contact-form button {
    width: 80%;
    margin-top: 50px;
    padding: 10px 20px;
    background-color: #1b323a;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 18px;
}

.contact-form button:hover {
    transform: scale(1.02);
}



/* PAGE Services */

.services-intro {
    text-align: center;
    max-width: 800px;
    margin: 60px auto;
    font-size: 20px;
    line-height: 1.6;
    padding: 0 50px 0 50px;
}

.services-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    padding: 40px;
    margin-bottom: 50px;
}

.service-item {
    width: calc(33.33% - 40px); /* Organise en trois colonnes */
    padding: 20px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    min-width: 250px; /* Pour éviter que les blocs soient trop petits */
}

.service-item i {
    font-size: 32px;
    color: #FFCC02;
    margin-bottom: 10px;
}



/* PAGE Réalisations */

.portfolio {
    padding: 0 50px 0 50px;
}

.contact-intro {
    text-align: center;
    max-width: 800px;
    margin: 10px auto !important;
    font-size: 20px;
    line-height: 1.6;
    padding: 0 50px 30px 50px !important;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    padding: 20px;
    margin-bottom: 50px;
}

.gallery-item img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    transition: 0.3s ease-in-out;
}

.gallery-item img:hover {
    transform: scale(1.05);
}



/* PAGE Contact */ 

.contact-bar {
    width: 100%;
    padding: 20px 0;
    background-color: #1b323a;
    border-top: 4px solid #FFCC02;
}


/* Footer */

.footer {
    width: 100%;
    padding: 20px 0;
    background-color: #1b323a; /* Couleur alignée avec ton site */
    color: white;
    text-align: center;
    border-top: 2px solid #FFD700; /* Fine barre de séparation */
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.footer-logo {
    width: 120px; /* Ajuste la taille */
    height: auto;
    display: block;
    margin: 10px auto; /* Centre le logo */
    filter: none; /* Supprime le filtre qui peut le rendre invisible */
}


.footer-links {
    display: flex;
    gap: 15px;
}

.footer-links a {
    color: #FFD700; /* Ton jaune exact */
    text-decoration: none;
    font-size: 14px;
}

.footer-links a:hover {
    text-decoration: underline;
}

.footer-socials {
    margin-top: 10px;
}

.footer-socials a {
    font-size: 24px;
    color: #FFD700; /* Ton jaune */
    transition: 0.3s ease-in-out;
}

.footer-socials a:hover {
    color: #FFCC02; /* Effet léger au survol */
} 



/* CONTACT */

.contact-separator {
    width: 80%;
    height: 3px;
    background-color: #FFCC02; /* Jaune marque */
    margin: 30px auto;
}

/* Petit texte */

.contact-intro {
    text-align: center;
    max-width: 800px;
    margin: 80px auto; /* Plus d’espace */
    padding: 20px;
}

.contact-intro h1 {
    color: #FFCC02;
    font-size: 42px; /* Un peu plus grand */
    font-family: 'League Spartan', sans-serif;
    margin-bottom: 20px;
    font-weight: 700;
}

.contact-intro p {
    font-size: 20px; /* Plus lisible */
    color: #1b323a;
    line-height: 1.8; /* Aéré */
    font-weight: 400;
}

/* Téléphone */

.contact-info {
    text-align: center;
    margin: 60px auto; /* Ajoute de l’espace autour */
    font-size: 22px;
    color: #1b323a;
    font-weight: bold;
    padding: 20px;
    border-radius: 8px;
    background-color: #f8f9fa; /* Fond léger pour bien séparer */
}
