
body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
}
#map {
    height: 70vh;
    width: 100%;
}
.container {
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}
h1 {
    text-align: center;
    color: #333;
}
.controls {
    margin: 20px 0;
    padding: 15px;
    background-color: #f5f5f5;
    border-radius: 5px;
}
.photo-gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}
/* Styles pour la barre de menu */
#voyagesmap-menu {
    background-color: #f8f8f8;
    border-bottom: 1px solid #ddd;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    width: 100%;
    margin-bottom: 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}
.menu-items {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}
.menu-item {
    padding: 12px 20px;
    cursor: pointer;
    transition: background-color 0.2s;
    color: #333;
    font-weight: 500;
}
.menu-item:hover {
    background-color: #eaeaea;
}
.menu-item.active {
    background-color: #4a89dc;
    color: white;
}
/* Menu déroulant */
.dropdown {
    position: relative;
    display: inline-block;
}
.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
}
.dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    cursor: pointer;
}
.dropdown-content a:hover {background-color: #f1f1f1}
.dropdown:hover .dropdown-content {
    display: block;
}

/* Styles pour la barre de recherche */
.search-container {
    padding: 8px;
    border-bottom: 1px solid #ddd;
}

.search-input {
    width: 100%;
    padding: 6px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
}

/* Styles pour les conteneurs de villes et d'albums */
.cities-container, .albums-container {
    max-height: 400px;
    overflow-y: auto;
}

/* Style pour le bouton "Voir plus" */
.show-more-button {
    text-align: center;
    background-color: #f8f8f8;
    padding: 8px;
    cursor: pointer;
    color: #4a89dc;
    font-weight: bold;
}

.show-more-button:hover {
    background-color: #eaeaea;
}

/* Styles pour les catégories d'albums */
.category-header {
    background-color: #f0f0f0;
    padding: 8px 16px;
    font-weight: bold;
    color: #333;
    border-bottom: 1px solid #ddd;
    border-top: 1px solid #ddd;
}

.album-item {
    padding-left: 24px !important;
}

/* Style pour les éléments d'album actifs */
.active-album {
    background-color: #e0e0e0 !important;
    font-weight: bold;
}

/* Amélioration pour les catégories d'albums */
.category-header {
    position: sticky;
    top: 0;
    z-index: 10;
}

/* Styles pour la grille de photos */
.photo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.photo-container {
    position: relative;
    overflow: hidden;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.photo-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.photo-container img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    display: block;
}

.photo-title {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 5px 10px;
    font-size: 0.9em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.album-info {
    color: #666;
    font-style: italic;
    margin-bottom: 20px;
}

.no-results {
    padding: 16px;
    text-align: center;
    color: #888;
}
.menu-item i {
    margin-right: 8px;
}
.photo-gallery img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 5px;
    cursor: pointer;
}
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
}
.modal-content {
    display: block;
    max-width: 80%;
    max-height: 80%;
    margin: 0 auto;
}
.close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}
.navigation-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    position: relative;
}
.prev-btn, .next-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    background-color: rgba(0, 0, 0, 0.8);
    padding: 10px 15px;
    border-radius: 5px;
    user-select: none;
    z-index: 1100;
    pointer-events: auto;
}
.prev-btn {
    left: 20px;
}
.next-btn {
    right: 20px;
}
.prev-btn:hover, .next-btn:hover {
    background-color: rgba(0, 0, 0, 0.8);
}
.caption {
    margin: 10px auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
    height: 30px;
}
.marker-options {
    margin-top: 10px;
}
.color-option {
    display: inline-block;
    width: 20px;
    height: 20px;
    margin-right: 5px;
    border-radius: 50%;
    cursor: pointer;
}
.blue { background-color: blue; }
.red { background-color: red; }
.orange { background-color: orange; }
.green { background-color: green; }
.instructions {
    background-color: #e9f7fe;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
}
/* Masquer les menus spécifiques sans supprimer leur structure */
.dropdown[dataCategoryMenu="albums"],
.dropdown[dataCategoryMenu="america"],
.dropdown[dataCategoryMenu="europe"],
.dropdown[dataCategoryMenu="africa"],
.dropdown[dataCategoryMenu="asia"] { display: none; }