﻿.quick-access h3 {
    margin-bottom: 20px;
}

.quick-access ul {
    list-style-type: none;
    padding: 0;
}

    .quick-access ul li {
        margin-bottom: 10px;
    }

        .quick-access ul li a {
            text-decoration: none;
            color: #000; /* Couleur noire pour les liens */
            display: flex;
            align-items: center;
            font-family: inherit; /* Utiliser la même police que le reste de la page */
        }

            .quick-access ul li a i {
                margin-right: 10px;
                color: #f33737;
            }




.header .logo {
    max-width: 100px;
}

.header .title {
    font-size: 10px;
    text-align: center;
}

hr.custom-hr {
    border: 0;
    height: 1px;
    background: #333;
    background-image: linear-gradient(to right, #ccc, #333, #ccc);
    margin-top: 10px;
}

.navbar-nav .nav-link {
    position: relative;
    padding: 10px 15px;
    transition: color 0.3s, background-color 0.3s;
}

    .navbar-nav .nav-link::before {
        content: "";
        position: absolute;
        bottom: 0;
        left: 50%;
        width: 0;
        height: 2px;
        background-color: #f33737;
        transition: width 0.3s, left 0.3s;
    }

    .navbar-nav .nav-link:hover::before {
        width: 100%;
        left: 0;
    }

    .navbar-nav .nav-link:hover {
        color: #f33737;
        background-color: #f8f9fa;
    }

@media (max-width: 768px) {
    .header .title {
        font-size: 1.2rem;
    }

    .header .logo {
        max-width: 70px;
    }
}

.flag-icon {
    width: 20px;
    height: 15px;
    margin-right: 5px;
}

.search-container {
    display: none;
    position: absolute;
    top: 50px;
    right: 10px;
    background-color: white;
    padding: 10px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
}

    .search-container input {
        width: 200px;
    }

.search-icon {
    cursor: pointer;
}

.middle-section {
    min-height: 500px; /* Ajuster la hauteur selon vos besoins */
}

body {
    font-family: Arial, sans-serif; /* Assurez-vous que cette police est la même que celle utilisée dans le reste de votre page */
}

.quick-access {
    text-align: center;
}

    .quick-access h3 {
        margin-bottom: 20px;
    }

    .quick-access ul {
        list-style-type: none;
        padding: 0;
        display: inline-block;
        text-align: left;
    }

.quick-access, .middle-section, .exploration-section {
    padding: 20px;
    border-radius: 20px;
    height: 100%;
}

    .quick-access ul li {
        margin-bottom: 10px;
    }

    .quick-access h3, .middle-section h3, .exploration-section h3 {
        margin-bottom: 20px;
    }

.container-fluid {
    height: 100%;
}

.quick-access ul li a {
    text-decoration: none;
    color: #000; /* Couleur noire pour les liens */
    display: flex;
    align-items: center;
    padding: 10px 15px;
    border-radius: 5px;
    transition: background-color 0.3s, color 0.3s;
    font-family: inherit; /* Utiliser la même police que le reste de la page */
}

    .quick-access ul li a i {
        margin-right: 10px;
        color: #f33737;
    }

    .quick-access ul li a:hover {
        background: linear-gradient(to right, #e0e0e0, #f5f5f5);
        color: #000;
    }

h3 {
    position: relative;
    display: inline-block;
    margin-bottom: 20px;
}

    h3::after {
        content: '';
        position: absolute;
        left: -40px;
        top: 50%;
        transform: translateY(-50%);
        width: 30px;
        height: 2px;
        background-color: green;
        font-weight: bold;
    }

.description-text {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #333;
    margin-top: 20px;
}

.description-title {
    margin-bottom: 20px;
}


.navbar-nav .nav-item {
    border-right: 1px solid #ccc; /* Ajoute une bordure droite grise */
    padding-right: 10px; /* Espacement à droite de chaque élément */
}

    .navbar-nav .nav-item:last-child {
        border-right: none; /* Supprime la bordure droite du dernier élément */
    }

.styled-img {
    max-width: 100%;
    height: auto;
    border-radius: 8px; /* Coins arrondis */
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1); /* Ombre douce */
    filter: grayscale(20%) contrast(120%); /* Effet de gris et contraste amélioré */
    transition: filter 0.3s ease-in-out, transform 0.3s ease-in-out;
}

    .styled-img:hover {
        filter: grayscale(0%) contrast(100%); /* Retour à la couleur originale */
        transform: scale(1.02); /* Légère agrandissement au survol */
    }

.map-container {
    position: relative;
}

.blurred-map {
    width: 100%;
    filter: blur(8px); /* Applique un flou à l'image */
}

.map-container {
    padding-top: 20px;
    position: relative;
    width: 300px; /* Ajustez la taille maximale selon vos besoins */
    margin: 0 auto; /* Centre horizontalement */
    overflow: hidden; /* Cache le dépassement */
}

.blurred-map {
    width: 100%;
    filter: blur(8px); /* Applique un flou à l'image */
}

.map-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #000;
    width: 100%;
}

