html, body {
  height: 100%;
  margin: 0;
}

#map {
  height: 100%;
  width: 100%;
  z-index: 1;
}

/* MENU FLOTTANTE */
.floating-menu {
  position: fixed; /* ✅ non absolute */
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #FFD700, #E5C100);
  border-radius: 50px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000; /* ✅ più alto di tutto */
}

.floating-menu a {
  color: #000;
  text-decoration: none;
  text-align: center;
  margin: 0 15px;
  font-weight: 250;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.floating-menu a:hover {
  transform: translateY(-2px);
  opacity: 0.85;
}
.floating-menu a.active {
  background: rgba(255,255,255,0.3);
  padding: 8px 12px;
  border-radius: 30px;
}

.menu-icon {
  font-size: 1.6rem;
}

/* MOBILE: solo icone */
@media (max-width: 768px) {
  .floating-menu a span {
    display: none;
  }
}

/* POPUP LEAFLET personalizzato */
.leaflet-popup-content-wrapper {
  border-radius: 15px;
}

.popup-content img {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 8px;
}

.btn-premium {
  background: #FFD700;
  border: none;
  color: black;
  font-weight: 500;
  border-radius: 20px;
  padding: 6px 12px;
}

.btn-premium:hover {
  background: #E5C100;
}

#geoToast {
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  font-weight: 500;
}