@font-face {
    font-family: 'Radikal-Regular-WEB';
    src: url('fonts/radikal-regular.woff2') format('woff2'),
         url('fonts/radikal-regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

body {
    margin: 0;
    font-family: 'Radikal-Regular-WEB', Arial, sans-serif;
    padding: 0 10%;
}

/* Popup styles */
.popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: white;
    display: none;
    z-index: 1000;
    opacity: 1;
    transition: opacity 1s ease-out;
}

.popup-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}

.popup.fade-out {
    opacity: 0;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    background-color: #FFFFFF;
    box-shadow: none;
}

.logo img {
    height: 50px;
}

.description {
    font-size: 1.1rem;
    color: black;
}

.image-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 colonnes sur desktop */
    gap: 1rem;
    padding: 1rem 0;
}

.image-grid img {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 0px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0);
    position: relative;
}

.contact-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 0;
    color: #343a40;
    font-size: 1.1rem;
    color: black !important;
}

.email {
    text-align: left;
}

.address {
    text-align: right;
}

.dot {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    background-color: #00FF00;
    border-radius: 50%;
    z-index: 10;
}

.email-link {
    color: black;          /* Couleur noire */
    text-decoration: none; /* Pas de soulignement */
}

.email-link:hover {
    text-decoration: underline; /* Optionnel: soulignement au survol */
}

.email-link:visited {
    color: black;
}

/* Style pour la bulle d'information */
.info-bubble {
    position: relative;
    display: inline-block;
    cursor: pointer;
    padding: 5px 10px;
    border-radius: 0px;
    background-color: none;
    transition: all 0.3s ease;
}

.info-bubble:hover {
    background-color: #ffffff;
}

.bubble-content {
    display: none;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 100%;
    width: 300px;
    background-color: #f2f2f2;
    border: none;
    border-radius: 0px;
    padding: 20px;
    box-shadow: 0 5px 5px rgba(0,0,0,0.1);
    z-index: 100;
    margin-top: 5px;
}

.info-bubble:hover .bubble-content {
    display: block;
}

.bubble-text {
    font-size: 15px;
    color: #333;
}


@media (max-width: 1024px) {
    .image-grid {
        grid-template-columns: repeat(3, 1fr); /* 3 colonnes sur tablette */
    }
}

@media (max-width: 768px) {
    .image-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 colonnes sur tablette plus petite */
    }
    
    body {
        padding: 0 5%;
    }
    
    .description {
        font-size: 1.2rem;
    }
    .contact-info {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .email, .address {
        text-align: center;
        color: black !important;
    }
    .lightbox-text {
        bottom: 10px; /* Encore plus bas sur mobile */
        left: 10px;   /* Encore plus à gauche sur mobile */
        padding: 10px 15px;
    }
      .lightbox-text p {
        font-size: 1rem;
    }
    .bubble-text {
    font-size: 12px;
    color: #333;
}
}

@media (max-width: 480px) {
    .image-grid {
        grid-template-columns: 1fr; /* 1 colonne sur smartphone */
    }
    
    body {
        padding: 0 2%;
    }
    
    .description {
        font-size: 1.3rem;
    }
    
    .contact-info {
        font-size: 1rem;
        color: black !important;
    }
    .bubble-text {
    font-size: 9px;
    color: #333;
}
}

/* Lightbox styles */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.9);
    display: none;
    z-index: 1000;
}

.lightbox-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.lightbox img {
    max-width: 90%;
    max-height: 80%;
    object-fit: contain;
}

.lightbox-text {
    position: fixed;
    bottom: 20px; /* Abaissé de 40px à 20px */
    left: 20px;   /* Rapproché du bord gauche de 40px à 20px */
    background-color: white;
    padding: 15px 20px;
    max-width: 80%;
    border-radius: 4px;
}
.lightbox-text p {
    margin: 0;
    font-size: 1.2rem;
    line-height: 1.4;
}
.lightbox .caption {
    font-weight: bold;
}

/* Popup overlay styles */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.9); /* Fond blanc transparent */
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

/* Popup content styles */
.popup-content {
    width: 80%;
    max-width: 600px;
    background: none; /* Transparent */
    padding: 2rem;
    box-sizing: border-box;
    text-align: left;
    font-size: 1.9rem;
    color: black;
}

.popup-content p {
    margin: 0;
    text-align: justify;
}

#welcomePopup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: white;
    display: none;
    z-index: 1000;
    opacity: 1;
    transition: opacity 1s ease-out;
}

#welcomePopup.fade-out {
    opacity: 0;
}

.contact-info div {
    position: relative;
    padding-left: 1rem; /* Espace pour le slash agrandi */
}

.contact-info div::before {
    content: "/";
    position: absolute;
    left: 0;
    font-size: 1.4rem; /* Taille augmentée */
    font-weight: 700; /* Épaisseur bold */
    line-height: 1; /* Alignement vertical */
}