.overlay-text {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 20px;
}

.overlay-description {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.explore-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #f33737;
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    border-radius: 15px;
    transition: background-color 0.3s, color 0.3s;
}

    .explore-button:hover {
        background-color: #fff;
    }

.card {
    position: relative;
    overflow: hidden;
}

.card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.7); /* Fond semi-transparent */
    color: #fff;
    padding: 20px;
}

.card-title {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 10px;
}

.card-text {
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.video-section {
    padding: 50px 0;
    text-align: center;
}

    .video-section h2 {
        font-size: 2rem;
        font-weight: bold;
        margin-bottom: 20px;
    }

    .video-section p {
        font-size: 1.2rem;
        margin-bottom: 30px;
    }

.new-item-container {
    position: relative;
    overflow: hidden; /* Ensure that the image and overlay fit within the container */
    width: 100%; /* Adjust the width as needed */
    max-width: 250px; /* Set a fixed width for the container */
    height: 150px; /* Set a fixed height for the container */
    border-radius: 20px;
}

.new-item-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
}

.new-item-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Semi-transparent overlay */
    border-radius: 20px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.date-title-container {
    position: absolute;
    top: 10px;
    left: 10px;
}

.date-container {
    display: flex;
    align-items: center;
}

.date-text {
    margin: 0;
    color: white;
    font-size: 16px; /* Adjust font size as needed */
}

.new-item-title {
    color: white;
    font-size: 14px; /* Adjust font size as needed */
    margin-top: 10px;
}

.feature-item-container {
    padding: 20px;
    border-radius: 20px;
    background-color: #f9f9f9;
}

.feature-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.d-text {
    margin: 0;
    color: #007bff;
    font-size: 16px; /* Ajuster la taille de la police si nécessaire */
}

.feature-item-title {
    margin: 0;
    font-size: 14px; /* Ajuster la taille de la police si nécessaire */
}


.vertical-line {
    border-left: 2px solid #007bff;
    height: auto;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}
/* Footer Styles */
.footer {
    background-color: #f8f9fa;
    color: black;
    padding: 40px 0;
}

.footer-logo img {
    max-width: 150px;
}

.footer-description {
    margin-top: 15px;
    font-size: 14px;
    line-height: 1.6;
    text-align: center;
}

.footer h4 {
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 18px;
    color: #007bff;
}

.footer ul {
    padding: 0;
    list-style: none;
    text-align: center;
}

    .footer ul li {
        margin-bottom: 10px;
    }

        .footer ul li a {
            color: black;
            text-decoration: none;
        }

            .footer ul li a:hover {
                text-decoration: underline;
            }

.social-links {
    display: flex;
    justify-content: center;
    margin-top: 10px;
}

    .social-links a {
        color: black;
        font-size: 20px;
        margin: 0 10px;
    }

        .social-links a:hover {
            color: #f33737;
        }

.form-control {
    background-color: white;
    color: black;
    border-color: #f33737;
    margin-bottom: 10px;
}

    .form-control::placeholder {
        color: #ccc;
    }

.btn-primary {
    background-color: #f33737;
    border: none;
}

    .btn-primary:hover {
        background-color: #f33737;
    }

