/* ============================== */
/* style.css - version desktop + base mobile */
/* ============================== */

/* Style général */
body { 
    font-family: Arial, sans-serif; 
    margin: 0; 
    padding: 0; 
    background: #fff; 
}

header { 
    position: relative; 
    padding: 20px; 
    background: #f0f0f0; 
}

header h1 { 
    margin: 0; 
    text-align: center; 
}

header div { 
    position: absolute; 
    top: 20px; 
    right: 20px; 
}

header img { 
    height: 25px; 
    cursor: pointer; 
    margin-left: 5px; 
}

.main-content { 
    text-align: center; 
    max-width: 1000px; 
    margin: 20px auto; 
    position: relative; 
}

img.main-photo {
    max-width: 400px;
    max-height: 300px;
    width: auto;
    height: auto;
    margin: 10px;
    border-radius: 5px;
    box-shadow: 3px 3px 8px rgba(0,0,0,0.3);
    transition: transform 0.2s, box-shadow 0.3s ease-in-out;
}

img.main-photo:hover {
    transform: scale(1.05);
    box-shadow: 8px 8px 12px rgba(0,0,0,0.4);
}

.text-zones { 
    display: flex; 
    justify-content: space-between; 
    max-width: 1000px; 
    margin: 20px auto; 
    padding: 0 20px; 
}

.text-zones div { 
    width: 48%; 
    text-align: left; 
}

.buttons { 
    text-align: center; 
    margin: 20px 0; 
}

.buttons a, #btnReservation, #btnMap {
    margin: 5px;
    padding: 10px 20px;
    background: #888888;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    box-shadow: 3px 3px 8px rgba(0,0,0,0.3);
    cursor: pointer;
    display: inline-block;
}

.buttons a:hover, #btnReservation:hover, #btnMap:hover { 
    background: #111111; 
    color: #faf;
    transform: scale(1.20);
    box-shadow: 9px 9px 12px rgba(0,0,0,0.4);
}

#formReservation {
    display: none;
    max-width: 500px;
    margin: 20px auto;
    padding: 20px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background: #f9f9f9;
    box-shadow: 3px 3px 8px rgba(0,0,0,0.3);
    transform: scale(0.95);
    opacity: 0;
    transition: transform 0.4s ease, opacity 0.4s ease, box-shadow 0.4s ease;
}

#formReservation.show {
    transform: scale(1);
    opacity: 1;
    box-shadow: 8px 8px 12px rgba(0,0,0,0.4);
}

/* Carte avec ombre et animation */
#mapContainer {
    display: none;
    max-width: 800px;
    height: 400px;
    margin: 20px auto;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-shadow: 3px 3px 8px rgba(0,0,0,0.3);
    transform: scale(0.95);
    opacity: 0;
    transition: transform 0.4s ease, opacity 0.4s ease, box-shadow 0.4s ease;
}

#mapContainer.show {
    transform: scale(1);
    opacity: 1;
    box-shadow: 8px 8px 12px rgba(0,0,0,0.4);
}

/* ============================== */
/* Galerie flottante droite - grande */
/* ============================== */
.right-gallery {
    position: absolute;
    top: 20px;
    right: -450px;
    width: 480px;
    height: 600px;
    overflow: hidden;
    border-radius: 5px;
    z-index: 10;
}

.right-gallery img {
    position: absolute;
    top: 0;
    left: 0;
    width: 70%;
    height: auto;
    object-fit: cover;
    border-radius: 5px;
    box-shadow: 5px 5px 8px rgba(0,0,0,0.3);
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

.right-gallery img.active {
    opacity: 1;
}

/* ============================== */
/* Mini galerie flottante gauche - header */
/* ============================== */
.l-gallery {
    position: absolute;
    top: -300px;
    left: 1px;
    width: 130px;
    height: 70px;
    overflow: hidden;
    border-radius: 5px;
    z-index: 10;
  
}

.l-gallery img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 5px;
    box-shadow: 5px 5px 8px rgba(0,0,0,0.8);
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

.l-gallery img.active {
    opacity: 1;
}

/* ============================== */
/* Pictogrammes à gauche sur 3 colonnes */
.pictogrammes { 
    position: absolute; 
    top: 10px; 
    left: -230px; 
    display: grid; 
    grid-template-columns: repeat(3, 1fr); 
    gap: 15px; 
    width: 210px; 
}

.pictogrammes .picto { 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    font-size: 12px; 
    color: #333; 
}

.pictogrammes .picto img { 
    width: 28px; 
    height: 28px; 
    margin-bottom: 5px; 
}

/* ============================== */
/* Ombre portée sur les icônes Leaflet */
.leaflet-marker-shadow img {
    filter: drop-shadow(2px 4px 6px rgba(0,0,0,0.5));
}

/* ============================== */
/* Menu mobile caché sur desktop */
#mobileMenu {
    display: none;
}