.flag-icon {
    width: 20px;
    height: 20px;
    margin-right: 5px;
}

.nav-link {
    color: black;
    margin: 0 10px;
    text-decoration: none;
}

    .nav-link:hover {
        color: #f33737;
    }

/* Add vertical lines */
.footer-section {
    border-right: 1px solid #f33737;
    padding-right: 15px;
}

    .footer-section:last-child {
        border-right: none;
    }

.footer h4 {
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 18px;
    color: #f33737;
}


/*Espace Citoyen */

/* Custom styles */
.citizen-space {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 50px;
}

.title-section {
    flex: 1;
    margin-right: 20px;
}

.image-section {
    flex: 1;
    position: relative;
}

    .image-section img {
        width: 100%;
        height: auto;
    }

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to left, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.8));
    filter: blur(10px);
    z-index: 1;
}

.title-content {
    position: relative;
    z-index: 2;
}
/*Services*/
.municipalité-container { /*partie municpalité*/
    display: flex;
    margin-bottom: 50px;
}

    .municipalité-container img {
        margin-right: -200px;
        height: 600px;
        min-width: 70%;
    }

    .municipalité-container div {
        box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19); /*shadow */
        text-align: center;
        border-radius: 2px;
        background-color: hsl(0, 0%, 100%,0.95); /*transparent*/
        margin-top: 50px;
        margin-right: 20px;
        margin-bottom: 50px;
        font-size: large;
        font-family: 'inherit',cursive; /*handwritting like font*/
        padding: 20px;
        padding-top: 100px;
        line-height: 30px;
    }




        .municipalité-container div h2 { /* title edit */
            line-height: 60px;
            font-family: 'Brush Script MT cursive', cursive;
            font-size: 50px;
            opacity: 0; /* Start with transparency */
            animation: fadeInAnimation 2s ease-in forwards; /* Animation name, duration, timing function, and fill mode */
        }

        .municipalité-container div p {
            opacity: 0; /* Start with transparency */
             animation: fadeInAnimation 2s ease-in forwards; /* Animation name, duration, timing function, and fill mode */
        }


@keyframes fadeInAnimation {
    from {
        opacity: 0; /* Start opacity */
    }

    to {
        opacity: 1; /* End opacity */
    }
}

.services-container { /*partie service*/
    display: flex;
    flex-wrap: wrap;
    justify-content: center; /*center horizentally*/
    margin: 50px;
}

    .services-container div {
        width: 25%;
        margin: 20px;
        text-align: left;
        font-size: 20px;
        font-family: Georgia, 'Times New Roman', Times, serif;
        transition: 1s ease;
    }

        .services-container div:hover {
            -webkit-transform: scale(1.2);
            -ms-transform: scale(1.2);
            transform: scale(1.2);
            transition: 1s ease;
            cursor: pointer;
        }


.service {
    font-size: 20px;
    font-family: fantasy;
    position: relative;
    color: #f33737;
    margin-left: 20px;
}


    .service::after { /*line after services*/
        display: inline-block;
        content: "";
        height: 3px;
        background: #f33737;
        position: absolute;
        width: 10%;
        top: 50%;
        margin-left: 10px;
    }

.services-container div img {
    min-width: 100%;
    max-width: 100%;
    height: 200px;
}

.services-container div .titre {
    font-size: 20px;
    font-family: Georgia, 'Times New Roman', Times, serif;
    margin-left: 20px;
}


.sticky { /*sticky nav bar when scrolling*/
    position: fixed;
    top: 0;
}

.menu nav div ul {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 10px;
}
/*gallery */
.gallery-container {
    max-width: 90%;
    margin: 0 auto;
    overflow: hidden;
    padding-top: 20px;
}



    .gallery-container .gallery {
        display: flex;
        overflow-x: auto;
        scroll-behavior: smooth;
    }


        .gallery-container .gallery::-webkit-scrollbar {
            width: 0px;
            background: transparent; /* make scrollbar transparent */
        }

        .gallery-container .gallery .gallery-item {
            flex: 0 0 auto;
            text-align: center;
            margin: 20px;
        }

            .gallery-container .gallery .gallery-item:hover {
                -webkit-transform: scale(1.2);
                -ms-transform: scale(1.2);
                transform: scale(1.2);
                transition: 1s ease;
                cursor: pointer;
            }

            .gallery-container .gallery .gallery-item img {
                width: 250px;
                height: 200px;
                border-radius: 5px;
            }

    .gallery-container .gallery-buttons {
        text-align: left;
        margin: -10px 0 -10px 30px;
    }

        .gallery-container .gallery-buttons button {
            padding: 8px 16px;
            margin: -30px 0 20px 0;
            cursor: pointer;
            border: none;
            border-radius: 5px;
            max-height: 20px;
            max-width: 20px;
            background-color: inherit
        }


.with-line {
    font-size: 20px;
    font-family: 'Brush Script MT cursive', cursive;
    position: relative;
    color: #f33737;
    margin-left: 20px;
    font-weight: bold;
}


    .with-line::after { /*line after services*/
        display: inline-block;
        content: "";
        height: 3px;
        background: #f33737;
        position: absolute;
        width: 50px;
        top: 60%;
        margin-left: 10px;
    }






.article {
    text-align: justify;
    width: 500px;
    margin-left: auto;
    margin-right: auto;
}
    /*article title*/
    .article .article-title {
        text-align: center;
        font-size: 30px;
        font-weight: 300;
        color: #222;
        letter-spacing: 1px;
        text-transform: uppercase;
        display: grid;
        grid-template-columns: 1fr max-content 1fr;
        grid-template-rows: 27px 0;
        grid-gap: 20px;
        align-items: center;
    }

        .article .article-title:after, .article-title:before {
            content: " ";
            display: block;
            border-bottom: 1px solid #c50000;
            border-top: 1px solid #c50000;
            height: 5px;
            background-color: #f8f8f8;
        }

    .article img {
        height: 500px;
        display: block;
        margin-left: -100px;
        opacity: 0; /* Start with transparency */
        animation: fadeInAnimation 2s ease-in forwards; /* Animation name, duration, timing function, and fill mode */
    }

.with-line {
    font-size: 20px;
    font-family: 'Brush Script MT cursive', cursive;
    position: relative;
    color: #f33737;
    margin-left: 20px;
    font-weight: bold;
}


    .with-line::after { /*line after services*/
        display: inline-block;
        content: "";
        height: 3px;
        background: #f33737;
        position: absolute;
        width: 50px;
        top: 60%;
        margin-left: 10px;
    }




.article {
    text-align: justify;
    width: 500px;
    margin-left: auto;
    margin-right: auto;
}
    /*article title*/
    .article .article-title {
        text-align: center;
        position: relative;
        font-size: 30px;
        font-weight: 300;
        color: #222;
        letter-spacing: 1px;
        text-transform: uppercase;
        display: grid;
        grid-template-columns: 1fr max-content 1fr;
        grid-template-rows: 27px 0;
        grid-gap: 20px;
        align-items: center;
    }

        .article .article-title:after, .article-title:before {
            content: " ";
            display: block;
            border-bottom: 1px solid #f33737;
            border-top: 1px solid #f33737;
            height: 5px;
            background-color: #f8f8f8;
        }

    .article img {
        height: 500px;
        display: block;
        margin-left: -100px;
        opacity: 0; /* Start with transparency */
        animation: fadeInAnimation 2s ease-in forwards; /* Animation name, duration, timing function, and fill mode */
    }

/*border left*/
.additionalinfo-container {
    margin: 0 50px;
    padding-left: 15px;
    text-align: center;
    border-left: 3px solid #f33737;
}

.arrondissements-container div {
    margin: 0 70px;
    padding-left: 15px;
    text-align: left;
    border-left: 3px solid #f33737;
}

.arrondissements div img {
    float: left;
    margin-left: 30px;
    margin-right: 10px;
    height: 120px;
    width: 100px;
}
/*icone de login et inscription*/
.user-icon {
    position: relative;
    display: inline-block;
    cursor: pointer;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    margin-top: 10px;
    padding: 10px;
    background-color: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    z-index: 1;
}

.user-icon:hover .dropdown-menu {
    display: block;
}
